[hobbit] Script ext Interval
Mike Rowell
Mike.Rowell at Rightmove.co.uk
Thu Jan 8 16:08:17 CET 2009
I know the man page for hobbitlaunch.cfg specifies you can set the INTERVAL to use h or even d as the increment parameter, however have you tried setting the parameter to 60m to see if that makes a difference.
INTERVAL 60m
You should also have the status+1h set as per a previous email otherwise the service will go purple after 30mins...
Regards,
Mike
-----Original Message-----
From: RENARD Samuel [mailto:Samuel.RENARD at cg29.fr]
Sent: 08 January 2009 14:49
To: hobbit at hswn.dk
Subject: RE: [hobbit] Script ext Interval
Hi,
In fact, every hour the script runs and it's green so it's ok but between the test is in red... I want the test to keeps green. A solution, explanation ?
-----Message d'origine-----
De : RENARD Samuel [mailto:Samuel.RENARD at cg29.fr]
Envoyé : jeudi 8 janvier 2009 14:55
À : hobbit at hswn.dk
Objet : RE: [hobbit] Script ext Interval
I've changed it but it done the same thing! There's an update 5mn later!
-----Message d'origine-----
De : Martin Flemming [mailto:martin.flemming at desy.de] Envoyé : jeudi 8 janvier 2009 14:37 À : hobbit at hswn.dk Objet : Re: [hobbit] Script ext Interval
Hi !
You have to set this in your script like
.
.
$BB $BBDISP "status+1h $MACHINE.$COLUMN $COLOR `date` .
.
cheers,
martin
On Thu, 8 Jan 2009, RENARD Samuel wrote:
> Hi!
>
> I've wrote a script extension on client side. It works but I'd want
> run it every 1 hour. So in clientlaunch.cfg :
>
> [imss-stats]
> ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
> CMD $HOBBITCLIENTHOME/ext/imss-stats.sh
> LOGFILE $HOBBITCLIENTHOME/logs/imss-stats.log
> INTERVAL 1h
>
> The problem is that hobbit update it every 5mn! When I start the
> client, the status is green so it's OK but when hobbit update it (5 mn
> later) it's red ... whereas the script works normally.
> I don't understand.
>
> Regards,
>
> Samuel
>
> Ce message a ete scanne par l'anti-virus du Conseil General du Finistere.
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Ce message a ete scanne par l'anti-virus du Conseil General du Finistere.
Ce message a ete scanne par l'anti-virus du Conseil General du Finistere.
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
Ce message a ete scanne par l'anti-virus du Conseil General du Finistere.
Ce message a ete scanne par l'anti-virus du Conseil General du Finistere.
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs service.
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs service.
________________________________________________________________________
More information about the Xymon
mailing list