Am 05.09.2014 15:09, schrieb 
[email protected]<mailto:[email protected]>:
Hi,

next question, same topic.

How to define check commands with switches for some kind of perfoutput.
There's a detailed explanation of arguments options on the CheckCommand object 
docs: 
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/configuring-icinga2#objecttype-checkcommand
Like check_snmp_int.pl

That's already part of the Manubulon SNMP Check Plugin Command add-in provided 
with the latest 2.1.0 release.

Look into the documentation and the config how it's gotta be done, but no need 
for any redundancy here.

http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/configuring-icinga2#snmp-manubulon-plugin-check-commands

If you need an update, fix it and send the patch upstream by creating a new 
issue and attaching it there.

Kind regards,
Michael


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]<mailto:[email protected]>
https://lists.icinga.org/mailman/listinfo/icinga-users



-- 
Michael Friedrich, DI (FH)
Application Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | [email protected]

** Open Source Backup Conference 2014 - September - osbconf.org **
** Puppet Camp Duesseldorf 2014 - Oktober - netways.de/puppetcamp **
** OSMC 2014 - November - netways.de/osmc **
** OpenNebula Conf 2014 - Dezember - opennebulaconf.com **
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to