Nagios is a powerful monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes.

learn more… | top users | synonyms

10
votes
9answers
27k views

NRPE unable to read output, but why?

I have this problem with NRPE, all the stuff I've found so far on the net seems to point me at things I've already tried. # /usr/local/nagios/plugins/check_nrpe -H nrpeclient gives NRPE v2.12 as ...
2
votes
2answers
848 views

Allowing nagios plugin check_dhcp to work without setuid root

Nagios has a plugin, check_dhcp, that does exactly what you'd think. It's widely suggested to install it setuid root, because it uses SO_BINDTODEVICE, which usually only root can do. Of course a ...
0
votes
2answers
69 views

What is the default location to store nagios snmp user variables?

I'm taking over a nagios server and trying to figure out where the previous admin kept his snmpv3 user and password variables, would anyone have a clue where the standard location for this is?
0
votes
1answer
125 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 ...
-1
votes
1answer
171 views

Nagios Schedule a Check on Command Line

I use Nagios Core 3.5.1. In order to skip the HTTP authentication (guest user without password could also be tedious), I turn off the Nagios authentication based on this article. (even though turning ...
-2
votes
3answers
168 views

Installing check_logfiles Nagios plugin [closed]

i want to install the check_logfiles Nagios plugin. The installation step says that After unpacking the tar-archive you have to call ./configure. With ./configure --help you can show the options ...
0
votes
1answer
2k views

check_http --ssl still checking HTTP

Shouldn't the following command return an HTTPS/SSL status code? $ check_http --ssl google.de HTTP OK: HTTP/1.0 302 Found - 984 bytes in 0,099 second response time |time=0,099305s;;;0,000000 ...
0
votes
0answers
26 views

How to monitor primary and backup nodes

Currently we are running Nagios 3 on Linux which monitors Node-A (Primary) . As part of a new requirement (Geo-cluster support), we introduced a Backup Node (Node-B) for above primary node so that ...
-2
votes
1answer
367 views

Nagios/Gammu, nagios user can't send sms

I have a Nagios, and Gammu installed. When I use gammu as root, like the following : /usr/bin/gammu identify (or else) It works, but when I do it as nagios user, i got this answer : Can't open ...
0
votes
1answer
39 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 ...
1
vote
0answers
56 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
0answers
112 views

Nagios 3.5 can't send notification email despite nagios logs ok / centos6

I spent hours trying to make nagios send email notification. my contact configuration is quite simple : I juste have one : nagiosadmin, and he is the default contact. In /var/log/nagios.log, nagios ...
1
vote
1answer
2k views

Nagios interval_length and check_interval

I am getting a little confused with Nagios timers. Whilst testing, I set a failure that was not picked up for around 5 minutes. I am not much more than pings and http checks and I really want to step ...
2
votes
1answer
2k views

Where are Nagios Availability-Report files stored?

How to access Nagios Availability-Report files to retrieve "UP Time Percent" and so other information about Hosts and Services? I know It can be accessed through Nagios CGI but I want to use it on a ...
1
vote
1answer
62 views

Nagios check fails: UWSGI CRITICAL: could not connect() to workers Operation now in progress

All seems to be installed and work as it should (site/server is running) but keep getting this error: UWSGI CRITICAL: could not connect() to workers Operation now in progress when running: uwsgi ...
1
vote
2answers
3k views

Nagios NRPE “No Output returned from plugin“ error

So I've just started configuring Nagios in my environment and I'm getting the above error when trying to user the NRPE plugin. The host file is as follows: define { host_name servername ...
1
vote
2answers
73 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 ...
2
votes
1answer
156 views

How to test nagios send_nsca with netcat

I am trying to write a unit test of send_nsca using nc but it is failing. I want to start nc to listen to the nsca port and then use send_ncsa to send a message to that port. In one terminal I am ...
0
votes
1answer
409 views

NSClient++: Invalid return code -1073741502

I got a problem with NSClient++ (version 0.3.8.76). I set up an external script handler, and it was working. But since some time it returns this, everytime i run the check: No output available from ...
4
votes
1answer
106 views

Custom nagios command, append $HOSTADDRESS$

I'm very new to nagios, and trying to get a custom command to bend to my will. I have looked through various examples, and can't find anyone appending the $HOSTADDRESS$ macro, so maybe I have to go ...
0
votes
1answer
1k views

NSCA does not recieve pasive checks

NSCA seems to register the connection, as seems in the syslog, but for an unknow reason (at least for me) does not write it to icinga.cmd, or at least, read it. this is the syslog. Jun 27 ...
0
votes
0answers
144 views

'check_tomcat.pl' plugin returning CRITICAL: /manager/status?XML=true HTTP/1.1 404 Not Found

I don't know what I'm doing wrong. I'm trying to use this plugin, check_tomcat.pl but it doesn't seem to be configured correctly. Keeps returning the error: CRITICAL: ...
1
vote
1answer
3k views

What is the correct way to stop the nagios ndo2db daemon?

What is the correct way to kill Nagios's ndo2db daemon? When I shutdown nagios and ndo2db I do the following: /etc/init.d/nagios stop /etc/init.d/ndo2db stop and I see the following in nagios.log: ...
0
votes
1answer
78 views

Nagios check_snmp (New Response) CRITICAL 7

I have got a new critical figure / output as 7 SNMP CRITICAL - *7* What does above 7 refer to?
0
votes
1answer
3k views

nagios check_snmp ifoperstatus not OK

I'm reading Monitoring Routers and Switches page, in particular "Monitoring SNMP Status Information" section. quote: In the example above, the "-o ifOperStatus.1" refers to the OID for the ...
0
votes
1answer
89 views

Setting downtimes in Nagios/Icinga via SCCM

At our company we have quite a lot of Windows 2012/2008 servers which are updated automatically (and sometimes rebooted) via SCCM. All our servers are monitored via Icinga/Nagios. If the servers are ...
2
votes
1answer
114 views

Nagios check for wuauserv on Windows Server 2008+

From Windows Server 2008+, wuauserv is no longer a service that's ran all of the time and is instead ran as a scheduled task. I'm not sure of the exact behavior of how the scheduled task is created as ...
3
votes
4answers
5k views

nagios nrpe check_procs wrong return value

I have a problem with my nagios monitoring. I'm trying to check a process on a remote host using nrpe. The host was already been monitored by nagios, so I only needed to add a line to the nrpe.cfg ...
0
votes
0answers
70 views

Nagios sends out emails with Attachments

I use NSCLIENT to run a custom powershell script that echos a few lines of text. From what I noticed, after echoing more than 2 lines, the alerts received via email from Nagios have the body empty and ...
0
votes
0answers
11 views

CheckMK template does not show up

I following this checkmk guide to monitor disk parameters: http://dev.vemarsas.it/documents/32 I restarted the nagios multiple times and rescanned the hosts. Any idea why?
3
votes
2answers
5k views

How to monitor log files via Nagios

Is it possible that i can monitor . kernel log messages , apache error logs , mail log messages via nagios. I have three linux servers and i want that on every server there should be something so ...
2
votes
3answers
824 views

nagios wrongly reports packet loss

Lately, on my nagios 3.2.3 install (CentOS5, monitoring ~ 300 hosts, 1150 services) has sdtarted to occasionally report high packet loss on 50-60 hosts at a time. Problem is it's bogus. Manual runs of ...
1
vote
1answer
4k views

“CHECK_NRPE: Socket timeout after 10 seconds” HTTPS / SSL

I have configured NAGIOS server on IP address AA.BB.CC.DD (Linux Fedora 20), and Monitoring the host with IP address LL.MM.NN.OO (Linux Fedora 20). I have configured NRPE to run on port # 15666 ...
0
votes
0answers
59 views

Nagios external commands getting processed intermittently

I have a script that runs every 10 mins that updates the Host Comments field in Nagios. There are about 600 hosts and I am seeing some issues. The script deletes the previous comments and adds new ...
0
votes
0answers
50 views

Adding services to NagiosXI

I am trying to configure nagiosgraph-1.5.1 in NagiosXI installed on RHEL6.1. I have followed this guide and everything worked fine till some point. Under the subheading "Adding Service to ...
0
votes
0answers
57 views

Nagios change threshold values

I'm using nagios checkmk 1.2.2 to monitor some hosts. How can I adjust specific smart values per host so they won't create a critical alert? For example: CRIT - Reallocated sectors: 2CRIT I only ...
1
vote
0answers
29 views

Icinga Performance issue when using many service groups

We have an Icinga installation with more than 3k active service checks. Performance is acceptable. We're already using the use_large_installation_tweaks option. We have now started to build a ...
0
votes
1answer
58 views

Debug a Nagios NRPE command

My nagios fail with fail2ban service. Whith an other command it's Ok: nagios@server:/usr/lib/nagios/plugins$ /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c "check_load" OK - load ...
0
votes
1answer
90 views

Nagios, Is it possible to monitor file modification?

I'm trying to monitor file modification of /etc/passwd, is it possible to do that with Nagios? I'm not looking for file modification time, but for file changed or not... Do you know any way to do it ...
-1
votes
2answers
649 views

Opsview Notifications, how to report event duration

At present, Opsview reports recoveries in the following format: RECOVERY: Internal Alarm is OK on host Ellie: SNMP OK - 0 Service: Internal Alarm Host: Ellie Alias: Ellie Address: 1.2.3.4 State: OK ...
0
votes
1answer
224 views

Checking disk space for tmpfs Nagios

Here is the result of df on my target computer ~# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vgsys-lvroot 11G 5.4G 5.0G ...
1
vote
1answer
249 views

Need to check disk size for folder mounted volume using check_nt from Nagios

I may be missing something, but it seems like the -l argument for USEDDISKSPACE seems to only apply to volumes mounted by Windows letter system. I've tried using the following arguments for -l: ...
1
vote
2answers
824 views

Nagios: turn off service checks/display on down hosts

I want to to tweak nagios in such a way that all checking stops (with services not displayed, or displayed as unknown) for any down node. Said differently I only want to see one alert for a down host ...
0
votes
1answer
169 views

Why isn't nrpe 'check_procs' finding my Passenger process?

I'm trying to use check_procs from NRPE to find out whether Passenger is running on my server. It loads from httpd but appears separately. 32135 ? Sl 0:09 Passenger RackApp: ...
0
votes
0answers
615 views

It appears as though you do not have permission to view information for any of the hosts you requested

I am getting the above error whilw logged in as nagios admin user. I am copying the file objects.cache and status.dat from remote server to get the updated to this machine,I am logging in as ...
6
votes
3answers
518 views

Is it possible to ack nagios alerts from the terminal on a remote workstation?

I have nagios alerts set up to come through jabber with an http link to ack. Is is possible there is a script I can run from a terminal on a remote workstation that takes the hostname as a parameter ...
0
votes
1answer
64 views

Puppet: Nagios with regex node names

I am configuring a puppet master and want to rely heavily on hiera. Many of my systems will be almost identical due to being scalable. I have therefore created node manifests which use regex rather ...
0
votes
0answers
69 views

Monit send alert to nagios NSCA

I want to monitor a web with monit check host function and if the site is down then alert it to nagios nsca so it sends the info to nagios and nagios marks it as status OK or host down for example. ...
2
votes
1answer
57 views

Recognizing Dell EquilLogic with Nagios

EDIT: All firmware and models are compatible, that is why nothing is posted about it. Okay, so there will be a lot here, so please bear with me. I've been working on this now for a few hours (reading ...
0
votes
0answers
203 views

nagios volatile service and system time change warning

I have a nagios service with volatile option on (executes event handler every time it encounters a non-ok hard state). Problem is that if the event handler executes for 2-3 times (that is the expected ...