Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
9 views

Is there a simple way to configure Icinga2 notifications so they are sent only after an initial UP state?

We are trying to be more systematic in our monitoring and we have not found a simple way to ignore notifications regarding a service that is not yet in production. What could be the best approach to ...
0
votes
1answer
29 views

Icinga2 disk check - suppressing testing for some dirs

Certain app creates a directory that a root cannot access (see Getting info about a weird directory) and Icinga2 instance running on that host creates useless alerts about it: disk on homehost.dom is ...
0
votes
2answers
44 views

Can't finish icinga2 set-up via web wizard

I've been installing Icinga2 on my openSUSE Tumbleweed system with following package versions: icinga2-2.10.1-2.1.x86_64 php7-7.2.11-1.3.src and I'm stuck on the following web site of the setup ...
1
vote
3answers
83 views

Nagios/Icinga: Don't show CRITICAL for DRBD partitions on standby node

I've set up a pacemaker/corosync ha-cluster in a failover configuration with two nodes: productive and standby. There are three DRBD partitions. Everything works fine so far. I'm using Nagios NRPE on ...
0
votes
2answers
66 views

Primary key insertions start at zero when failing over logical replication in PostgreSQL10

I have two PostgreSQL servers running, one publishing all tables and the other subscribing to all via logical replication. I'm currently testing a failover solution, and it seems if I remove the ...
1
vote
1answer
28 views

Why Icinga2 remote apt check is displaying results from master?

I've a icinga2 installation monitoring some debian hosts using native agent. All checks are working fine except apt. The results displayed are taken from the icinga2 master machine and I can't ...
0
votes
0answers
23 views

Icinga2, apply Service to existing services?

I have inherited an Icinga2 system where the service definitions do not import a service template unfortunately. I want to change how often a couple of services are checked, and I'm hoping to do this ...
0
votes
1answer
45 views

Does it make sense to monitor free memory and CPU usage on servers?

I am monitoring my servers infrastructure using Icinga2 with some master/satellite configurations. On Linux and Windows hosts I am monitoring the defaults system metrics like CPU usage and free ...
0
votes
1answer
222 views

Icinga 2 check_logfiles with Agent on Windows

I'd like to add a check_logfiles command on a windows machine. Do I have to use the NSClient++ or is it possible to do this with the Icinga 2 Client wich is already installed? I configured the Service ...
0
votes
0answers
43 views

How to prevent Icinga's disk check from interupting idle NFS mounts?

I have a mount and automount unit pair for systemd, that mounts a NFS share from another host when needed. It is unmounted automatically after 60 seconds of idle time. Works fine so far. But if I ...
1
vote
0answers
245 views

CRITICAL: Error code 69 returned from /usr/bin/mailq while using check_mailq plugin

While running check_mailq with root user output is as expected but with icinga user it is giving below error: [root@servername ~]# /icinga/plugins/libexec/check_mailq -w 1 -c 2 postqueue: warning: ...
1
vote
0answers
25 views

Show offline hosts as OK

In Icingaweb2 I'd like to show some unreachable hosts as OK (green), while only performing dependent checks on each of these hosts when the respective host is available. Some background: I'm using ...
0
votes
0answers
169 views

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 ...
0
votes
0answers
159 views

Monitor active/passive pacemaker service with icinga2

