Re: [Nagios-users] NRPE - garbage output

2009-02-23 Thread Sloane, Robert Raymond
It looks like you might be running the manual check as root rather than as the same user that NRPE uses. There might very well be some difference in the environment between the two runs that is causing your problem. Have you tried turning on debug in NRPE on the target system? -- Bob Sloane,

Re: [Nagios-users] NSCA Confusing host check results as service checks

2007-11-28 Thread Sloane, Robert Raymond
It looks like the problem is caused by using , as the delimiter. There is a , in the status string PING OK... which would provide NSCA with the fouth argument, and make it a service result rather than a host result. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045

Re: [Nagios-users] NSCA Confusing host check results as service checks

2007-11-28 Thread Sloane, Robert Raymond
Hmm. A glance at the source indicates that (for version 2.7.2) the delimeter must be a single character. What do you have against TAB as the delimiter? /bin/echo -e $1\t$2\t$3 | /usr/local/sbin/send_nsca -H master \ -c /usr/local/etc/nagios/send_nsca.cfg If you want to be even

Re: [Nagios-users] query about passive checks and tactical overview

2007-03-09 Thread Sloane, Robert Raymond
Enable active checks for the hosts/services but set their check_period to none. This used to work, but now the check_period is enforced for the freshness check. Here is a patch that will change back to the old behaviour. This is for version 2.5. *** checks.c~ Tue Jun 20 19:59:19 2006

Re: [Nagios-users] Nagios not running every midnight

2006-12-06 Thread Sloane, Robert Raymond
It sounds like your script is running at exactly the time that Nagios rotates the log files. You might try running it every 10 minutes starting at 5 minutes past the hour and see if that helps. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:[EMAIL PROTECTED]

Re: [Nagios-users] Using Nagios to monitor service-less hosts

2006-11-07 Thread Sloane, Robert Raymond
Host definition for SC-Gateway: -- define host { check_interval1 You might want to look at the documentation for the check_interval directive for host objects. It says: NOTE: Do NOT enable

Re: [Nagios-users] Using Nagios to monitor service-less hosts

2006-11-07 Thread Sloane, Robert Raymond
JOOI, why is it said that a host check degrades performance? As Giles Coochey mentioned earlier, host checks may cause performance problems because they are not scheduled in the same way as service checks. To quote the documentation again: Also of note - when Nagios is check the status of a

[Nagios-users] Security vulnerability

2006-05-05 Thread Sloane, Robert Raymond
I assume everyone has already seen this? http://www.frsirt.com/english/advisories/2006/1662 -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:[EMAIL PROTECTED] http://www.ku.edu/home/sloane Phone:(785)864-0444

RE: [Nagios-users] 2.0 upgrade, passive checks problem

2006-01-04 Thread Sloane, Robert Raymond
This is a bug in my opinion, though no one seems to agree with me. I agree that this behaviour should be changed back. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:[EMAIL PROTECTED] http://www.ku.edu/home/sloane Phone:(785)864-0444

RE: [Nagios-users] empty hostgroups forbidden in 2.0b6

2005-12-06 Thread Sloane, Robert Raymond
It was documented as a REQUIRED field from the start of v2.0 so you just got away because there was a bug untill now. I would argue that there is absolutly no reason to make it required now that hostgroups can be specified in the host definition, and that there are good reasons to NOT make it