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

2016-04-18 Thread Bata Bálint András
Hi Guys, I try to make an nrpe disk check. Checkconfig is ok, manual command works: root@icingaserver:/etc/icinga2# /usr/lib/nagios/plugins/check_nrpe -H icingaclient -c 'check_disk' -a '20%' '10%' '/' DISK OK - free space: / 87523 MB (95% inode=97%);| /=4087MB;77228;86882;0;96536 In Icinga web

[icinga-users] schedule downtime for several hosts in icingaweb2

2016-04-18 Thread Jens Link
Hi, How do I schedule downtime for several hosts in icingaweb2? With icingaweb this was easy (and I know several people who migrated from Nagios to Icinga because of that feature). Jens -- | Foelderichstr. 40 | 13595

Re: [icinga-users] schedule downtime for several hosts in icingaweb2

2016-04-18 Thread Thomas Gelf
Hi Jens, SHIFT/CTRL-Click is what you're looking for. It's really helpful, but a little bit hidden. If you hover "0 row(s) selected" in the right upper corner it shows related instructions. Cheers, Thomas Am 18.04.2016 um 11:06 schrieb Jens Link: > Hi, > > How do I schedule downtime for several

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

2016-04-18 Thread Assaf Flatto
It seems that you are using the a shortname for the host identifier while the configuration has a the fqdn. Try to run the test with the fqdn and see if that works. Assaf On 15/04/16 12:16, Bata Bálint András wrote: Hi Guys, I try to make an nrpe disk check. Checkconfig is ok, manual comma

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

2016-04-18 Thread Gerald Vogt
On 15.04.16 11:16, Bata Bálint András wrote: object CheckCommand "nrpe" { import "plugin-check-command" command = [PluginDir + "/check_nrpe" ] arguments = { "-H" = "$host$" "-c" = "$check$" "-t", "$timeout$" "-a", "$args$"

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

2016-04-18 Thread Bata Bálint András
Hi, @Gerald: I removed CheckCommand definition, now I use only the nrpe Service configuration, which is copied from Icinga docs: object Service "nrpe-disk-/" { import "generic-service" host_name = "icingaclient.xxx.yyy" check_command = "nrpe" vars.nrpe_command = "check_disk" vars.nrpe

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] Adding new remote host - template for services/hosts

2016-04-18 Thread Brad Bendy
Hi, Ive ran through the docs quite a bit, and either im just blind or missing it all together. Ive got a F23 boxes running 2.4.4 as the master with the GUI on it (the remote nodes are the same version with just icinga2 installed). I can successfully add remote machines via the 'icinga2 node wizar