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

1
vote
1answer
22 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
58 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
54 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
1answer
23 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
11 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 ...
0
votes
1answer
45 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
29 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.
0
votes
2answers
51 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
17 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 ...
0
votes
0answers
26 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
45 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
45 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
27 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
67 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
47 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
0answers
25 views

What's the best monitoring program for my server stack? [duplicate]

Basics I know, I know, this is kind of a duplicate, but not really, I'll show you why. I'm currently building an application that I'm scaling out over more servers, and while that's enough of a fun ...
0
votes
1answer
55 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
28 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
32 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
35 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 ...
1
vote
1answer
340 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
45 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
44 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
60 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
1answer
65 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
33 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
51 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
47 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
34 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 ...
1
vote
6answers
74 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
49 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
122 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
77 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 ...
4
votes
5answers
238 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
35 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
61 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
216 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
38 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
2answers
103 views

Starting a service in a corosync pacemaker failover cluster

first off all my setup 2 VM running Fedora 19 in a pacemaker/corosync failover cluster, they have 1 cluster IP 1 VM running Fedora 19 monitoring both VM's with nagios Right now nagios is running on ...
1
vote
2answers
106 views

Query Nagios status programmatically

I recently acquired a nice 7×11 LED display, and I want (among other stuff) display my nagios status on it. For that I need to query the status of my Nagios installation. What is the appropriate way ...
1
vote
1answer
75 views

Is there a way to exclude specific hosts from a Nagios hostgroup?

I have a Nagios server which includes many hostgroups. One of these hostgroups include a server which I'd like to exclude from being checked for one specific Nagios Check but I want it to keep being a ...
2
votes
2answers
241 views

Nagios NRPE: Command “my_command” not defined

I have installed Nagios® Core™ 3.5.1 and NRPE v2.14 on my client which running RHEL 6.3 I have this error message on my Nagios NRPE: Command 'check_mysql_connections' not defined On my nrpe.cfg I ...
0
votes
1answer
86 views

Updated OMD and Check_MK Agent returns Null

I updated OMD to the current version using the following: omd update <site> Everything appears to update fine, but now my servers with the check_mk agent installed show (null) and I do not ...
3
votes
2answers
144 views

What's the best method to monitor an OpenVPN server?

I have an OpenVPN server machine which resides on an isolated network, a NAT rule in the company's firewall is redirecting all traffic on port 1194 (tcp) from the public IP I chose to the internal ...
0
votes
1answer
65 views

Nagios: HTTP checks with XMPP, notifications missing the URL

We're using a Nagios installation to watch over our infrastructure and alot of websites. The way the websites are monitored is by using check_http with the URL passed as a parameter. We use this, ...
-1
votes
3answers
74 views

How to clear an event in Nagios

General question regarding Nagios. I know that it is possible to acknowledge an event or alarm in Nagios. But is it possible to clear it?
0
votes
2answers
49 views

How do I get check_http -r to look for exactly n instances of a string

I have an URL I can query to make sure that my app is running properly. The results are something like below. Checking that "ok" is in the string does not tell me all is well, I need to know that it ...
0
votes
0answers
63 views

Getting Odd Errors Starting the NRPE Daemon via the service command

So, odd issue. I'm running CentOS 6.5 x64, and NRPE latest stable from EPEL. Ran into an issue where I can only start nrpe via service (which is what chkconfig uses) by running it sh first. ie. ...
0
votes
1answer
63 views

Nagios mysql check service definition configuration?

I'm using the Consol Labs MySQL Health Check plugin to monitor my MySQL database. I'd like to change the warning and critical thresholds for the threads connected parameter, but have forgotten how. ...