Still stuck on plug-in...

Kim C. Callis kim.callis at c2associates.net
Thu Nov 7 17:06:35 CET 2002


I have tried all sorts of creative ways to get the following plug-ins
(check_imap. check_pop and check_mysql) to work correctly. From the
command line, all of these plug-ins work correctly...

[root at web libexec]# ./check_imap mail
IMAP ok - 0 second response time
[root at web libexec]# ./check_pop mail
POP ok - 0 second response time
[root at web libexec]# ./check_mysql web
Uptime: 296761  Threads: 1  Questions: 29641  Slow queries: 0  Opens:
894  Flush tables: 1  Open tables: 64 Queries per second avg: 0.100

But unfortunately, when it is checked by nagios I get the following:

mail
IMAP
CRITICAL 07-11-2002 08:06:20 1d 7h 27m 49s 3/3 (Return code of 127 is
out of bounds - plugin may be missing) 
POP
CRITICAL 07-11-2002 08:02:22 1d 7h 24m 29s 3/3 (Return code of 127 is
out of bounds - plugin may be missing) 
web
MySQL
CRITICAL 07-11-2002 08:02:59 1d 7h 26m 59s 3/3 (Return code of 127 is
out of bounds - plugin may be missing) 

So what might I be missing that makes it fail under nagios, but works on
the commandline?

Thanks,

Kim C. Callis






-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en




More information about the Users mailing list