Does the npc plugin work properly?

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
skywing88
Posts: 10
Joined: Tue Mar 01, 2016 9:38 pm

Does the npc plugin work properly?

Post by skywing88 »

I have installed the npc plugin according to some instructions, getting various npc_* tables in mysql database,however, no data in these tables. The Dashboard doesn't show any data, either(I think at least the status of localhost should be displayed). But the nagios page can appear correctly.

I have altered some of the tables in cacti database: as follows:

mysql> alter table npc_eventhandlers add long_output TEXT NOT NULL default '' after output;
mysql> alter table npc_hostchecks add long_output TEXT NOT NULL default '' after output;
mysql> alter table npc_hoststatus add long_output TEXT NOT NULL default '' after output;
mysql> alter table npc_notifications add long_output TEXT NOT NULL default '' after output;
mysql> alter table npc_servicechecks add long_output TEXT NOT NULL default '' after output;
mysql> alter table npc_servicestatus add long_output TEXT NOT NULL default '' after output;
mysql> alter table npc_statehistory add long_output TEXT NOT NULL default '' after output;
mysql> alter table npc_systemcommands add long_output TEXT NOT NULL default '' after output;

I have no idea if I have installed npc successfully or it is working properly. Do I have missed anything important?
NPC面板.JPG
NPC面板.JPG (87.46 KiB) Viewed 1116 times
nagios面板.JPG
nagios面板.JPG (139.33 KiB) Viewed 1116 times
skywing88
Posts: 10
Joined: Tue Mar 01, 2016 9:38 pm

Re: Does the npc plugin work properly?

Post by skywing88 »

plus

pdo_mysql is enabled.
PDO.JPG
PDO.JPG (16.55 KiB) Viewed 1105 times
NPC 2.0.4
cacti-0.8.8g
nagios-4.1.1
ndo2db.debug file looks fine ,not have error information.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests