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

5
votes
1answer
131 views

Notify when some grouped services fail in Nagios [duplicate]

I have three DNS services, each on different hosts configured in Nagios. Each service notifies me whenever it is failing (DNS on host A down). Is it possible to configure Nagios so that I'm only ...
4
votes
2answers
272 views

Adding all hosts in subnet to icinga monitoring without specifying hostname/IP

I have a provisioning system setting up new hosts to be in the domain test.domain.local, i.e. client44.test.domain.local, and I have an Icinga server which I would like to automatically monitor all ...
1
vote
1answer
267 views

Nagios check unknown custom script

I have bash script that returns right results when I run as user nagios manually. It fails as unknown when configured in in nagios configs. Entries in nagios configs define command { ...
0
votes
1answer
576 views

embedded white space in nagios arguments

I created my own nagios command $USER1$/check_http -H $HOSTNAME$ -p $ARG1$ -u $ARG2$ -e $ARG3$ -w 5 -c 10 -4 used by a new service. When the $ARG3$ contains some white space (for instance "200 ...
-1
votes
1answer
755 views

nconf cannot generate nagios configure files

I installed a brand new nagios server and installed a fresh nconf. I just need to see how nconf can generate the configure files for ngaios. But after I click Generate Nagios config, I got: Nagios ...
1
vote
1answer
986 views

Nagios: executing plugin with nrpe produces a different result from running locally

I'm trying to add an NRPE check to to monitor Puppet agent but I'm running into difficulty getting the plugin to return the correct result when executed locally. I'm using this plugin: when ...
1
vote
1answer
174 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, ...
2
votes
2answers
239 views

Delaying a Nagios/Icinga check

When monitoring the healthy of a server, some faults or warnings are immediately urgent but others only matter if they persist. I'm thinking of things like: Some software needs to be updated Time ...
1
vote
1answer
173 views

Recommended home directory for nagios user

What is the recommended home directory for the nagios user (FHS)? When I monitor a linux system, I have to create a user for ssh-key-based login and for grating him the needed rights via sudoers. I ...
1
vote
1answer
161 views

Issues when monitoring a gluster FS mount with Nagios via sudo

I have been monitoring a gluster FS mount with the following script, but have issues executing the script via NRPE. Here's my script on the remote box. /usr/lib64/nagios/plugins/check_gluster.pl ...
1
vote
1answer
602 views

Why is my Powershell script returing extra output when run by Nagios NRPE?

I have a Powershell script that I'm running via nrpe as an external script. The windows server (2008) is running nsclient++ (nscp.exe) v 0.4.1.102. The return section of my powershell script looks ...
2
votes
3answers
2k views

Issue warnings with text output of check_snmp in Nagios

I'm trying to configure Icinga to query the SMART status of the hard drives loaded into a storage array I'm configuring. The issue I've run into is the response from the array when querying the OID ...
0
votes
2answers
160 views

What controls the Y-axis of data drawn into graphs?

I've recently set up Nagios for a client and have been wondering about some of the graphs we get out of NagioGrapher. For example, all systems use the same graph configuration for their physical ...
1
vote
1answer
36 views

Why are my GPRINT directives not being drawn into my graphs?

I'm using NagiosGrapher 1.7.1 with our Nagios installation. We're using the packages from the official Debian repositories. The graphs I've been building work fine so far, except for any GPRINT ...
1
vote
1answer
995 views

Nagios NRPE plugin check_ad - Fixed

i've reading about this problem much and trying to solve it on my own ways but still not luck. I've running debian 7 as nagios server. Problem is that i cant check state of my Active Directory Domain ...
0
votes
1answer
3k views

Uninstall nagios that has been manually installed through source

I installed nagios through this guide which works fine, but now i'd like to uninstall it altogether. Could you guide me what i need to delete as i cannot see an uninstallation routine.
1
vote
3answers
3k views

How can I resolve “(Service check did not exit properly)” and “(null)” results with my services?

I'm using some Perl-based scripts for service checks in Nagios and I get (Service check did not exit properly) and (null) as the result in Nagios, but the script works great on the command line. I've ...
1
vote
1answer
67 views

How to have Nagstamon to mirror color alarms in Nagios

I wonder if there a way to mirror the color alarms that in Nagios to Nagstamon? For example I have it setup when, I set a critical alarm that has been acknowledge, the color changes from red to ...
1
vote
1answer
201 views

Load Average Graph Values in pnp4nagios less than 1.0 denoted by a value “m”

In the graphs generated by pnp4nagios that track server load averages, if the load is less than 1.0, the value is represented by a number in the hundreds denoted by the letter "m". What does the "m" ...
0
votes
0answers
48 views

Is it possible to check using nagios, if a group X is denied access a particular file/folder in Windows

This is basically a GPO key that has been applied and need to check if the key is in place/working which involves restricting a group of users from accessing a particular file or folder using a ...
1
vote
1answer
181 views

Testing IPsec with Nagios / Icinga?

Several of my Windows servers are running IPsec. There are a small handful that have problems when rebooting with the IPsec services not coming up. As a result I'd like to set up a monitoring check ...
1
vote
1answer
245 views

check_nrpe socket time out on monitored machine

While setting up nrpe monitoring on a new dev machine, I've run into a bit of a snag. I've followed all of the recommend steps I could find, and still to no avail. Executing ...
0
votes
1answer
88 views

Alarm management in Icinga?

Can Icinga be used as an alarm management tool? The docs are very clear about two types of monitoring: Host/Service Health (system is up, down, flapping, etc) Host/Service Performance Data ...
0
votes
1answer
2k views

Nagios check_procs returns wrong value when called from NRPE

I have added the following line in nrpe.conf of a monitored server say named myserver: command[check_mysrv_process]=/usr/lib/nagios/plugins/check_procs -c 1: -C java -a mysrv which works locally as ...
1
vote
1answer
735 views

Is there a way to more detail on this error message “Error processing object config files!” from Nagios

I am migrating from Nagios 3.2.3 to 4.02 and I am stuck with a non-specific error message: Is there a way to coax some more detail out of Nagios Core? I get no clue from the attached error output ...
0
votes
1answer
87 views

Monitoring SSH authentication with Nagios

As the title suggests, I would like to remotely monitor SSH authentication (not just TCP service) on a remote host. Occasionally, this host likes to have the service running but refuse logins through ...
1
vote
1answer
45 views

Nagios check a number inside an API response

Ok so I want to use Nagios to check a 3rd party service I am subscribed to. They have an API that displays how much credit I have left. I originally bought 5000 credit and I need to have a warning ...
0
votes
1answer
129 views

Configuring Nagios event_handler for different checks levels of a service without overlap

Running Nagios Core 4.0.2 and using latest NRPE on clients. We have 3 service definitions to check one piece of software at different levels each minute: Open TCP port check Process is running ...
0
votes
1answer
344 views

NSCLIENT\NRPE doesnt handle arguments with white spaces

I have a short script that prints out an argument being sent to it. Suppose I send over "print this", no matter what I do it always prints out only "print". I have tried with either powershell or ...
2
votes
1answer
4k views

Passing arguments to a Powershell Script using Nagios NRPE

Short powershell script for testing: $test = $args[0] echo "this works" echo "I transferred $test" exit 0 nsclient.ini settings: # If you want to fill this file with all avalible options run the ...
0
votes
1answer
667 views

How to exclude path based on regex in check_disk?

If I do /usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -r '/drop-zone/*' when it only checks paths which matches the regex. I would like the opposite. The manpage seams to suggest -I, but I ...
1
vote
2answers
181 views

Nagios plugin output character escaping

Which characters in a Nagios plugin output need escaping other than pipe (|)? How do I escape the pipe character and others?
-1
votes
2answers
384 views

Contact Groups Nagios - I can't get notifications in real time from Nagios

I can't get notifications in my emails from Nagios: Step 1. First, I have defined my hosts in: /etc/nagios3/conf.d/ One of hosts that I've defined is: server2.cfg define host { host_name ...
3
votes
2answers
1k views

Nagios child/parent relationship for host that is reachable by multiple paths?

Consider the following network setup below: Further, assume that Switch 1 and 2 are managed switches, but only have an IP address assigned on vlan3. How would you set up the parent/child tree for ...
0
votes
1answer
234 views

Monitor Tomcat-JDBC connections

The company that I work for sells a java web application that runs in Tomcat. The primary problems we have are that the tomcat containers become unresponsive and need to be restarted and that the ...
0
votes
1answer
542 views

check_smtp not working when scheduled

I am trying to set up a new check in Nagios 3.5.0, making sure that my mail server is contactable on port 25 over the internet. I am using the check_smtp command. When I run this command from the ...
0
votes
1answer
235 views

Is it's possible to have SCOM interrogate Nagios to get the status information of hosts?

When I said 'like' in the subject, that was just because the English language requires that syntax! I do not like SCOM! But business requirements are almost forcing me to use this as my main pane of ...
0
votes
0answers
283 views

process-host-perfdata-file or process-service-perfdata-file command doesn't seem to be always triggered

Using Nagios 3.5.1 and pnp4nagios 0.6.20 successfully for a moment. Once in a while Nagios simply stop triggering the command process-host-perfdata-file or/and process-service-perfdata-file. These ...
0
votes
2answers
679 views

I've created a Nagios check but it keeps returning NRPE:Unable to read output, any idea why?

I created a Nagios check which checks our pacemaker using the crm_mon command. The check is configured in the same way on both Nagios server and client's nrpe.cfg: The command definition in nrpe.cfg ...
1
vote
6answers
202 views

Can nagios show me the history of values reported for a service / host?

I have nagios up and running with nrpe, but I'm relatively new to configuring it myself. Is there any way to get the raw numbers for the checks, instead of just ok/not ok? For example, if I want to ...
0
votes
0answers
61 views

Nagios custom plugin issue - https authetication

I am writing a plugin to check authentication to a https site and then search for a text in the response html,body to confirm successful login. I have created the following plugin #!/bin/bash ...
0
votes
1answer
692 views

“Long service output” in Nagios gets chomped for some reason

According to this page the limit of $LONGSERVICEOUTPUT$ is 4kB, but in my case, it stops showing the rest of the output after 970 bytes of output (26 lines), where there multiple newlines no long ...
0
votes
2answers
648 views

Can Nagios monitor a service only by hostname?

I have two hosts server1 and server2 where I do manual fail over. The C record master-server then points to the one which is the master. Only the master host should have a certain service checked. It ...
1
vote
1answer
497 views

Nagios - check_openmanage broken by latest SW update

Have been updating some servers in a small group this week. A mixture of CentOS 6.x and RHEL 5.x. In every case they are getting an updated srvadmin-* package and subsequently popping up in nagios ...
7
votes
5answers
2k views

Nagios server best practices?

I run a medium-sized Nagios server. It monitors roughly 40 servers with 180 services currently and is only growing by the day. I migrated from an old Nagios setup that was configured in a very ...
2
votes
0answers
30 views

Meta alerts in Nagios ? Alert if two other checks are failing [duplicate]

Is there a way in Nagios to do this ? I want to send a CRITICAL alert if two checks are failing. For example, if service1 and service2 are CRITICAL send a CRITICAL alert. To be more precise, if ...
0
votes
0answers
54 views

Get unused Nagios both services and commands

I have a monitoring server, based on Nagios 3.2.3, installed via source code, and using GroundWork Monitor Architect for managing Nagios configurations. My question is if possible (and how to) get a ...
1
vote
1answer
116 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 ...
0
votes
1answer
4k 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
2answers
91 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?