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
0
votes
1 answer

How to Integration of nagios/icinga and github tickets and their content into zendesk and sync open/closed status?

Before zendesk, ive used zammad, which has a nice integration of gihub / nagios / icinga tickets etc. and f.e. closes them if services are back online. Is it possible to get the same functionality in zendesk ? Is it possible to not just forward…
0
votes
1 answer

Bash Shell script to check how many processess are running and issue warning if exceeds 20?

I want to check the number of processess running and if this number of process is between 0-20 then print the number of process, if between 20-40 issue a warning and if between 40-70 issue a critical warning. This code is being written to check the…
JBOSSUSER
  • 35
  • 9
0
votes
1 answer

Icinga check_http via Proxy Server

I can't figure out how to use the check_http module of Icinga to use a http proxy. I tried to achieve this using the following entry in hosts.conf. object Host "host.local.ch" { import "generic-host" address = "192.168.200.20" …
ozzi-
  • 159
  • 2
  • 12
0
votes
1 answer

How to get downtime on Icinga?

I'm working on a project and we are using Icinga to monitor some services. However, we need to get a downtime from some services, but I can't find it. For an example: My service is UP, running for 5 mins. Suddenly, service is down. After 10 minutes,…
0
votes
2 answers

Icinga Notification in Slack Containing URL

I have integrated Slack with our Icinga (Nagios based) monitoring and we are sending notifications from icinga to slack channels In icinga notification's service description field we are including a URL for the monitoring page for that particular…
sjm
  • 415
  • 1
  • 9
  • 23
0
votes
2 answers

Is it possible to run a script when Icinga2 a host has a critical service?

Let's say a given host, FooHost, is running Apache2. Icinga2 runs a check by ssh command and discovers that Apache2 is not running, which triggers a critical alert. Is it possible to have Icinga2 execute a script on this event? In this example, I…
DrDamnit
  • 4,736
  • 4
  • 23
  • 38
0
votes
1 answer

Automate feeding the output of a command to a prompt

I have a script that reads a text file that has all the nodes listed in there: node1 node2 node3 . . . This is my script: #!/bin/bash while read f; do ssh-copy-id myusername@"$f" ssh username@master.icinga.test.com icinga2 pki ticket --cn…
Irina I
  • 31
  • 1
  • 5
0
votes
0 answers

Icinga2 client Host culster-zone check command not going down (RED) when lost connection

I have setup a single master with 2 client endpoints in my icintga2 monitoring system using director with Top-Down mode. I have also setup 2 client nodes with both accept configs and accept commands. (hopefully this means I'm running Top Down…
0
votes
0 answers

Icinga: How to enable maintenance mode through remote api or tool?

I am using Icinga Version 2.4.2 to monitor services on several hosts. I would like to be able to place certain hosts in maintenance mode for a set amount of time using a cli tool or rest API instead of the Web UI. Is this possible and if so what…
Alex Cohen
  • 5,596
  • 16
  • 54
  • 104
0
votes
1 answer

How to escape commas in Icinga array argument

I have a Python script that takes a variable amount of integers and does some work with them. The values are passed to the script with the command-line argument -s. When I run the script locally, it works fine: python check_myScript.py -s 1 2 3…
Taylor Liss
  • 593
  • 4
  • 27
0
votes
1 answer

creating multiple files from template and replace content on-the-fly

As stated in the title i'd like to create multiple files from a template and replace a fixed keyword on-the-fly if i do $ sed s/XX/{01..05}/g templates/pXX.conf i get kinda close, since i get an correct output for first result, but an error for…
0
votes
0 answers

Script/cron to automatically renew LetsEncrypt certificates and push to a repository

I'm looking to have script/cron to be able to renew LetsEncrypt certificates (using acme-tiny) for multiple domains, when an Icinga check says they are 15 days away from expiry. Then those renewed certificates should be pushed to a GitHub…
Reception123
  • 73
  • 1
  • 9
0
votes
1 answer

Python Module snmpSessionBaseClass: Where to download

I am trying to import the snmpSessionBaseClass python module in a script I am running, but I do not have the module installed and I can't seem to find where to download it. Does anyone know the pip or yum command to download and install this module?…
Kevin Gardenhire
  • 626
  • 8
  • 22
0
votes
1 answer

MySQL function with variable parameter

I am creating a monitoring report with iReport from Jaspersoft and data from icinga. In ireport I have to enter the query to get the data I need. Now, I want to get the name (of a monitored object) and the corresponding availability from that…
gheist
  • 3
  • 2
0
votes
1 answer

Icinga output Plugin for Logstash causing OpenSSL::SSL::SSLError:certificate verify failed Issue

Hi I have installed logstash plugin for Icinga 2. I have setup the API by issuing icinga2 api setup and then restarted the Icinga 2 service. I am using Icinga 2 API username and password available in /etc/icinga2/conf.d/api-users.conf and try to…
user8363477
  • 655
  • 4
  • 14
  • 24