Recently I tried to setup nrpe monitoring of an osx system by installing
nagios-plugins-1.4.15.tar.gz and nrpe-2.12.tar.gz on osx 10.5, and
locally everything works fine. This works:
/usr/local/nagios/libexec/check_nrpe -H localhost -c check_users
USERS OK - 3 users currently logged in
. The
warning and critical parameters are ranges, not single integers. The
notes describe the syntax and options.
John Stile wrote:
I would like to add a warning critical value to the following
check_snmp line in /etc/nagios/nrpe.cfg, which monitors my ups.
command[snmp_ups_capa]=/usr
I would like to add a warning critical value to the following
check_snmp line in /etc/nagios/nrpe.cfg, which monitors my ups.
command[snmp_ups_capa]=/usr/lib/nagios/plugins/check_snmp -H 10.0.10.2
-C public -o .1.3.6.1.4.1.318.1.1.1.2.2.1.0 -l '% Capacity' -u '%'
For a warning at 80% capacity
: TTY=unknown ; PWD=/ ;
USER=root ; COMMAND=/usr/local/nagios/libexec/check_logs.pl -c
/etc/nagios/check_logs_linux.cfg
A. Davis
Email: ncc...@gmail.com
There is no limit to what a man can accomplish
if he doesn't care who gets the credit. - Ronald Reagan
John Stile
On the client, if you look at 'ps aux |grep nrpe'
what user does nrpe run as?
You might have to configure sudo to allow that user to run the plugin.
On Wed, 2009-04-01 at 18:27 -0400, Andrew Davis wrote:
I setup the
check_logs.pl
Setting up nagios is time consuming, and I'm not sure I set it up all
that well, but I did keep notes and posted them on my site (as I hope a
billion other people have).
http://www.stilen.com/notes/nagios_debian_stable.txt
Some of the graphing has the wrong units, but I haven't ever figured out
You have probably looked into this, but how about lm_sensors in Linux?
It shows the temp and fan speed on each motherboard in the rack. With
good charting of temps, you can profile where hot spots appear in a
rack, and even compare one rack vs. another. The temps aren't always
accurate for all
I would like an alert when someone logs into a monitored XP machine, but
I can't figure out how to do it. Does anyone have an easy method?
Using nagios-1.3 on debian Sarge with nsclient++ on XP+sp2.
I tried the following checkcommands.cfg + services.cfg entries, which
show when someone logs in