check commands not working on NagiosQL

Rogelio Bastardo scubacuda at gmail.com
Thu Sep 27 00:35:27 CEST 2007


I'm having problems with NagiosQL reading certain "check commands",
particularly check_nt and check_bl (check_ping, for example, works
just fine)

They're written right (exactly like I have on my regular Nagios cfg
files), but every time I to create a service check with it and try to
write the config, I get the following error:

"Service check command 'check_bl' specified in service 'RBL_check' for
host 'Exchange-Server' not defined anywhere!"

AND

"Service check command 'check_nt' specified in service
'check_nt_process' for host 'Exchange-Server' not defined anywhere!"

Odd, considering the the following checkcommands.cfg settings should work fine.

$USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v PROCSTATE -l $ARG1$

AND

$USER1$/check_bl -H $HOSTADDRESS$ -B zen.spamhaus.org bl.spamcop.net
dnsbl.ahbl.org dnsbl.njabl.org dnsbl.sorbs.net virbl.dnsbl.bit.nl
rbl.efnet.org phishing.rbl.msrbl.net

Both of these work from the command line, and again, they are defined
*exactly* the same way I have had working on the regular cfg files
(before I used the NagiosQL front end).  Also, all of the other check
commands (which are the exact same way -- /$USER1$/check_whatever
[parameters]) work.

Any suggestions?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list