Questions tagged [icinga]

Icinga is a fork of the Nagios Project that is also backwards compatible with Nagios.

Filter by
Sorted by
Tagged with
3
votes
2answers
24k views

Icinga2: Send E-Mail on Host/Service Down

I installed and configured Icinga2 with icingaweb2. I added a test-host with a test-service: Let's call it "example.com". This is the test-host: /etc/icinga2/conf.d/hosts/example-com: object Host "...
6
votes
2answers
20k views

There is currently no icinga instance writing to the IDO

Hi i have installer icinga2 and icingaweb2 from official docs: icinga2: http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/getting-started#!/icinga2/latest/doc/module/icinga2/chapter/...
1
vote
1answer
2k views

Icinga2 and pnp4nagios

I am trying to install icinga2 and icingaweb with pnp4nagios. As directed in icinga2 document I have added following parameter on npcd.conf : perfdata_spool_dir = /var/spool/icinga2/perfdata I get ...
3
votes
2answers
3k views

How to set icinga2 downtime across midnight

Our backup is running between 22:00 and about 05:00 the next day. I could not figure out how to set this in a scheduled downtime with "apply ScheduledDowntime" in icinga2 (r2.4.1-1 on opensuse 42.1). ...
0
votes
1answer
2k views

what are the valid values for Timezone in icinga-web?

the documentation rightly points out that I can change the timezone in /etc/icinga/web/conf.d/translation.xml, but what are the valid values for timezone? GMT (Greenwich Mean Time) is the default, ...
3
votes
1answer
1k views

Icinga2 dependecies of devices on HA

I would like to configure a Host-to-Host dependency on Icinga2, however, one of the Hosts has an HA configuration, so I need the to trigger it only when both HA devices are down. Suppose this scenario:...
0
votes
1answer
290 views

Exclude partition in Icinga2 check disk [check_disk] not working

I'm trying to exclude a partition from check_disk command in Icinga2 and it's not working as expected. The problem is due to /snap/core being recognised as a partition like this. So, I've opened the ...
0
votes
1answer
99 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/...
1
vote
0answers
29 views

Icinga 1.x alert history shows all items from 1970

Icinga Classic UI 1.13.4 (as offered by Debian 9, replacing Nagios 3 from Debian 8) is exhibiting a strange behaviour when reviewing alert history. When selecting "View Alert History For This Host" ...
9
votes
2answers
15k views

How to monitor remote “https” with Icinga version 2?

I have icinga 2.3.11 on ubuntu 14.04.3 inside VirtualBox. Im trying to monitor "https" port 443 for example "https://mail.google.com" here.Below is my snippet from default host.conf file object Host ...
0
votes
1answer
251 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 ...
10
votes
2answers
7k views

Icinga Web no hosts/services showing up

After a fresh install of icinga 1.8 and icinga web I've added a few hosts/services and restarted the icinga service. Next I cleared the cache in icinga web through the web interface by clicking on ...
1
vote
2answers
3k views

install icinga2 and icinga-web in different servers

I followed this tutorial to install icinga2 on Sientific Linux and it works fine. What I need to do now is to install icinga2 in a server, the database in other server and icinga-web in an other one. ...
3
votes
1answer
982 views

Dynamically setting check_interval parameter based on Service_State in Icinga2

I have a requirement where check interval is 180 mins while notification interval is 10 mins. Means service owner wants if he miss any alert that usually comes after 180 mins if service is critical ...
1
vote
1answer
270 views

Submit check via http proxy or socks proxy from one icinga/nagios instance to another

We're running icinga 1.11.6, and have been receiving updates from many computers in our network via the NSCA protocol. Due to customer limitations we have to set up a network behind a socks and http ...
1
vote
0answers
81 views

ICINGA monitor the space of a folder

I have a icinga server that monitors two Windows servers through NSClient. I would like to monitor the space of a folder with this path C:\Windows\System32\winevt\Logs. Is there any way to monitor ...
1
vote
1answer
3k views

