Questions tagged [icinga]
Icinga is a fork of the Nagios Project that is also backwards compatible with Nagios.
151
questions
2
votes
2
answers
5k
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 ...
10
votes
2
answers
22k
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 ...
-1
votes
1
answer
147
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
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 ...
0
votes
1
answer
126
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?
2
votes
3
answers
4k
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 ...
0
votes
1
answer
2k
views
what are the valid values for Timezone in icinga-web?
the documentation rightly points out that I can change the timezone in /etc/icinga/web/conf.d/translation.xml, but what are the valid values for timezone?
GMT (Greenwich Mean Time) is the default, ...
2
votes
2
answers
3k
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 (...
0
votes
1
answer
325
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 ...
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 ...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
589
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....
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 ...
3
votes
2
answers
26k
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 "...
9
votes
2
answers
26k
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/...
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).
...
3
votes
1
answer
2k
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:...
0
votes
1
answer
571
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/...
1
vote
0
answers
91
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
696
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 ...
10
votes
2
answers
8k
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 ...
2
votes
2
answers
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. ...
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 ...
1
vote
1
answer
483
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
0
answers
102
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 ...
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 ...
0
votes
2
answers
3k
views
Turning off specific Icinga 2 notifications over HTTP
In Nagios Core, it is possible to turn off notifications for a specific service or host through the web interface. This is a simple web request, which we can also construct in a command line script/...
0
votes
2
answers
889
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
1
answer
43
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
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 ...
1
vote
1
answer
281
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
votes
1
answer
958
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
2
answers
3k
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
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/...
0
votes
2
answers
576
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 ...
-1
votes
2
answers
47
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
2
answers
3k
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 ...
1
vote
0
answers
500
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
834
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 ...
0
votes
1
answer
298
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 ...
1
vote
4
answers
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
2
answers
6k
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 ...
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
70
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
2
answers
643
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 ...
6
votes
4
answers
12k
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.
0
votes
1
answer
130
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
0
answers
452
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
266
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
1
answer
169
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 ...