Re: [icinga-users] 2.10 -> 2.11 problems

2019-09-25 Thread Antony Stone
On Monday 23 September 2019 at 13:24:00, Michael Friedrich wrote: > Hi, > > I strongly recommend to join https://community.icinga.com > where this topic has been discussed in the > last couple of days. Okay, I've done that, and I've found a couple of postings whic

Re: [icinga-users] 2.10 -> 2.11 problems

2019-09-23 Thread Antony Stone
On Sunday 22 September 2019 at 01:59:36, Andy Smith wrote: > Hi Antony, > > On Fri, Sep 20, 2019 at 01:19:20PM +0200, Antony Stone wrote: > > … All run Debian Stretch. > > > > Yesterday two of my development machines got updated to Icinga 2.11, and > > some

[icinga-users] 2.10 -> 2.11 problems

2019-09-20 Thread Antony Stone
Hi. I'm using Icinga 2.10.5 with a Master and multiple Clients. Those Clients fall into three categories: development, test and production. All run Debian Stretch. Yesterday two of my development machines got updated to Icinga 2.11, and some (not all) of my service checks on those machines t

Re: [icinga-users] Critical warning for disk and docker

2019-06-12 Thread Antony Stone
On Wednesday 12 June 2019 at 10:47:06, James Allsopp wrote: > Hi, > Just getting started with icinga, but getting an error, related to a docker > container I'm running. If you've any advice, that would be really helpful, > Additional Info: DISK CRITICAL - > /var/lib/docker/overlay2/8a22a82c116e69

Re: [icinga-users] After some minutes with erroneous time, I would like to clean the database

2019-05-02 Thread Antony Stone
On Thursday 02 May 2019 at 11:03:06, Stephane Bortzmeyer wrote: > [Are there still people using Icinga? I see no traffic on the list.] I'm still happily using it, and I normally only send traffic to the list when I have a problem :) High volume traffic on a support list is often an indication t

Re: [icinga-users] Get attributes of a host by reference? RESOLVED!

2019-03-18 Thread Antony Stone
On Sunday 17 March 2019 at 23:01:27, Antony Stone wrote: > Can anyone point me at the correct syntax for de-referencing the variable > host.vars.neighbour so that I can get the display_name attribute for that > object? Thanks to Edgar, Václav and Ivo for all the assistance. I to

Re: [icinga-users] Get attributes of a host by reference?

2019-03-18 Thread Antony Stone
On Monday 18 March 2019 at 21:39:33, Václav Mach wrote: > On 3/18/19 9:08 PM, Antony Stone wrote: > > On Monday 18 March 2019 at 21:00:45, Václav Mach wrote: > >> I've not seen a thing that worked on console and not in the actual > >> configuration. What output

Re: [icinga-users] Get attributes of a host by reference?

2019-03-18 Thread Antony Stone
On Monday 18 March 2019 at 20:30:58, Antony Stone wrote: > On Monday 18 March 2019 at 19:58:19, Ivo Kidze wrote: > > > You can try this: > ... > > > 6. use can now use get_display_name("hostname") > > Hm, interesting solution to the debugging problem -

Re: [icinga-users] Get attributes of a host by reference?

2019-03-18 Thread Antony Stone
On Monday 18 March 2019 at 21:00:45, Václav Mach wrote: > Hi, > > On 3/18/19 4:30 PM, Antony Stone wrote: > >> You can try to start by running 'get_host("your_host")' and then > >> continue with more complex stuff based on properties you get. &g

Re: [icinga-users] Get attributes of a host by reference?

2019-03-18 Thread Antony Stone
On Monday 18 March 2019 at 19:58:19, Ivo Kidze wrote: > Hi Antony, > > You can try this: ... > 6. use can now use get_display_name("hostname") Hm, interesting solution to the debugging problem - I shall try that tomorrow. Thanks also for the helpful clue regarding what parameters to pass to l

Re: [icinga-users] Get attributes of a host by reference?

2019-03-18 Thread Antony Stone
On Monday 18 March 2019 at 16:09:27, Václav Mach wrote: > Hi, > > have you tried debugging this using the icinga2 console? Yes. > If I'm correct the documentation suggests something like: > > ICINGA2_API_USERNAME=your_user ICINGA2_API_PASSWORD=your_pass icinga2 > console --connect 'https://ici

Re: [icinga-users] Get attributes of a host by reference?

2019-03-18 Thread Antony Stone
On Monday 18 March 2019 at 15:57:43, Edgar Fuß wrote: > > It's in a NotificationCommand object. > > Ah, I see. I've never done complicated things in those. I can't really think of anywhere else to put it, since the information is only required to be included in Notifications, and looking it up

Re: [icinga-users] Get attributes of a host by reference?

2019-03-18 Thread Antony Stone
On Monday 18 March 2019 at 14:17:57, Edgar Fuß wrote: > EF> get_host(host.vars.neighbour) > > > [2019-03-18 09:24:55 +] critical/config: Error: Error while > > evaluating expression: Tried to access undefined script variable 'host' > > What context is that in? It's in a NotificationCommand

