Stack Exchange Network

Stack Exchange network consists of 174 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 [icinga]

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

10
votes
2answers
6k 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 ...
6
votes
2answers
11k 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 ...
6
votes
4answers
10k 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.
5
votes
1answer
15k 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/...
5
votes
1answer
21k views

How do I add a host in icinga-web?

how do I add a host in icinga-web? Do I need to modify access.xml and rebuild the cache? Or can I have a configuration similar to icinga/nagios?
5
votes
1answer
6k views

Icinga-web doesn't update when i change configuration

So I've just installed Icinga and Icinga-Web. And everything looked ok when first inspecting the UI's on http://[server]/icinga/ and http://[server]/icinga-web/... I went on and added some new hosts, ...
5
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
5
votes
1answer
5k views

In Icinga (Nagios), how do I configure hosts with multiple IPs?

I'm setting up Icinga (Nagios fork) and I have some machines with multiple interfaces. Some services are only listening on one of them and to check them correctly, I like to know if it's possible to ...
5
votes
1answer
857 views

Icinga - Very high check latency in distributed environment

I have a distributed Icinga setup set up as follows: CENTRAL Receives passive check results only DISTRIBUTED A 227 hosts 835 services DISTRIBUTED B 67 hosts 243 ...
4
votes
2answers
7k views

The best nagios plugin for SMART? [closed]

I've tried the best plugin for nagios to SMART monitoring. There are some, but only monitoring temperature. But with smartctl we can find more data. Do you have some better plugins with all data from ...
4
votes
4answers
716 views

Network monitoring tools with API features [closed]

We use ks-soft's Advanced Hostmonitor package to monitor around 2000 items on our network. We think it's great, the chap that supports it is fantastic, the product is fast, stable and mature but I ...
4
votes
2answers
1k views

Adding all hosts in subnet to icinga monitoring without specifying hostname/IP

I have a provisioning system setting up new hosts to be in the domain test.domain.local, i.e. client44.test.domain.local, and I have an Icinga server which I would like to automatically monitor all ...
3
votes
1answer
2k 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). ...
3
votes
1answer
600 views

icinga-web not updating icinga status properly

I have a problem similar to this one... if you look at the photo there, you'll see that the icinga server is marked as down. I checked everything according to the answer given there, but it has ...
3
votes
2answers
21k 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 "...
3
votes
1answer
763 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 ...
2
votes
2answers
580 views

Delaying a Nagios/Icinga check

When monitoring the healthy of a server, some faults or warnings are immediately urgent but others only matter if they persist. I'm thinking of things like: Some software needs to be updated Time ...
2
votes
2answers
4k views

Error with using NRPE with Icinga2

I have working instance of Nagios, and I would like to run Icinga2 on other machine. Nagios is using NRPE so I would like to use it too. I have following configuration in files: object Service "NRPE ...
2
votes
1answer
3k views

PNP4Nagios creates infinite .perfdata files

at our company we have installed a Icinga together with PNP4Nagios. We've got a rare problem with the perfdata files PNP4Nagios creates. Each couple of weeks, we notice that our icinga server stops ...
2
votes
1answer
1k 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 ...
2
votes
1answer
2k views

Icinga2 perfdata directory is overflowed

