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
1answer
1k 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
9 views

NSClient seems to be ignoring allow_nasty_meta_chars setting

I am trying to detect an eventlog entry on a server, so am trying to use the CheckEventLog command: ./check_nrpe -H hostname -c CheckEventLog -a MaxWarn=1 MaxCrit=1 "filter=generated gt -3d AND id=23 ...
2
votes
3answers
5k views

How to use nagios' check_ldap?

I'm having a spot of trouble with check_ldap. my command is: ./check_ldap -H myhost.com -b o=ABC,c=D -p 1234 I'm getting the error: "could not search/find object classes in o=ABC,c=D" Any ...
0
votes
0answers
9 views

Send Nagios alerts to SCOM

Does anybody know a good solution to send Nagios alerts to SCOM? We monitor our linux environment with Nagios but would like to forward our critical alerts to SCOM.
1
vote
1answer
84 views

Integrating Nagios with a ticketing system/incident mnagement system

Is there a free ticketing system/incident management system which will help me in achieving the following? 1) If a service goes down then Nagios alerts the on-duty staff and pushes the status to some ...
0
votes
0answers
13 views

nagios contact groups to check_mk

I have Nagios installed with traditional configuration files. I have created some contact groups and assigned them to hosts. For web UI I'm using check_mk. And here's the question: Check_mk supports ...
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: ...
6
votes
6answers
8k 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
-3
votes
1answer
35 views

Truncating return data as it is bigger then NRPE allows

I'm using latest NSCLIENT on a Win Server 2012, and see: Truncating return data as it is bigger then NRPE allows in the log file. How can I fix this?
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
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
519 views

Nagios admin doesn't have permission

I have installed and configured nagios on CentOS using yum I get "It appears as though you do not have permission to view information for any of the hosts you requested..." on the web interface. I ...
0
votes
1answer
2k 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 ...
3
votes
3answers
452 views

Nagios Hardening

I've been trying to look into hardening Nagios (if there is such a thing...), but haven't found anything too definitive on what to do or guidance on what to even look at. I'm wary to keep Nagios ...
2
votes
2answers
1k 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 ...
3
votes
3answers
9k views

Nagios: Disable notifications from command line on Windows/Linux

Our routine maintenance requires services have to be brought down. The problem is these services have Nagios checks and we either have to go to the web interface and disable the check or get the ...
2
votes
1answer
711 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
1answer
45 views

check_mysql_query cannot connect to mysql, but works from the command line

I have Nagios 3 running on Debian Wheezy. I am able to run the query the following query from the command line. The credentials for the mysql db are stored in ~nagios/.my.cnf nagios@intranet:~$ ...
8
votes
2answers
191 views

Is it reasonable to use Nagios to check that a service is NOT available?

Suppose I have a server with a private interface and a public interface. Public might have things like HTTP(S) servers, private might have MySQL and SSH. Obviously Nagios is useful to check that the ...
0
votes
1answer
32 views

Use Nagios hostgroups in check_cluster --service check?

Is there a way to use hostgroups within a check_cluster --service check? I've only seen examples that list out each host in the cluster individually like this: define service{ ... ...
1
vote
1answer
36 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: ...
2
votes
1answer
50 views

Redundant monitoring with Nagios

I am working with Nagios 4.0.7 on two servers to monitor my network. Recently I developed the third one in order to have more redundancy so I start reading information about failover redundancy mostly ...
0
votes
1answer
20 views

Nagios: Specify a contact group for a whole host group?

I'm migrating a config from a very old version of Nagios (1.5 something I think) to Nagios 3.5.1. The config I'm moving has contact groups specified for the host groups. The new Nagios says Error: ...
1
vote
2answers
51 views

On call schedule rotation nagios 4

I have a monitoring platform installed under a RHEL 6.5 OS in a virtual machine (VMWare EsXi 5.1) consisting of nagios 4.0.7, mrtg 2.17.4 and cacti 0.8.8b. I was upgrading my contacts.cfg file and my ...
2
votes
1answer
64 views

Why isn't snmptt translating this trap?

I have a device that is sending snmp v1 traps and snmptt cannot translate them. To grab a copy of the trap, I stopped the snmptt service, and copied the trap to /tmp. The OID I'm trying to trigger ...
1
vote
1answer
44 views

Nagios plugin check_snmp_int does not match regular expression

I am using nagios plugin check_snmp_int with -n switch. Help show: -n, --name=NAME Name in description OID (eth0, ppp0 ...). This is treated as a regexp : -n eth will match eth0,eth1,... ...
10
votes
9answers
24k 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
2answers
134 views

Allowing nagios plugin check_dhcp to work without setuid root

Nagios has a plugin, check_dhcp, that does exactly what you'd think. It's widely suggested to install it setuid root, because it uses SO_BINDTODEVICE, which usually only root can do. Of course a ...
0
votes
2answers
59 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
1answer
27 views

