[icinga-users] Remove Downtime Denied

2014-09-05 Thread Hans Scheffers
Hi... Sorry to bother you all again, but i can't delete downtimes from hosts. On a per service basis i am allowed to remove downtimes, but when i choose "Remove Downtime(s) for Checked Host(s) and All Services" in the classic UI (1.11.6) with Icinga2 (r2.1.0-1) I get an error in the log: [2014-0

Re: [icinga-users] Icinga2 check command definition

2014-09-05 Thread Michael Friedrich
Am 05.09.2014 15:09, schrieb ici...@mann-hummel.com: 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.or

Re: [icinga-users] Icinga2 check command definition

2014-09-05 Thread icinga
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_namecheck_interfacestatus command_line/usr/bin/perl /usr/lib/nagios/plugins/check_snmp_int.pl

Re: [icinga-users] Icinga2 check command definition

2014-09-05 Thread icinga
Hi, Hi, Am 05.09.2014 09:50, schrieb ici...@mann-hummel.com: That's not using the command arguments where key-value pairs could be made optional, or conditional. Where did you copy/get that CheckCommand from? Got that from here: http://icinga2.readth

Re: [icinga-users] Icinga2 check command definition

2014-09-05 Thread Michael Friedrich
Hi, Am 05.09.2014 09:50, schrieb ici...@mann-hummel.com: That's not using the command arguments where key-value pairs could be made optional, or conditional. Where did you copy/get that CheckCommand from? Got that from here: http://icinga2.readthedocs.org

Re: [icinga-users] Icinga2 check command definition

2014-09-05 Thread icinga
Hola Michi, Am 05.09.2014 09:31, schrieb Michael Friedrich: > Hi, > > Am 05.09.2014 09:09, schrieb ici...@mann-hummel.com: >> >> Hi, >> >> i’m struggeling a little with the check command definitions. >> >> Trying to set up some check commands for check_nt I’m wondering if it >> is possible to ne

Re: [icinga-users] Icinga2 check command definition

2014-09-05 Thread Michael Friedrich
Am 05.09.2014 09:31, schrieb Michael Friedrich: Hi, Am 05.09.2014 09:09, schrieb ici...@mann-hummel.com: Hi, i’m struggeling a little with the check command definitions. Trying to set up some check commands for check_nt I’m wondering if it is possible to negate unused vars instead of creatin

Re: [icinga-users] Icinga2 check command definition

2014-09-05 Thread Michael Friedrich
Hi, Am 05.09.2014 09:09, schrieb ici...@mann-hummel.com: Hi, i’m struggeling a little with the check command definitions. Trying to set up some check commands for check_nt I’m wondering if it is possible to negate unused vars instead of creating a bunch of separa

[icinga-users] Icinga2 check command definition

2014-09-05 Thread icinga
Hi, i'm struggeling a little with the check command definitions. Trying to set up some check commands for check_nt I'm wondering if it is possible to negate unused vars instead of creating a bunch of separate commands. For example: I have defined: object CheckCommand "check_nt" { import "plu