[Nagiosplug-help] How do I use check_rbl.pl in Nagios?
H Manohar rayker
manohar.r at glowtouch.com
Fri Jul 17 05:27:36 CEST 2009
Hi,
I am a newbie to Nagios.
Could anyone please let me know how to configure check_rbl.pl in the
commands,services and the hosts file? This when run in command line
# perl check_rbl.pl xxx.yyyyyyyyy.zzz would end up giving the correct
results, but when I configured it in the services it displays "Return code
of 127 is out of bounds - plugin may be missing"
Here is my code in the services.cfg file.
# check Mail Server DNS for balcklisting
define service{
use generic-service
host_name XXXX
service_description DNS Blacklist check
check_command check_rbl
}
My commands.cfg file definition is here as follows:
############################################################################
####
# Mail Server - DNS Blacklist Check
#
############################################################################
####
# 'Check_rbl' command definition.
define command{
command_name check_rbl
command_line $USER1$/check_rbl.pl!$HOSTADDRESS$
}
Please help me out ASAP
Thanks
Manohar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090717/e211fe94/attachment.html>
More information about the Help
mailing list