Re: [icinga-users] EventCommand not getting executed(Updated)

2016-03-16 Thread Joosten, Markus
Acutally, both icinga2 and your event handler script are telling you exactly what's wrong: [2016-03-16 09:58:51 +0530] notice/PluginEventTask: Event command for object 'openstack-in.example.com [2]!cachet-notify' (PID: 1450, arguments: '/usr/lib64/nagios/plugins/cachet_notify' 'cachet_component

Re: [icinga-users] Agentless check on icinga2 cluster setup

2016-03-22 Thread Joosten, Markus
I'm not sure what your question is. There are several ways to perform agentless checks of Linux operating systems, via snmpd, sshd, etc. Of course you still would need an icinga2 endpoint in the respective zones you define your hosts in. Regards, Markus On 2016-03-22 03:59, Tejas Gadaria wrot

Re: [icinga-users] nrpe doesn´t work (Could not resolve hostname : Name or service not known)

2016-04-18 Thread Joosten, Markus
I would start by running icinga2 in debug mode in foreground and filter the output: icinga2 daemon -x notice | grep nrpe Reschedule your check (or wait until it is being executed) and extract the exact commandline which will be executed by icinga2. Once you have that, go from there to identif

[icinga-users] Recovery is being sent even if times.begin for the notification was not reached

2016-04-25 Thread Joosten, Markus
Hello, a few nights ago a host check of ours changed from UP to DOWN due to temporary name resolution problems from our ISP. This problem lasted only a few minutes, so that our on-duty staff was not notified about the issue, since times.begin (1 hour) for the corresponding notification was not

Re: [icinga-users] Icingaweb2, .ini configuration files and comments

2016-04-25 Thread Joosten, Markus
On 2016-04-25 14:01, Juan Luis Font wrote: Not sure if this behavior is a feature (I understand that most of the times these files will be generated by the Icingaweb2 wizard preventing the situation I describe above) or I'm just using the wrong symbol to include comments. Icingaweb2 is using PHP'

Re: [icinga-users] Icingaweb2 and "apply Service for/in" services: Unable to use any feature commands such as disable notification

2016-04-25 Thread Joosten, Markus
On 2016-04-25 18:01, Quinton Phil P wrote: In the icingaweb2 dashboard, the ProcessCheck instance details look like this: ProcessCheck{ args = "-bl -q15m" process = "/usr/lib/sendmail" } But in the icinga2.log error above, they look like this: ProcessCheck{\n args = "-bl -q15m"\nproce

Re: [icinga-users] sample /var/run/icinga2/cmd/icinga2.cmd file is needed

2016-06-22 Thread Joosten, Markus
On 2016-06-22 19:37, Meti, Shantala (NFV BU) wrote: My requirement is: SNMP traps generated through agent need to be viewed in icingaweb2 UI. My current /var/run/icinga2/cmd/icinga2.cmd file for test alarm looks as below: PROCESS_SERVICE_CHECK_RESULT;Controller2;snmp_test_trap;2;testing

[icinga-users] Graphite only shows crit thresholds, not warn

2016-06-23 Thread Joosten, Markus
Hello there, i have just configured enable_send_thresholds = true within Icinga2's GraphiteWriter feature. For some reason though, i can only see the crit thresholds besides the actual value in Graphite. There is also no warn whisper file, only value.wsp and crit.wsp. Using tcpdump, i have co

Re: [icinga-users] Graphite only shows crit thresholds, not warn

2016-06-24 Thread Joosten, Markus
Thanks for your input, it seems that I had too little patience :) The warning thresholds appeared af few hours after, no idea why the delay though. Regards, Markus ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/ma

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

2016-06-29 Thread Joosten, Markus
On 2016-06-29 01:32, Michael Martinez wrote: Hi, I'm running Icinga2. I was editing one of my config files (template/service definitions, etc) and something got messed up and I blew away the file by accident. And, of course, I don't have a backup because I'm stupid. But Icinga is still running

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

