- 论坛徽章:
- 1
|
本帖最后由 dbsrv 于 2010-12-12 17:48 编辑
cacti-0.87e
nagios-3.2.3
安装并登陆成功后,每次从console或者graphs的标签页点击npc时,可以正常进入,但httpd/error_log中会弹出三行相同的错误提示
[Sun Dec 12 02:36:14 2010] [error] [client 192.168.1.102] PHP Notice: Undefined index: action in /var/www/html/cacti/plugins/npc/top_graph_header.php on line 95, referer: http://192.168.1.203/cacti/index.php
[Sun Dec 12 02:36:14 2010] [error] [client 192.168.1.102] PHP Notice: Undefined index: action in /var/www/html/cacti/plugins/npc/top_graph_header.php on line 95, referer: http://192.168.1.203/cacti/index.php
[Sun Dec 12 02:36:14 2010] [error] [client 192.168.1.102] PHP Notice: Undefined index: action in /var/www/html/cacti/plugins/npc/top_graph_header.php on line 95, referer: http://192.168.1.203/cacti/index.php
搜了半天,说改php.ini中的两个参数,但无效
error_reporting = E_ALL & ~E_NOTICE
或者
display_error = Off
还有个说法
The npc_* tables are not created correctly by the NPC plugin.
Modified and then loaded the ndoutils mysql.sql file into the cacti database before enabling NPC plugin .
这个也试过了,没戏。 |
|