Re: [icinga-users] Using check_multi with Icinga2

2016-07-13 Thread Michael Martinez
Hi, thanks for replying. Actually, I made a mistake typing this. I really mean "check_cluster", and I was able to figure it out. It basically takes an argument like this, which is passed back to the command: vars.cluster_data = {{ get_host("ec2-54-198-210-49.compute-1.amazonaws.com").state + ","

Re: [icinga-users] Unable to update downtime endtime via the API

2016-07-13 Thread Michael Friedrich
Am 13.07.2016 um 19:36 schrieb Marcos Di Pietro: Thanks for the input Michael. What would be the correct way of scheduling a downtime of unknown duration? A maintenance window should never have an unknown duration imho but that's nitpicking I know. I’ve noticed that if the scheduled downtim

Re: [icinga-users] issues using MySQL with Icinga2 v 2.4.1 onwards

2016-07-13 Thread Michael Friedrich
Am 04.07.2016 um 11:59 schrieb Diana Scannicchio: Hello Andreas, unfortunately we cannot upgrade to versions that are not in the official CERN release of the OS. No I did not try the tuning advisors yopu suggested I noticed that there was a bug report for apparently the same issue https://dev.ic

Re: [icinga-users] Unable to update downtime endtime via the API

2016-07-13 Thread Marcos Di Pietro
Thanks for the input Michael. What would be the correct way of scheduling a downtime of unknown duration? I’ve noticed that if the scheduled downtime is deleted from the api, the downtime history entry still exists. Regards, Marcos > On Jul 13, 2016, at 1:08 PM, Michael Friedrich > wrote: >

Re: [icinga-users] Distributed Monitoring with multiple WebGUIs

2016-07-13 Thread Michael Friedrich
Am 04.07.2016 um 16:14 schrieb Alexander Reichle-Schmehl: Hi there, we currently planing to migrate from a centralized monitoring with Icinga 1.13 to a decentralized one using Icinga2. As our company has several subsidiaries a decentralized approach has of course quite some benefits. So far I un

Re: [icinga-users] Satellite setup - certificate problem

2016-07-13 Thread Michael Friedrich
Am 11.07.2016 um 10:58 schrieb Stephan Tesch: Am 2016-07-07 14:52, schrieb Stephan Tesch: Hi everyone, we've solved the problem: the certificates were issued as purely ssl SERVER certificates: X509v3 Key Usage: critical Digital Signature, Non Repudiation, Key Enciph

Re: [icinga-users] modified-attributes file on Icinga2 "never forgets", and overrides configuration

2016-07-13 Thread Michael Friedrich
Am 07.07.2016 um 19:05 schrieb Luca Lesinigo: Hi list, we are using Icinga v2.4.10, on Ubuntu 14.04 LTS installed from the formorer PPA. We are using icinga2-classicui from the same ppa. I’m seeing the /var/lib/icinga2/modified-attributes.conf file that gets new data when we switch something i

Re: [icinga-users] Is there a way to dump config files from a running Icinga2?

2016-07-13 Thread Michael Friedrich
Am 09.07.2016 um 01:15 schrieb Michael Martinez: On Thu, Jun 30, 2016 at 7:36 AM, Joosten, Markus wrote: Do you have the icinga2 feature "api" enabled on your system? Yes I do. Is there an api command to extract the config file? In any case, I was able to restore the file by grepping throug

Re: [icinga-users] Icinga - service dependency does not work properly

2016-07-13 Thread Michael Friedrich
Am 13.07.2016 um 17:37 schrieb Szabó Gergő: Hi all! I have previously configured some service dependencies as it seems below (for example): define servicedependency{ host_name myHost service_description pingv4 dependent_host_name

Re: [icinga-users] Using check_multi with Icinga2

2016-07-13 Thread Michael Friedrich
Am 12.07.2016 um 20:30 schrieb Michael Martinez: Can someone give an example of how to use check_multi with Icinga2? I'd write a CheckCommand object based on its --help output. You'll obviously need to pass additional "cmd" file configuration in its own language. AFAIK I did write some wiki a

Re: [icinga-users] Unable to update downtime endtime via the API

2016-07-13 Thread Michael Friedrich
Am 13.07.2016 um 18:36 schrieb Marcos Di Pietro: Hi, I’m using the API to schedule downtimes of a unknown duration. The scheduled downtime start time is set to now and the scheduled downtime end time is set to a year from now. When the downtime is done, I call the API to update the downtime o

[icinga-users] Unable to update downtime endtime via the API

2016-07-13 Thread Marcos Di Pietro
Hi, I'm using the API to schedule downtimes of a unknown duration. The scheduled downtime start time is set to now and the scheduled downtime end time is set to a year from now. When the downtime is done, I call the API to update the downtime object's end time to the current datetime. Howeve

[icinga-users] Icinga - service dependency does not work properly

2016-07-13 Thread Szabó Gergő
Hi all! I have previously configured some service dependencies as it seems below (for example): define servicedependency{ host_name myHost service_description pingv4 dependent_host_name myHost dependent_service_descript