Questions tagged [icinga]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
135 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
0 answers
624 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
1 answer
3k 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
1 answer
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
1 answer
157 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
1 answer
3k 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
1 answer
64 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 ...
0 votes
1 answer
800 views

Is it possible for current versions of icinga2 to configure nodes from master?

I've carefully read http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/cli-commands and see command icinga2 repository service which should allow to add or remove services. But when i ...
0 votes
1 answer
472 views

nagios/icinga flapping notifications not sent?

I've seen this on nagios and on my current icinga installation. I have flap detection turned on. I have my contact definition set to: service_notification_options w,u,c,r,f ...
1 vote
1 answer
2k views

Using the service.check_command variable in Icinga2 action_url query string

I'm trying to make an action_url which will dynamically link from IcingaWeb2 to Grafana graphs. I have it working up to a point, but I'd like to add another variable...the $SERVICECHECKCOMMAND$ ...
0 votes
2 answers
1k views

Error in icingaweb2 setup (openSUSE, nginx)

I have been trying to setup icinga2/icingaweb2 in our office following exclusively the official documentation. The base system is openSUSE (Leap 42.1) and the webserver is nginx. Everything works ...
0 votes
1 answer
580 views

icinga NRPE vs. SNMP

Is there a list of the pro/s and con/s of NRPE vs. SNMP when using icinga? I have no idea what's the best way to handle the returned data of plugins back to my icinga monitoring machine. Usage of ...
0 votes
1 answer
505 views

Icinga monitoring, random "Connection refused by host"

I have a Nagios/icinga monitoring system, which i use to monitor mainly Windows based machines running a version of NSClient++ that i found works without being too annoying (NSCP-0.4.1.105-x64). This ...
3 votes
1 answer
2k 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 ...
1 vote
1 answer
785 views

icinga2, pnp4nagios error: "RRDs::create ERROR you must define at least one Round Robin Archive"

I can't get pnp4nagios to work with icinga2 on ubuntu 14.04 using the latest commit of the chef-icinga2 cookbook. I set pnp=true in my wrapper cookbook and the icinga2::server_pnp recipe runs ...
0 votes
2 answers
2k views

Icinga 2 sends notifications outside of specified time period

I'm trying to send different notifications in different time periods, basically I want to send all notifications during work hours, but only notifications for hosts marked emergency during off hours. ...
1 vote
0 answers
586 views

Nagios python plugin not working properly

I have installed Icinga for monitoring my azure infrastructure. I want to monitor my DB Servers using python script which is here Now it is making connection to DB server but mode options are not ...
1 vote
0 answers
442 views

How can I trigger an instant rerun of Check_MK data collection through Icinga?

I am using Check_MK to generate checks to make Icinga (a Nagios fork) monitor a bunch of machines. After starting up Icinga, after some time, Check_MK starts to collect data from the configured ...
0 votes
1 answer
453 views

icinga2 multi instance display

i have ~30 independent icinga2 systems. All have their own config. Not i am locking for a dashboard showing problems off all nodes. I tryed to setup a master server where i add those nodes. when i do:...
1 vote
2 answers
292 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
3 answers
875 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 ...
2 votes
1 answer
3k 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 ...
1 vote
2 answers
2k 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 ...
2 votes
2 answers
11k 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 ...
0 votes
1 answer
53 views

Output additional information if nagios/icinga check fails

We use check_postgres to monitor our PostgreSQL servers. Sometimes there are peaks in the number of locks and the check alerts. Up to now the check only tells us the number of locks. This does not ...
2 votes
0 answers
124 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 ...
1 vote
1 answer
385 views

After Foreman install, my Icinga interface is not working

I installed Foreman now my nagios (Icinga actually) is not working. The URL is /icinga/ but it just says: The page you were looking for doesn't exist. You may have mistyped the address or the page ...
1 vote
1 answer
39 views

Icinga 1.8.4 not displaying all the services it manages

I'm new to managing Icinga. One of our Icinga 1.8.4 installs is not showing me all the services/hosts it manages. I've checked its status.dat file and it references the services and hosts I expect, ...
-1 votes
1 answer
1k views

Running a linux command against Icinga2 macro variable in mail script?

It looks like some macros have been dropped between Icinga1 and Icinga2? For example, I can only add "HOSTDURATIONSEC" = "$host.duration_sec$", to my template to then use it in the mail-host-...
2 votes
1 answer
312 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 ...
0 votes
1 answer
1k views

Icinga: http check without ping'ing

I'm setting up Icinga for the first time. I'd like to monitor websites, not their hosts (i.e. no ping, only http). I've created a template like this: template Host "generic-website" { ...
2 votes
2 answers
5k 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
2 answers
1k 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 ...
3 votes
1 answer
1k 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 ...
1 vote
1 answer
342 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/...
0 votes
1 answer
318 views

Icingaweb2 - Setup returns to start page

I tried to configure Icingaweb2 on Debian 8; it works fine so far, but if I call the web installer (http://d.pr/186lu) and click "next", I'm getting redirected to the second page (http://d.pr/1f6kE). ...
1 vote
1 answer
349 views

Unable to force checks in icinga

On the Icinga instance I look after some of the service checks aren't running on the schedule they should be. Moreover when I try to schedule a manual check I get the error message Logger "...
1 vote
1 answer
1k views

icinga2 mysql connection issue

I followed all the install wizards When setting up icinga2, I have the following error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13) I ...
0 votes
0 answers
109 views

Icinga DB Monitoring Null output

Hi I have deployed icinga monitoring solution using the blog which is here Now I want to monitor multiple DB servers which are windows DB servers. I have placed the service description for DB ...
1 vote
2 answers
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 ...
2 votes
1 answer
7k 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 ...
5 votes
1 answer
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?
1 vote
1 answer
381 views

Best practice to handle service windows for passive checks in Nagios/Icinga

With active checks, regular service windows can easily be handled using time periods and check intervals. How do you handle this for passive checks?
5 votes
1 answer
1k 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 ...
1 vote
2 answers
368 views

Orthogonally defining services and contacts for a host/hostgroup?

I'm trying to turn our Icinga spaghetti into something more manageable and less repetitive. So far features like templates, object inheritance, multiple inheritance, hostgroups, servicegroups, etc ...
1 vote
2 answers
4k views

How to import or export nagios host Data from command line

This might be a basic question for some of you but being a beginner i wanted to know how to export or import data of the current status(CPU, Memory, Diskspace etc) of the host from command line into a ...
1 vote
1 answer
2k views

Icinga change ping check interval from service and http

I have Icinga installed on a machine with the basic configuration and we just use the Host Status Detail screen with a big monitor only to know when a machine is down due to network/eletrical problems....
5 votes
2 answers
8k 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 ...
2 votes
1 answer
185 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 ...
1 vote
1 answer
119 views

Include check_command with nagios/icinga alerts

Is there a way to include the check_command that is being used when being alerted via Nagios or Icinga. Example: define command { command_name check-x-dc6.x-icmp command_line $...