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 [icinga]

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

1
vote
2answers
898 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
1k 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$ ...
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
1answer
216 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/...
1
vote
2answers
3k 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
1answer
324 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
2answers
258 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
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. ...
1
vote
1answer
924 views

Time period in Nagios - First weekday after EOM?

I'm trying to set up a custom time period for some of my Nagios notifications. I need to execute checks for the first weekday after EOM. This would meet the following criteria: day of month >1, ...
1
vote
1answer
566 views

How to exempt weekends from freshness checks in Nagios

Thank you, serverfault, for giving me the answer to how-does-an-administrator-generalize-alerting-when-an-event-doesnt-happen. Now, I only want to check the freshness of these passive services Monday ...
1
vote
2answers
5k views

Problem with Icinga web installation - server side errors

I have successfully installed and configured Icinga 1.3 and got the basic web interface up and running and all is good. I'm now trying to get icinga-web to work. I've followed the instructions ...
1
vote
1answer
2k views

How to migrate from Nagios + Cacti to Icinga?

I would like to migrate from Nagios + Cacti to Icinga. Because I would like one interface for active and trends monitoring. What could be problems and how to solve them?
1
vote
1answer
71 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 ...
1
vote
1answer
29 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
vote
2answers
4k 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 ...
1
vote
1answer
289 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?
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. ...
1
vote
1answer
1k views

Icinga-web does not update when icinga2 configuration is updated

I recently setup a new Icinga2+ Icinga-web server. Adding services in Icinga2 does cause them to show up in icinga-web, but upon renaming, or deleting any services in icinga2, icinga-web does not ...
1
vote
1answer
2k views

Icinga Monitor Website for String

I am trying to use Icinga to monitor a website for a particular string. When I run the plugin from the command line, it seems to work fine, but in Icinga-Web, it always shows up as successful no ...
1
vote
1answer
963 views

Icinga (nagios) ignoring forced checks

I have a strange problem: Icinga (nagios) doesn't run check_nt which I've set up on a debian box. What I do is that I schedule a forced check of both NSClient_version and PING. If I look in the log ...
1
vote
2answers
450 views

anonymous access to icinga cgi

I'm currently setting up an Icinga monitoring system, however I'm lacking the idea of how to access a specific page that asks for authentication when accessed by http, mainly the "All problems" option ...
1
vote
2answers
3k views

Check mysql slow queries

Is it possible to monitor mysql like: if some queries run more then 300 seconds - it will be warning if some queries run more then 500 seconds - it will be critical I tried: /usr/lib/nagios/plugins/...
1
vote
1answer
798 views

recommended way to use command line options for icinga/nagios checks?

Short version: if I want to change one of the "command definitions" in the Nagios set, what is the best way to do it? For example, I would like to add the -f (follow) flag to one of the check_http ...
1
vote
0answers
22 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" ...
1
vote
0answers
79 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
236 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
370 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 ...
1
vote
0answers
102 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
92 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 ...
1
vote
1answer
468 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 ...
1
vote
0answers
75 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 ...
1
vote
0answers
3k views

Icinga IDO schema error

I was going through the steps to setup icinga on a server with the icingaweb UI v 2.0 layout as given in their documentation. I was successful in getting to the setup page, which requires you to put ...
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 ...
1
vote
1answer
315 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
1answer
735 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 ...
1
vote
0answers
436 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
1answer
96 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 $...
1
vote
1answer
439 views

Icinga Distributed - Status Map / Reachability Issue

I'm setting up a distributed Icinga setup in the following manner. We have 6 sites so i'm monitoring 3 on each of 2 nodes plus a central server. Sites a,b,c are actively monitored by node 1 Sites d,...
1
vote
0answers
796 views

Icinga notification behaviour

The notifications I'm getting and not getting from Icinga don't seem to be making sense and I'm hoping someone here can help me out. It's Icinga 1.10.1 running on Ubuntu 12.04.3 LTS When the host ...
1
vote
1answer
660 views

Nagios/Icinga check of Windows disk space, wrong -l argument

I'm using NSClient++ on the Windows servers and all other checks are working fine. I'm using the default nt_check config, but these show up as "services unknown" define service{ use ...
1
vote
1answer
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....
1
vote
0answers
257 views

Icinga HTTP on Apache server does not return 200 intermitently

I have a server running Apache/2.2.16 on Debian Lenny. The server is host to about 6 vhosts. One of the vhosts is just the FQDN for the server and doesn't have much of anything but an index.html ...
0
votes
1answer
38 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 ...
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
3answers
1k views

Getting alerts from remote Icinga/Nagios instance

I have an Icinga server (which is basically a fork of Nagios) at one of my clients' sites. I access the server via ssh and don't have access to other ports. Since there are a couple of things that ...
0
votes
2answers
300 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" { # .....
0
votes
1answer
181 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
298 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:...
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 ...
0
votes
1answer
94 views

icinga nrpe executes locally instead of server

I am very new to icinga. In fact I finished setting it up today. I am trying to monitor a bunch of stuff on my nrpe machines. I set up my services in /etc/icinga/objects/my.server.com.cfg and ...