研究CACTI终于有了突破
昨天晚上回家后就想着今天要把年前弄的CACTI再弄一下,今天把服务器上面的资料晴空了,然后开始弄cacti,按照原来的饿方法,很简单把APACHE,PHP环境搞好了,然后用MYSQL的时候,想起了昨天一个朋友给我用3.2的版本,安装后发现和教程上面描述的情况一样,就有了点感觉,其实以前做的是用的5.0的,服务起来了根本就不知道!!但是很遗憾的是我装好MYSQL后居然不能在命令行中添加更改数据库的密码,显示错误为无法访问数据库,然后我在做了饿测试的网页发现连接数据库是正常的,于是我就用到了PHPMYADMIN,成功的添加了数据,进入后设置了下,接下来生成的图象全部是XXXX,正在研究中,debug的显示如下:Running data query .
+ Found type = '6 '.
+ Found data query XML file at 'D:/web/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'd:\php\php.exe -q D:\web\scripts\ss_host_disk.php 58.49.58.199 1
1:161:500:027idc:yaolei:62716849:MD5:: index'
+ Executing script query 'd:\php\php.exe -q D:\web\scripts\ss_host_disk.php 58.49.58.199 1
1:161:500:027idc:yaolei:62716849:MD5:: query index'
+ Executing script query 'd:\php\php.exe -q D:\web\scripts\ss_host_disk.php 58.49.58.199 1
1:161:500:027idc:yaolei:62716849:MD5:: query description'
+ Executing script query 'd:\php\php.exe -q D:\web\scripts\ss_host_disk.php 58.49.58.199 1
1:161:500:027idc:yaolei:62716849:MD5:: query sau'
+ Found data query XML file at 'D:/web/resource/script_server/host_disk.xml'
+ Found data query XML file at 'D:/web/resource/script_server/host_disk.xml'
+ Found data query XML file at 'D:/web/resource/script_server/host_disk.xml'
自己也在研究中,也希望有高手帮忙解答
PS:本系统是在windows 2003的环境下架设的!!
突破零回复。
页:
[1]