Search found 6 matches

by crocop_83
Thu Apr 27, 2006 7:41 am
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) Released
Replies: 181
Views: 248299

Hi,

My gcc version was the problem. I updated gcc, I use gcc version 4.0 now. And everything work fine.

Crocop_83
by crocop_83
Wed Apr 26, 2006 7:40 am
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) Released
Replies: 181
Views: 248299

Yes, I compiled the inserter.c file in the Nagios source directory. I follow the README. - Nagios Event Broker: Edit the MySQL options on line 143 of /cacti/plugins/npc/neb/inserter.c. The parameters for connecting to the Cacti database have to be hard coded right now. In the future the parameters w...
by crocop_83
Wed Apr 26, 2006 7:04 am
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) Released
Replies: 181
Views: 248299

When I tried to compile inserter.c, I've got these errors : inserter.c: In function `processCheck': inserter.c:451: parse error before `char' inserter.c:455: `safeName' undeclared (first use in this function) inserter.c:455: (Each undeclared identifier is reported only once inserter.c:455: for each ...
by crocop_83
Wed Apr 26, 2006 2:38 am
Forum: Plugin General
Topic: NPC Nagios Plugin For Cacti Problem
Replies: 2
Views: 5140

I have already replaced the path with the right one.
But It 's always the same error.

(It was a code copy from the document provides with NPC. It was an example to show what I've done, sorry)
by crocop_83
Wed Apr 26, 2006 2:18 am
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) Released
Replies: 181
Views: 248299

NPC Nagios can not start

Hi, I would like to install Nagios Plugin For Cacti. (cacti-0.8.6h + Nagios 2.1 + NPC OS: Fedora Core 4 ) After some difficulties, I achieved to install all the components. But when I tried to restart Nagios, I 've got this message in my log ! [1145976826] initializing nagios-db mysql inserter... [1...
by crocop_83
Tue Apr 25, 2006 11:08 am
Forum: Plugin General
Topic: NPC Nagios Plugin For Cacti Problem
Replies: 2
Views: 5140

NPC Nagios Plugin For Cacti Problem

Hi, I would like to install Nagios Plugin For Cacti. I 've read the document about it and I've installed it. But when I tried to restart Nagios, I 've got this message in my log ! [1145976826] initializing nagios-db mysql inserter... [1145976826] nagios-db: inserter locked into db [1145976826] Event...