Questions tagged [icinga2]

Icinga2, the next generation, complete rewrite, of the Nagios fork Icinga, is an open source monitoring system which checks the availability of your network resources, notifies users of outages, and generates performance data for reporting.

Icinga 2 manages monitoring tasks, running checks, sending alert notifications. The Icinga 2 features can be enabled on-demand, be it default features such as the 'checker' or 'notification' component, or external interfaces compatible with Icinga 1.x and its user interfaces, for example the IDO DB (Icinga Data Out Database). Icinga 2 ships a built-in cluster stack secured by SSL x509 certificates attempting to make distributed monitoring setups more easy.

The configuration syntax is different to Icinga Core 1.x and Nagios and requires a migration on upgrade.

89 questions
0
votes
1 answer

check_snmp_mem.pl Icinga2 configuration broken

I can successfully run check_snmp_mem.pl -v -H kvm.lala.bo -l bravo -x th3r4m1N+ -X j4bAdeHu5 -w 50,70 -c 80,90 but configuring "snmp-memory" check in Icinga2 is not working. Here's what I have in the config file for kvm.lala.by: check_command =…
mr.zog
  • 902
  • 3
  • 16
  • 36
0
votes
1 answer

Does Jasper server need to run locally on the Icinga2 master?

Since Icinga2 wants mysql and Jasper wants postgres I thought it made sense to install each on its own VM. Has anyone got them working together with Icinga Reports on separate servers?
mr.zog
  • 902
  • 3
  • 16
  • 36
0
votes
1 answer

How to monitor MySQL socket using icinga2

I would like to monitor my MySQL server using icinga2 as the title shows above. My MySQL server uses a unix socket. I tried the following: object Service "MYSQL" { import "generic-service" check_command = "mysql" …
sysmodder
  • 33
  • 7
0
votes
0 answers

ICINGA2 - wrong host status (DOWN/UP) for a while

I have setup and configured ICINGA2 server on Ubuntu 16.04 LTS. I added majority of my hosts (mainly Windows hosts) and I noticed that sometimes ICINGA2 shows wrong hosts status for a while (1 minute or so). For example plenty of my hosts are DOWN…
0
votes
1 answer

Get detailed info via snmp from Juniper switch stack for monitoring

I try to get the following information out of the switch stack for monitoring purposes. Here is the command and its output executed directly on the switch stack via ssh login: root@stack> show virtual-chassis Preprovisioned Virtual…
Kay
  • 3
  • 4
0
votes
3 answers

How to configure icinga2 apilistener logger

icinga2 on ubuntu 16.04 logs every single api call to /var/log/syslog. I`m attempting to run icinga2 on xenial (ubuntu 16.04.1). I get a log of api related statements in my syslog. I have some automated integration running every 3 seconds, producing…
louisgab
  • 131
  • 1
  • 7
0
votes
0 answers

Applying an Icinga2 service to a host when specified service present on host

Cheers, I have the situation that I want to apply a service to a host, but only for hosts that a certain service (with certain variables). So essentially something like: apply service "foo" { foreach service on host { assign where service.name…
towo
  • 1,887
  • 14
  • 12
0
votes
1 answer

Icinga2 check_http fails to open socket

I'm attempting to use icinga2 to make sure certain "canary" web pages are being served correctly. The following command works just fine in the terminal: /usr/lib64/nagios/plugins/check_http -f follow -H target -u /tomcat_test HTTP OK: HTTP/1.1 200…
Rache
  • 111
  • 6
0
votes
1 answer

Is it possible for current versions of icinga2 to configure nodes from master?

I've carefully read http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/cli-commands and see command icinga2 repository service which should allow to add or remove services. But when i tried to use it like: [root@D01mplaceAPI…
Psychozoic
  • 273
  • 2
  • 4
  • 13
0
votes
2 answers

Error when installing a WIndows application from salt master

I am trying to install Icinga via salt on a Windows server 2012 R2. I have created an icinga.sls file and stored it in /srv/salt/win/repo-ng. File contents: icinga: '2.4.7': full_name: 'Icinga2-v2.4.7' installer:…
Rob
  • 73
  • 1
  • 1
  • 7
0
votes
1 answer

icinga NRPE vs. SNMP

Is there a list of the pro/s and con/s of NRPE vs. SNMP when using icinga? I have no idea what's the best way to handle the returned data of plugins back to my icinga monitoring machine. Usage of SSH as connection is no option for me.
0
votes
1 answer

how to set up icinga2 on Debian

The biggest problem is that CLI wizard doesn't work on Debian package. So icinga2 node wizard is impossible. So i have to edit configs manually, but this is so weird, that after reading i know less then before. Few questions: what is a difference…
SledgehammerPL
  • 711
  • 9
  • 16
0
votes
2 answers

Icinga 2 sends notifications outside of specified time period

I'm trying to send different notifications in different time periods, basically I want to send all notifications during work hours, but only notifications for hosts marked emergency during off hours. apply Notification "mike-on" to Host { import…
fusorx
  • 121
  • 7
0
votes
1 answer

Puppet fails on icinga2 using puppet-icinga2 module

I am trying to bring up a box for icinga2 using vagrant and I am using puppet-icinga2 from https://github.com/Icinga/puppet-icinga2/tree/v0.6.2 so I have a role as shown below class role::icinga2_server { class { 'postgresql::server': …
PoX
  • 238
  • 2
  • 11
0
votes
0 answers

How to exclude NRPE Service with Spaces in server name?

How can I exclude this service in ICINGA NRPE service check? 'exclude=Sophos Clean Service' is not working (Invalid package type received from server)
BBQtrout
  • 1
  • 1