Cron Confusion.. Continued... *ugh*

Scott Hiemstra scott at hiemstra.us
Tue Sep 6 23:11:50 EDT 2005


Jason,

I use the cron directive for nightly maintenance and it seems to work fine,
I get my nightly overrides and I don't get paged so I consider it success.  

Here is the config I use regarding cron:

Host "webserver" {
   hostname:   webserver.domainname.com
   graph:      yes
   Service Ping {
   cron "59 12 * * *" {
       func:       override
       expires:    600
       mode:       manual
       text:       nightly maintenance
   }
}

Scott

> -----Original Message-----
> From: arguslist-bounces at tcp4me.com [mailto:arguslist-bounces at tcp4me.com]
> On Behalf Of Jason 'XenoPhage' Frisvold
> Sent: Tuesday, September 06, 2005 10:59 PM
> To: Discussion about Argus
> Subject: Re: Cron Confusion.. Continued... *ugh*
> 
> Hi all,
> 
> I haven't seen a response to the below message, so I'm re-posting it.
> Does anyone know the answer to this?  Is anyone using the cron feature?
> 
> Thanks!
> 
> Jason 'XenoPhage' Frisvold wrote:
> 
> >*Help!*
> >
> >I'm apparently missing something, or doing something wrong, or maybe
> >even completely misunderstanding this feature..  The goal is to
> >automatically override at 4 am, for an hour.  The example on the
> >documentation page of the site actually has 6 fields in the cron
> >command, but I was told previously that that was incorrect...
> >
> >I'm running Argus dev-20050720
> >
> >So, here's a snippet of my config.  Can someone please tell me what I'm
> >doing wrong??
> >
> >         Service SYS/disk {
> >            uname: usr2
> >            label: usr2
> >            arg: /usr2
> >            graph: yes
> >            maxvalue: 5
> >            cron "0 4 * * *" {
> >               func: override
> >               text: Backup In Progress
> >               expires: 3600
> >               mode: manual
> >            }
> >         }
> >
> >This is from the log last night :
> >
> >Wed 31 Aug 04:49:27 2005 	up 	TRANSITION - up
> >Wed 31 Aug 04:24:27 2005 	down 	TRANSITION - down
> >
> >
> >It *did* work..  once...  :
> >
> >Wed 24 Aug 05:00:49 2005 	up 	OVERRIDE - removed by system
> >Wed 24 Aug 05:00:49 2005 	up 	OVERRIDE - expired
> >Wed 24 Aug 04:44:27 2005 	up 	TRANSITION - up
> >Wed 24 Aug 04:00:49 2005 	down 	OVERRIDE - enabled by *internal-
> cronjob*
> >Wed 24 Aug 04:00:49 2005 	down 	OVERRIDE - Backup In Progress
> >
> >
> >
> >
> 
> 
> --
> ---------------------------
> Jason 'XenoPhage' Frisvold
> Engine / Technology Programmer
> friz at godshell.com
> RedHat Certified - RHCE # 803004140609871
> MySQL Pro Certified - ID# 207171862
> MySQL Core Certified - ID# 205982910
> ---------------------------
> "Something mysterious is formed, born in the silent void. Waiting alone
> and unmoving, it is at once still and yet in constant motion. It is the
> source of all programs. I do not know its name, so I will call it the Tao
> of Programming."
> 
> _______________________________________________
> http://argus.tcp4me.com/
> Arguslist at tcp4me.com
> http://www.tcp4me.com/mailman/listinfo/arguslist



More information about the Arguslist mailing list