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
2answers
414 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
817 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
3k 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 ...
1
vote
1answer
570 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
1k 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
420 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
517 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
1k 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
777 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
71 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
1k 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 ...
1
vote
2answers
2k 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 ...
2
votes
1answer
891 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
4k 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
31 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
69 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
239 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
8k 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
147 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
2k 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 ...
4
votes
2answers
4k 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 ...
6
votes
2answers
3k 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 ...
3
votes
6answers
8k 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 ...
1
vote
1answer
1k 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
5k 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
234 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, ...
0
votes
3answers
2k 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?
1
vote
2answers
991 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
2k 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
279 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
113 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
3k 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
1k 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
266 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
314 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
2k 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 ...
1
vote
2answers
2k 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 ...
1
vote
2answers
165 views

Should / can I call Nagios programmatically instead of waiting it to poll your status?

I understand how Nagios works in that it periodically polls the status of the system. It can for example check for existence of some files or availability of some web page each minute. But what ...
6
votes
2answers
3k views

How does an administrator generalize alerting when an event doesn't happen?

Often my users require me to be just as responsible for knowing if an event hasn't happened. I've always had to build custom and brittle solutions with cron'ed shell scripts and lots of date edge ...
2
votes
4answers
2k views

Nagios check whether at least one out of two services is OK

I have two following passive services: ServiceA, ServiceB on one machine. I would like to have a sittuation when the OK state is satisfied by following conditions: ServiceA is OK or ServiceB is OK ...
0
votes
2answers
714 views

Nagios - NagWin - Send notification with gmail

I would like to send Nagios notifications using my gmail account. I have already set up my hosts I want to monitor and services also. What is the most simple way to accomplish this using NagWin on a ...
2
votes
1answer
1k views

nagios: trouble using check_smtps command

I'm trying to use this command to check on port 587 for my postfix server. Using nmap -P0 mail.server.com I see this: Starting Nmap 5.51 ( http://nmap.org ) at 2013-11-04 05:01 PST Nmap scan report ...
1
vote
2answers
8k 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
votes
1answer
2k views

Nagios nrpe no handler for command

so i have started setting up Nagios on our network and have the below issue : No handler for command CheckDisk . This happens no matter what command i run. ( full command i have been running is /....
0
votes
1answer
509 views

how to display netstat output on nagios

Can you please tell me how to monitor an established connection (on a specified port) in a windows machine from nagios (centOS) here an example (output of netstat): Proto Local Address ...
1
vote
4answers
5k views

nrpe: Host is not allowed to talk to us

I installed nrpe on new servers. Nagios is already running and checking other server (I haven't installed). I've got several error lines in my syslog file : Oct 31 15:17:01 myservername nrpe[41848]: ...
1
vote
2answers
1k views

Monitor total service uptime using Icinga

I am using Icinga (Nagios fork) for monitoring ~10 webservers, each one providing different services. I would now like to provide an aggregated view on the server states on our companies intranet, ...
-1
votes
2answers
1k views

Check NRPE APT now working through Nagios

I'm able to monitor hosts' package statuses via terminal; but Nagios web ui gives an error like this: (No output returned from plugin) Here's the command that works properly via terminal: /usr/lib/...
10
votes
3answers
19k views

How to stop/Disable Nagios email notifications

How Can I stop the email notifications. I am setting up a new server and getting tons of notifications. Wants to disable them for time being.