Re: [icinga-users] Get attributes of a host by reference?

2019-03-18 Thread Antony Stone
On Monday 18 March 2019 at 09:53:22, Edgar Fuß wrote: > > Can anyone point me at the correct syntax > > get_host(host.vars.neighbour) [2019-03-18 09:24:55 +] critical/config: Error: Error while evaluating expression: Tried to access undefined script variable 'host' It stops complaining if

[icinga-users] Get attributes of a host by reference?

2019-03-17 Thread Antony Stone
Hi. I have a custom arttribute for a host, which contains the name of another host in my setup. For example (not all attributes shown): object Host "alpha" { vars.neighbour = "beta" } So, for the object 'alpha', host.vars.neighbour has the value "beta". The object 'beta' has all the u

[icinga-users] Downtime notifications (a different question this time)

2019-03-16 Thread Antony Stone
Hi. I'm trying to make the notifications which Icinga2 sends out as useful as possible. For the DOWNTIMESTART Notification, I can include who set the downtime by using $notification.author$ and I can include the comment they added by using $notification.comment$ I'd also like to be able to ad

Re: [icinga-users] Downtime comment in notifications?

2019-03-16 Thread Antony Stone
On Saturday 16 March 2019 at 13:15:46, Antony Stone wrote: > Is there any way to get the content of the "comment" box that was filled in > when scheduling the downtime, so I can include this text in the > notification? I have no idea what I was doing. The text

[icinga-users] Downtime comment in notifications?

2019-03-16 Thread Antony Stone
Hi. When I put a service or host into downtime, Icinga by default sends out a notification with $notification.type$ = downtimestart. Is there any way to get the content of the "comment" box that was filled in when scheduling the downtime, so I can include this text in the notification? I'm loo

Re: [icinga-users] Single-click downtime for multiple hosts (and all associated services)

2019-03-16 Thread Antony Stone
something into Downtime. Does that help explain the scenario? Antony. > -Original Message- > From: icinga-users [mailto:icinga-users-boun...@lists.icinga.org] On Behalf > Of Antony Stone Sent: Friday, March 1, 2019 12:21 PM > To: Icinga User's Corner > Subject: [

[icinga-users] Delayed notifications?

2019-03-14 Thread Antony Stone
Hi. I'm wondering if there is a way to tell Icinga2 not to send notifications during some time period, but to have it "catch up" and send notifications for any problems still outstanding at the end of that time? Example: Support staff work 9am to 5pm, and want to get notifications about proble

Re: [icinga-users] Invalid performance data value - how can I find out what the value is?

