Random Project

Testified the plugin & working fine

##################################
Here is my “commands.cfg” file:

define command{
command_name check_synology_temp
command_line $USER1$/check_snmp_syno.sh -H $HOSTADDRESS$ -C test123 -w 45 -c 50
}
##################################
Here is my “nas.cfg” file:

define service{
use generic-service,srv-pnp
host_name NAS_62
service_description Temperature
check_command check_synology_temp
check_interval 5
retry_interval 1
}
##################################
Command Output:

./check_snmp_syno.sh -H 172.16.1.62 -C n0cgnr -w 45 -c 50
WARNING: 172.16.1.62 has 47 °C
##################################