Questions tagged [icinga]

Icinga is an open-source network and computer system monitoring application. It's a fork of Nagios. It is recommended to use the `icinga` tag together with the version specific tag, f.e. `icinga-2.0`.

About

Icinga is an open-source network and computer system monitoring application. It was originally created as a fork of the Nagios system monitoring application in 2009.

Icinga is attempting to get past perceived short-comings in Nagios' development process, as well as adding new features such as a modern Web 2.0 style user interface, additional database connectors (for MySQL and PostgreSQL), and a REST API that lets administrators integrate numerous extensions without complicated modification of the Icinga core.

Wikipedia page

Tagging Recommendation

It is recommended to use the icinga tag together with the version specific tag, f.e. icinga-2.0

Resources

  1. Icinga 2
  2. Documentation
  3. Community wiki
112 questions
1
vote
1 answer

Execute script on Master node when a client host goes down

I know by default the "Event Command" is executed on the "Command endpoint" doing the check for a device. Is there a way to change this or define which endpoint the event command is executed on? I need the Event commands to be executed on the master…
alexis
  • 1,022
  • 3
  • 16
  • 44
1
vote
1 answer

Icinga 2: variable in display_name?

Is it possible to pass a variable to display_name in Icinga2 configuration, e.g. for a service: apply Service for (disk_name => config in host.vars.disks) to Host { import "generic-service" vars = vars + config display_name = "disk" //TODO:…
Tombart
  • 30,520
  • 16
  • 123
  • 136
1
vote
1 answer

Icinga2 -- host's display_name is ignored by icingaweb2

I setup an icinga2 installation to monitor a set of servers. On the client node(ubuntu 16.04, icinga2 installed via apt from the Ubuntu repository) I set in hosts.conf: object Host NodeName { /* Import the default host template defined in…
M.K. aka Grisu
  • 2,338
  • 5
  • 17
  • 32
1
vote
2 answers

How to add hosts to Icinga2?

I'm having problem adding a host to Icinga2. I know that it is possible to add it via the following command: icinga2 node wizard But I have a feeling that you could add the hosts yourself, choosing which services you would like to monitor and…
1
vote
1 answer

Surviving icinga2 restart in a python requests stream

I have been working on a chatbot interface to icinga2, and have not found a persistent way to survive the restart/reload of the icinga2 server. After a week of moving try/except blocks, using requests sessions, et al, it's time to reach out to the…
Rache
  • 236
  • 2
  • 11
1
vote
0 answers

Need Help Configuring a MongoDB Monitoring Service in Icinga

I am currently trying to track down an alert being dispatched by an icinga monitoring service for our mongodb server. Aprox. every 15 minutes a warning is being dispatched that looks like this: ***** Icinga ***** Notification Type:…
pbuchheit
  • 1,371
  • 1
  • 20
  • 47
1
vote
1 answer

How can we provide multiple values for a Single argument either in services.conf or comands.conf

Here I am trying to use a plugin to check whether the service running or not, if there is any warning or any critical action required, at the same time the performance parameter. We have used below plugin to check if a server is alive or not and…
Ravi Jain
  • 11
  • 1
1
vote
1 answer

Schema version issue in Icinga 2

I'm installing icinga2 on Debian from: deb http://debmon.org/debmon debmon-jessie main deb http://httpredir.debian.org/debian jessie-backports main As described…
Olga Pshenichnikova
  • 1,509
  • 4
  • 22
  • 47
1
vote
1 answer

how to extract string between curly braces from file

I have nagios/icinga object file with similar contents below but lots of it. How do i extract the similar objects for example only the "host objects" or "service objects" using bash or python. define host{ ## extract including the "define…
sherpaurgen
  • 3,028
  • 6
  • 32
  • 45
1
vote
2 answers

Migrating from Nagios to Icinga2

I need to migrate Nagios instance which has large number of nodes and services being monitored to Icinga2. I came across following documentation: http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/migration#migration It doesn't have…
Vijay
  • 19
  • 2
  • 6
1
vote
2 answers

In Python, how do I get a list of all partitions in Mac OS X?

I have a similar question to the one asked here: Find size and free space of the filesystem containing a given file, but that question assumes you already know something about the system. I have a task: for an undetermined number of machines,…
Mercury00
  • 80
  • 2
  • 10
1
vote
1 answer

icinga web 2 dashboard showing specific servicegroups

I've succesfully set up my icinga2 services and addded them to two several ServiceGroups inside the same host. Is it possible to create an icinga2web dashboard showing only those serviegroups (inside the same host) which contain at least a service…
izmeeimer
  • 11
  • 1
  • 5
1
vote
1 answer

No Historical Data in IDO DB with Icinga2 Web2

Context I'm working on provisioning Icinga2 Web2 with IDO PostgreSQL and IDO MySQL using Ansible on CentOS 7. I base my work on the great https://github.com/Icinga/icinga2-ansible roles. I have forked the project (mickael-ange/icinga2-ansible) to…
Mickael
  • 829
  • 7
  • 9
1
vote
1 answer

Icinga2: How to monitor scheduled tasks via check_tasksched and ignore currently running tasks?

Tried several ways, using default check_tasksched works and checks only enabled ones by default (filter). Now my problem: running tasks will be notified with "warning" while they're running.
Markus
  • 1,360
  • 1
  • 16
  • 22
1
vote
1 answer

Icinga2 quotes in command arguments

Hello how is it possbile to perform a check like this: /usr/lib/nagios/plugins/check_nt -H 192.168.110.130 -p 12489 -s ****** -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging File usage is %.2f %%" -w 60 -c 90 My actual check command looks…
GreenRover
  • 1,486
  • 1
  • 14
  • 33