[Nagios-users] Make nagios3 log successful tests

2009-03-17 Thread Kelly Jones
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

[Nagios-users] Masterless distributed nagios

2009-07-15 Thread Kelly Jones
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

[Nagios-users] Monitoring service for every machine in hostgroup EXCEPT ONE

2007-07-22 Thread Kelly Jones
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-users] Nagios and MRTG: together at last?

2007-08-10 Thread Kelly Jones
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-users] check_disk confused by negative disk space, fix or workaround?

2007-08-25 Thread Kelly Jones
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

[Nagios-users] Format of status.dat file documented?

2007-09-04 Thread Kelly Jones
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

[Nagios-users] Resetting variable to empty after template sets it

2007-09-04 Thread Kelly Jones
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

[Nagios-users] Want to test machine if EITHER of two other machines is up

2008-04-06 Thread Kelly Jones
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-users] Nagios command-line tools

2008-04-06 Thread Kelly Jones
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

[Nagios-users] Escalation notification time shorter than service check time: bug?

2008-04-06 Thread Kelly Jones
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

[Nagios-users] Running tests on intersection of two hostgroups?

2008-04-13 Thread Kelly Jones
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

[Nagios-users] Simulating downtime in nagios

2008-10-06 Thread Kelly Jones
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 "

Re: [Nagios-users] Simulating downtime in nagios

2008-10-06 Thread Kelly Jones
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

Re: [Nagios-users] Simulating downtime in nagios

2008-10-07 Thread Kelly Jones
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

[Nagios-users] Reformatting "service detail" and similar pages

2008-10-11 Thread Kelly Jones
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

[Nagios-users] Annotation column for nagios host/service summary screens

2008-12-01 Thread Kelly Jones
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

[Nagios-users] Which tool is best for me: Nagios, OpenNMS, or something else?

2007-03-31 Thread Kelly Jones
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

[Nagios-users] Unnecessary host_name and for type loops/multiple check_commands?

2007-04-01 Thread Kelly Jones
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-users] Using nagios for machine-to-machine reporting?

2007-04-24 Thread Kelly Jones
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

[Nagios-users] Using nagios for reporting on non-machine data such as employees?

2007-04-24 Thread Kelly Jones
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

[Nagios-users] Can Nagios/Lynx/wget/curl/links do NTLM authentication?

2007-06-08 Thread Kelly Jones
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

[Nagios-users] Getting check_smtp to test send an entire message w/ body

2007-06-18 Thread Kelly Jones
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