Questions tagged [nagios]

Nagios is a monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes.

Nagios is a powerful monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes.

Nagios watches hosts and services that you specify, alerting you when things go bad and when they get better. Some of its many features include monitoring of network services (SMTP, POP3, HTTP, NNTP, ICMP, etc.), monitoring of host resources (processor load, disk usage, etc.), and contact notifications when service or host problems occur and get resolved (via email, pager, or user-defined method).

Nagios is extremely customizable. Its mechanism for checking the status of hosts and services is to run standalone programs the communicate with the Nagios master via their standardoutput and return codes. It is therefore relatively easy to add new status checks to Nagios without much work beyond writing the standalone program and configuring Nagios to call it.

1294 questions
4
votes
1 answer

How to add an event/alert on Zenoss for a string type SNMP OID?

I have the status of a particular application being reported as string over SNMP. When everything is working as expected, that monitoring reports an empty string and when some of the data sources have problems, it reports back an string with the…
Carlos Lima
  • 485
  • 3
  • 11
4
votes
3 answers

Nagios multiple check attempts for hard OK

Looking for a configuration option to make checks that respond with OK not reach a hard state until max_check_attempts has been reached. Issue is we'll have a service that we can bring online then will go right back down in a couple of minutes, but…
cpuguy83
  • 202
  • 2
  • 8
4
votes
1 answer

nagios automation in big scale

I would like to know if you have an experience or any idea about how to set up nagios in big scale. Previously we used nagios and nagiosql for manual settings, it was pretty comfortable for few servers. Recently number of server has changed and…
com
  • 261
  • 2
  • 15
4
votes
4 answers

nagios trigger an alert after installation

I've just done a bunch of Nagios installs. Now comes the time to test them. What I'd like to do first is just a quick sanity check to verify the install went correctly. Is there a quick way to trigger a Nagios alert, with the default install, short…
Bryan Hunt
  • 321
  • 4
  • 14
4
votes
4 answers

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 running until I know more about its potential…
tacotuesday
  • 1,389
  • 1
  • 16
  • 27
4
votes
2 answers

Forwarding 80 to 443 on Nagios woes

I perhaps just need some extra insight because I don't see where I'm going wrong. I used an SSL Cert to secure our nagios server. We want to specifically require all traffic over nagios (like 2 users, lol) to use SSL. So I thought, oh, mod_rewrite +…
Ethabelle
  • 2,052
  • 14
  • 20
4
votes
1 answer

Monitoring number of mysql databases with Nagios

I would like to monitor the number of MySQL databases with Nagios. I've installed the official Nagios plugins. I'm using 'check_mysql_query': ./check_nrpe -H 192.168.1.10 -c check_mysql_query Nagios…
HTF
  • 3,148
  • 14
  • 52
  • 82
4
votes
1 answer

NRPE unable to read output - tried recommended troubleshooting in docs

I know this is a very common error where RTFM is usually the correct answer, but, I think I've covered all the obvious points. NRPE is running as the user nagios When I use sudo su - nagios to become the nagios user, and copy and paste in the…
Bart B
  • 3,457
  • 6
  • 31
  • 42
4
votes
1 answer

Automatic/scheduled check for open ports on list of servers

I need a way to configure a scheduled check for open ports on a list of servers and to get notified if something has changed from last check. what's the best way to do it? If there is some solution which talk with Nagios it would be even better.
SecondThought
  • 409
  • 1
  • 4
  • 11
4
votes
0 answers

How to test that an exported resource in puppet exists after collecting?

I want to create a nagios_hostgroup if some hosts exists. For creating hosts in nagios I am using exported resources which I collect on the monitoring server. How can I test that a exported nagios_host resource exists? I tried the…
MMore
  • 543
  • 2
  • 6
  • 12
4
votes
1 answer

measuring bandwidth per-user used by ssh server-side connections on linux

I'd like to be able to measure the bandwidth used by each user by their inbound ssh connections, into a linux box. I measure most other traffic using iptables and user-matching, but inbound ssh sockets seem to be owned by root, so I can't use that…
Ben Clifford
  • 256
  • 1
  • 6
4
votes
4 answers

nagios nrpe check_procs wrong return value

I have a problem with my nagios monitoring. I'm trying to check a process on a remote host using nrpe. The host was already been monitored by nagios, so I only needed to add a line to the nrpe.cfg file. There was even already a check_procs check…
Niels
  • 821
  • 3
  • 9
  • 8
4
votes
2 answers

Nagios custom variables for object inheritance

In our Nagios setup we're using templates and object inheritance for services and hosts. #Le Hosts define host{ use linux-nrpe,linux-dc3,linux-cassandra host_name tigris alias tigris address …
user80776
4
votes
2 answers

Nagios alerts using twitter (with twurl) not firing

We've been using nagios for some time and have recently decided to change how we receive alerts. To this end, we've installed twurl ( https://github.com/marcel/twurl ) and are using it to send alerts. Unfortunately this logs alerts as having been…
jhackett
  • 63
  • 5
4
votes
3 answers

Hiding hosts in Nagios

I would like to monitor a few hundred hosts using Nagios, yet I only want the switch fabric to show up in the statusmap.cgi. Is there a way to prevent a host from showing up in the status map, yet have it still be monitored?