2019-03-05 Thread Antony Stone
On Monday 04 March 2019 at 22:37:37, Ivo Kidze wrote: > Hi Antony, > > Try the following as system sudo user or system root user > > 1. ICINGA2_API_PASSWORD=api_user_password icinga2 console --connect > 'https://api_user@localhost:5665/' 2. s = > get_service("hostname","icinga_internal_servicena

[icinga-users] Invalid performance data value - how can I find out what the value is?

2019-03-04 Thread Antony Stone
Hi. I have a few "aggregate" service checks, which combine the results of other service checks which do real measurements and give me a summary of the checks on several machine which work in a cluster. In general this is working fine - I can combine three "ping" tests for three machines making

[icinga-users] Single-click downtime for multiple hosts (and all associated services)

2019-03-01 Thread Antony Stone
Hi. Background: I have a high-availability setup which consists of three machines running corosync / pacemaker managing a floating IP address, and a second group of three machines similarly running another floating IP address. Either of those addresses can be used to access various services ru

Re: [icinga-users] Icinga1 to icinga2 migration

2018-11-09 Thread Antony Stone
On Friday 09 November 2018 at 22:20:08, kanny goud wrote: > Hi Team, > > I am trying to migrate the icinga1 configuration files to icinga2 through > below script. > > https://github.com/pjjw/icinga2-migration So, https://github.com/pjjw is your first point of contact for anything to do with th

Re: [icinga-users] Icinga2 working reporting solutions

2018-11-07 Thread Antony Stone
On Wednesday 07 November 2018 at 12:35:18, Struska Raphael wrote: > Hello Guys, > > I hope you can help me. I am going to setup an Icinga2 monitoring and was > looking for a reporting solution. To get useful answers to this, I think you need to specify in a bit more detail what you mean by "rep

Re: [icinga-users] Icingaweb2 column widths

2018-10-31 Thread Antony Stone
On Wednesday 31 October 2018 at 13:44:58, Antony Stone wrote: > Hi. > > Is there any way to adjust the column widths of the Icingaweb2 display? I'm replying to my own posting here, just in case this is useful to anyone else. > For example, if I view the Service Grid, and hav

[icinga-users] Icingaweb2 column widths

2018-10-31 Thread Antony Stone
Hi. Is there any way to adjust the column widths of the Icingaweb2 display? For example, if I view the Service Grid, and have a machine (or a few) with lots of problems, it produces quite a wide display for the grid. If I then click on one of the problems to get more detail in the right-hand p

Re: [icinga-users] Any way to modify the output of a Service check from configuration files?

2018-10-26 Thread Antony Stone
--- > From: icinga-users [mailto:icinga-users-boun...@lists.icinga.org] On Behalf > Of Antony Stone Sent: Friday, October 26, 2018 10:51 AM > To: Icinga User's Corner > Subject: Re: [icinga-users] Any way to modify the output of a Service check > from configuration files? > > On Fri

Re: [icinga-users] Any way to modify the output of a Service check from configuration files?

2018-10-26 Thread Antony Stone
On Friday 26 October 2018 at 16:47:56, Michael Friedrich wrote: > Hi, > > short answer: no. Ah, okay :( > Long answer: The output and performance data isn’t modified by the core > when running a command and receiving its output. It is split out into > various values according to the plugin API

[icinga-users] Any way to modify the output of a Service check from configuration files?

2018-10-26 Thread Antony Stone
Hi. I have three machines being monitored by Icinga2, which maintain a floating IP address between them. I'm running service checks on the real machines by having Icinga installed on them, and on the floating address using "by_ssh", so the check gets run on whichever machine has that address a

Re: [icinga-users] http://my.ser.ver/icingaweb2 change?

2018-10-22 Thread Antony Stone
On Monday 22 October 2018 at 13:14:01, Michael Friedrich wrote: > > On 22. Oct 2018, at 12:09, Antony Stone wrote: > > > > Hi. > > > > I'm wondering what is the best / recommended way to change "icingaweb2" > > in the standard URL for accessin

Re: [icinga-users] http://my.ser.ver/icingaweb2 change?

2018-10-22 Thread Antony Stone
the > used URL and is fine with this. Okay, that's good to know and sounds nice and simple. Thanks, Antony. > Am 22.10.2018 um 13:14 schrieb Michael Friedrich: > >> On 22. Oct 2018, at 12:09, Antony Stone wrote: > >> > >> Hi. > >> > >>

Re: [icinga-users] http://my.ser.ver/icingaweb2 change?

2018-10-22 Thread Antony Stone
On Monday 22 October 2018 at 12:40:37, Peter Eckel wrote: > Hi Anthony, > > to keep this completely out of the reach of Icinga Web 2 upgrades, I'd set > up a simple reverse proxy in front of Icinga Web 2. You can even run it > within the same web server instance as Icinga Web 2 itself. Nice idea

[icinga-users] http://my.ser.ver/icingaweb2 change?

2018-10-22 Thread Antony Stone
Hi. I'm wondering what is the best / recommended way to change "icingaweb2" in the standard URL for accessing the Icinga web portal from a browser. So, instead of http://my.ser.ver/icingaweb2/ I'd like to have something like http://my.ser.ver/status/ I can see where to change this in the Apach

Re: [icinga-users] Upgrade suggestions please.

2018-08-24 Thread Antony Stone
On Friday 24 August 2018 at 16:57:14, Antony Stone wrote: > On Friday 24 August 2018 at 16:34:03, G.W. Haywood wrote: > > Hi there, > > > > First post to this list. > > > > I've been a happy user of nagios3 + nagiosgraph for a very long time; > > I&

Re: [icinga-users] Upgrade suggestions please.

2018-08-24 Thread Antony Stone
On Friday 24 August 2018 at 16:34:03, G.W. Haywood wrote: > Hi there, > > First post to this list. > > I've been a happy user of nagios3 + nagiosgraph for a very long time; > I've written the odd plugin and modified a few to fix/extend them. > > All of this has been running on Debian. > > Now

Re: [icinga-users] Preventing concurrent invocations on the same plugin

2018-08-06 Thread Antony Stone
On Monday 06 August 2018 at 19:47:53, Edgar Fuß wrote: > > Why would you have two DHCP servers visible (on the same interface and > > therefore the same subnet) to a single host? > > Redundancy, of course. And yes, the ISC dhcpd is desinged to cope with > that. Indeed - I use it like that myself

Re: [icinga-users] Preventing concurrent invocations on the same plugin

2018-08-06 Thread Antony Stone
On Monday 06 August 2018 at 19:16:20, Edgar Fuß wrote: > > Maybe give us an example of a configuration which is running into > > problems? > > I already gave that: Two Service definitions checking DHCP on different > DHCP servers via a CheckCommand definition using check_dhcp. Why would you have

Re: [icinga-users] Preventing concurrent invocations on the same plugin

2018-08-06 Thread Antony Stone
On Monday 06 August 2018 at 18:51:31, Edgar Fuß wrote: > > Surely this is handled by your combination of check_timeout and > > check_interval values? > > If I monitor several different DHCP servers? Each service check combination (ie: host + service) uses its own timeouts. The same check on dif

Re: [icinga-users] Preventing concurrent invocations on the same plugin

2018-08-06 Thread Antony Stone
On Monday 06 August 2018 at 18:45:59, Antony Stone wrote: > On Monday 06 August 2018 at 18:06:16, Edgar Fuß wrote: > > Is there a mathod to prevent, on the same machine, two concurrent > > invocations of the same plugin (without preventing concurrent invocations > > of any

Re: [icinga-users] Preventing concurrent invocations on the same plugin

2018-08-06 Thread Antony Stone
On Monday 06 August 2018 at 18:06:16, Edgar Fuß wrote: > Is there a mathod to prevent, on the same machine, two concurrent > invocations of the same plugin (without preventing concurrent invocations > of any plugins)? For example, with check_dhcp, the second invocation is > bound to fail because i

Re: [icinga-users] Debian Wheezy no longer supported?

2018-07-25 Thread Antony Stone
On Wednesday 25 July 2018 at 15:58:33, Michael Friedrich wrote: > ... it’s been two reverts in Puppet and that he’s built 2.9.1 for Wheezy > now. > > Short test with Docker: > > root@5e8e415e8d22:/# icinga2 --version > icinga2 - The Icinga 2 network monitoring daemon (version: r2.9.1-1) > That’

Re: [icinga-users] Debian Wheezy no longer supported?

2018-07-25 Thread Antony Stone
On Wednesday 25 July 2018 at 11:52:32, Michael Friedrich wrote: > We’ve missed that Wheezy LTS was EOL by the end of May, and after a > discussion about old long term releases after 2.9 we’ve dropped the build > environment for Wheezy. Are there any plans to reinstate the ARM release for platform

Re: [icinga-users] Debian Wheezy no longer supported?

2018-07-25 Thread Antony Stone
On Wednesday 25 July 2018 at 11:41:25, Volker Janzen wrote: > Hi, > > > But in any case, Icinga 2.9.0 was only released on 17h July > > https://www.icinga.com/category/releases/ so what newer version are you > > expecting to see anyway? > > 2.9.1 is current with fixes for non systemd distros: >

Re: [icinga-users] Debian Wheezy no longer supported?

2018-07-25 Thread Antony Stone
On Wednesday 25 July 2018 at 11:16:19, Florian Bachmann wrote: > Hi all, > > I just noticed that the latest packages for Debian Wheezy are at 2.9.0. Is > this some kind of temporary build problem, or is 2.9.0 the last Icinga > release to be provided for Wheezy? Debian security support for Wheezy

Re: [icinga-users] Icinga 2 systemd problem after update

2018-07-21 Thread Antony Stone
On Saturday 21 July 2018 at 14:10:03, Johnny wrote: > Hi all, > > I updated two hosts today Updated what? Icinga2? CentOS? RHEL? And - updated from what to what? > and systemd service icinga2 has problem to start after that. Are you able to revert to the previous version of whatever you up

[icinga-users] Icinga2 time periods

2018-06-13 Thread Antony Stone
Hi. https://www.icinga.com/docs/icinga2/latest/doc/08-advanced-topics/#timeperiods states that "If you are familiar with Icinga 1.x, these time period definitions are called legacy timeperiods in Icinga 2." Does that mean that there are other types of timeperiods, in addition to the legacy one

Re: [icinga-users] Monitoring HA clusters

2018-05-31 Thread Antony Stone
On Thursday 31 May 2018 at 22:14:04, Chris Boot wrote: > Hi list, > > In the old days of Nagios and NRPE, monitoring HA clusters was a simple > enough hack: declare a host that represents the services provided by the > cluster, assign a virtual IP address that floats with the services > (which yo

Re: [icinga-users] NRPE output contains random characters

2018-03-09 Thread Antony Stone
On Friday 09 March 2018 at 14:01:17, martin.schm...@hagebau.com wrote: > Hello fellow users! > > NRPE - Nagios Remote Plugin Executor > Version: 3.2.0 > > look at this link. > https://imgur.com/a/QewIK Still using Icinga1 and NRPE?? Hm... > i am experincing weird nrpe outputs lately. What do

Re: [icinga-users] Need you help

2018-03-08 Thread Antony Stone
On Thursday 08 March 2018 at 19:27:39, kanny goud wrote: > Hi All, > > We are currently using icinga.1.6 versionin our environment .We need to > migrate icinga2. > Please let me know how to do. https://www.icinga.com/docs/icinga2/latest/doc/23-migrating-from-icinga-1x/ is the place to start. L

Re: [icinga-users] Setting ping thersholds (packet loss and round-trip time) when executing ping on a client

2018-02-14 Thread Antony Stone
On Wednesday 14 February 2018 at 22:25:48, Stephane Bortzmeyer wrote: > OK, part of the problem came from the fact that I thought templates > were automatically exported to clients when: > > object Zone "global-templates" { > global = true > } > > and my templates contained the thresholds. On

Re: [icinga-users] last_reachable

2018-01-19 Thread Antony Stone
On Friday 19 January 2018 at 14:20:56, Edgar Fuß wrote: > What /exactly/ does a Service object's last_reachable attribute mean? > > last: last time the check was actually executed or last time the check was > due to be executed (but potentially not executed due to dependency > violations)? > reac

Re: [icinga-users] check_by_ssh from Icinga2 Master Node to client

2018-01-11 Thread Antony Stone
On Thursday 11 January 2018 at 19:06:26, Vikee Kumar wrote: > Hi Team, > > I got task to setup Icinga Monitoring with some following requirement. > > > 1. I have install and setup the Icinga Master node on Ubuntu 14.04. > 2. I have a client node (Ubuntu 14.04) running 5 services (apache2,

Re: [icinga-users] System/Hardware requirements for setup/adding icinga2 master in my existing topology.

2017-12-27 Thread Antony Stone
On Wednesday 27 December 2017 at 16:29:56, Vikee Kumar wrote: > Hi All, > > I need help to know what could be the “System/Hardware” requirement for > setup/adding icinga2 master in my existing topology. You say "master" - does that indicate you already have some Icinga2 slaves / satellites? >

Re: [icinga-users] White Screen

2017-12-26 Thread Antony Stone
On Tuesday 26 December 2017 at 22:55:58, Jonathan Hutchins wrote: > Either I botched my Alias directives, or there's something else about > not using the /icingaweb2 alias, because on a whim I used /icingaweb2 > and, just as documented, it simply works. That intrigues me greatly. I see nothing w

Re: [icinga-users] White Screen

2017-12-25 Thread Antony Stone
for many years for Nagios and the check plugins, and then Icinga1, now I simply used it again for Icinga2. It gets updated with current versions, so that's good enough for me. Antony. > On 2017-12-25 03:36, Antony Stone wrote: > > On Sunday 24 December 2017 at 23:58:00, Jonathan

Re: [icinga-users] White Screen

2017-12-25 Thread Antony Stone
On Sunday 24 December 2017 at 23:58:00, Jonathan Hutchins wrote: > The only thing in /etc/icingaweb2 is supposed to be the setup.token > file, right? # ls -al /etc/icingaweb2 total 44 drwxrws--- 6 root icingaweb2 4096 Dec 6 2016 . drwxr-xr-x 97 root root 4096 Sep 21 00:28 .. -rw-

Re: [icinga-users] White Screen

2017-12-24 Thread Antony Stone
On Sunday 24 December 2017 at 21:59:21, Jonathan Hutchins wrote: > Thanks for the quick reply! > > I'm using the docs at > https://www.howtoforge.com/tutorial/how-to-install-icinga2-on-debian-9/ Hm, dated November 16 2017, so it *should* be reasonably current... That seems to go into incredible

Re: [icinga-users] White Screen

2017-12-24 Thread Antony Stone
On Sunday 24 December 2017 at 21:26:37, Jonathan Hutchins wrote: > I've installed icinga2 and icingaweb2 from the Debian packages. Which ones? Debian's own repositories, or debmon's, or somewhere else? > That should pull in all of the packages automatically, but I've also checked > the list. I

Re: [icinga-users] Best way to identify satellite Icinga2 process stopped?

2017-10-29 Thread Antony Stone
On Monday 30 October 2017 at 00:43:06, Volker Janzen wrote: > Hi, > > did you define a cluster check on your master? > > object Service "cluster" { > check_command = "cluster" > check_interval = 60s > retry_interval = 10s > > host_name = "your icinga master" > } Aha :) No. I now see

[icinga-users] Best way to identify satellite Icinga2 process stopped?

2017-10-29 Thread Antony Stone
Hi. I have 1 master Icinga2 plus 3 satellites. All machines run Icingaweb2; the 3 satellites only show results from their local networks, the master shows everything. If the Icinga2 monitoring process stops on one of the satellites, the Icingaweb2 on that machine shows an alert under "System

Re: [icinga-users] How to troubleshoot a satellite issue?

2017-10-26 Thread Antony Stone
On Thursday 26 October 2017 at 22:14:11, Gordon Thagard wrote: > After I looked in the logs you suggested I saw that the time was off on all > satellites and on the master. But on that last satellite the time was off > by many, many hours. > Problem solved. Thanks for the sysadmin 101 lesson (wha

Re: [icinga-users] How to troubleshoot a satellite issue?

2017-10-26 Thread Antony Stone
On Thursday 26 October 2017 at 21:20:38, Gordon Thagard wrote: > I have an i2master and three satellites. What Operating System/s & version/s, which version/s of Icinga2? > I got the first two added pretty easily. I replicated my procedures Are those documented somewhere? An online tutorial et

Re: [icinga-users] Error code 21 connecting satellite to master

2017-10-09 Thread Antony Stone
On Tuesday 10 October 2017 at 00:22:51, Matthew Herzog wrote: > You do not want to install Icinga2 on all the hosts you need to monitor. Why not? That is a perfectly standard way to configure client machines. Why do you recommend not doing this? > There is no Icinga agent. Technically, correc

Re: [icinga-users] Error code 21 connecting satellite to master

2017-09-17 Thread Antony Stone
On Sunday 17 September 2017 at 10:27:55, Gijs Rijnders wrote: > Dear Icinga2 users, > > I have an Icinga2 master node, and I want to monitor other Linux hosts > for apt package availability. I read that I have to install Icinga2 > locally as Satellite on every host, and connect it to the master n

Re: [icinga-users] macros

2017-09-09 Thread Antony Stone
On Saturday 09 September 2017 at 17:25:30, Tobias Köck wrote: > the documentation says for the $asdfasd$ variant that > > "Macros can be used to access other objects’ attributes at runtime." > > https://www.icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#runtim > e-macros > > So this v

Re: [icinga-users] macros

2017-09-09 Thread Antony Stone
On Saturday 09 September 2017 at 17:11:06, Tobias Köck wrote: > I have seen it in several files. E.g. in > > /usr/share/icinga2/include/command-plugins.conf > > " > template CheckCommand "ipv4-or-ipv6" { > vars.check_address = {{ > var addr_v4 = macro("$address$") > ... >

Re: [icinga-users] macros

2017-09-09 Thread Antony Stone
On Saturday 09 September 2017 at 14:49:14, Tobias Köck wrote: > Hi, > > I am wondering what is the difference between a macro access with > > ... = $host.variable$ > > and > > ... = macro($host.variable$)? I'm not familiar with that latter syntax - can you point me at the documentation for i

Re: [icinga-users] Should the clients listen on port 5665

2017-08-30 Thread Antony Stone
On Wednesday 30 August 2017 at 16:20:54, Jayapandian Ponraj wrote: > Hi > > Should the clients listen on port 5665, even if the connection direction is > "from client to master" ? They don't have to, but there's no harm if they do. Obviously, they do have to accept replies from the master. An

Re: [icinga-users] Monitoring from two different interfaces?

2017-08-09 Thread Antony Stone
On Wednesday 09 August 2017 at 13:47:57, Peltokangas Mikko wrote: > Hello, > > If I have two network interfaces like eth0 and eth1 on my icinga-server, > can I monitor devices from both? Yes. > We have two whole different network and there are equipment behind those > interfaces what I need to

Re: [icinga-users] confusing documentation for 'assign/ignore where' expressions

2017-08-05 Thread Antony Stone
On Saturday 05 August 2017 at 14:44:36, Tobias Köck wrote: > Hi, > > on the page > > https://www.icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#apply- > rules > > there are several confusing examples > > E.g > > template Notification "cust-xy-notification" { > users = [ "noc-xy",

Re: [icinga-users] Hosts not showing in Icingaweb after restart

2017-07-19 Thread Antony Stone
On Wednesday 19 July 2017 at 17:30:14, Garrett Pye wrote: > Little confused about why new hosts in /etc/icinga2/conf.d/ directory are > not showing up after restart. Are you saying that old hosts, which were there before, are still showing up, but *new* ones aren't? Or is this a new installatio

Re: [icinga-users] Any way to adjust service grid colours without recompiling?

2017-07-11 Thread Antony Stone
On Tuesday 10 January 2017 at 23:54:46, Antony Stone wrote: > On Thursday 05 January 2017 at 09:46:14, Thomas Gelf wrote: > > Hi Antony, > > > > sure you can. > > > > mkdir /usr/share/icingaweb2/modules/mymodule > > cd /usr/share/icingaweb2/modules/

Re: [icinga-users] Error: Function call 'fork' failed with error code 12, 'Cannot allocate memory'

2017-07-06 Thread Antony Stone
On Wednesday 05 July 2017 at 18:51:17, Valentin Höbel wrote: > Hi Anthony, > > how is your Icinga2 doing? Well, the good news is - very well :) The less good news (from the point of view of understanding this problem) is that I changed hosting providers. Partly based on the bizarre informatio

Re: [icinga-users] Error: Function call 'fork' failed with error code 12, 'Cannot allocate memory'

2017-07-03 Thread Antony Stone
On Monday 03 July 2017 at 13:15:28, Valentin Höbel wrote: > Hi, > > sorry to hear the crashes don't go away. > > I didn't have a look at the information you provided yet, so I can't > really provide help now. > > Regardng RAM/swap upgrade: You seem to run a 32 Bit kernel with no PAE > feature e

Re: [icinga-users] Error: Function call 'fork' failed with error code 12, 'Cannot allocate memory'

2017-07-03 Thread Antony Stone
turned on...) Thanks, Antony. On Saturday 01 July 2017 at 13:56:28, Antony Stone wrote: > On Saturday 01 July 2017 at 10:34:28, Antony Stone wrote: > > On Saturday 01 July 2017 at 01:32:34, Neil Katin wrote: > > > Alternately: run 'sar -r 10' (sar is in the sysst

Re: [icinga-users] Error: Function call 'fork' failed with error code 12, 'Cannot allocate memory'

2017-07-01 Thread Antony Stone
On Saturday 01 July 2017 at 10:34:28, Antony Stone wrote: > On Saturday 01 July 2017 at 01:32:34, Neil Katin wrote: > > > Alternately: run 'sar -r 10' (sar is in the sysstat package, -r reports > > on memory usage) capturing the output to a file. If you see committe

Re: [icinga-users] Error: Function call 'fork' failed with error code 12, 'Cannot allocate memory'

2017-07-01 Thread Antony Stone
On Saturday 01 July 2017 at 01:32:34, Neil Katin wrote: > On 30-Jun-17 15:07, Antony Stone wrote: > > SwapTotal: 0 kB > > SwapFree: 0 kB > > Chiming in here: I'm guessing you temporarily filled memory up, and when > you look at it after

Re: [icinga-users] Error: Function call 'fork' failed with error code 12, 'Cannot allocate memory'

2017-06-30 Thread Antony Stone
On Friday 30 June 2017 at 19:16:14, Antony Stone wrote: > On Friday 30 June 2017 at 18:26:43, Valentin Höbel wrote: > > Hi, > > > > I might be going into a wrong direction here, but can you please provide > > the following information: > > > > (1) > &g

Re: [icinga-users] Error: Function call 'fork' failed with error code 12, 'Cannot allocate memory'

2017-06-30 Thread Antony Stone
On Friday 30 June 2017 at 18:26:43, Valentin Höbel wrote: > Hi, > > I might be going into a wrong direction here, but can you please provide > the following information: > > (1) > Output of "uname -a" Linux red.ac.ted 3.2.41-042stab120.20 #1 SMP Fri Mar 10 16:52:50 MSK 2017 i686 GNU/Linux > (

[icinga-users] Error: Function call 'fork' failed with error code 12, 'Cannot allocate memory'

2017-06-30 Thread Antony Stone
Hi. I've been using Icinga2 for several months now, and I've got quite a few servers configured in a hierarchy. This week I've just added a new machine for monitoring a customer's network, and Icinga keeps on falling over saying "cannot allocate memory". The machine is a Virtual Server with 4G

Re: [icinga-users] https url monitoring failed

2017-06-22 Thread Antony Stone
On Thursday 22 June 2017 at 20:23:28, Umar Draz wrote: > This http check really something strange for me > > look at that > > curl -I https://www.secureteen.com/ > HTTP/1.1 200 OK > Server: nginx > Date: Thu, 22 Jun 2017 18:16:47 GMT > Content-Type: text/html; charset=UTF-8 > > But here is icin

Re: [icinga-users] https url monitoring failed

2017-06-22 Thread Antony Stone
On Thursday 22 June 2017 at 17:57:08, Umar Draz wrote: > Ok thanks for this dummy check. > > One more issue > > I have this url https://www.umardraz.com/elab/ So try putting that into your check: > here is my host.conf > > object Host "mysite" { >check_command = "dummy" > address = "um

Re: [icinga-users] https url monitoring failed

2017-06-22 Thread Antony Stone
On Thursday 22 June 2017 at 16:58:16, Umar Draz wrote: > Hi Gerald > > This worked > > object Host "mysite" { > import "generic-host" > address = "173.212.216.101" > vars.http_vhosts["www.umardraz.com"] = { > http_uri = "/" > http_ssl = "true" > } > } > > But, this is also a fai

Re: [icinga-users] https url monitoring failed

2017-06-22 Thread Antony Stone
On Thursday 22 June 2017 at 15:36:02, Umar Draz wrote: > Please check all screenshots here > > https://www.umardraz.com/screen1.png > https://www.umardraz.com/screen2.png Copy and paste would have been sufficient :) > https://www.umardraz.com/hosts-web.png This is not the "http" service check

Re: [icinga-users] https url monitoring failed

2017-06-22 Thread Antony Stone
On Thursday 22 June 2017 at 14:52:08, Umar Draz wrote: > Here is > > apply Service for (http_vhost => config in host.vars.http_vhosts) { >import "generic-service" >check_command = "http" >vars += config > } > On Thu, Jun 22, 2017 at

Re: [icinga-users] https url monitoring failed

2017-06-22 Thread Antony Stone
z.com"] = { > http_uri = "/" > http_ssl = "true" >} > } > > I hope this time google will not do anything wrong with format Okay; that looks a lot better :) Can you share the "apply Service" definition as well please? Antony. > On Th

Re: [icinga-users] https url monitoring failed

2017-06-22 Thread Antony Stone
On Thursday 22 June 2017 at 14:20:59, Umar Draz wrote: > No Luck, > > I think there is something else that is not documented or missing. Is the way your Host definition is quoted below *exactly* what you have on your system? I'm very puzzled by the entries of "http://mysite.com/"; and I'm wond

Re: [icinga-users] New Services without notifications until that they are Ok

2017-05-17 Thread Antony Stone
On Wednesday 17 May 2017 at 11:04:50, Christian Moreno Moreno wrote: > Hi, > > Sometimes our hosts are in icinga and the deployments are not finish so are > some checks that are directly Critical. > Would be possible to configure icinga for that new services that are > directly critical doesnt pr

Re: [icinga-users] Puppet: Master zone / slave over different Puppet servers

2017-05-01 Thread Antony Stone
On Monday 01 May 2017 at 20:21:54, Denny Fuchs wrote: > hi, > > I have a Puppet-icinga/examples/example3 setup running and very happy with > it :-) Now I want to add two new DMZ zones. The" problem" is, that both > zones have own Puppet servers: > > Master: Puppet server (with Puppetdb) 1 > Slav

[icinga-users] Top-down / bottom-up

2017-04-20 Thread Antony Stone
Hi. I know that the bottom-up configuration strategy has been deprecated in Icinga2, but I wonder whether there's any way of achieving the following: Company A is an IT services / support company with customers B, C and D. Company B has an Icinga2 setup on their network, with a Master which B

Re: [icinga-users] Significance of command_endpoint attribute in host object

2017-04-10 Thread Antony Stone
On Monday 10 April 2017 at 15:19:46, Jayapandian Ponraj wrote: > Hi > > Can someone explain the significance of command_endpoint attribute in the > host object? It's the machine which runs the check command to see whether the host is up. > The command_endpoint in service object says where to ex

Re: [icinga-users] A CheckCommand which can run two "command"s?

2017-04-07 Thread Antony Stone
On Friday 07 April 2017 at 10:39:06, Antony Stone wrote: > On Thursday 06 April 2017 at 15:35:10, Rudy Gevaert wrote: > > On Thu, 2017-04-06 at 15:32 +0200, Antony Stone wrote: > > > Hi. > > > > > > Does anyone know of a way to write a CheckCommand definition

Re: [icinga-users] A CheckCommand which can run two "command"s?

2017-04-07 Thread Antony Stone
On Thursday 06 April 2017 at 15:35:10, Rudy Gevaert wrote: > On Thu, 2017-04-06 at 15:32 +0200, Antony Stone wrote: > > Hi. > > > > Does anyone know of a way to write a CheckCommand definition which > > can run two commands, or alternatively a Service defin

[icinga-users] A CheckCommand which can run two "command"s?

2017-04-06 Thread Antony Stone
Hi. Does anyone know of a way to write a CheckCommand definition which can run two commands, or alternatively a Service definition which can run two CheckCommands, and then combine the results to give a single result which Icinga reports? I've already written Service definitions which can take

[icinga-users] Service object runtime attributes

2017-04-06 Thread Antony Stone
Hi. I'm reading section 9.29 of https://docs.icinga.com/icinga2/latest/doc/module/icinga2/chapter/object-types and wondering about the "last_" prefix: "state" is defined as "The current state" and "last_state" is defined as "The previous state" however "last_check_result" is defined as "The c

Re: [icinga-users] Master learning about client's Platform*

2017-04-04 Thread Antony Stone
On Tuesday 04 April 2017 at 18:19:44, Edgar Fuß wrote: > Is it possible for a master to learn about a command endpoint's Platform* > variables? This would be most useful in a top-down command endpoint setup > without config sync to personalize Service checks. Can you give an example of what you'd

Re: [icinga-users] Client / satellite replay log size / duration

2017-03-30 Thread Antony Stone
On Thursday 30 March 2017 at 08:24:43, CHOVELON, Pierrick wrote: > You can find informations over there : > https://docs.icinga.com/icinga2/latest/doc/module/icinga2/chapter/distribut > ed-monitoring?highlight-search=log_duration#distributed-monitoring-advanced > -hints-command-endpoint-log-durati

[icinga-users] Client / satellite replay log size / duration

2017-03-29 Thread Antony Stone
Hi. I'm aware that when Icinga2 is configured in top-down config sync mode, the remote machine (client or satellite, as the case may be) will continue performing checks and logging results locally in the event of a connectivity failure between that machine and its parent. What I'm trying to fi

Re: [icinga-users] Top down config sync issues

2017-02-16 Thread Antony Stone
. Antony. > On Thu, Feb 16, 2017 at 2:07 AM, Antony Stone wrote: > > On Thursday 16 Feb 2017 at 02:59, Brad Bendy wrote: > >> Hi, > >> > >> Ive got a new Icinga v2.6.2 install that im trying to get the "top > >> down config sync"

  1   2   >