2016-06-30 Thread Joosten, Markus
On 2016-06-30 06:25, Michael Martinez wrote: On Tue, Jun 28, 2016 at 10:12 PM, Klaus Muth wrote: On Wed, Jun 29, 2016 at 12:27 AM, Joosten, Markus wrote: You should be able to find all current configuration files under /var/lib/icinga2/api/zones//_etc I am unable to find any such zones

[icinga-users] Packages for Icinga2 Director?

2016-07-27 Thread Joosten, Markus
Hello list, can anyone tell me if there is a plan to release the director module as a system package (rpm/deb)? Any hints are greatly appreciated. Regards, Markus ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/

Re: [icinga-users] Packages for Icinga2 Director?

2016-07-28 Thread Joosten, Markus
Thomas, thanks alot for your comprehensive and quick answer! I guess I'll figure something out in order to properly maintain Icingaweb2 modules within our installations until then :) On 2016-07-27 12:51, Thomas Gelf wrote: Yes, but probably not as a part of the Director module itself. We wan

Re: [icinga-users] Is notification based on % possible?

2016-09-13 Thread Joosten, Markus
On 2016-09-12 19:23, Rob DeSanno wrote: The challenge presented to me was to somehow configure notifications to be sent only when a certain percentage of hosts experience critical alerts. For example, instead of sending out a notification when every host fails a ping check, only send one out if

[icinga-users] Dynamic object creation within a custom function

2017-01-09 Thread Joosten, Markus
Hello list, icinga2's documentation states the following: "The other way around you can create objects dynamically using your own global functions." See: https://docs.icinga.com/icinga2/latest/doc/module/icinga2/chapter/advanced-topics#use-functions-object-config Can someone point me in the r

Re: [icinga-users] Dynamic object creation within a custom function

2017-01-15 Thread Joosten, Markus
Hi again, can someone please share some insight on this topic? Unfortunately the docs don't help very much on how to create objects within my own global functions. Regards, Markus On 2017-01-09 20:25, Joosten, Markus wrote: Hello list, icinga2's documentation states the follo

Re: [icinga-users] host alive check command and master/satellites

2017-01-20 Thread Joosten, Markus
On 2017-01-19 13:49, Mathieu Arnold wrote: So, I am wondering, how do I get the host's check_command to be run not on the satellite but on the master ? I guess you want to implement an external check to see if your satellite hosts are up and reachable from the master? How I understood what you

Re: [icinga-users] host alive check command and master/satellites

2017-01-20 Thread Joosten, Markus
On 2017-01-20 11:33, Antony Stone wrote: On Friday 20 January 2017 at 10:00:28, Joosten, Markus wrote: I have solved this issue by also having my satellite hosts in my master zone (with a reduced amount of services of course). Would you care to expand on that? How do you get one host to be

Re: [icinga-users] command_endpoint on a different zone

2017-02-03 Thread Joosten, Markus
Hi Stephan, I don't think this is possible (yet). There might be a workaround I just thought of (totally untested, not sure this will work): - you have a "backup" service attached to your backup server in your central zone - create a dummy service "backup" attached to the switch in your satel

Re: [icinga-users] command_endpoint on a different zone

2017-02-06 Thread Joosten, Markus
On 2017-02-03 22:01, Joosten, Markus wrote: Hi Stephan, I don't think this is possible (yet). There might be a workaround I just thought of (totally untested, not sure this will work): - you have a "backup" service attached to your backup server in your central zone - create a d

Re: [icinga-users] your database isn't able to keep up

2017-02-18 Thread Joosten, Markus
On 2017-02-17 23:33, Michael Martinez wrote: On Fri, Feb 17, 2017 at 1:41 PM, Tobias von der Krone wrote: That means that your database is too slow and you're queue items will steadily increase. Actually, 86 queries per second is really slow. What database are you using and what specs does

Re: [icinga-users] Array of host objects

2017-12-21 Thread Joosten, Markus
Am 2017-12-21 04:20, schrieb Jayapandian Ponraj: Thanks for the reply We do heavily use apply rules based on host variables and for hostgroup definitions, but once in a while we come across a service which is spread across 2 or 3 hosts which don't share anything in common. We can go ahead add