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
0 answers
10 views

How to exclude NRPE Service with Spaces in server name?

How can I exclude this service in ICINGA NRPE service check? 'exclude=Sophos Clean Service' is not working (Invalid package type received from server)
0 votes
1 answer
22 views

Exclude Service with spaces in name in NRPE arguments

exclude=edgeupdate = working fine exclude=Sophos Clean Service = not working what syntax do I have to use here?
0 votes
1 answer
138 views

Why CISCO-ERR-DISABLE-MIB trap does not show interface and vlan information in Icinga?

I have a cisco and a monitoring server with icinga (a.k.a. nagios, thruk). I want to receive traps from cisco and show them in icinga. But I am unable to see the interface and vlan for the errdisable ...
  • 276
0 votes
1 answer
830 views

running remote check commands using icinga remote agent

I have icinga v2.11.3-1 installed on 4 servers, one as master and the rest are agent nodes and they are some-what properly configured because they are visible in icingaweb2 under hosts. what I want ...
  • 323
0 votes
1 answer
351 views

get agent nodes to show on master node in icingaweb2

I installed icinga2 and icingaweb2 on master node I installed icinga2 on 3 more servers as agent nodes. I used icinga2 node wizard, configured them as agent and allowed them to connect to master node....
  • 323
0 votes
1 answer
2k views

Remote Icinga instance 'xxx' is not connected to 'zzzz'

I have Icinga2 installed including Director. I've added a template, service and a Windows, installed an agent on the host but there's something that I must be missing. I keep getting "Remote ...
  • 629
0 votes
2 answers
2k 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 ...
  • 175
0 votes
1 answer
456 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/...
  • 3
1 vote
0 answers
75 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" ...
0 votes
1 answer
584 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 ...
1 vote
0 answers
89 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 ...
  • 11
0 votes
2 answers
791 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" { # .....
  • 573
2 votes
1 answer
42 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,272
-1 votes
1 answer
119 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
1 answer
222 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/...
  • 3,113
2 votes
1 answer
1k 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,272
2 votes
1 answer
885 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'...
  • 2,272
1 vote
1 answer
407 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 ...
  • 123
0 votes
1 answer
1k 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/...
  • 902
0 votes
2 answers
458 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 ...
  • 902
0 votes
1 answer
784 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 ...
  • 156
1 vote
0 answers
454 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
1 answer
288 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 ...
  • 185
2 votes
1 answer
4k 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
1 answer
47 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 ...
  • 902
0 votes
2 answers
555 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 ...
  • 902
0 votes
1 answer
124 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 ...
  • 15.5k
0 votes
0 answers
423 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
0 answers
202 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
1 answer
120 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 ...
  • 902
1 vote
1 answer
142 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
0 answers
561 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 ...
  • 902
1 vote
1 answer
129 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 ...
  • 93
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
-1 votes
2 answers
44 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
1 answer
792 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
400 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
1 answer
2k 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 ...
  • 101
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$ ...
  • 1,112
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
516 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
442 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 ...
2 votes
3 answers
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 ...
2 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 ...
  • 225
1 vote
1 answer
665 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 ...
  • 953
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. ...
  • 121
3 votes
2 answers
4k 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
0 answers
294 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,705
2 votes
1 answer
61 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
1 answer
5k 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,887