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

Command file 'nagios.cmd#015' does not exist issue if passivecheck is sent to NSCA daemon

Introduction As /usr/local/nagios/etc/nsca.cfg is replaced by the default config if opsview has been restarted the reference to this file that resides in /etc/init.d/opsview was changed to ...
0
votes
0answers
7 views

Nagios authentication when calling CGIs?

I'm trying to use the new JSON CGI that comes with Nagios 4.0.x as part of a website. The CGI returns JSON strings when executing for example this URL: ...
0
votes
1answer
12 views

AND / OR service dependencies in Icinga / Nagios

I've been setting up an Icinga instance using service dependencies as so: define servicedependency{ dependent_host_name ahost dependent_service_description ...
0
votes
0answers
32 views

Nagios plugin quits when encountering the bc command— how to diagnose?

I've written a nagios plugin using the bash scripting language. When I run this script by hand it works with no issue. Putting it into a nagios plugin however, using the same parameters, leads to ...
2
votes
4answers
110 views
+50

Windows Pagefile monitoring with Nagios

I have a NAGIOS check that monitors virtual memory on a windows machine, this check returns all the virtual memory used (physical+ max size of the pagefile). This is not what I want, I have tried to ...
1
vote
1answer
20 views

Starting lighttpd from nagios renders lighttpd broken

I'm using Debian 7.8 (wheezy), and lighttpd 1.4.31 with nagios 3.4.1. when I start lighttpd normally (as root), everything works as expected: /etc/init.d/lighttpd start However, when nagios starts ...
0
votes
1answer
19 views

Nagios sending notifications even when it shouldn't

I have a bunch of non-server gear for which I would like to track downtimes, and therefore I have integrated them in my Nagios collection (so that I can generate availability reports). However, I ...
1
vote
1answer
54 views

Nagios escalations not triggering

I'm currently reworking our Nagios configuration to use templates. I defined some host- and services templates like this: define service { name ...
1
vote
0answers
25 views

Script to verify/monitior HTTP caching headers [closed]

We'd like to verify that all our websites use the correct HTTP caching headers. Is there a script out there to make a request to a website, check its response headers and report whether it will be ...
4
votes
2answers
32 views

Nagios: How to allow a non-admin user the correct permissions to be able to acknowledge alerts?

Sometimes there are alerts which are not so urgent and can wait for the next morning until they are taken cared of. During these times, the NOC team keeps getting alerts regarding the problematic ...
1
vote
1answer
12 views

Include check_command with nagios/icinga alerts

