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
6
votes
4 answers

Nagios - Is it possible to force check of all hosts by using a command in any given moment?

I've fixed many issues on servers which indicated errors on Nagios but for some reason the alert is still up even though the problem has been fixed. So i was wondering, is there a way to force check all hosts?
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
6
votes
3 answers

Nagios3: Conditional operators for service checks?

I'm trying to setup Nagios to monitor my various machines using hostgroups to define 'machine roles', against which I run services to check the machines by role. However, I'd like to use conditional operators that would enable me to run the service…
Dave
  • 163
  • 5
6
votes
1 answer

Configure Nagios To Alert Depending On Host Group That Service Alert Originates From

So my setup: Services are shared between all hosts (CPU/RAM/Disk/Services). Hosts are split into two main groups: "Production" and "Development". We have two contact groups: "Production" and "Development". Lets say my development SQL server runs…
StrangeWill
  • 541
  • 5
  • 16
6
votes
6 answers

Nagios 3 config ideas

We currently have Nagios 2.9 installed and has been running nicely for a few years. I want to migrate it off that old Linux server onto a new one. I've gotten Nagios 3.1.2 installed and running fine. Before I migrate all 240+ of our devices over…
Ray
6
votes
1 answer

Full status information in Nagios email notification?

I have set up Nagios to monitor my servers and I have written a few custion checks. When I get a notification email, I only get the first line of the status information and I have to use the web interface to see the rest of it. Is it possible to get…
6
votes
1 answer

NRPE and Perl - cannot include ANYTHING or it breaks

I've been banging my head off NRPE and Perl for weeks now. I decided to start from absolute first principles, and create a dummy nagios plugin that does nothing but always returns OK. I called it check_true.pl, installed it on the remote server and…
Bart B
  • 3,457
  • 6
  • 31
  • 42
6
votes
1 answer

Throttle nagios alerts if host loses connectivity

We use nagios to monitor our server farm, and generally it works great. From time to time, though, the host where nagios runs loses connectivity for a couple of minutes, which makes nagios believe that all servers and services it monitors are down.…
Benjamin Wohlwend
  • 729
  • 2
  • 7
  • 14
6
votes
5 answers

Nagios Multiple servers config files

I'm already configuring a Nagios setup to monitor about 30 Windows servers. Now i am adding every servers definition to the Windows.cfg file but i think would be easyly configurable to have one .cfg file per server (Server1.cfg, Server2.cfg,…
Juan
  • 119
  • 1
  • 2
  • 10
6
votes
3 answers

Is it possible to ack nagios alerts from the terminal on a remote workstation?

I have nagios alerts set up to come through jabber with an http link to ack. Is is possible there is a script I can run from a terminal on a remote workstation that takes the hostname as a parameter and acks the alert? ./ack hostname The benefit,…
cat pants
  • 2,273
  • 10
  • 35
  • 46
6
votes
6 answers

Use Nagios to monitor a log file and send log details

I know Nagios can monitor and alert on the content within a log file, but does anyone know of a plug-in, or other tool, that will monitor a log file for a particular string and then send the entire line in an email message where that match occured?
af-at-work
  • 670
  • 1
  • 6
  • 12
6
votes
4 answers

How can I configure icinga/nagios to alert via sms?

I know the sms gateway for my cell phone provider so I can just send an email to it. I am looking for examples of entries in contacts.cfg and commands.cfg that are mobile specific.
ckliborn
  • 2,778
  • 4
  • 25
  • 37
6
votes
4 answers

What metrics should I monitor on my Linux-server?

I've been tasked with setting up monitoring of 300 servers, doing different things. I've been looking at various tools, such as Nagios, Munin, and others - so I got a pretty good idea on how I can achieve monitoring in the first place. What I'm…
Kvisle
  • 4,193
  • 24
  • 25
6
votes
2 answers

Nagios command not transmitting all arguments

I'm using the following service to monitor our postgres db from nagios: define service{ use test-service ; Name of servi$ host_name DEMOCGN002 service_description …
markus
  • 1,080
  • 5
  • 18
  • 38
6
votes
2 answers

Adding a acknowledgement Link to Nagios Alert Emails

Has anyone ever added a link into the nagios alert messages that allows the receiver to just click the link to put the alert into the acknowledgement state. I've had a look around but cant see anything.
beakersoft
  • 997
  • 15
  • 29
6
votes
2 answers

Nagios - How do I schedule a regular period of downtime?

I have Nagios Core up and running, and cannot find any way to schedule a regular period of downtime for hosts. For example, let's say I have a host that is scheduled to reboot itself every Sunday at 1 am. I'd like to be able to schedule that known…
Alan M
  • 279
  • 1
  • 3
  • 11