icinga2: query check results from command line?

is there any native way of actually retrieving the current check results from an Icinga 2 instance? I can't find it documented. If not, are there accepted, known-good command line frontends to query ...
1
vote
3answers
3k views

Setting up icinga2 nodes via Ansible: how do I get the ticket from the master?

I'm trying to write an Ansible playbook to set up Icinga2 nodes, but each host needs a unique ticket from the Icinga2 master to authenticate. Right now I'm thinking of ssh'ing out from the node to the ...
0
votes
2answers
3k views

Turning off specific Icinga 2 notifications over HTTP

In Nagios Core, it is possible to turn off notifications for a specific service or host through the web interface. This is a simple web request, which we can also construct in a command line script/...
0
votes
2answers
454 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" { # .....
2
votes
1answer
35 views

Can a service-check be limited to hosts with a custom attribute defined?

For those of our hosts, which have a public IP-address, we define a custom attribute in the host-definition: _PADDR: define host { ... address 10.... _paddr 53.... } Can we ...
2
votes
1answer
595 views

How to trigger a service-check by a change in a host-status?

We have an array of servers, any of which could go down generating a medium-priority notification: define host { host_name foo1 contacts medium-priority use ...
-1
votes
1answer
82 views

Icinga Agent Security

i have tried to search this on internet , but coudn't find a answer. I have setup Icinga2 on my LAN network, and a remote client on a cloud VPS(using the icinga default distributed monitoring with ...
1
vote
1answer
94 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/...
2
votes
1answer
512 views

Why would I need/want idomod, ido2db, etc.?

I'm reworking an Icinga setup I inherited. One of the things it perpetually complains about is ido2db not running (and idomod unable to connect to it). Before figuring out, how to configure/fix it, I'...
0
votes
2answers
2k views

check_http!--ssl actually checks http

When monitoring the SSL service on a host that runs HTTPS but not HTTP, Icinga warns about a 403 Forbidden return code. But that warning is for HTTP, not HTTPS. Manually running the check_http ...
0
votes
1answer
427 views

check_snmp_load Return code of 255 is out of bounds

My Icinga 1.14 web interface reports "Return code of 255 is out of bounds" despite the check returning an OK status. (The nrpe binary is not used to execute commands.) /usr/lib64/nagios/plugins/...
0
votes
2answers
288 views

Icinga 1 host status UNREACHABLE but all checks are OK

This is with a distributed Icinga 1 environment. I have about 100 hosts on an Icinga 1 client/satellite that are stuck with UNREACHABLE status. All four checks for each host are returning OK state ...
-1
votes
2answers
39 views

icinga 1.6.1 passive checks failing after we migrate icinga master/slave server to new ip

Excuse me as i dont have much knowledge on icinga but unfortunately i have been asked to look at some ongoing issue in company on icinga since we moved icinga master and slave servers to new ip. All ...
0
votes
2answers
2k views

Create custom plugin for Icinga2

I am a beginner in icinga and nagios usage for server management. I setup icinga on a machine and set up all the basics. The next step I tried was to check if certain services were running at ports ...
1
vote
0answers
413 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
607 views

Nagios3 to Icinga migration breaks nrpe checks

I have upgraded a server from Debian 8 to Debian 9. The server was running Nagios 3 to do some checks but that has been discontinued. The natural replacement is Icinga (version 1). I've installed it ...
0
votes
1answer
224 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 ...
1
vote
4answers
4k views

Monitor Services with $ in the service name in Icinga / Nagios

I'm trying to set up monitoring on a couple of MSSQL instances that exist on my Windows servers. The issue here is that if the service name contains a $ (for example, MSSQL$PROD)then the check_nt ...
1
vote
2answers
5k views

icinga2 host state for passive host

I am using icinga2 for monitoring, and I want to include devices like NVR's located at customer sites. These cannot be pinged to check the host state. The Icinga2 agent reports everything I need just ...
2
votes
1answer
2k views

Icinga: max_attempts vs max_check_attempts

A service definition in Icinga or Nagios config can have paramaters called max_attempts or max_check_attempts. The docs describe max_attempts as: If you've configured the max_attempts option of ...
0
votes
1answer
29 views

Can I disable specific “Host Commands” in Icinga's (1.14) web interface?

I have web users (NOC workers) who are (against our instructions) enabling active checks on my Icinga 1 server. This causes the checked hosts to appear to be down when they are not, etc. I'd like to ...
0
votes
2answers
322 views

How do I change trap alert from unknown to critical in Icinga 1?

I have a trap being sent by a device showing up as UNKNOWN in Icinga 1.13 because the MIB expects an integer but the trap sends: Failed to connect to SIP registrar Can not establish connection ...
6
votes
4answers
11k views

How can I configure icinga/nagios to alert via sms?

I know the sms gateway for my cell phone provider so I can just send an email to it. I am looking for examples of entries in contacts.cfg and commands.cfg that are mobile specific.
0
votes
1answer
119 views

Icinga not expanding contactemail variable

I'd like to define a couple contacts that make use of the user variables out of resources.cfg like this: define contact { contact_name XXX use ...
0
votes
0answers
364 views

Host availability report from nagios\icinga log file

Is there a way of analyzing and report-building from icinga\nagios log files? I tried (avail.cgi) host availability reports but it works so slowly. I should wait 3-5 minutes if I want a week report ...
1
vote
0answers
122 views

NSClient CheckEventLog gives no entries for id

We have a Red Hat server that runs Icinga2 with NSClient++ 0.5.0.62 to monitor some devices and services in our network. Everything works perfectly fine except for one new check I'm trying to use. I ...
1
vote
1answer
95 views

Unable to provide check_snmp_int.pl data to Graphite and JasperReports

I am an absolute beginner with Icinga and I have already tried several desperate attempts at finding a solution to it. After finally bringing check_snmp_int.pl to give me performance data I've tried ...
0
votes
1answer
111 views

How do I monitor the NRPE daemon on remote Icinga servers

Our network has one Icinga master and 23 Icinga satellites. NRPE runs on every satellite as well as the master. Is there a Nagios plugin I can run on the master to monitor whether nrpe is running on ...
0
votes
0answers
312 views

Nagios plugin execution fails with Icinga 1.13 on CentOS 7.3.1611

Software Versions: icinga-1.13.0-0.el7.centos.x86_64 nagios-plugins-all-2.0.3-3.el7.x86_64 CentOS 7.3.1611 [1484095979] error executing command '/check_ping': No such file or directory. Make sure ...
1
vote
1answer
2k views

Howto monitor web server nodes through HA proxy using Icinga/Nagios in CentOS 6

In this guide I'm not focusing at all on setting up HA proxy or why you'd want to do that. If you have it and want to properly monitor it using Icinga, here's an idea of how you could go about this. ...
2
votes
1answer
1k views

nginx subdirectory to subdomain icingaweb2

I currently have icinga2 set up with the new icingaweb2 ui. it defaults to the subfolder /icingaweb as follows: location ~ ^/icingaweb/index\.php(.*)$ { # fastcgi_pass 127.0.0.1:9000; ...
1
vote
1answer
77 views

Problems in RAID not being reported by Nagios/Icinga - using check_raid

I am running the check_raid script on a number of machines and I just noticed today that one of my machines was in a degraded state but I was not being alerted. The script is returning "CRITICAL" but ...
4
votes
1answer
2k views

How to restrict a hostgroup to a specific user group? (icinga2/icingaweb2)

I want to know how to restrict a hostgroup to a specific group of users in icinga. In case that many organizations use the monitoring system, they can only see what's inside their hostgroup/s
2
votes
1answer
60 views

Something for Icinga like sensu-metrics-relay

I used to work with Sensu and I was using a plugin called sensu-metrics-relay so I could easily forward some metrics collected using a jenkins plugin called "Metrics Plugin" to graphite. Now I am ...