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

2
votes
1answer
2k views

PHP Error / Mk-livestatus in Nagvis

I have Nagios and Nagvis installed via Debian packages, but when I run Nagvis and try to get into the "General Configuration" menu I get this error Error: (0) Array to string conversion ...
0
votes
1answer
2k views

NSClient++ FAIL on Windows 2008 R2 — PDHCollector.cpp(215) Failed to query performance counters

I am attempting to monitor windows server 2008 r2 x64 Enterprise with Nagios. When I test/install the nsclientI get the following error: PDHCollector.cpp(215) Failed to query performance counters: ...
1
vote
1answer
17 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 ...
2
votes
4answers
141 views

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 ...
5
votes
3answers
2k views

Nagios (Return code of 141 is out of bounds) on random services

We have had Nagios running on one of our servers with out any problems for a while but lately we get (Return code of 141 is out of bounds). The load on the server raised because we gone online with ...
0
votes
2answers
2k views

check_ssh executed from Nagios server returns “Server answer: ”, nothing else

Commmand works on the host I need to monitor (its IP is denoted as $HOSTADDRESS$ here): [root@host ~]# /usr/local/nagios/libexec/check_ssh localhost SSH OK - OpenSSH_4.3 (protocol 2.0) However, on ...
1
vote
2answers
51 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
2answers
3k 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 ...
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: ...
27
votes
4answers
18k views

Munin vs Nagios

We're currently using Nagios to monitor about 20 Linux machines (services and functional links). I just find out about Munin and I wonder if this is a Nagios replacement, or it can be used together ...
1
vote
2answers
2k views

The best nagios plugin for SMART? [closed]

I've tried the best plugin for nagios to SMART monitoring. There are some, but only monitoring temperature. But with smartctl we can find more data. Do you have some better plugins with all data from ...
1
vote
1answer
56 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 ...
11
votes
9answers
28k views

NRPE unable to read output, but why?

I have this problem with NRPE, all the stuff I've found so far on the net seems to point me at things I've already tried. # /usr/local/nagios/plugins/check_nrpe -H nrpeclient gives NRPE v2.12 as ...
2
votes
1answer
1k 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
3answers
4k views

How to monitor memory usage of linux server using nagios

Just installed nagios on a central machine and nrpe on 10 remote linux machines and just started monitoring them. It works great. I can get cpu load, current users, processes, mysql, etc. I can't ...
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
33 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 ...
1
vote
1answer
21 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 ...
1
vote
1answer
1k views

Nagios - check_ntp_time - Offset Unknown

I have a local NTP server running on the subnet to keep other subnet nodes in sync, without every node syncing with upstream servers. But, while implementing the check_ntp_time plugin for Nagios I am ...
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 ...
2
votes
2answers
4k views

How I can check for exact amount of space (MB or GB) in Nagios using check_nt command instead of percentage used value?

How I can check for exact amount of space left (MB or GB) in Nagios using check_nt command instead of percentage value? Currently I'm using this command: check_command ...
1
vote
0answers
26 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 ...
0
votes
1answer
1k views

FreeNAS/FreeBSD: How to access status of ZFS volume from jail?

I am trying to set up NRPE to enable remote Nagios monitoring of a new FreeNAS 0.91 system. I mostly have this working. I can connect and inquire about basic information like number of processes, ...
4
votes
2answers
35 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 ...
2
votes
3answers
2k 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
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
54 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 ...
2
votes
1answer
2k views

Monitoring SQL Server 2008

I understand SQL Server doesn't release the memory unless the OS needs it. Then, monitoring Available Bytes (free memory) is not the best way to monitor the service. What other variables can give me a ...
1
vote
3answers
2k views

How can I resolve “(Service check did not exit properly)” and “(null)” results with my services?

I'm using some Perl-based scripts for service checks in Nagios and I get (Service check did not exit properly) and (null) as the result in Nagios, but the script works great on the command line. I've ...
1
vote
1answer
679 views

Nagios NRPE plugin check_ad - Fixed

i've reading about this problem much and trying to solve it on my own ways but still not luck. I've running debian 7 as nagios server. Problem is that i cant check state of my Active Directory Domain ...
0
votes
2answers
30 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 ...
0
votes
3answers
83 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
votes
2answers
51 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
44 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 ...
3
votes
5answers
13k views

What Warning and Critical values to use for check_load?

Right now I am using these values: # y = c * p / 100 # y: nagios value # c: number of cores # p: wanted load procent # 4 cores # time 5 minutes 10 minutes 15 minutes # warning: 90% ...
0
votes
3answers
1k views

Need to have illegal characters in Nagios SERVICEOUTPUT and LONGSERVICEOUTPUT

I have a Nagios check_log style perl script that is called via check_by_ssh. The log file entries can contain characters like '>' and '$', which are dangerous and not allowed in SERVICEOUTPUT or ...
1
vote
2answers
36 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 ...
1
vote
1answer
45 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
65 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
56 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
145 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 ...
2
votes
3answers
1k views

Issue warnings with text output of check_snmp in Nagios

I'm trying to configure Icinga to query the SMART status of the hard drives loaded into a storage array I'm configuring. The issue I've run into is the response from the array when querying the OID ...
1
vote
0answers
48 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 ...
2
votes
3answers
6k 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 ...
1
vote
6answers
3k views

nagios (Last Notification: N/A (notification 0))

I can't figure out but for some reason Nagios doesn't send me an alert on some of the services that I monitor, I was wondering if someone can help me out a bit. this is service define service { ...
1
vote
1answer
3k views

Nagios 403 forbidden, indexes?

I installed nagios under freebsd 9, but can't figure out the right way for it to be public in the browser (from other pc's). I think that the problem is in the indexes or that there is no index file ...
0
votes
4answers
669 views

Install Agent To Client Machines

I have Windows Server 2008 R2 and Windows, Linux and Mac OS X clients. I want to install a Nagios agent to our client machines, but I don't know how to do that. Any recommendations?
-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 ...
1
vote
2answers
319 views

Nagios 3.5 doesn't send notifications

The automated notifications from Nagios 3.5.0 (on Ubuntu) don't seem to work and the error given is "No contacts were found for notification purposes. No notification was sent out". The below can be ...