I want use my nagios hosts for Cacti. So I've install Nagios Plugin for Cacti (NPC).
I've follow the tuto :http://trac2.assembla.com/npc/wiki/QuickStartGuide
But I've problem.
No hosts are discovered in my dashboard :
My configuration :
I've enable the DEBUG mode in the Cacti log (/var/log/cacti/cacti.log) and when I access to the NPC interface, it appear in the cacti.log :
Code: Select all
07/27/2011 03:32:42 PM - NPC: Poller[0] DEBUG [NpcLayoutController] () - Script execution time: 0.00 seconds
07/27/2011 03:32:42 PM - NPC: Poller[0] DEBUG [NpcLayoutController] (drawLayout) - Script execution time: 0.00 seconds
07/27/2011 03:32:42 PM - NPC: Poller[0] DEBUG [NpcServicesController] (summary) - Script execution time: 0.05 seconds
07/27/2011 03:32:42 PM - NPC: Poller[0] DEBUG [NpcServicesController] (getServices) - Script execution time: 0.13 seconds
07/27/2011 03:32:42 PM - NPC: Poller[0] DEBUG [NpcHostsController] (getHosts) - Script execution time: 0.07 seconds
07/27/2011 03:32:42 PM - NPC: Poller[0] DEBUG [NpcHostsController] (summary) - Script execution time: 0.05 seconds
07/27/2011 03:32:42 PM - NPC: Poller[0] DEBUG [NpcHostgroupsController] (getHostgroupHostStatus) - Script execution time: 0.06 seconds
07/27/2011 03:32:42 PM - NPC: Poller[0] DEBUG [NpcNagiosController] (getProgramStatus) - Script execution time: 0.05 seconds
07/27/2011 03:32:43 PM - NPC: Poller[0] DEBUG [NpcServicegroupsController] (getServicegroups) - Method execution time: 0.05 seconds
07/27/2011 03:32:43 PM - NPC: Poller[0] DEBUG [NpcServicegroupsController] (getHostStatusPortlet) - Method execution time: 0.05 seconds
07/27/2011 03:32:43 PM - NPC: Poller[0] DEBUG [NpcServicegroupsController] (getHostStatusPortlet) - Script execution time: 0.05 seconds
07/27/2011 03:32:43 PM - NPC: Poller[0] DEBUG [NpcHostgroupsController] (getHostgroupServiceStatus) - Script execution time: 0.05 seconds
07/27/2011 03:32:43 PM - NPC: Poller[0] DEBUG [NpcNagiosController] (checkPerf) - Script execution time: 0.06 seconds
07/27/2011 03:32:43 PM - NPC: Poller[0] DEBUG [NpcServicegroupsController] (getServicegroups) - Method execution time: 0.05 seconds
07/27/2011 03:32:43 PM - NPC: Poller[0] DEBUG [NpcServicegroupsController] (getServicegroupServiceStatus) - Method execution time: 0.05 seconds
07/27/2011 03:32:43 PM - NPC: Poller[0] DEBUG [NpcServicegroupsController] (getServicegroupServiceStatus) - Script execution time: 0.06 seconds
07/27/2011 03:32:43 PM - NPC: Poller[0] DEBUG [NpcLogentriesController] (getLogs) - Script execution time: 0.04 seconds
07/27/2011 03:33:12 PM - NPC: Poller[0] DEBUG [NpcNagiosController] (getProgramStatus) - Script execution time: 0.05 seconds
07/27/2011 03:33:12 PM - NPC: Poller[0] DEBUG [NpcHostsController] (getHosts) - Script execution time: 0.10 seconds
07/27/2011 03:33:12 PM - NPC: Poller[0] DEBUG [NpcHostgroupsController] (getHostgroupServiceStatus) - Script execution time: 0.06 seconds
07/27/2011 03:33:12 PM - NPC: Poller[0] DEBUG [NpcServicesController] (getServices) - Script execution time: 0.06 seconds
07/27/2011 03:33:12 PM - NPC: Poller[0] DEBUG [NpcHostsController] (summary) - Script execution time: 0.05 seconds
07/27/2011 03:33:12 PM - NPC: Poller[0] DEBUG [NpcHostgroupsController] (getHostgroupHostStatus) - Script execution time: 0.05 seconds
07/27/2011 03:33:12 PM - NPC: Poller[0] DEBUG [NpcServicesController] (summary) - Script execution time: 0.05 seconds
07/27/2011 03:33:13 PM - NPC: Poller[0] DEBUG [NpcServicegroupsController] (getServicegroups) - Method execution time: 0.05 seconds
07/27/2011 03:33:13 PM - NPC: Poller[0] DEBUG [NpcServicegroupsController] (getHostStatusPortlet) - Method execution time: 0.05 seconds
07/27/2011 03:33:13 PM - NPC: Poller[0] DEBUG [NpcServicegroupsController] (getHostStatusPortlet) - Script execution time: 0.05 seconds
07/27/2011 03:33:13 PM - NPC: Poller[0] DEBUG [NpcServicegroupsController] (getServicegroups) - Method execution time: 0.05 seconds
07/27/2011 03:33:13 PM - NPC: Poller[0] DEBUG [NpcServicegroupsController] (getServicegroupServiceStatus) - Method execution time: 0.05 seconds
07/27/2011 03:33:13 PM - NPC: Poller[0] DEBUG [NpcServicegroupsController] (getServicegroupServiceStatus) - Script execution time: 0.05 seconds
What have I forget ?
Thank you very much