I install nagios-3.4.1, cacti 0.8.7i with PIA-3.1, ndoutils-1.4b8_5 on FreeBSD 8.2-RELEASE (with php53-5.3.15, apache-2.2.22_5, mysql-server-5.5.25).
After installation NPC 2.0.4 i see in cacti:
And here's what i see in log webserver:
If anybody faced this issue before, please reply to me.[Tue Aug 21 12:14:50 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined offset: 0 in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 105, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:14:50 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined offset: 0 in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 111, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:14:59 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: action in /usr/local/share/cacti/plugins/npc/top_graph_header.php on line 95, referer: http://yy.yy.yy.yy/cacti/plugins.php
[Tue Aug 21 12:15:34 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: temp in /usr/local/share/cacti/plugins/npc/controllers/servicegroups.php on line 206, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:34 2012] [error] [client xx.xx.xx.xx] PHP Warning: Invalid argument supplied for foreach() in /usr/local/share/cacti/plugins/npc/controllers/hostgroups.php on line 188, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: instance_id in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 311, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: process_id in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 311, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: status_update_time in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 311, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: status_update_time in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 336, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: program_start_time in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 311, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: program_start_time in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 336, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: program_end_time in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 311, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: program_end_time in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 336, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: last_command_check in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 311, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: last_command_check in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 336, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: last_log_rotation in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 311, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: last_log_rotation in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 336, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: notifications_enabled in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 311, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: notifications_enabled in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 327, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: active_service_checks_enabled in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 311, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: active_service_checks_enabled in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 327, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: passive_service_checks_enabled in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 311, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: passive_service_checks_enabled in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 327, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: active_host_checks_enabled in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 311, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
[Tue Aug 21 12:15:54 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: active_host_checks_enabled in /usr/local/share/cacti/plugins/npc/controllers/nagios.php on line 327, referer: http://yy.yy.yy.yy/cacti/plugins/npc/np ... drawLayout
Thanks. Best regards.