I can do manually on command prompt
# check_rbl "ipaddress"
my configurations are below.
in custom_cmds.cfg
define command{
command_name check_rbl
command_line $USER1$/check_rbl -H $HOSTADDRESS$ -p $ARG1$
}
In services.cfg
define service{
use basic-service
name rbl-service
service_description RBL
notification_interval 0
max_check_attempts 2
contact_groups sysadmin
notification_options c,r
notification_period 24x7
check_command check_rbl
register 0
}
define service{
use rbl-service
hostgroup_name linux-servers
host_name 202.134.198.157
}
Thanks and Regards
VinayanStatistics: Posted by vinayan — Thu Oct 11, 2007 7:22 pm
]]>