Host not discovered en NPC Plugin

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
jeancloud
Posts: 7
Joined: Thu Jul 07, 2011 4:55 am

Host not discovered en NPC Plugin

Post by jeancloud »

Hello :)

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 :
Image

My configuration :
Image

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
So, it's seem's there is no error and ma DB mysql has the npc_ tables.


What have I forget ?

Thank you very much :)
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests