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.

0
votes
0answers
42 views

Icinga2 notification when host goes up

I am using icinga2 and I would like to be notitfied when some hosts become up during a specific period of the day, and down during another specific period of the day (of course different from the ...
0
votes
0answers
124 views

Monitor active/passive pacemaker service with icinga2

I've got a clustered service (active/passive pacemaker cluster) that I'd like to monitor with icinga2. According to the documentation (https://www.icinga.com/docs/icinga2/latest/doc/08-advanced-topics/...
1
vote
0answers
72 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 ...
0
votes
2answers
130 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
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 ...
-1
votes
1answer
44 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
74 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
290 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 ...
0
votes
0answers
144 views

ICINGA Downtime to list all downtime

I am looking for a downtime API to list all the service and host checks in Downtime. I am currently using a API https://10.23.4.5:5665/v1/objects/downtimes/ This seems to be not working. this is ...
0
votes
1answer
252 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'...
1
vote
1answer
163 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 ...
0
votes
1answer
202 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
132 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 ...
0
votes
1answer
484 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 ...
1
vote
0answers
283 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
98 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 ...
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 ...
0
votes
1answer
23 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
242 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 ...
0
votes
1answer
108 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
264 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
72 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 ...
0
votes
1answer
69 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 ...
1
vote
1answer
86 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
0answers
192 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
63 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 ...
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
-1
votes
2answers
38 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
1answer
667 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
1answer
194 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 ...
3
votes
1answer
734 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 ...
0
votes
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$ ...
0
votes
2answers
631 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
1answer
313 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
1answer
225 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 ...
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 ...
2
votes
1answer
803 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
1answer
416 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
2answers
1k 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. ...
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). ...
1
vote
0answers
59 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 ...
2
votes
1answer
59 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 ...
1
vote
1answer
2k 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
2answers
142 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-...
0
votes
1answer
247 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:...
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/...
1
vote
3answers
722 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
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 ...
1
vote
2answers
759 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 ...
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 ...