Script ext Interval
list Renard Samuel
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.
list Martin Flemming
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.
list Renard Samuel
I've changed it but it done the same thing! There's an update 5mn later!
▸
-----Message d'origine-----
De : Martin Flemming [mailto:user-f286aaa49a76@xymon.invalid] Envoyé : jeudi 8 janvier 2009 14:37
À : user-ae9b8668bcde@xymon.invalid
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.
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.
list Renard Samuel
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:user-c4043dfd2480@xymon.invalid]
Envoyé : jeudi 8 janvier 2009 14:55
À : user-ae9b8668bcde@xymon.invalid
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:user-f286aaa49a76@xymon.invalid] Envoyé : jeudi 8 janvier 2009 14:37 À : user-ae9b8668bcde@xymon.invalid 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.
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. 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.
list Stef Coene
▸
On Thursday 08 January 2009, RENARD Samuel wrote:
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 ?
When you try the script from the command line, do you use the same user as when it is scheduled? Is there an entry in the log file ? Stef
list Mike Rowell
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:user-c4043dfd2480@xymon.invalid]
Sent: 08 January 2009 14:49
To: user-ae9b8668bcde@xymon.invalid
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:user-c4043dfd2480@xymon.invalid]
Envoyé : jeudi 8 janvier 2009 14:55
À : user-ae9b8668bcde@xymon.invalid
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:user-f286aaa49a76@xymon.invalid] Envoyé : jeudi 8 janvier 2009 14:37 À : user-ae9b8668bcde@xymon.invalid 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.
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. 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.
This email has been scanned for all viruses by the MessageLabs service.
This email has been scanned for all viruses by the MessageLabs service.
list Renard Samuel
I set the INTERVAL to 60m, there's no difference. I run the script with hobbit user. When I run the script with the command line It's OK. I run the client. On the hobbit display, the test is ok, I've results, it's green => Good. 5mn later, no results, the test is red during 1 hour. 1 hour later, the test is green, and repeat... I've no logs, all seems ok. I added in hobbitlaunch.cfg by mistake the same section as clientlaunch.cfg, it might generate an error ? Samuel
▸
-----Message d'origine-----
De : Mike Rowell [mailto:user-63f3e97eb1de@xymon.invalid]
Envoyé : jeudi 8 janvier 2009 16:08
À : user-ae9b8668bcde@xymon.invalid
Objet : RE: [hobbit] Script ext Interval
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:user-c4043dfd2480@xymon.invalid]
Sent: 08 January 2009 14:49
To: user-ae9b8668bcde@xymon.invalid
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:user-c4043dfd2480@xymon.invalid] Envoyé : jeudi 8 janvier 2009 14:55 À : user-ae9b8668bcde@xymon.invalid 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:user-f286aaa49a76@xymon.invalid] Envoyé : jeudi 8 janvier 2009 14:37 À : user-ae9b8668bcde@xymon.invalid 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.
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. 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. This email has been scanned for all viruses by the MessageLabs service. This email has been scanned for all viruses by the MessageLabs service. 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.
list Renard Samuel
I'm a good track.. My tests concerned 2 servers in DMZ. I use ssh-tunnel in order to hobbit them. I notice the test receive the correct test hourly as I exposed but it received also every 5mn the test of the other server! There's only this ext test which is compromised. I'm looking for mistakes... Samuel
▸
-----Message d'origine-----
De : RENARD Samuel [mailto:user-c4043dfd2480@xymon.invalid]
Envoyé : jeudi 8 janvier 2009 16:38
À : user-ae9b8668bcde@xymon.invalid
Objet : RE: [hobbit] Script ext Interval
I set the INTERVAL to 60m, there's no difference.
I run the script with hobbit user. When I run the script with the command line It's OK.
I run the client. On the hobbit display, the test is ok, I've results, it's green => Good.
5mn later, no results, the test is red during 1 hour.
1 hour later, the test is green, and repeat...
I've no logs, all seems ok.
I added in hobbitlaunch.cfg by mistake the same section as clientlaunch.cfg, it might generate an error ?
Samuel
-----Message d'origine-----
De : Mike Rowell [mailto:user-63f3e97eb1de@xymon.invalid]
Envoyé : jeudi 8 janvier 2009 16:08
À : user-ae9b8668bcde@xymon.invalid
Objet : RE: [hobbit] Script ext Interval
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:user-c4043dfd2480@xymon.invalid]
Sent: 08 January 2009 14:49
To: user-ae9b8668bcde@xymon.invalid
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:user-c4043dfd2480@xymon.invalid] Envoyé : jeudi 8 janvier 2009 14:55 À : user-ae9b8668bcde@xymon.invalid 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:user-f286aaa49a76@xymon.invalid] Envoyé : jeudi 8 janvier 2009 14:37 À : user-ae9b8668bcde@xymon.invalid 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.
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. 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. This email has been scanned for all viruses by the MessageLabs service. This email has been scanned for all viruses by the MessageLabs service. 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. 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.
list Renard Samuel
Indeed it's the real host shake! I turned off one, the tests of the second replace them. However my configurations seems ok on the server and the clients. The ssh-tunnel is the problem, not my script. Regards,
▸
Samuel
-----Message d'origine-----
De : RENARD Samuel [mailto:user-c4043dfd2480@xymon.invalid]
Envoyé : jeudi 8 janvier 2009 16:53
À : user-ae9b8668bcde@xymon.invalid
Objet : RE: [hobbit] Script ext Interval
I'm a good track..
My tests concerned 2 servers in DMZ. I use ssh-tunnel in order to hobbit them.
I notice the test receive the correct test hourly as I exposed but it received also every 5mn the test of the other server!
There's only this ext test which is compromised.
I'm looking for mistakes...
Samuel
-----Message d'origine-----
De : RENARD Samuel [mailto:user-c4043dfd2480@xymon.invalid] Envoyé : jeudi 8 janvier 2009 16:38 À : user-ae9b8668bcde@xymon.invalid Objet : RE: [hobbit] Script ext Interval
I set the INTERVAL to 60m, there's no difference.
I run the script with hobbit user. When I run the script with the command line It's OK.
I run the client. On the hobbit display, the test is ok, I've results, it's green => Good.
5mn later, no results, the test is red during 1 hour.
1 hour later, the test is green, and repeat...
I've no logs, all seems ok.
I added in hobbitlaunch.cfg by mistake the same section as clientlaunch.cfg, it might generate an error ?
Samuel
-----Message d'origine-----
De : Mike Rowell [mailto:user-63f3e97eb1de@xymon.invalid]
Envoyé : jeudi 8 janvier 2009 16:08
À : user-ae9b8668bcde@xymon.invalid
Objet : RE: [hobbit] Script ext Interval
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:user-c4043dfd2480@xymon.invalid]
Sent: 08 January 2009 14:49
To: user-ae9b8668bcde@xymon.invalid
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:user-c4043dfd2480@xymon.invalid] Envoyé : jeudi 8 janvier 2009 14:55 À : user-ae9b8668bcde@xymon.invalid 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:user-f286aaa49a76@xymon.invalid] Envoyé : jeudi 8 janvier 2009 14:37 À : user-ae9b8668bcde@xymon.invalid 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.
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. 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. This email has been scanned for all viruses by the MessageLabs service. This email has been scanned for all viruses by the MessageLabs service. 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. 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. 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.
list Renard Samuel
Hi! I resolved the problem, I re-configured servers with ssh-tunnel and now it's good! But there's another problem, datas don't graph. The test runs every hours and there's nothing in the graph. When it was every 5mn it worked but now every hours not. Anyone have a solution ?
▸
Regards,
Samuel
-----Message d'origine-----
De : RENARD Samuel [mailto:user-c4043dfd2480@xymon.invalid]
Envoyé : jeudi 8 janvier 2009 17:08
À : user-ae9b8668bcde@xymon.invalid
Objet : RE: [hobbit] Script ext Interval
Indeed it's the real host shake!
I turned off one, the tests of the second replace them. However my configurations seems ok on the server and the clients.
The ssh-tunnel is the problem, not my script.
Regards,
Samuel
-----Message d'origine-----
De : RENARD Samuel [mailto:user-c4043dfd2480@xymon.invalid] Envoyé : jeudi 8 janvier 2009 16:53 À : user-ae9b8668bcde@xymon.invalid Objet : RE: [hobbit] Script ext Interval
I'm a good track..
My tests concerned 2 servers in DMZ. I use ssh-tunnel in order to hobbit them.
I notice the test receive the correct test hourly as I exposed but it received also every 5mn the test of the other server!
There's only this ext test which is compromised.
I'm looking for mistakes...
Samuel
-----Message d'origine-----
De : RENARD Samuel [mailto:user-c4043dfd2480@xymon.invalid] Envoyé : jeudi 8 janvier 2009 16:38 À : user-ae9b8668bcde@xymon.invalid Objet : RE: [hobbit] Script ext Interval
I set the INTERVAL to 60m, there's no difference.
I run the script with hobbit user. When I run the script with the command line It's OK.
I run the client. On the hobbit display, the test is ok, I've results, it's green => Good.
5mn later, no results, the test is red during 1 hour.
1 hour later, the test is green, and repeat...
I've no logs, all seems ok.
I added in hobbitlaunch.cfg by mistake the same section as clientlaunch.cfg, it might generate an error ?
Samuel
-----Message d'origine-----
De : Mike Rowell [mailto:user-63f3e97eb1de@xymon.invalid]
Envoyé : jeudi 8 janvier 2009 16:08
À : user-ae9b8668bcde@xymon.invalid
Objet : RE: [hobbit] Script ext Interval
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:user-c4043dfd2480@xymon.invalid]
Sent: 08 January 2009 14:49
To: user-ae9b8668bcde@xymon.invalid
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:user-c4043dfd2480@xymon.invalid] Envoyé : jeudi 8 janvier 2009 14:55 À : user-ae9b8668bcde@xymon.invalid 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:user-f286aaa49a76@xymon.invalid] Envoyé : jeudi 8 janvier 2009 14:37 À : user-ae9b8668bcde@xymon.invalid 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.
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. 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. This email has been scanned for all viruses by the MessageLabs service. This email has been scanned for all viruses by the MessageLabs service. 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. 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. 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. 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.
list Martin Flemming
Hmm, will the rrd's updated ? what's says the logs (rrd-data,rrd-status) ? .. delete the old ones and look if they will be created again .. cheers, martin
▸
On Fri, 9 Jan 2009, RENARD Samuel wrote:
Hi! I resolved the problem, I re-configured servers with ssh-tunnel and now it's good! But there's another problem, datas don't graph. The test runs every hours and there's nothing in the graph. When it was every 5mn it worked but now every hours not. Anyone have a solution ? Regards, Samuel -----Message d'origine----- De : RENARD Samuel [mailto:user-c4043dfd2480@xymon.invalid] Envoyé : jeudi 8 janvier 2009 17:08 À : user-ae9b8668bcde@xymon.invalid Objet : RE: [hobbit] Script ext Interval Indeed it's the real host shake! I turned off one, the tests of the second replace them. However my configurations seems ok on the server and the clients. The ssh-tunnel is the problem, not my script. Regards, Samuel -----Message d'origine----- De : RENARD Samuel [mailto:user-c4043dfd2480@xymon.invalid] Envoyé : jeudi 8 janvier 2009 16:53 À : user-ae9b8668bcde@xymon.invalid Objet : RE: [hobbit] Script ext Interval I'm a good track.. My tests concerned 2 servers in DMZ. I use ssh-tunnel in order to hobbit them. I notice the test receive the correct test hourly as I exposed but it received also every 5mn the test of the other server! There's only this ext test which is compromised. I'm looking for mistakes... Samuel -----Message d'origine----- De : RENARD Samuel [mailto:user-c4043dfd2480@xymon.invalid] Envoyé : jeudi 8 janvier 2009 16:38 À : user-ae9b8668bcde@xymon.invalid Objet : RE: [hobbit] Script ext Interval I set the INTERVAL to 60m, there's no difference. I run the script with hobbit user. When I run the script with the command line It's OK. I run the client. On the hobbit display, the test is ok, I've results, it's green => Good. 5mn later, no results, the test is red during 1 hour. 1 hour later, the test is green, and repeat... I've no logs, all seems ok. I added in hobbitlaunch.cfg by mistake the same section as clientlaunch.cfg, it might generate an error ? Samuel -----Message d'origine----- De : Mike Rowell [mailto:user-63f3e97eb1de@xymon.invalid] Envoyé : jeudi 8 janvier 2009 16:08 À : user-ae9b8668bcde@xymon.invalid Objet : RE: [hobbit] Script ext Interval 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:user-c4043dfd2480@xymon.invalid] Sent: 08 January 2009 14:49 To: user-ae9b8668bcde@xymon.invalid 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:user-c4043dfd2480@xymon.invalid] Envoyé : jeudi 8 janvier 2009 14:55 À : user-ae9b8668bcde@xymon.invalid 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:user-f286aaa49a76@xymon.invalid] Envoyé : jeudi 8 janvier 2009 14:37 À : user-ae9b8668bcde@xymon.invalid 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.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. 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. This email has been scanned for all viruses by the MessageLabs service. This email has been scanned for all viruses by the MessageLabs service. 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. 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. 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. 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.