[Nagios-users] notify servicegroup escalation without duplicate contacts

2009-09-23 Thread Justin Pryzby
I'm looking for a way of effectively using multiple contacts each with multiple contact addresses. I was hoping to do something like: define contact { servicegroups important notification_commandby-email contact_groups

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Justin Pryzby
On Wed, Sep 23, 2009 at 11:05:11AM -0400, Tata, Joseph wrote: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html indicates this should be possible, and that the resulting object should have properties of both hosts, but something isn't working. Am I not defining something correctly

Re: [Nagios-users] Using Nagios W/O loging in

2009-09-23 Thread Justin Pryzby
On Wed, Sep 23, 2009 at 12:25:37PM -0400, stan wrote: I had a contractor set up nagios for use in monitoring machines on our internal network. One of the punch list items that he left undone was to defeat the requirment that users log in to allow them to access nagios. This is an internal

Re: [Nagios-users] Monitoring Open Ports

2009-09-29 Thread Justin Pryzby
On Tue, Sep 29, 2009 at 02:51:07PM -0500, Matt Baer wrote: Is there a way that Nagios can monitor open ports, even if there isn't anything listening on the destination? I'd like to monitor my open ports on my firewall JUST to make sure they're open. I would just specify the port with the

[Nagios-users] how to use multiple contact addresses

2009-09-29 Thread Justin Pryzby
I wrote last week but wanted to rephrase my question more clearly. How does one make use of multiple contact addresses? email,pager,$CONTACTADDRESS[0-6]$ exist, but is it somehow possible to cause an escalation (or ??) to use a different notification command, and thusly a different contact

[Nagios-users] escalation for receiving only recovery events?

2009-10-04 Thread Justin Pryzby
A coworker wants to receive periodic notifies for failing services, and I want to receive only the first one. I can implement that using an inverted escalation (removing me from the notify list at the 2nd notification). However I *do* want to receive recovery events, even if they're after the

Re: [Nagios-users] monitor windows service with $

2009-10-07 Thread Justin Pryzby
On Wed, Oct 07, 2009 at 09:39:55AM -0500, Marc Powell wrote: It looks like it cuts off everything behind the $. Anybody have an idea? I expect that the shell is interpreting $DB as a shell variable. Try using 'service$DB' or service\$DB. Also NRPE requires $ to be spelled $$ to be

Re: [Nagios-users] Nagios clock way off

2009-10-11 Thread Justin Pryzby
On Sun, Oct 11, 2009 at 07:30:19AM -0400, Kyle Tucker wrote: Hi all, check until October of 2014!. I saw this for all services with the last check having been the same year. The system clock is definitely correct. Once I force a service check, Can you check nagios.log and see if the wrong

Re: [Nagios-users] Nagios clock way off

2009-10-11 Thread Justin Pryzby
On Sun, Oct 11, 2009 at 10:49:15AM -0400, Kyle Tucker wrote: On Sun, Oct 11, 2009 at 07:34:39AM -0700, Justin Pryzby wrote: On Sun, Oct 11, 2009 at 07:30:19AM -0400, Kyle Tucker wrote: check until October of 2014!. I saw this for all services with the last check having been the same

Re: [Nagios-users] Query regarding Nagios notification

2009-10-13 Thread Justin Pryzby
On Wed, Oct 14, 2009 at 11:13:08AM +0530, Satish Kumar P wrote: Hi, We have a Nagios server that monitors around 300 production servers and around 2000+ services on all these servers. Recently, when the STATE of one of the services on a particular host turned HARD, but Nagios didn't NOTIFY.

Re: [Nagios-users] nagios3 problem in debian lenny

2009-10-15 Thread Justin Pryzby
On Thu, Oct 15, 2009 at 04:19:17PM +0200, Joseph Lundback wrote: Dear all , started nagios3. ( NO error from nagios3 -v nagios.cfg ). But after successfully authentication ( by htpassd file ) nagios reports `` *Error: Could not read object configuration

Re: [Nagios-users] nrpe producing odd garbage in output?

2009-12-14 Thread Justin Pryzby
On Mon, Dec 14, 2009 at 05:25:04PM -0800, Andy Moran wrote: Run remotely, odd garbage returned: obfuscatedserver:~ amoran$ sudo -u nagios /opt/local/libexec/nagios/check_nrpe -H obfuscatedclient -c check_load -a 5.0,4.0,3.0 20.0,15.0,10.0 WARNING - load average: 5.28, 5.00,

[Nagios-users] best expression of a timeperiod with same hours every day

2010-01-24 Thread Justin Pryzby
Is there a shorter way of expressing this? We have several cases where we need this, with different intervals. I was hoping there was a way of writing it in fewer than 10 lines each. define timeperiod { sunday 04:00-21:00 monday 04:00-21:00 tuesday

Re: [Nagios-users] FW: Nagios 3.0.5 problem

2010-02-01 Thread Justin Pryzby
One additional data point:  I found on Saturday night, as I logged in to restart Nagios and prevent the machine dying, that the one file in /ramdisk_nagios/checkresults/ was over 1MB.  Every other time I have checked, the files in there are sub-4kB.  If that tells anyone here

Re: [Nagios-users] event handler command not executing

2010-03-08 Thread Justin Pryzby
4th guess: is it executable? Justin -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See

Re: [Nagios-users] Public page

2011-08-09 Thread Justin Pryzby
Can you use cgi.cfg:authorized_for_read_only for that? http://nagios.sourceforge.net/docs/3_0/configcgi.html Justin On Sat, Aug 06, 2011 at 06:22:20PM -0300, Diogo Melo wrote: I would like to use nagios to monitor a few sites I have. But I want to have a public page where I can show the high

Re: [Nagios-users] Nagios check latency

2013-08-13 Thread Justin Pryzby
Could you check that you're not accidentally running 2 nagios daemons? On Tue, Aug 13, 2013 at 03:49:19AM +, Muhamad Faiz wrote: Hi guys, My Nagios setup are having high service check latency. Check nagios latency result is 240 seconds! ./check_nagios_latency.sh -w 30 -c 60

Re: [Nagios-users] Nagios check latency

2013-08-20 Thread Justin Pryzby
0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 21591 2.0 13.6 1677324 1094328 ? R10:42 0:00 \_ /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg Regards, Faiz Monitoring -Original Message- From: Justin Pryzby

Re: [Nagios-users] Distributed monitoring: central collector doesn't seem to be able to run active checks

2013-08-28 Thread Justin Pryzby
Do you get many of those error messages in the logs at once, or just one at a time? Only one thought: what are the permissions on your $USER$ variables? Nagios on my systems setuid() to nonroot after startup, and if it gets SIGHUP to reload config, but can't read the file defining $USER*$, will

Re: [Nagios-users] changing the email message notification content

2013-09-24 Thread Justin Pryzby
On Tue, Sep 24, 2013 at 04:06:28PM -0400, Jonathan Murray wrote: I have a user that's asked that when the check_proc notification emails get sent, that they include the output of ps (or something) Can someone give me an example of how they've solved this, or an idea on how you might solve