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
1answer
748 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
736 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
526 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
57 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
122 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
5k 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
95 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
1k 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
1k 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
4answers
3k 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
637 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
184 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
808 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
436 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
916 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
214 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
998 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
91 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
578 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
174 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
192 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
648 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
127 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 ...
5
votes
2answers
2k 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
649 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
538 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
725 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
4k 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
1k 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
350 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
1answer
2k 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
778 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
754 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: ...
6
votes
3answers
9k 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.
0
votes
3answers
406 views

nrpe check_load results in unknown error?

I'm using the nagios check_load plugin. I have the following line in my /etc/nagios/nrpe.cfg command[check_load]=/usr/lib/nagios/plugins/check_load -w $ARG1$ -c $ARG2$ And on my icinga server in ...
1
vote
2answers
538 views

Get full list of host and services from Nagios

I need to get a full list of hosts and services from Nagios, to make a decision table. I think there is two methods, querying the Nagios CGI, and parsing the Nagios cfg files. But... Nagios cfg ...
2
votes
4answers
2k views

Nagios - measuring Average CPU Load

I've been looking for some hours now for a plugin that will notify me if one of my server's CPU Load has been over 90% for the past 5 hours. No luck looking around the Nagios Exchange. Can anyone ...
-2
votes
1answer
539 views

Nginx + Nagios : 502 Bad gateway

I have a fully new install nagios, but I can't access to it. Here's my Nginx config: server{ listen 80; server_name [redacted]; # blahblah # Nagios Monitoring location ...
1
vote
1answer
400 views

Nagios shell script cannot be executed

I'm trying to monitor GitLab with nagios. I've created the following command definition and shell script but when checking the service I'm receiving the following e-mail. How can I solve this? The ...
2
votes
2answers
237 views

Nagios only create warning for a http service

I would like to also monitor non-crucial services with nagios like for example our GitLab-server or phpMyAdmin instance. Is there any way to just create warnings instead of critical errors for some ...
1
vote
1answer
241 views

Generating reports from Nagios [closed]

Are there any good plugins for generating reports from Nagios like CPU, Memory usage over a month and so on. I am already using Nagiosgraph. Any way export the data for month, year and so on?
3
votes
3answers
12k views

Nagios: NRPE: Unable to read output, Can't find the reason, can you?

I have a Nagios server and a monitored server. On the monitored server: [root@Monitored ~]# netstat -an |grep :5666 tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN ...
0
votes
0answers
191 views

Nagios send notification when back in notification_period

I have disabled notifications during certain time periods, like so: define timeperiod{ timeperiod_name test alias Except test Hours monday ...
0
votes
1answer
37 views

Nagios: Configure different users for different hosts with the same commands.cfg file

I'm in a unix environment where I'm using check_by_ssh to execute Nagios plug-ins. A few hosts have a different unix account to which Nagios needs to ssh into to run the plug-ins. I pass the account ...