Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
My “commands.cfg” file. define command{ command_name check_snmp_uptime command_line /usr/local/nagios/libexec/check_snmp_uptime.pl -H $HOSTADDRESS$ -C “$ARG1$” } ##################################### My “Linux.cfg” file define service{ use generic-service host_name cPanel service_description UPTIME check_command check_snmp_uptime!public } ####################### commands output: /usr/local/nagios/libexec/check_snmp_uptime.pl -H 192.168.1.1 -C public
SNMP uptime: 35 days, 0 hours, 12 minutes, 21 seconds : OK #######################