I`ve installed icinga2 on a virtual machine for monitoring 5 other ones with graphite support for the graphics and icingaweb2 as an interface. Recently on my web interface I got the follow: Fatal ...
2
votes
2answers
912 views

Icinga2 unidirectional remote clients

I'd like to monitor some hosts on which I can't allow an income connection. Is there a away to achieve that while using "Icinga 2 Client" or "by_ssh"? I can't find anything about that in the ...
2
votes
1answer
6k views

How to divide hosts by groups in Icinga2 properly?

I just migrate from Nagios to Icinga2 and have a question. For example I have bunch of hosts related to group by their functional for example "web". But I want to check temperature for that group with ...
2
votes
1answer
2k views

How to make a persistent acknowledgment in Icinga/Nagios?

I am using Icinga (Nagios fork) to also monitor uptime of external hosts and services. Currently when looking at the "Critical" count I find it difficult to decide if an internal service is affected (...
2
votes
1answer
857 views

How to raise alert if a tcp port is responding in Icinga2?

I'm new to Icinga2. I have set up a couple of service checks. Now I want to check if a TCP port is responding, and if it does raise a down event. Basically I want to reverse the status, because ...
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 ...
2
votes
1answer
5k views

adding new hosts in icinga web

Using Ubuntu 12.10 server. icinga with idoutils and icinga-web. Have ability to see hosts if I add them in the localhost_icinga.cfg however from my understanding you can create a host.cfg based on ...
2
votes
1answer
33 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
324 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 ...
2
votes
2answers
3k views

Run check_nrpe on remote server

I am trying to monitor a small service on a dummy server via Icinga2 the check_nrpe plugin. I have setup both correctly as I can do the following: when I run /usr/lib/nagios/plugins/check_nrpe -H ...
2
votes
1answer
204 views

NRPE : Unable to read output

I've installed an Incinga 2 server and I'm trying to monitor Linux server. So my server Icinga is working well. And last week I've installed the NRPE agent on one of our Server. It's a Red Hat ...
2
votes
1answer
143 views

AND / OR service dependencies in Icinga / Nagios

I've been setting up an Icinga instance using service dependencies as so: define servicedependency{ dependent_host_name ahost dependent_service_description ...
2
votes
1answer
991 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; ...
2
votes
1answer
4k views

How to run icinga with a apache vHost?

I have installed icinga from the icinga own repos on my debian squeeze box but now I don't know how to change the current config: # apache configuration for icinga ScriptAlias /cgi-bin/icinga /usr/...
2
votes
0answers
108 views

How to manage third-party Nagios/Icinga plugins?

What is the recommended way to manage installed Nagios (or Icinga) plugins? At the moment all plugins on my system are installed from Debian/Ubuntu packages, so this takes care of updates, file ...
2
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:...
2
votes
0answers
78 views

Icinga Performance issue when using many service groups

We have an Icinga installation with more than 3k active service checks. Performance is acceptable. We're already using the use_large_installation_tweaks option. We have now started to build a ...
2
votes
1answer
745 views

Override implicitly inherited service in Icinga

I have a hostgroup A for which several services are defined using the hostgroup_name directive in their service template. Among several other hostgroups which hosts are also members of hostgroup A ...
2
votes
1answer
201 views

Setting an alarm until acknowledgment (Nagios\Icinga)

I am SNMP polling a router and checking the amount of errors on an interface. Since SNMP counters can not be cleared on the device I am storing the last value received in a temp file. If there is an ...
1
vote
2answers
144 views

Icinga2 - Unknown user:backuppc

I'm trying to monitor BackupPC with Icinga2.I've downloaded this plugin but I'm getting the following error. I've added this to commands.conf object CheckCommand "backuppc" { import "plugin-...
1
vote
3answers
743 views

Monitoring Debian 5, 6, 7 hosts with icinga2

I successfully installed icinga2 and icinga2-web on Debian 8. The problem is that I need to monitor servers with Debian 5, 6 and 7 installed. Is it even possible? If I understand correctly - I need a ...
1
vote
1answer
78 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
3answers
2k 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 ...
1
vote
2answers
809 views

Nagios configuration syntax: Multiple directives per line?

A large volatile part of my Nagios 3 (Icinga 1, actually) config looks like this: ... define host{ host_name bla0037 use template-bla } define host{ host_name bla0042 use ...
1
vote
2answers
7k views

Icinga 2 vs Nagios 4 vs Shinken 2 : is there Performance Benchmarking comparison available?

I am not able to find out any link that displays the benchmarking report for the cores. We have to monitor 50,000 hosts and 30 services per host per minute host check : icmp per 5 minute service ...
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
1k views

Setting up apache vhost for Icinga

It's been a while since I've worked with Apache so please be kind - I'm also aware of this question but it hasn't been much help to me. I'd like to set up a simple vHost w/ Apache for my Icinga ...
1
vote
1answer
653 views

Get IPs of printers on Windows print server via SNMP\Script

I am setting up an icinga server for monitoring printer status via SNMP (toner levels, errors, that kind of thing). All of the printers are accessible via a shared windows print server (Printer is ...
1
vote
2answers
884 views

Monitoring tool with custom views / templates?

i am currently looking for an open-source monitoring solution like zabbix and icinga. While these both seem to be very powerful for monitoring generic states of hard- and software, I am missing ...
1
vote
1answer
206 views

Nagios plugin runs manually, returns error when run automatically

To monitor Mailman mailing lists, I've added the check_mailman_qfiles plugin to an Icinga host. With only the hostname as an argument, the plugin works fine when run manually: user@icinga:~$ /usr/...