check_http!--ssl actually checks http

When monitoring the SSL service on a host that runs HTTPS but not HTTP, Icinga warns about a 403 Forbidden return code. But that warning is for HTTP, not HTTPS. Manually running the check_http ...
-1
votes
1answer
34 views

Nagios Schedule a Check on Command Line

I use Nagios Core 3.5.1. In order to skip the HTTP authentication (guest user without password could also be tedious), I turn off the Nagios authentication based on this article. (even though turning ...
-2
votes
3answers
141 views

Installing check_logfiles Nagios plugin [closed]

i want to install the check_logfiles Nagios plugin. The installation step says that After unpacking the tar-archive you have to call ./configure. With ./configure --help you can show the options ...
0
votes
1answer
1k views

check_http --ssl still checking HTTP

Shouldn't the following command return an HTTPS/SSL status code? $ check_http --ssl google.de HTTP OK: HTTP/1.0 302 Found - 984 bytes in 0,099 second response time |time=0,099305s;;;0,000000 ...
0
votes
0answers
14 views

How to monitor primary and backup nodes

Currently we are running Nagios 3 on Linux which monitors Node-A (Primary) . As part of a new requirement (Geo-cluster support), we introduced a Backup Node (Node-B) for above primary node so that ...
-2
votes
1answer
289 views

Nagios/Gammu, nagios user can't send sms

I have a Nagios, and Gammu installed. When I use gammu as root, like the following : /usr/bin/gammu identify (or else) It works, but when I do it as nagios user, i got this answer : Can't open ...
0
votes
1answer
26 views

icinga nrpe executes locally instead of server

I am very new to icinga. In fact I finished setting it up today. I am trying to monitor a bunch of stuff on my nrpe machines. I set up my services in /etc/icinga/objects/my.server.com.cfg and ...
1
vote
0answers
25 views

icinga-web not updating icinga status properly

I have a problem similar to this one... if you look at the photo there, you'll see that the icinga server is marked as down. I checked everything according to the answer given there, but it has ...
1
vote
0answers
56 views

Nagios 3.5 can't send notification email despite nagios logs ok / centos6

I spent hours trying to make nagios send email notification. my contact configuration is quite simple : I juste have one : nagiosadmin, and he is the default contact. In /var/log/nagios.log, nagios ...
1
vote
1answer
2k views

Nagios interval_length and check_interval

I am getting a little confused with Nagios timers. Whilst testing, I set a failure that was not picked up for around 5 minutes. I am not much more than pings and http checks and I really want to step ...
2
votes
0answers
67 views

Overriding Nagios hostgroup service with host service

I currently am experimenting with defining a set of services to all hosts in a hostgroup, this is working fine. My issue is that I then want to be able to override these service definitions which ...
2
votes
1answer
1k views

Where are Nagios Availability-Report files stored?

How to access Nagios Availability-Report files to retrieve "UP Time Percent" and so other information about Hosts and Services? I know It can be accessed through Nagios CGI but I want to use it on a ...
1
vote
1answer
32 views

Nagios check fails: UWSGI CRITICAL: could not connect() to workers Operation now in progress

All seems to be installed and work as it should (site/server is running) but keep getting this error: UWSGI CRITICAL: could not connect() to workers Operation now in progress when running: uwsgi ...
1
vote
2answers
1k 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
vote
1answer
210 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 ...
1
vote
2answers
34 views

Orthogonally defining services and contacts for a host/hostgroup?

I'm trying to turn our Icinga spaghetti into something more manageable and less repetitive. So far features like templates, object inheritance, multiple inheritance, hostgroups, servicegroups, etc ...
2
votes
1answer
60 views

How to test nagios send_nsca with netcat

I am trying to write a unit test of send_nsca using nc but it is failing. I want to start nc to listen to the nsca port and then use send_ncsa to send a message to that port. In one terminal I am ...
0
votes
1answer
325 views

NSClient++: Invalid return code -1073741502

I got a problem with NSClient++ (version 0.3.8.76). I set up an external script handler, and it was working. But since some time it returns this, everytime i run the check: No output available from ...
4
votes
1answer
47 views

Custom nagios command, append $HOSTADDRESS$

I'm very new to nagios, and trying to get a custom command to bend to my will. I have looked through various examples, and can't find anyone appending the $HOSTADDRESS$ macro, so maybe I have to go ...
0
votes
1answer
779 views

NSCA does not recieve pasive checks

NSCA seems to register the connection, as seems in the syslog, but for an unknow reason (at least for me) does not write it to icinga.cmd, or at least, read it. this is the syslog. Jun 27 ...
0
votes
0answers
57 views

'check_tomcat.pl' plugin returning CRITICAL: /manager/status?XML=true HTTP/1.1 404 Not Found

I don't know what I'm doing wrong. I'm trying to use this plugin, check_tomcat.pl but it doesn't seem to be configured correctly. Keeps returning the error: CRITICAL: ...