When a nagios3 host/service test fails, nagios.log has something like this:
SERVICE ALERT: host;service;CRITICAL;SOFT;5;text of some sort
How do I make nagios3 log *successful* tests as well?
One reason: I want to keep perfdata long-term *even if* I don't want
to process it right away.
Another
All the docs I've read on distributed nagios require a "master" server
as well as "slaves".
Can I do distributed nagios w/o a master server?
I have a redundant cluster of VPSs and want them to monitor each other
w/o a single point of failure.
I've got some ideas re how to do this, but didn't wan
I've created a hostgroup of 20 machines, and want to monitor 10
services on each machine (easy). I now want to monitor an 11th service
on 19 of the 20 machines. What's the best way to do this?
Two ugly ways I don't like:
% Create a separate hostgroup for the 19 machines I do want to monitor.
% M
Nagios and MRTG seem to perform similar (though not identical)
functions, and it seems silly to run both.
MRTG gets a stream of (real) numbers from a source and graphs them.
Nagios runs tests to get a (natural) number between 0 and 3, and takes
action if the number is non-0.
It seems like you co
Nagios' check_disk plug-in gets confused when "df -k" reports negative
space remaining on a drive. For example, if df -k says:
/dev/ccd0 567673758 524004492 -1744634 100% /partname
nagios' check_disk says:
DISK OK - free space: /partname 17592186042712 MB (-1% inode=97%)
Is there a workaround h
Is the format of nagios' status.dat file documented anywhere?
The file contains useful info, so I have my "nagios machine" push
(rsync) the file to my other servers. This means machine X can tell if
machine Y is up, even if the two machines can't talk to each other
directly.
I figured out service
I have a template "foo" that says, in part, "parents bar".
If I want to use this template for a specific host, but change the
parents to "ding", that's easy:
use foo
parents ding
But how do I set parents back to the empty value (ie, the default
value you get if you don't set parents at all). I t
I use vMotion to auto-move several VMs between two VM servers: vm1 and vm2.
I want to monitor these VMs if *either* of vm1 *or* vm2 is up, not
necessarily both.
Is there any easy way to do this? "parents vm1,vm2" requires both to be up.
My hack solution was to create a fake "vm-either" machine w
Nagios has a great web interface. I sometimes want the information
from that interface in command-line format for other scripts.
Does nagios have command-line tools that will:
% Return all the children/descendants of machine X.
% Return all services being tested on machine X.
% Return all servi
I did this:
define serviceescalation {
servicegroup_name really-important-services
first_notification 1
last_notification 5
contact_groups level1-oncall
notification_interval 5
}
define serviceescalation {
servicegroup_name really-important-services
first_notification 6
last_notification
I have a "Windows" hostgroup for my Windows machines, and an
"Important" hostgroup for all my important machines (Windows and
otherwise).
How do I check a service on the intersection of these two groups (ie,
important Windows machines)?
I realize I could create an "important Windows" hostgroup, b
What's the best way to simulate (not schedule) downtime in nagios?
I want to "pretend" a service is down for a certain amount of time to
see what alerts nagios sends, etc.
I've come up w/ two bad ways to do this:
% Edit the config file to change the test to "check_dummy". I want to
run these "
l that resistance to
new ideas and technology is unwise and ultimately futile.
On 10/6/08, Tom Throckmorton <[EMAIL PROTECTED]> wrote:
> On Oct 06 12:29, Kelly Jones wrote:
>> What's the best way to simulate (not schedule) downtime in nagios?
>>
>> I want to &quo
On 10/6/08, Tom Throckmorton <[EMAIL PROTECTED]> wrote:
> On Oct 06 18:57, Kelly Jones wrote:
>> Thanks, Tom.
>>
>> Yes, I'm trying to simulate a host/service outage, not scheduled downtime.
>>
>> The problem w/ submitting a passive check is that th
When I click "service detail", it gives me some information on all my
services.
Can I change what information is displayed and how it's displayed?
--
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas
It always bugged me that you couldn't customize the nagios
host/service summary screens, so I hacked cgi/status.c as attached
(.20080401.133208.status.c is the original, status.c is my change).
You put host-specific annotations in
/usr/local/etc/nagios/annotate/$host/hostinfo.txt, and
service-spec
I have ~25 computers worldwide, and want to run several test commands
on them every x minutes (where x is configurable), report the results,
and alert me when "bad things" happen.
Is this what Nagios/OpenNMS is designed for? Specifics below, but are
Nagios/OpenNMS designed for network testing or m
Thanks to everyone who suggested nagios-- I have now started using
it... so here come the newbie questions...
I'm paranoid that someone will attack my DNS providers, so I want to
confirm my hostnames look up correctly. I wrote this command:
; this is different from check_dns
define command {
com
Nagios does a great job of monitoring/reporting to humans (or
sysadmins, the nearest equivalent ), but can it also be used for
machine-to-machine reporting?
Example: machine X at my company wants to start a process that
involves machines Y and Z. However, if either machine is down, X's
proces shou
We have various systems that keep track of employee data: when an
employee was last paid, hours of sick/vacation leave accrued,
employee's laptop's last IP address (from DHCP server), last time
employee's laptop was backed up (from backup server), whether employee
is on-lave/traveling, whether the
I want to use Nagios to monitor a site (running on Windows/IIS) that
uses NTLM for authentication. Is there a plugin/script/library/etc
that can help?
Reason I'm cc'ing the lynx/wget/curl/links lists: if
lynx/wget/curl/links can do NTLM, I can easily write a nagios wrapper.
--
We're just a Bunch
The check_smtp plugin works great to connect to an SMTP server, and
even to say "HELO", "MAIL FROM", etc, but I'd like to send an entire
message and get back "Message accepted for delivery" or something
similar.
However, whenever I try something like:
/usr/local/nagios/libexec/check_smtp -H maila
22 matches
Mail list logo