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

0
votes
0answers
53 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
210 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
314 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
107 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
1k 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
131 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
55 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
161 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
456 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
6k 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
988 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
245 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
521 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
2k 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
335 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
694 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
299 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
352 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
977 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
306 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
64 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
862 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
981 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
589 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 ...
8
votes
5answers
3k 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
62 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
147 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
6k 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
112 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
1k 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 ...
3
votes
2answers
2k 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 ...
3
votes
2answers
2k 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
5answers
5k 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
788 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
3k 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
199 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
1k 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
596 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
1answer
1k 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. ...
1
vote
2answers
240 views

Nagios service check interval based on host type

I'd like to use different service check interval base on host type. Some hosts are critical and services on these hosts need to be checked more often than service on other hosts. It seems that is not ...
0
votes
2answers
1k views

Nagios showing “OK” state despite being in CRITICAL

I'm using nagios to monitor various services in our production environment. But for one such service, I noticed that nagios is showing "OK" state despite the service being down and not running. I'm ...
2
votes
1answer
103 views

Monitoring virtual host on ESX5 with Nagios [duplicate]

My question is how to monitor with Nagios, the performance and availiability (machine stopped) of several virtual hosts running in a ESX. All plugins I've found are for 3.x API, running commands or ...
0
votes
1answer
2k views

How to script nagios csv export

nagios 3 can export availability data as csv (clicking through the web gui). Now I would like to do that automated and on a regular basis, so I am looking for a way to set all the parameters (e.g. ...
0
votes
1answer
701 views

nagios bash script/command returning null

I wrote a simple nagios command to check the change of a value over 1 second #!/bin/bash HOSTNAME=$1 COMMUNITY=$2 OID=$3 WAITTIME=1 echo "/usr/lib/nagios/plugins/check_snmp -H $HOSTNAME -C $COMMUNITY ...
1
vote
2answers
202 views

Monitor one host from two Nagios instances

I have two Nagios (monitorA and monitorB) servers in different datacenters. On both I have configured same WWW host. This works fine until there is a network problem between one Nagios host and WWW ...
0
votes
0answers
216 views

Nagios nrpe commands error out with asterisk

as the nrpe user when Command: /scripts/nagisk.pl -c version Outputs: Asterisk 1.8.11-cert10 Using nrpe Command: /usr/lib/nagios/plugins/check_nrpe -H [HOSTNAME] -c check_asterisk_version Outputs: ...
0
votes
1answer
1k views

Set SNMP Community with check_mk WATO

I'm using check_mk with WATO on an Ubuntu server running Open Monitoring Distribution 1.0. So far, so good! I'm trying to configure the snmp community for check_mk to pull info from some of our HP ...
0
votes
1answer
875 views

Where does check_mk store configuration files?

I'm a little new to the check_mk/nagios/monitoring world. I'm experimenting with omd 1.0 as an easy way to get it all set up and working on an Ubuntu host. So far, things are great! With all the work ...