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
16 views

check_cluster plugin always returns ok

trying to create a cluster check for a http service check on a large (~80 node) cluster. But no matter what the state of the individual service checks, it always returns OK (in this example, cm02 and ...
0
votes
1answer
14 views

Adding nagios plugins to nconf schema

I've got nagios and nconf installed and I'm starting to add host and service definitions. What I notice though is a large discrepancy between the list of available nagios modules which can be used to ...
1
vote
1answer
33 views

Can configure Nagios to send notification based on a certain percentage of services down in a particular hostgroup?

Let's say we have a hostgroup of 100 hosts, all of which are being monitored for service X. Let's say this service goes down across all hosts. Rather than receiving 100 separate alerts, I'd like to ...
0
votes
2answers
1k views

Nagios NRPE on Ubuntu 12.04 “Unable to read output”

Right to the point. NRPE.CFG Modifications: Added Nagios Host to Allowed: allowed_hosts=127.0.0.1,192.168.1.10 Removed # in front of command_prefix=/usr/bin/sudo After that i have reloaded the ...
3
votes
2answers
2k views

Nagios: Service dependency on same host for an entire hostgroup

I have a Nagios system with a large number of hosts categorised in different hostgroups. Each of these hosts has two services monitored on it, one of which is intended to be dependent on the other - ...
0
votes
2answers
5k views

pnp4nagios does not generate perfdata

I am running nagios2, pnp4nagios-0.6.16 and php 5.2.4-2ubuntu5.19. In my setup, pnp4nagios is correctly generating perfdata, which can be seen via the web interface in graphical form for lots of ...
8
votes
4answers
24k views

Monitor ssh on non-default port with Nagios

I just deployed Nagios on a Gentoo server and everything is fine except ssh, which it marks as "CRITICAL" because it's refusing connections. But that's because it's running on a port different from ...
0
votes
1answer
16 views

Icinga monitoring, random “Connection refused by host”

I have a Nagios/icinga monitoring system, which i use to monitor mainly Windows based machines running a version of NSClient++ that i found works without being too annoying (NSCP-0.4.1.105-x64). This ...
2
votes
3answers
5k views

How to make nagios send me brief and informative alerts?

The default format for alert messages is: ** RECOVERY Host Alert: server is UP ** ***** Nagios ***** Notification Type: RECOVERY Host: server State: UP Address: server.ru Info: PING OK - Packet loss ...
0
votes
2answers
33 views

Monitoring IBM server hardware without IMM port connection

We have a lot of IBM x86 servers that we need to monitor for hardware issues(disk failure/temperature/fans). Around 50% of them have IMM ports hooked up and we are able to monitor for SNMP traps using ...
1
vote
0answers
33 views

Nagios core 4.1.1 error: Unable to get process status

When start to connect through http://localhost/nagios, i could get "Daemon running with PID 2027 ". but connect through http://own_ip/nagios, i couldn't get "Daemon running status" instead its showing ...
0
votes
1answer
46 views

Script executed by Nagios notification not send mail

i've running a new nagios (server 3.5.1) system. all checks works fine [1461932408] SERVICE NOTIFICATION: nagiosadmin;appserver;Swapfile;CRITICAL;notify-service-by-email;CHECK_NRPE: Socket timeout ...
5
votes
2answers
925 views

Nagios alert based on scheduled MySQL queries results

I have installed Nagios 4.0 on my Ubuntu 14.0 and i want a plugin to alert me based on daily scheduled MySql queries .. if the result of ( select count(*) from tableName > 10 ) raise a critical ...
0
votes
1answer
16 views

New nagios install segfaults on startup

I'm having some nagios trouble which I hoped to solve by a clean install, but no dice. I retrieved https://assets.nagios.com/downloads/nagioscore/releases/nagios-4.1.1.tar.gz, and did as little as ...
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
1answer
22 views

Should I install Nagios on the pfsense?

I'm planning to install Nagios, but I'm not sure if there is a package for pfsense, or can I install separated from pfsense but on the same machine? Anyone had experience with that? Second part of ...
0
votes
1answer
1k views

Nagios Configuration Error

Running /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Does not give any error. The output is Things look okay - No serious problems were detected during the pre-flight check ...
2
votes
1answer
27 views

Nagios place child service under parent

I'm looking for a way to structure services been monitored so that I can set a parent service above the child services and that only notifications are triggered if the parent experiences an outage ...
0
votes
0answers
14 views

PNP4Nagios mouseover options

I have successfully installed PNP4Nagios for graphing nagios performance data. However, I can't get the mouse over feature working under Nagios frames to display value on corresponding graph. Please ...
0
votes
0answers
18 views

nagios custom script working locally, returns null in UI

I have a custom script that I've defined within my nagios command.cfg and service definitions. When run locally as nagios on the monitoring host, it returns the expected output (a large hash of stats ...
1
vote
2answers
749 views

Spoofing origin host using snmptrap

I'm about ready to lose my mind with this... I need to spoof the host that snmp traps are being sent from using the snmptrap command. The man pages for snmptrap state that you can utilize common ...
0
votes
1answer
29 views

nrpe user cant properly execute script remotely using lsof, netstat works

I created a simple script for nagios to check a port on a remote server. Originally, I tried to use lsof. #!/bin/bash RESULT=$(lsof -i :8080 | grep LISTEN) if [ -n "$RESULT" ] then echo ...
0
votes
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 ...
-1
votes
0answers
11 views

Nagios - check_http and warning / critical on string match?

I have a web page I'd like to check. It's a dashboard that displays a list of things and whether those things are "OK", "WARN", or "CRIT". I'd like to create a check that looks at this page and goes ...
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 ...
10
votes
1answer
3k views

Why does getfattr not display anything for a file that has the extended attribute bit set?

I've got a Nagios XI install running on CentOS 6.2, and want to modify the backup script. I noticed that the extended attribute bit is set for this shell script, so I want to be sure not to mess ...
5
votes
3answers
23k 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
2answers
259 views

Nagios Plugins Configure Flags

For the life of me I can't find the configure flags for the Nagios Plugins. check_pgsql isn't compiling because it says it can't find the postgresql libraries, but I know exactly where they are on my ...
2
votes
2answers
303 views

Nagios alert “ESX3 Critical - Error: Cannot complete login due to an incorrect user name or password” after changing root password via vSphere

I currently just inherited Nagios administration after an employee was let go a couple of days ago. As part of our procedures for exiting employees, we changed passwords for all accounts the employee ...
0
votes
0answers
27 views

socket timeout using check_http

I am trying to monitor version.json from nagios core 4.0.8 but it gives me a socket timed out error after 30 sec. I tried changing time but still it shows the same thing. My command.cfg is: define ...
0
votes
0answers
60 views

Nagios plugin check_udp works from command line, but fails when ran from Nagios

Nagios 4.1.1 Ubuntu 14.04 x64 Please note This is a new server. Our old Nagios server has this EXACT SAME config but on version 3 on RHEL, and it works. I have a custom command to check an OpenVPN ...
1
vote
2answers
1k views

Nagios Configuration error: “Unexpected token or statement in file” during Pre-flight check

I'm using Nagios 3.2.3 on CentOS 6.5. Everything during install and make went smoothly. I transferred over my conf files, made the appropriate changes, and did a pre-flight test against my nagios.cfg ...
2
votes
1answer
185 views

Nagios' check_ntp_time sporadic socket timeout

Check_ntp_time has been failing on all my hosts sporadically. I usually receive CRITICAL - Socket timeout after 10 seconds And a couple of minutes later check_ntp_time succeeds and shows the ...
2
votes
3answers
419 views

nagios.service start operation timed out. Terminating

I have a Centos 7 Box on which I have installed Nagios and then migrate all the config files from an old Centos box. Everything looks fine, nagios -v doesn't return any error. However, systemd is ...
14
votes
6answers
1k views

How do you monitor a monitoring server?

So we run Groundworks (with Nagios) on CentOS to monitor our various servers and processes. I have it setup to automatically send emails and SMS texts when things reach a WARNING or CRITICAL state. ...
4
votes
4answers
13k views
1
vote
1answer
23 views

NRPE: Command line success vs Web error

I've got about 10 machines configured with nrpe and Dell's OMSA to report to nagios. For each of those machines, output on the command line from the nagios server a la ./check_nrpe -H $HOSTNAME -c ...
-1
votes
1answer
42 views

nagios 4.1.1 can't start in Centos 6.0

after runing: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios Core 4.1.1 Copyright (c) 2009-present Nagios Core Development Team and Community Contributors Copyright (c) ...
0
votes
2answers
4k views

nrpe dead but pid file exists on CentoS 6.4 client

I have a similar problem like it was on question Memcached status returning "memcached dead but pid file exists" but I can't solve it. My Nagios client is CentOS 6.4 and NRPE won't work ...
-1
votes
1answer
12 views

Nagios check_http configuration error

I have to remove custom HTTP check from nagios so commented check_http part in two files namely 1. commands.cfg 2. services.cfg However when I restarted server, I get following error. Checking ...
1
vote
1answer
12 views

Group several Nagios notifications in a single email

I have a set of passive checks that I update once a week. I want to set up email notifications. I would like that a single email is sent. This email would contain the list of all services in error. Is ...
1
vote
2answers
3k views

Nagios CHECK_NRPE: Error receiving data from daemon. RHEL 6

So I'm trying to set up a Nagios check_load service on a Red Hat server. I followed the documentation from Red Hat to install the NRPE client: ...
0
votes
1answer
1k views

installing old MySQL client libraries (libmysqlclient.so.15, libpq.so.4)

I'm attempting to install Nagios plugins on a Zimbra 8.0.2 server running CentOS 6.4, but have run into the following error when I run yum install nagios-plugins-all Error: Package: ...
0
votes
1answer
48 views

Nagios Check showing Wrong Output, while plugin in remote System showing correct output

I have created a script check_pm2.sh to check pm2 status on Remote server ,its giving correct output on Remote server while calling it from Monitoring server i am getting wrong output.Please check ...
1
vote
1answer
29 views

Nagios user able to run check, but fails when ran with su - nagios -c?

Forgive me if this is answered somewhere already - I find lots of similar questions but nothing that seems to fix my issue. I am simply testing the uptime of some windows servers in nagios, and if ...
4
votes
3answers
24k views

nagios nrpe unable to read output

I'm trying to use check_nrpe to check on a remote server, but it's not working and I can't figure out what am I missing... # /usr/lib/nagios/plugins/check_nrpe -H XXX -c check_load -a 6,5,4 8,7,6 ...
0
votes
2answers
7k 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.
10
votes
6answers
20k views

Defining the email address which Nagios sends emails from

Hi currently Nagios sends notifications from nagios@server.domain.com, How do I go about configuring this? Thanks
1
vote
2answers
2k views

nagios - https active service fails (error while receiving)

I want to check the availability of a SSL Web site (https) with nagios. I have add a command to the command.cfg: define command{ command_name check_http_myserver_Demo command_line ...
1
vote
2answers
877 views

Nagios3 check_httpname gives 503 response; from command line I get a 200 response

We're using Nagios to monitor our site (and a bunch of other stuff.) For some odd reason, when I test out the command /usr/lib/nagios/plugins/check_http -H 'domainname.com' the response that comes ...