Nagios is OFF via NPC plugin !

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
theclem35
Posts: 4
Joined: Wed May 16, 2012 8:32 am

Nagios is OFF via NPC plugin !

Post by theclem35 »

Hello,

I've installed EyesOfNetwork on a network monitoring equipment, and I need to display weathermaps.
Cacti and Nagios are included into the package, so I've just installed NPC plugin.
It is installed and enabled.
NPC Configuration
NPC Configuration
config_npc.png (82.71 KiB) Viewed 939 times
Problem is NPC detects Nagios OFF, and I don't know why ! You can find screenshots as attachment.
NPC state
NPC state
etat_npc.png (83.56 KiB) Viewed 939 times
Nagios log show that NDOMOD had successfully started :
Nagios Log
Nagios Log
log_nagios.png (22.41 KiB) Viewed 939 times
Let me know which config file you want to see.

Thank you
theclem35
Posts: 4
Joined: Wed May 16, 2012 8:32 am

Re: Nagios is OFF via NPC plugin !

Post by theclem35 »

Hi there,

In ndo2db.cfg, I've just changed :
- database to "cacti" (which was ndoutils before)
- database table prefix to "npc_" (which was nagios_ before)

From this time, on NPC tab, the 4 Nagios Status lights are green !!
But still no Hosts and Services :(

Yet, I can see all my hosts into new cacti/npc_hosts table !
But my cacti/npc_XXXXXX tables, are not full as my old ndoutils/nagios_XXXXXX tables...

For example npc_hosts is OK, but my new cacti/npc_hoststatus table, is EMPTY !!!
Whereas my old ndoutils/nagios_hosts table was full and recent...

Do you know where is the problem ???
Thank you !
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest