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.
86
questions
0
votes
1
answer
126
views
Exclude Service with spaces in name in NRPE arguments
exclude=edgeupdate = working fine
exclude=Sophos Clean Service = not working
what syntax do I have to use here?
0
votes
1
answer
293
views
icingaweb2 not reachable on apache
the icingaweb2 is not reachable, although it is running on the server with the apache and icinga2. I already have all the prerequisites, that are documented on the official site set up. However, when ...
0
votes
0
answers
110
views
Is there a way to communicate information between puppet classes/resources
Is there a way to communicate information between classes/resources?
I have a profile that I want to include on all nodes to set them up as being monitored by Icinga which uses an exported resource :
...
0
votes
1
answer
674
views
Add service check to agent in Icinga Master-Satellite-Agent infrastructure
I've an environment like this:
master
some satellites assigned to master
many agents assigned to satellites and some assigned to master (without a satellite).
All systems are ready and the PKI setup ...
0
votes
1
answer
1k
views
trying to configure icinga2 directory for mail notifications for any type of alerts
I have icingaweb2 web interface for icinga2 with director.
I would like to send email notifications for any type of alerts in any host that I monitor.
so I went to icingaweb2 web interface, and on the ...
0
votes
1
answer
1k
views
check_snmp plugin timedout icinga2
I am new to icinga, and at the moment I am trying to monitor a paloalto firewall running paOS 9.0 with OID 1.3.6.1.2.1.25.3.3.1.2.1 (hrProcessorLoad.1), but I have problems with the check_snmp plugin ...
0
votes
1
answer
1k
views
running remote check commands using icinga remote agent
I have icinga v2.11.3-1 installed on 4 servers, one as master and the rest are agent nodes and they are some-what properly configured because they are visible in icingaweb2 under hosts.
what I want ...
0
votes
1
answer
589
views
get agent nodes to show on master node in icingaweb2
I installed icinga2 and icingaweb2 on master node
I installed icinga2 on 3 more servers as agent nodes.
I used icinga2 node wizard, configured them as agent and allowed them to connect to master node....
0
votes
0
answers
937
views
Icinga PKI Agent-Satellite-Master
According to the documentation on https://icinga.com/docs/icinga2/latest/doc/06-distributed-monitoring/, all nodes in an Icinga Monitoring need to have one CA which is on the master node. But I think, ...
0
votes
1
answer
2k
views
Remote Icinga instance 'xxx' is not connected to 'zzzz'
I have Icinga2 installed including Director.
I've added a template, service and a Windows, installed an agent on the host but there's something that I must be missing.
I keep getting
"Remote ...
0
votes
1
answer
238
views
Using Ansible to add Icinga2 agent to master node
I want to use Ansible to add Icinga2 passive monitoring for my hosts with agent monitoring. I have a single master node and am not using satellites yet.
I've had some success in setting up the ...
0
votes
2
answers
585
views
Multiple HTTP checks per host with Icinga2
What is best practice for configuring multiple HTTP checks for a host?
I know there is that "apply" method:
apply Service "http" for (http_vhost => config in host.vars.vhosts) {
...
}
But i ...
0
votes
1
answer
597
views
icinga2: nrpe check_service gives server wrong result
I'm trying to get some third-party and my own custom checks running.
The current test setup consists of one icinga(web)2 CentOS 7 server and one CentOS 7 client with NRPE installed within the same ...
1
vote
0
answers
129
views
Best way to declare Icinga host variables in an Ansible variable
I am writing an Ansible role to build some Icinga 2 configurations, and the more important is the configuration of a client host in a distributed Icinga installation.
I want to declare Icinga 2 host ...
2
votes
0
answers
196
views
Icinga2: Apply service to vhosts for each host in a hostgroup
I have a series of webservers (WS1, WS2, and WS3), which belong to the HostGroup "my-web-servers".
Each of these webservers have several vhosts:
WS1 has example1.org and example2.org.
WS2 has ...
0
votes
1
answer
571
views
Configured repository failed for Icinga2 on Amazon Linux EC2
added the epel release repo and the Icinga2 repo into my instance
based on this guide
while installing Icinga2 with sudo yum install icinga2
i am getting
http://packages.icinga.com/epel/latest/...
3
votes
3
answers
4k
views
NRPE not working after NRPE plugin upgrade from v2.15 to v3.2.1
I'm migrating our Icinga 2 from Debian 8 to Ubuntu 18.04. The old server had NRPE plugin 2.15. The new server has NRPE plugin 3.2.1.
If I try to connect with the new plugin to old NRPE servers (v2.15 ...
0
votes
1
answer
233
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
1
answer
696
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
2
answers
61
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
3
answers
758
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 ...
1
vote
2
answers
676
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
1
answer
504
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
1
answer
456
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
1
answer
926
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 ...
1
vote
0
answers
2k
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
0
answers
81
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 ...
1
vote
0
answers
204
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
1
answer
915
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
1
answer
1k
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
2
answers
889
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
1
answer
2k
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
1
answer
98
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
0
answers
222
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
1
answer
966
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
1
answer
281
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/...
1
vote
1
answer
982
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
2
answers
2k
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
1
answer
205
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
1
answer
1k
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
2
answers
3k
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
1
answer
229
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
1
answer
318
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
1
answer
442
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
1
answer
633
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
0
answers
500
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
1
answer
298
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
1
answer
3k
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
1
answer
1k
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
1
answer
622
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....