Random Project

seems ok

seems working,

for convenience I use this instead :
define command {
command_name check_mge_ups
command_line $USER1$/check_snmp_mgeeaton_ups.pl -H $HOSTADDRESS$ -C public -O $ARG1$
}

less commands statement, and my hosts looks like

define service{
use generic-service
host_name xxx
service_description battery_remaining_time
check_command check_mge_ups!battery_remaining_time
}