Nagios Plugin for Cacti (NPC) Released
Moderators: Developers, Moderators
NPC Plugin
Hi All,
I am trying to compile inserter.c module. But it is giving me following
error.
gcc -g -O2 -Wall -o inserter.o inserter.c -shared -I../include -I/usr/include/mysql -lmysqlclient -lz -fPIC
/usr/bin/ld: cannot find -lmysqlclient
Even I installed mysql-devel rpm's. What can be the reason.
This is list of mysql rpm's
mysql-bench
mysql
mysql-server
mysql-devel
Thanks
I am trying to compile inserter.c module. But it is giving me following
error.
gcc -g -O2 -Wall -o inserter.o inserter.c -shared -I../include -I/usr/include/mysql -lmysqlclient -lz -fPIC
/usr/bin/ld: cannot find -lmysqlclient
Even I installed mysql-devel rpm's. What can be the reason.
This is list of mysql rpm's
mysql-bench
mysql
mysql-server
mysql-devel
Thanks
-
- Cacti User
- Posts: 83
- Joined: Fri Aug 22, 2003 4:33 am
error with nagios 2.0b5...
I have installed nagios with event checker....when i copy both the files from npc/neb to nagios-src/module and run make...i get this error... can u help me..
gcc -g -O2 -Wall -o inserter.o inserter.c -shared -I../include -I/usr/include/mysql -lmysqlclient -fPIC
inserter.c: In function `nebmodule_init':
inserter.c:143: error: `CLIENT_MULTI_STATEMENTS' undeclared (first use in this function)
inserter.c:143: error: (Each undeclared identifier is reported only once
inserter.c:143: error: for each function it appears in.)
make: *** [all] Error 1
Chetan Jain
gcc -g -O2 -Wall -o inserter.o inserter.c -shared -I../include -I/usr/include/mysql -lmysqlclient -fPIC
inserter.c: In function `nebmodule_init':
inserter.c:143: error: `CLIENT_MULTI_STATEMENTS' undeclared (first use in this function)
inserter.c:143: error: (Each undeclared identifier is reported only once
inserter.c:143: error: for each function it appears in.)
make: *** [all] Error 1
Chetan Jain
Re: NPC Plugin
farhan, what was your issue? I'm getting the same error.
Oh, thanks for the excellent plugin divagater!
Oh, thanks for the excellent plugin divagater!
farhan wrote:Hi All,
I am trying to compile inserter.c module. But it is giving me following
error.
gcc -g -O2 -Wall -o inserter.o inserter.c -shared -I../include -I/usr/include/mysql -lmysqlclient -lz -fPIC
/usr/bin/ld: cannot find -lmysqlclient
Even I installed mysql-devel rpm's. What can be the reason.
This is list of mysql rpm's
mysql-bench
mysql
mysql-server
mysql-devel
Thanks
Nagios for Window / test / ../modules/inserter.o for Windows
Hi
I want to test Nagios under Windows but don't have a C compiler.
Has anybody a compiled /path/to/nagios/modules/inserter.o for Windows ?
ThX
Jean-Michel
I want to test Nagios under Windows but don't have a C compiler.
Has anybody a compiled /path/to/nagios/modules/inserter.o for Windows ?
ThX
Jean-Michel
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
Re: error with nagios 2.0b5...
removed. User error. MySQL v4.1!
Who is online
Users browsing this forum: No registered users and 2 guests