I've got a clustered service (active/passive pacemaker cluster) that I'd like to monitor with icinga2. According to the documentation (https://www.icinga.com/docs/icinga2/latest/doc/08-advanced-topics/...
0
votes
0answers
70 views

Icinga2 move from Master-Client to Master-Satellite-Client

We want to move from a Master - Client Icinga2 configuration to a Master - Satellite - Client. I'm planning to downgrade my local network zone Master to Satellite and setup a new Master in cloud. Is ...
1
vote
0answers
121 views

icinga2 agent on hosts

I've heard that it's possible to "install" an agent on hosts and let them collect data to be sent to icinga2. If that is true, how? A detailed documentation would be helpful. It's just that I would ...
1
vote
1answer
158 views

Is there a way to get the plugin output of icinga2 on the commandline?

With icinga2 one can use icingacli monitoring list to get the monitoring results on the commandline. I'm looking for the detailed output of the plugins/services (shown in icinga2 as 'plugin output', ...
0
votes
1answer
473 views

Is there a way for an Icinga2 host to be both master and satellite?

Is there a way for an Icinga2 host to be both master and satellite? I want to set it up in a way that two masters monitor each other in case one shuts down.
0
votes
2answers
204 views

Using Icinga 1 object configuration files with Icinga 2

Icinga 2 introduced a new format for its object configuration files. Where Icinga 1 e.g. expected define service { name my_service # ... } Icinga 2 now expects object Service "my_service" { # .....
1
vote
1answer
253 views

How to make icinga plan a active check every night?

I have a test to make on a server which takes some time. I would like the test to get planned every nights between 3h and 5h AM. In addition user may launch the test during the day. Is it possible ...
-1
votes
1answer
51 views

Icinga2 notifications

I just looked at /etc/icinga2/features-enabled/notification.conf and saw, /** * The notification component takes care of executing service checks. */ Wouldn't that rather be the checker ...
0
votes
0answers
106 views

Clicking on Feature Commands doesn't work Icinga2 2.7.1

I'm logged into an Icinga master (Icingaweb2 http interface) as an administrator with "Allow everything (*)" permissions yet when I try to disable passive checks by clicking the Passive Checks ...
0
votes
1answer
415 views

icinga2 service dependency check

I have a very simple use case where I want to disable my check_cert service when httpd service is down. This is my httpd service template: apply Service "httpd" { import "generic-service" ...
1
vote
1answer
81 views

Nagios Plugin API: return N results, not just one

I love the nagios plugin API. It is easy and successful. The exit-status of the check can have these values: 0: ok 1: WARN 2: ERR 3: Unkown See: https://assets.nagios.com/downloads/nagioscore/docs/...
0
votes
0answers
193 views

ICINGA Downtime to list all downtime

I am looking for a downtime API to list all the service and host checks in Downtime. I am currently using a API https://10.23.4.5:5665/v1/objects/downtimes/ This seems to be not working. this is ...
1
vote
1answer
364 views

Icingaweb2 mysql-ido setup warning: safe to proceed?

I'm doing a test run of Icinga2 as a replacement for my shop's Nagios system, but like many others I've run into some trouble with the set-up of the web ui. It's at the database setup, which seems ...
0
votes
2answers
188 views

Turn off a check on one host in icinga2

I'm trying to turn off the http check for one host in my icinga2 setup. I'm new to this and am just going around in circles. I'm using the standard install and have it successfully running against a ...
0
votes
1answer
70 views

hide “Recently Recovered Services” from “Current Incidents” dashboard in Icingaweb2

All we want to see is critical issues and warnings in the default dashboard. We don't care about seeing recently recovered anything. Do I need to install Dashing for this sort of thing?
1
vote
1answer
320 views

How to stop checks during scheduled down time in Icinga?

When I set a scheduled down time in Icinga, the program continues to perform checks on the remote system. How can I define a scheduled downtime in which the checks are disabled?
1
vote
1answer
1k views

Icinga2 : Installation Error date.timezone is not defined

Installation of Icinga2 Monitoring Tools on Ubuntu 14.04 I am not able to complete my installation. I am getting the Error "The PHP config `date.timezone' is not defined." I did the changes on /...
0
votes
1answer
145 views

Change state to Host down after x hours in icinga2

we are monitoring servers with Icinga2. It is not critical for us that a host of a specific host group is down for 5 hours. Is it possible to configure a delay for changing the host down state? It ...
0
votes
1answer
203 views

If my master zone is not named “master” should my client zones.conf contain the zone “master”?

My Icinga2 master zone (parent zone of all my other zones) is named "core" so I'm wondering whether the zones.conf files on my Icinga2 client machines should ever contain references to "master." Here'...
0
votes
1answer
81 views

Can I send check scripts from master to clients and maintain the execute bit with Icinga2?

I believe that I have succesfully configured Icinga 2 on Debian 9 (Stretch) using the stock Debian packages with the "Top Down Config Sync" mode as described in the Icinga documentation. I have ...
0
votes
1answer
104 views

Icinga2 conditional logic

I have four device types: apache11, apache12, apache22 and apache24. The first two use password "4597" and the second two use password "9634." All of these webservers have the same admin user, "...
1
vote
0answers
329 views

Icinga2: How to do notification in waves?

I am currently setting up my Icinga2 in a new structure and wanted to add a few features. I am done with 90% but I miss exactly one feature: Notify me in a wave. Let me explain: Whenever an error ...
0
votes
1answer
135 views

Icinga2 - ExternalCommands filling my DB

Today I noticed all external commands received goes to the IDO, myicinga_externalcommands table on Postgres is over 350Gb (probably around 98% of DB). As you may have guess, my setup is a bit ...
0
votes
1answer
2k views

icinga2 checks pending forever

I have a simple, top-down Icinga2 configuration with one master and one slave. There are two zones. 'core' is the master zone. 'plwg' lives on a slave endpoint. Most (but not all) of my newly ...
0
votes
1answer
431 views

icingaweb2 authentication php error

Yesterday I added the below mpm config to httpd.conf and restarted Apache. I logged in and everything was fine. This morning Icingaweb2 auth is broken. I doubt the mpm module has anything to do with ...
0
votes
1answer
404 views

Icinga2 rejects new pki certs

I have one Icinga2 master (mon-master) and one Icinga2 client (cl0). Both are Icinga2 v2.6.3. Today I successfully ran 'icinga2 node wizard' on cl0 but there seems to be something wrong with the certs....
0
votes
1answer
133 views

Does Graylog2 monitor services and hard disks like Icinga2?

We have graylog2 set up to monitor the syslogs, etc. However we're wondering if we can use it to monitor the different services, if they're down or not, if the hard disk is filling up. Does it ...
0
votes
1answer
124 views

how to keep track of linux package updates across multiple servers / containers (replacing apticron)

I run multiple servers and in each a dozen containers (lxc). I'm still using apticron to get informations about new package updates but I start to drown in emails from each and every container and ...
0
votes
0answers
473 views

Icinga2: How to control if master or satellite notifies?

I created an apply rule for notifications within an Icinga2 global zone: apply Notification "mail-icingaadmin" to Service { import "mail-service-notification" user_groups = ["icingaadmins"] ...
0
votes
1answer
231 views

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

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

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" ...
1
vote
1answer
755 views

Can icingaweb2 authenticate users using LDAP and database?

I chose to use LDAP (Active Directory) as the authentication method to my new Icinga2 server (and it's working) but I don't want to rely on AD for the Icinga administrative accounts. Can I ...
0
votes
0answers
195 views

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

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 ...
1
vote
2answers
460 views

ICINGA2 - Edit Windows plugins output

I have installed ICINGA2 Server on Ubuntu 16.04 LTS. Now I added 3 Windows hosts to monitoring and everything works fine, but I also configured UPTIME and MEMORY services for my new Windows hosts. I ...
0
votes
3answers
487 views

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 ...