Re: [Nagios-users] where to get help with ext. cmd CHANGE_NORMAL_SVC_CHECK_INTERVAL ?

2006-03-16 Thread prosolutions
> > >> echo "[`date +%s`] > >> CHANGE_NORMAL_SVC_CHECK_INTERVAL;tigris;DiskBackupMountCheck;3" > > Printf is POSIX standard, but both my command and the printf produce > the same output. Try both and see. If you don't understand why they > produce the same output, read the man pages and get a b

Re: [Nagios-users] where to get help with ext. cmd CHANGE_NORMAL_SVC_CHECK_INTERVAL ?

2006-03-16 Thread prosolutions
> > [mangled broken shell script removed] > oops yes part of it got chopped. and yes it wasn't elegant - i threw it together to get it to run. it does run - it handles the cases correctly, etc. > What I saw as a shell script isn't a valid shell script. At > the very least it looks like a case

[Nagios-users] where to get help with ext. cmd CHANGE_NORMAL_SVC_CHECK_INTERVAL ?

2006-03-16 Thread prosolutions
I am using the CHANGE_NORMAL_SVC_CHECK_INTERVAL so that if a state of CRITICAL HARD exists longer than the time period covered by retry_check_interval and max_check_attempts nagios will still continue checking the service at an increased interval until it returns to OK. The essence of my external

[Nagios-users] how to customize which macros get sent with service event handlers?

2006-03-07 Thread prosolutions
According to http://nagios.sourceforge.net/docs/2_0/eventhandlers.html: "In most cases, event handler commands will be shell or perl scripts. At a minimum, the scripts should take the following macros as arguments: Service event handler macros: $SERVICESTATE$, $SERVICESTATETYPE$, $SERVICEATTEMP

Re: [Nagios-users] max_check_attempts, retry_check_interval, and notifications: confusion

2006-03-06 Thread prosolutions
> >I am trying to configure the following behavior from nagios: > >1. check a service every normal_check_interval > >2. if service check fails, up the check rate to retry_check_interval > >3. if 2 successive service checks fail, send notification > >4. continue to check at retry_check_interval unti

[Nagios-users] max_check_attempts, retry_check_interval, and notifications: confusion

2006-03-05 Thread prosolutions
Hello, I am trying to configure the following behavior from nagios: 1. check a service every normal_check_interval 2. if service check fails, up the check rate to retry_check_interval 3. if 2 successive service checks fail, send notification 4. continue to check at retry_check_interval until

[Nagios-users] Need help with service failure recheck interval

2006-03-01 Thread prosolutions
Using nagios 2.0b3 and have the following host and related service defined: define host{ usevip.template host_name ProdSystem alias Prod hostgroups Production check_command check-du

Re: [Nagios-users] retry_check_interval issue/confusion

2006-03-01 Thread prosolutions
> > > > retry_check_interval: This directive is used to define the number of > > "time units" to wait before scheduling a re-check of the service. > > Services are rescheduled at the retry interval when the have changed Thanks for clarifing this for me. I think the wording above is a bit

[Nagios-users] retry_check_interval issue/confusion

2006-03-01 Thread prosolutions
In http://nagios.sourceforge.net/docs/2_0/xodtemplate.html it states: retry_check_interval: This directive is used to define the number of "time units" to wait before scheduling a re-check of the service. Services are rescheduled at the retry interval when the have changed to a non-OK state. On

Re: [Nagios-users] Please tell me a sane way to comment out hosts/services

2005-11-11 Thread prosolutions
> > On mine I put a # sign in front of the line and it remarks the line out. I know, its just that doing that 200+ times for all the lines gets tiresome... There should be one straightforward way to say "I don't want this host (and all its associated services monitored) without having to put "#

[Nagios-users] Please tell me a sane way to comment out hosts/services

2005-11-11 Thread prosolutions
Please can someone tell me a sane way to easily and conveniently comment out/disable hosts and all services associated with them? This commenting out each line in services.cfg and using register = 0 is starting to drive me crazy... --- SF.Net