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
10
votes
5 answers

Monitor ssh on non-default port with Nagios

I just deployed Nagios on a Gentoo server and everything is fine except ssh, which it marks as "CRITICAL" because it's refusing connections. But that's because it's running on a port different from the default 22. How do I change it so that it…
agentofuser
  • 557
  • 3
  • 6
  • 14
10
votes
3 answers

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 seen solutions online suggesting to disable the…
Oliver Salzburg
  • 4,635
  • 17
  • 55
  • 82
10
votes
5 answers

Nagios server best practices?

I run a medium-sized Nagios server. It monitors roughly 40 servers with 180 services currently and is only growing by the day. I migrated from an old Nagios setup that was configured in a very esoteric fashion, forcing me to reconfigure everything…
Michael Pobega
  • 934
  • 5
  • 12
10
votes
1 answer

Why does getfattr not display anything for a file that has the extended attribute bit set?

I've got a Nagios XI install running on CentOS 6.2, and want to modify the backup script. I noticed that the extended attribute bit is set for this shell script, so I want to be sure not to mess anything up when I make changes to it. I…
Alan
  • 541
  • 1
  • 6
  • 20
10
votes
6 answers

Nagios Monitoring Text on a Website

I was wondering if I could get some help with monitoring text on a website. I.E. If I wanted to monitor google.com for the text "Privacy", I thought I would use the following command: check_http -H google.com -u http://www.google.com -s…
IOTAMAN
  • 665
  • 2
  • 8
  • 13
10
votes
1 answer

Nagios check service frequency based on service status

Am trying to detect disk thrashing by monitoring si, so from the vmstat command. I am monitoring other services using nagios and service check happens after every 5 minutes. For this thrashing service I want that nagios should check it after every…
APZ
  • 954
  • 2
  • 12
  • 25
10
votes
4 answers

Nagios remote monitoring: NRPE Vs. SSH

We use Nagios to monitor quite a few (~130) servers. We monitor CPU, Disk, RAM and a few other things on each server. I've always used SSH to run the remote commands, purely because it requires little to no additional config on the remote server,…
user80776
10
votes
4 answers

Send Nagios data to central monitoring server

I have Nagios set up on three disjoint networks that are all behind firewalls. The monitoring is working great and I'm getting the hang of the somewhat complex configuration. I have a server that is outside of these networks that could be made…
MDMarra
  • 100,734
  • 32
  • 197
  • 329
9
votes
2 answers

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 services are running on their respective…
smitelli
  • 1,214
  • 1
  • 10
  • 16
9
votes
7 answers

Clever nagios alert methods

We use Nagios, and I get SMSs when something happens. Lots of other sysadmins also get texts. However is there any clever / cool other ways people have gotten nagios alerts?
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
9
votes
3 answers

Nagios alert by email for WARNING and pager for CRITICAL

I want to set Nagios up to issue warnings (e.g. mildly high load or disk usage) via email, but for critical items to alert by pager. Right now we notify via email and pager simultaneously for all warnings. My generic contact definition is as…
Will Glass
  • 927
  • 2
  • 12
  • 21
9
votes
3 answers

Is Nagios "monitoring" over WAN ideal?

Just started at a new company and one my first assignments is to look for alternatives to their inhouse monitoring system. Their current solution is a .Net application that checks various devices over the WAN (since they are an IT-consulting firm…
NmE
  • 170
  • 1
  • 6
9
votes
3 answers

Nagios bizare ping behaviour

I have nagios setup as I want it, but last night it started alerting me of a problem pinging the internet. (I have a check that pings www.google.com to test that the internet is still working) Now looking into this problem I can see that my network…
Simon Foster
  • 2,622
  • 6
  • 38
  • 55
9
votes
4 answers

Change how Nagios determines if server is offline?

I'm new to nagios and my server is on a network which does not allow the server to be pinged. Is it possible for me to check if the server is up another way? e.g via SSH or HTTP? How would I do this so on my nagios report it doesn't show the server…
Ulkmun
  • 265
  • 1
  • 3
  • 9
9
votes
6 answers

Nagios graphing solutions vs Munin/Cacti/Ganglia

I've got a nagios server setup for monitoring ~ 30 Windows servers. I want to add some trending charts. I've read that nagios graphing plugins are simple and many people use seperate, standalone charting/trending tools. What are the restrictions of…
sumek
  • 213
  • 1
  • 2
  • 6
1 2
3
86 87