Hi,

next question, same topic.

How to define check commands with switches for some kind of perfoutput.
Like check_snmp_int.pl


Old Syntax was like this:

define command{
        command_name    check_interfacestatus
        command_line    /usr/bin/perl /usr/lib/nagios/plugins/check_snmp_int.pl 
-H '$HOSTADDRESS$' -C $ARG1$ -n $ARG2$ -w $ARG3$ -c $ARG4$ -Y -e -r -k -f -B -M
        }



Viele Gruesse,
Kind regards,

Rico Spiesberger
System Engineer
IT-SR-IR-2

_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to