Is there a way to include the check_command that is being used when being alerted via Nagios or Icinga. Example: define command { command_name check-x-dc6.x-icmp command_line ...
-3
votes
1answer
40 views

Configuring Nagios

We're using Nagios based Op5 to monitor hosts. I've minimum requirement to check a host if it is live or not. So I simply want to know if a host is live with max RTA of 10 seconds. I don't care how ...
3
votes
1answer
51 views

NRPE: Custom script returns unable to read input, but the script works correctly, what could it be?

I wrote a Nagios check script which receives a path as argument and checks: if the path is mounted if it is accessible by touching a file in the path. If the mount point directory is empty ...
0
votes
2answers
28 views

What data does nagiosgraph need from my plugin?

I've been searching high and low for a good explanation of how I should return data from my custom Nagios plugin to make sure that Nagiosgraph will be able to parse it. One place suggests the format ...
-1
votes
2answers
49 views

Nagios plugin executes manually but not automatically

After some trial and error I managed to get the check_hwinfo plugin only partially working. And by partially I mean manually. In my '/usr/lib64/nagios/plugins' directory I have the ...
0
votes
1answer
40 views

Monitoring PostgreSQL replication with Nagios and check_postgres shows intermittent delay

I have a master and hot standby setup with PostgreSQL 9.3, and I'm attempting to monitor the state of replication on the standby using the check_postgres tool and the "hot_standby_delay" action. This ...
1
vote
2answers
35 views

How might I cancel scheduled downtime on Nagios

I have a Nagios 3.5.1 monitor up for a bunch of servers. In doing an action like a Drupal or Wordpress core upgrade, I down the sites and set Nagios to scheduled outage. Sometimes I finish in under ...
0
votes
3answers
77 views

NRPE commands doesn't work when called from remote management host

First of all: I know there were already questions about this issue, but even using their answers I still cannot figure out why my command is not working. What I want to do is call a script on remote ...
1
vote
1answer
44 views

Nagios check_procs state filter

I'm on Ubuntu 14.04 and trying to run /usr/lib/nagios/plugins/check_procs -C rsyslogd -w 1:3 -c 1:5 -s S and it returns PROCS CRITICAL: 0 processes with command name 'rsyslogd', STATE = S | ...
0
votes
1answer
63 views

Can OpsView or Nagios be set up to report on a device based on status emails it sends out?

I'm looking at setting up a Nagios (or perhaps OpsView) server for monitoring our network. I have a few periphery devices whose oid schema doesn't include nodes for some metric I want to monitor. ...
0
votes
0answers
45 views

Nagiosgraph mouseover fails

I have setup Nagios 4 together with Nagiosgraph and they are both working perfect. However the javascript Mouseover effect does not work. I have copied the following line in ...
2
votes
2answers
143 views

What is the difference between host_check_live command and Ping service

We are using Nagios based Op5 to monitors servers. Do we need to have Ping service too for servers as I guess host_check_live (command: $USER2$/check_host -H $HOSTADDRESS$) command already uses Ping ...
1
vote
0answers
46 views

Is it overkill to use Ganglia and Nagios for one server? [closed]

In my home I run a Plex/Data server. It basically just serves everyone's files and then Plex to play movies and such. A Teamspeak server also runs on it, but nothing major other than those tasks. I ...
-4
votes
1answer
37 views

How to keep nagios notifying me when the services or hosts are unnormal? [closed]

I got notification when my services or hosts were not normal, but just once. So I want to keep getting notified when the services or hosts in unnormal state, for example one time 1 minute. Can I ...
5
votes
1answer
101 views

Nagios: How to aggregate a large amount of notifications into one email notifcation?

I have a Nagios server which monitors many servers. There's a dashboard which has been coded in-house and it sends monitoring data using passive checks to the Nagios server. Whenever an issue occurs, ...
0
votes
1answer
158 views

Setting up PNP4nagios - Cant find Nagios Environment

My system is configured as follows: Ubuntu 14.04LTS Nagios Core 4.0.8 Plugins @ ver 2.0.3 PNP 0.4.13 The latest apache, perl, rrdtool, etc. Nagios has been working normally, just added a remote ...
1
vote
1answer
332 views

Installing Nagios 4.0.2 on Centos 7 - service fails to start

Having followed the instructions here http://linoxide.com/how-tos/install-configure-nagios-centos-7/ (but downloading Nagios 4.0.2 instead of 4.0.7 - I have to use that version), I have reached a ...
1
vote
0answers
74 views

“no data was received from host” Nagios Alarm only on Windows service checks

I've got a standard Nagios install monitoring 524 hosts and 912 service checks. I'm seeing a strange problem as far as it relates to monitoring if a service is running on windows server. It seems ...
-1
votes
1answer
155 views

Howto monitor web server nodes through HA proxy using Icinga/Nagios in CentOS 6

In this guide I'm not focusing at all on setting up HA proxy or why you'd want to do that. If you have it and want to properly monitor it using Icinga, here's an idea of how you could go about this. ...
0
votes
1answer
21 views

Remote http restart when nagios detect issue in http

I am looking for a plugin, if nagios detected som eproblem on remote http then it will restart http to remote system. Is this plugin is available ?
1
vote
1answer
432 views

Nagios - NSClient++ cannot run included external script

I am running Nagios 3.5 on a Centos 7 machine. The setup is used to monitor some Windows machines via NRPE (check_nrpe commands). For the time being I am using the preconfigured 'alias' commands that ...
2
votes
2answers
99 views

How to check the content of an URI containing a Hash using Nagios' check_http?

Attempt check_http -H www.example.com -f follow -p 8080 -u /hello/#/world -s "content" Result HTTP WARNING: HTTP/1.1 404 Not Found - X bytes in 0.00X second response time |time=0.00XYZ Analysis ...
-1
votes
2answers
32 views

How to pass your own -H flag to a nagios plugin?

Looking here on the nagios docs I see that it's standard practice to pass a hostaddress macro to your commands with the -H flag. What if your command already has a -H flag however? It's not clear to ...
-3
votes
1answer
85 views

Passing arguments to nagios plugin

I've installed my first plugin on a Nagios server, but am having trouble getting the arguments right. I've tried some things with $ARG1$ but am essentially just flopping around. One complication, ...
3
votes
1answer
123 views

Nagios plugin check_hwinfo not working

I am using Nagios to monitor Windows hosts. I am using Nagios 3.5 running on a Centos 7 server. The following packages have been installed from the official repositories and from the EPEL repository: ...
0
votes
1answer
225 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 ...
1
vote
0answers
95 views

NRPE (Winrpe) Powershell Command - Unable to read output in Nagios

I'm trying to run an Powershell script from NRPE.cfg and get the output in Nagios. When i run the script on the local (Windows) server, everything is just fine. But when i put it in the NRPE.cfg en ...
0
votes
1answer
79 views

Monitor Linux services with Nagios 4 [closed]

I'm trying to monitor a few RHEL7 services via Nagios. I'd like to monitor if the services are running or stopped and receive an alert when stopped. I haven't any out of the box option with Nagios 4 ...
0
votes
1answer
125 views

Apache and LDAP Authentication

We are using Apache mod_authnz_ldap to authenticate users to Nagios using our LDAP Active Directory. Right now it is working with using SamAccountName. However, Nagios is using the SamAccountName as ...
1
vote
2answers
251 views

omd nagios monitoring servicestate mssql / Failed to open service

I'm trying to monitor mssql service in OMD nagios, but with no success so far. Communication port: 1433 instance name is like: MSSQL$instance Here's my check: check_command check_nt!SERVICESTATE!-l ...
0
votes
0answers
30 views

Nagios Core 3 Check_AS400

I'm monitoring several iseries LPARS with Nagios 3.5.1 running Ubuntu 14.04. I downloaded the .CLASS check_AS400 plugin and followed the instructions. I have a hidden file .as400 that houses the sign ...
0
votes
1answer
78 views

Nagios: how to monitor supermicro based systems

I have several older supermicro based NAS devices. Happened to be at our hosting facility today and saw that one had a disk failure. I thought that I was monitoring this via SNMP->Nagios but clearly ...
-2
votes
1answer
171 views

NRPE: Unable to read output locally

I am running /usr/lib64/nagios/plugins/check_nrpe -H 127.0.0.1 -c check_disk as root yet get NRPE: Unable to read output. Any help?
0
votes
0answers
192 views

Nagios 4 on Centos 7 - Old server

I am trying to install Nagios 4 on an old Pentium 4 machine running Centos 7. I have installed the OS from the x86_64 ISO provided at the website. Nagios is downloaded with wget from Sourceforge. I ...
1
vote
1answer
39 views

Nagios compilation error on Centos

I am trying to install Nagios 4 on a Centos 7 machine using the instructions found here. When I get to the compilation and input make all I get this error: make[1]: *** No rule to make target ...
0
votes
2answers
45 views

How can I monitor “primary and secondary” Cognos nodes?

We have several Content Managers in Cognos that are running: one as a primary, one as a secondary. I would like to be alerted if there isn't one node acting as primary, if the primary node changed, ...
1
vote
2answers
83 views

Nagios: check host service even if host is down

Is there a way to force nagios 3 to check a particular host's service (and notify such events) even if the host is down? The reason I ask so is that I have a service that checks if a host's IP ...
1
vote
2answers
59 views

Set different warning thresholds for Nagios on weekends

I'm using Nagios to monitor CPU usage on my servers with the check_load plugin. On weekends we have some batch jobs running and there are hardly any real users anyway, so I'd like to have the warning ...
1
vote
1answer
24 views

Nagios Notification Period Setting, Will Nagios Hold the Email?

I am sorry for getting a little lazy not to try it out, but considering it may be helpful for others too, so I ask this question. If I set Nagios notification period like: 7 am - 5 pm, Mon-Fri Once ...
1
vote
1answer
145 views

Negative values for storage size over SNMP

We ran out of space on a 5 TB volume on a Windows storage server, so we copied the data into a new 10 TB volume. Now our nagios-based monitoring is reporting data I'm not happy with. When I looked ...