Hobbit CONN questions
list Johan Boyé
Hello again,
I'm polished a Hobbit installation. I would like to know how the
Hobbit server handle the "conn" step. I guess it's a couple of ping,
isn't it ?
How it works when a first ping doesn't not respond? How many packet
are sent each time? What is the time-out? Can we configure it?
Thanks by advance for any informations related to this ;)
Johan
"Les informations contenues dans ce message electronique peuvent etre de nature confidentielles et soumises a une obligation de secret. Elles sont destinees a l'usage exclusif du reel destinataire. Si vous n'etes pas le reel destinataire, ou si vous recevez ce message par erreur, merci de le detruire immediatement et de le notifier a son emetteur."
"The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender."
list Chris Ss-is Morris
Well it depends whether you are using fping or hobbitping - try reading the man pages, which can be accessed from the Help menu of the web page. This tells you how many pings, what happens when the first ping fails, the timeout etc etc and yes it is configurable.
▸
-----Original Message-----
From: user-08b3b26d089f@xymon.invalid [SMTP:user-08b3b26d089f@xymon.invalid]
Sent: Tuesday, November 06, 2007 2:43 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Hobbit CONN questions
Hello again,
I'm polished a Hobbit installation. I would like to know how the Hobbit
server handle the "conn" step. I guess it's a couple of ping, isn't it ?
How it works when a first ping doesn't not respond? How many packet are
sent each time? What is the time-out? Can we configure it?
Thanks by advance for any informations related to this ;)
Johan
"Les informations contenues dans ce message electronique peuvent etre de
nature confidentielles et soumises a une obligation de secret. Elles sont
destinees a l'usage exclusif du reel destinataire. Si vous n'etes pas le
reel destinataire, ou si vous recevez ce message par erreur, merci de le
detruire immediatement et de le notifier a son emetteur."
"The information contained in this e-mail may be privileged and
confidential. It is intended for the exclusive use of the designated
recipients named above. If you are not the intended recipient or if you
receive this e-mail in error, please delete it and immediately notify the
sender."
**********************************************************************
This e-mail including any attachments is provided for general information purposes only and does not constitute advice except to the addressee if expressly stated in this email. For the avoidance of doubt the contents of this email and any attachments are subject to contract and are not intended to and will not constitute a legally binding contract or any part of a legally binding contract.
The information contained in this email and any attachments is confidential. It is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution or copying of the message or associated attachments is strictly prohibited.
If you have received this e-mail in error, please notify user-36fa688b57c1@xymon.invalid and permanently delete the email and any attachments immediately from your system. You should not retain, copy or use this email or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you for your co-operation.
Neither RWE Systems UK Ltd nor any of the other companies in the RWE Group from whom this e-mail originates accept any responsibility for losses or damage as a result of any viruses and it is your responsibility to check attachments (if any) for viruses.
RWE Systems UK Ltd Registered office: Mistral, Westlea Campus, Chelmsford Road, Swindon, Wiltshire, SN5 7EZ. Registered in England and Wales: company number 6052966.
*******************************************
list Johan Boyé
▸
-----Message d'origine----- De : Morris, Chris (SS-IS) [mailto:user-d235f3ed1ca2@xymon.invalid] Envoyé : mardi 6 novembre 2007 15:54 À : 'user-ae9b8668bcde@xymon.invalid' Objet : RE: [hobbit] Hobbit CONN questions Well it depends whether you are using fping or hobbitping - try reading the man pages, which can be accessed from the Help menu of the web page. This tells you how many pings, what happens when the first ping fails, the timeout etc etc and yes it is configurable.
Thanks you for you answer but I still can figure out what do a "conn" exactly. Can you give the direct URL please ?
-----Original Message----- Hello again,I'm polishing a Hobbit installation. I would like to know how the Hobbit
▸
server handle the "conn" step. I guess it's a couple of ping, isn't it ?How it works when a first ping doesn't not respond? How many packet are sent each time? What is the time-out? Can we configure it?Thanks by advance for any informations related to this ;) Johan
"Les informations contenues dans ce message électronique peuvent être de nature confidentielles et soumises à une obligation de secret. Elles sont destinées à l'usage exclusif du réel destinataire. Si vous n'êtes pas le réel destinataire, ou si vous recevez ce message par erreur, merci de le détruire immédiatement et de le notifier à son émetteur."
▸
"The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender."
list Josh Luthman
It's very simple. Conn is a ping test - it pings your host (with one of two utilities). Example: 192.168.1.1 myrouter.domain.tld # This will ping 192.168.1.1 on every poll cycle and report to you via the web pages and email alerts if you've configured that in hobbit-alert.cfg
▸
On 11/8/07, user-08b3b26d089f@xymon.invalid <user-08b3b26d089f@xymon.invalid> wrote:-----Message d'origine----- De : Morris, Chris (SS-IS) [mailto:user-d235f3ed1ca2@xymon.invalid] Envoyé : mardi 6 novembre 2007 15:54 À : 'user-ae9b8668bcde@xymon.invalid' Objet : RE: [hobbit] Hobbit CONN questions Well it depends whether you are using fping or hobbitping - try reading the man pages, which can be accessed from the Help menu of the web page. This tells you how many pings, what happens when the first ping fails, the timeout etc etc and yes it is configurable.Thanks you for you answer but I still can figure out what do a "conn" exactly. Can you give the direct URL please ?-----Original Message----- Hello again, I'm polishing a Hobbit installation. I would like to know how the Hobbit server handle the "conn" step. I guess it's a couple of ping, isn't it ? How it works when a first ping doesn't not respond? How many packet are sent each time? What is the time-out? Can we configure it? Thanks by advance for any informations related to this ;) Johan"Les informations contenues dans ce message électronique peuvent être de nature confidentielles et soumises à une obligation de secret. Elles sont destinées à l'usage exclusif du réel destinataire. Si vous n'êtes pas le réel destinataire, ou si vous recevez ce message par erreur, merci de le détruire immédiatement et de le notifier à son émetteur." "The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender."
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Johan Boyé
-----Message d'origine----- De : Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid] Envoyé : jeudi 8 novembre 2007 17:20 À : user-ae9b8668bcde@xymon.invalid Objet : RE: [hobbit] RE: [Disarmed] Re: [hobbit] Hobbit CONN questions You may have to PURCHASE a tool if you want something to monitor ping response times, which are notoriously unreliable as an indicator of anything. GLH
Thanks for your answer but I don't really want to monitor the response times. I'm just wondering what triggers in the Hobbit code is used to make a RED ping status : - after just one no echo-reply each 5min ? - after a couple of no echo-reply ? How much ? - What is the timeout used to declare the host unreachable ? About smokeping : indeed, it looks very nice, I will check it out anyway ;)
▸
-----Original Message----- From: user-08b3b26d089f@xymon.invalid [mailto:user-08b3b26d089f@xymon.invalid] Sent: Thursday, November 08, 2007 10:12 AM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] RE: [Disarmed] Re: [hobbit] Hobbit CONN questions-----Message d'origine----- De : Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Envoyé : jeudi 8 novembre 2007 16:24 À : user-ae9b8668bcde@xymon.invalid Objet : [Disarmed] Re: [hobbit] Hobbit CONN questionsIt's very simple. Conn is a ping test - it pings your host (with one > of two utilities). Example:
192.168.1.1 <http://192.168.1.1>; myrouter.domain.tld # This will ping 192.168.1.1 <http://192.168.1.1>; on every poll cycle > and report to you via the web pages and email alerts if you've > configured that in hobbit-alert.cfgThat means it does just a ping & if the ping doesn't not reply, it will display an RED alert ? And if the ping make 200ms or 2000ms or 15000ms to answer ? Thanks youOn 11/8/07, user-08b3b26d089f@xymon.invalid
▸
<mailto:user-08b3b26d089f@xymon.invalid> <user-08b3b26d089f@xymon.invalid> wrote:-----Message d'origine-----De : Morris, Chris (SS-IS)[mailto:user-d235f3ed1ca2@xymon.invalid]Envoyé : mardi 6 novembre 2007 15:54 À : ' user-ae9b8668bcde@xymon.invalid' Objet : RE: [hobbit] Hobbit CONN questions Well it depends whether you are using fping or hobbitping - try reading the man pages, which can be accessed from the Help menu of the web > page. This tells you how many pings, what happens when the first ping fails, the timeout etc etc and yes it is configurable.Thanks you for you answer but I still can figure out what do a "conn" > exactly. Can you give the direct URL please ?-----Original Message----- Hello again, I'm polishing a Hobbit installation. I would like to know how the Hobbit server handle the "conn" step. I guess it's a couple of > > ping, isn't it ? How it works when a first ping doesn't not respond? How many packet are sent each time? What is the time-out? Can we configure it? Thanks by advance for any informations related > to this ;) > > > Johan"Les informations contenues dans ce message électronique peuvent être > de nature confidentielles et soumises à une obligation de secret. Elles sont destinées à l'usage exclusif du réel destinataire. Si vous > n'êtes pas le réel destinataire, ou si vous recevez ce message par > erreur, merci de le détruire immédiatement et de le notifier à son > émetteur." "The information contained in this e-mail may be privileged and > confidential. It is intended for the exclusive use of the designated > recipients named above. If you are not the intended recipient or if > you receive this e-mail in error, please delete it and immediately > notify the sender."--Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXXThose who don't understand UNIX are condemned to reinvent it, poorly.--- Henry Spencer
list Henrik Størner
▸
On Fri, Nov 09, 2007 at 08:14:32AM +0100, user-08b3b26d089f@xymon.invalid wrote:
I'm just wondering what triggers in the Hobbit code is used to make a RED ping status : - after just one no echo-reply each 5min ? - after a couple of no echo-reply ? How much ? - What is the timeout used to declare the host unreachable ?
It goes red when the ping utility that is used (fping or hobbitping) says that the host did not respond. How many pings are sent and what the timeouts are is decided by the ping tool; see their man-pages for details. You can tune this through commandline options for the ping tool, these go into the FPINGCMD setting in hobbitserver.cfg Henrik
list Johan Boyé
▸
-----Message d'origine----- De : Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Envoyé : vendredi 9 novembre 2007 08:23 À : user-ae9b8668bcde@xymon.invalid Objet : Re: RE: Re: [hobbit] Hobbit CONN questions On Fri, Nov 09, 2007 at 08:14:32AM +0100, user-08b3b26d089f@xymon.invalid wrote:I'm just wondering what triggers in the Hobbit code is used to make a RED ping status : > - after just one no echo-reply each 5min ? - after a couple of no echo-reply ? How much ? - What is the timeout used to declare the host unreachable ?It goes red when the ping utility that is used (fping or hobbitping) says that the host did not respond. How many pings are sent and what the timeouts are is decided by the ping tool; see their man-pages for details. You can tune this through commandline options for the ping tool, these go into the FPINGCMD setting in hobbitserver.cfg Henrik
Got it, options must be put in the hobbitserver.cfg. Thanks for the info!
▸
"Les informations contenues dans ce message électronique peuvent être de nature confidentielles et soumises à une obligation de secret. Elles sont destinées à l'usage exclusif du réel destinataire. Si vous n'êtes pas le réel destinataire, ou si vous recevez ce message par erreur, merci de le détruire immédiatement et de le notifier à son émetteur."
"The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender."
list Josh Luthman
Concerning fping options, I have some RRD graphs that show enormous pings to some of our customer's (upwards of 800ms) because as the radio doesn't pass any traffic it sits there and when someone first looks for it, it acts kind of dumb. What delegates how often the FPING command is issued? I'm not looking for the arguments for fping itself, but rather how hobbitd kicks fping into gear. I would like to increase the rate of the pings and see if that helps. I'm running a continuous ping over night to see if that changes the graph or if it really does spike to that outrageous height. Josh
▸
On 11/9/07, user-08b3b26d089f@xymon.invalid <user-08b3b26d089f@xymon.invalid> wrote:-----Message d'origine----- De : Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Envoyé : vendredi 9 novembre 2007 08:23 À : user-ae9b8668bcde@xymon.invalid Objet : Re: RE: Re: [hobbit] Hobbit CONN questions On Fri, Nov 09, 2007 at 08:14:32AM +0100, user-08b3b26d089f@xymon.invalid wrote:I'm just wondering what triggers in the Hobbit code is used to make a RED ping status : - after just one no echo-reply each 5min ? - after a couple of no echo-reply ? How much ? - What is the timeout used to declare the host unreachable ?It goes red when the ping utility that is used (fping or hobbitping) says that the host did not respond. How many pings are sent and what the timeouts are is decided by the ping tool; see their man-pages for details. You can tune this through commandline options for the ping tool, these go into the FPINGCMD setting in hobbitserver.cfg HenrikGot it, options must be put in the hobbitserver.cfg. Thanks for the info! "Les informations contenues dans ce message électronique peuvent être de nature confidentielles et soumises à une obligation de secret. Elles sont destinées à l'usage exclusif du réel destinataire. Si vous n'êtes pas le réel destinataire, ou si vous recevez ce message par erreur, merci de le détruire immédiatement et de le notifier à son émetteur." "The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender."
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Greg L Hubbard
Don't forget the ARP protocol -- if a destination is not in the local system's ARP cache, the lower layer code in the IP stack discards the first packet and generates an ARP broadcast. The assumption (I guess) is that the discarded packet will be retransmitted. You might look for the "knobs" on fping to control timeouts and retry counts. GLH
▸
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Wednesday, November 21, 2007 1:13 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: RE: Re: [hobbit] Hobbit CONN questions
Concerning fping options, I have some RRD graphs that show enormous pings to some of our customer's (upwards of 800ms) because as the radio doesn't pass any traffic it sits there and when someone first looks for it, it acts kind of dumb.
What delegates how often the FPING command is issued? I'm not looking for the arguments for fping itself, but rather how hobbitd kicks fping into gear.
I would like to increase the rate of the pings and see if that helps. I'm running a continuous ping over night to see if that changes the graph or if it really does spike to that outrageous height.
Josh
On 11/9/07, user-08b3b26d089f@xymon.invalid <user-08b3b26d089f@xymon.invalid > wrote: -----Message d'origine----- De : Henrik Stoerner [mailto: user-ce4a2c883f75@xymon.invalid] Envoyé : vendredi 9 novembre 2007 08:23 À : user-ae9b8668bcde@xymon.invalid Objet : Re: RE: Re: [hobbit] Hobbit CONN questions > On Fri, Nov 09, 2007 at 08:14:32AM +0100, user-08b3b26d089f@xymon.invalid wrote:I'm just wondering what triggers in the Hobbit code is used to make a RED ping status : - after just one no echo-reply each 5min ? - after a couple of no echo-reply ? How much ? - What is the timeout used to declare the host unreachable ? >It goes red when the ping utility that is used (fping or hobbitping) says that the host did not respond. How many pings are sent and what the timeouts are is decided by the ping tool; see their man-pages for > details. You can tune this through commandline options for the ping tool, these go into the FPINGCMD setting in hobbitserver.cfg Henrik
Got it, options must be put in the hobbitserver.cfg . Thanks for the info! "Les informations contenues dans ce message électronique peuvent être de nature confidentielles et soumises à une obligation de secret. Elles sont destinées à l'usage exclusif du réel destinataire. Si vous n'êtes pas le réel destinataire, ou si vous recevez ce message par erreur, merci de le détruire immédiatement et de le notifier à son émetteur." "The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender." -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Josh Luthman
ARP can't be the problem - ARP will cache the result for 2 minutes and clear it if unused. If the result is used and is valid again within the 2 minutes, it is cached for 10 minutes. Hobbit polls every 30-45 seconds so ARP is not a problem. Having switch from using hobbitping to fping I think the graphs are going to look far superior now. Things on the same switch are no longer 30ms but 1ms =) I now understand why there are warnings not to use hobbitping, but I don't understand how the command line is getting such normal results while the graphs are getting such high results. Does anyone know why this is? Josh
▸
On 11/22/07, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:Don't forget the ARP protocol -- if a destination is not in the local system's ARP cache, the lower layer code in the IP stack discards the first packet and generates an ARP broadcast. The assumption (I guess) is that the discarded packet will be retransmitted. You might look for the "knobs" on fping to control timeouts and retry counts. GLH *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Wednesday, November 21, 2007 1:13 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: RE: Re: [hobbit] Hobbit CONN questions Concerning fping options, I have some RRD graphs that show enormous pings to some of our customer's (upwards of 800ms) because as the radio doesn't pass any traffic it sits there and when someone first looks for it, it acts kind of dumb. What delegates how often the FPING command is issued? I'm not looking for the arguments for fping itself, but rather how hobbitd kicks fping into gear. I would like to increase the rate of the pings and see if that helps. I'm running a continuous ping over night to see if that changes the graph or if it really does spike to that outrageous height. Josh On 11/9/07, user-08b3b26d089f@xymon.invalid <user-08b3b26d089f@xymon.invalid > wrote:-----Message d'origine----- De : Henrik Stoerner [mailto: user-ce4a2c883f75@xymon.invalid] Envoyé : vendredi 9 novembre 2007 08:23 À : user-ae9b8668bcde@xymon.invalid Objet : Re: RE: Re: [hobbit] Hobbit CONN questions On Fri, Nov 09, 2007 at 08:14:32AM +0100, user-08b3b26d089f@xymon.invalid wrote:I'm just wondering what triggers in the Hobbit code is used to make a RED ping status : - after just one no echo-reply each 5min ? - after a couple of no echo-reply ? How much ? - What is the timeout used to declare the host unreachable ?It goes red when the ping utility that is used (fping or hobbitping) says that the host did not respond. How many pings are sent and what the timeouts are is decided by the ping tool; see their man-pages for details. You can tune this through commandline options for the ping tool, these go into the FPINGCMD setting in hobbitserver.cfg HenrikGot it, options must be put in the hobbitserver.cfg . Thanks for the info! "Les informations contenues dans ce message électronique peuvent être de nature confidentielles et soumises à une obligation de secret. Elles sont destinées à l'usage exclusif du réel destinataire. Si vous n'êtes pas le réel destinataire, ou si vous recevez ce message par erreur, merci de le détruire immédiatement et de le notifier à son émetteur." "The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender."-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Greg L Hubbard
"Hobbit polls every 30 - 45 seconds" -- really? How did you measure this?
▸
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Thursday, November 22, 2007 6:03 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: RE: Re: [hobbit] Hobbit CONN questions
ARP can't be the problem - ARP will cache the result for 2 minutes and clear it if unused. If the result is used and is valid again within the 2 minutes, it is cached for 10 minutes. Hobbit polls every 30-45 seconds so ARP is not a problem.
Having switch from using hobbitping to fping I think the graphs are going to look far superior now. Things on the same switch are no longer 30ms but 1ms =)
I now understand why there are warnings not to use hobbitping, but I don't understand how the command line is getting such normal results while the graphs are getting such high results. Does anyone know why this is?
Josh
On 11/22/07, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:
Don't forget the ARP protocol -- if a destination is not in the local system's ARP cache, the lower layer code in the IP stack discards the first packet and generates an ARP broadcast. The assumption (I guess) is that the discarded packet will be retransmitted. You might look for the "knobs" on fping to control timeouts and retry counts.
GLH
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Wednesday, November 21, 2007 1:13 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: RE: Re: [hobbit] Hobbit CONN questions
Concerning fping options, I have some RRD graphs that show enormous pings to some of our customer's (upwards of 800ms) because as the radio doesn't pass any traffic it sits there and when someone first looks for it, it acts kind of dumb.
What delegates how often the FPING command is issued? I'm not looking for the arguments for fping itself, but rather how hobbitd kicks fping into gear.
I would like to increase the rate of the pings and see if that helps. I'm running a continuous ping over night to see if that changes the graph or if it really does spike to that outrageous height.
Josh
On 11/9/07, user-08b3b26d089f@xymon.invalid < user-08b3b26d089f@xymon.invalid > wrote: -----Message d'origine----- De : Henrik Stoerner [mailto: user-ce4a2c883f75@xymon.invalid] Envoyé : vendredi 9 novembre 2007 08:23 À : user-ae9b8668bcde@xymon.invalid Objet : Re: RE: Re: [hobbit] Hobbit CONN questions > On Fri, Nov 09, 2007 at 08:14:32AM +0100, user-08b3b26d089f@xymon.invalid wrote:I'm just wondering what triggers in the Hobbit code is used to make a RED ping status : - after just one no echo-reply each 5min ? - after a couple of no echo-reply ? How much ? - What is the timeout used to declare the host unreachable ? >It goes red when the ping utility that is used (fping or hobbitping) says that the host did not respond. How many pings are sent and what the timeouts are is decided by the ping tool; see their man-pages for > details. You can tune this through commandline options for the ping tool, these go into the FPINGCMD setting in hobbitserver.cfg Henrik
Got it, options must be put in the hobbitserver.cfg . Thanks for the info! "Les informations contenues dans ce message électronique peuvent être de nature confidentielles et soumises à une obligation de secret. Elles sont destinées à l'usage exclusif du réel destinataire. Si vous n'êtes pas le réel destinataire, ou si vous recevez ce message par erreur, merci de le détruire immédiatement et de le notifier à son émetteur." "The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender." -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Josh Luthman
Two hints: 1) When a host goes red, it always goes green after 28-32 seconds or 43-46 seconds. 2) When a host is red divide the number of seconds it has been unchanged by the amount of polls. You'll never get a a remainder greater then a minute.
▸
On 11/22/07, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:"Hobbit polls every 30 - 45 seconds" -- really? How did you measure this? *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Thursday, November 22, 2007 6:03 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: RE: Re: [hobbit] Hobbit CONN questions ARP can't be the problem - ARP will cache the result for 2 minutes and clear it if unused. If the result is used and is valid again within the 2 minutes, it is cached for 10 minutes. Hobbit polls every 30-45 seconds so ARP is not a problem. Having switch from using hobbitping to fping I think the graphs are going to look far superior now. Things on the same switch are no longer 30ms but 1ms =) I now understand why there are warnings not to use hobbitping, but I don't understand how the command line is getting such normal results while the graphs are getting such high results. Does anyone know why this is? Josh On 11/22/07, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:Don't forget the ARP protocol -- if a destination is not in the local system's ARP cache, the lower layer code in the IP stack discards the first packet and generates an ARP broadcast. The assumption (I guess) is that the discarded packet will be retransmitted. You might look for the "knobs" on fping to control timeouts and retry counts. GLH *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Wednesday, November 21, 2007 1:13 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: RE: Re: [hobbit] Hobbit CONN questions Concerning fping options, I have some RRD graphs that show enormous pings to some of our customer's (upwards of 800ms) because as the radio doesn't pass any traffic it sits there and when someone first looks for it, it acts kind of dumb. What delegates how often the FPING command is issued? I'm not looking for the arguments for fping itself, but rather how hobbitd kicks fping into gear. I would like to increase the rate of the pings and see if that helps. I'm running a continuous ping over night to see if that changes the graph or if it really does spike to that outrageous height. Josh On 11/9/07, user-08b3b26d089f@xymon.invalid < user-08b3b26d089f@xymon.invalid > wrote:-----Message d'origine----- De : Henrik Stoerner [mailto: user-ce4a2c883f75@xymon.invalid] Envoyé : vendredi 9 novembre 2007 08:23 À : user-ae9b8668bcde@xymon.invalid Objet : Re: RE: Re: [hobbit] Hobbit CONN questions On Fri, Nov 09, 2007 at 08:14:32AM +0100, user-08b3b26d089f@xymon.invalid wrote:I'm just wondering what triggers in the Hobbit code is used to make a RED ping status : - after just one no echo-reply each 5min ? - after a couple of no echo-reply ? How much ? - What is the timeout used to declare the host unreachable ?It goes red when the ping utility that is used (fping or hobbitping) says that the host did not respond. How many pings are sent and what the timeouts are is decided by the ping tool; see their man-pages for details. You can tune this through commandline options for the ping tool, these go into the FPINGCMD setting in hobbitserver.cfg HenrikGot it, options must be put in the hobbitserver.cfg . Thanks for the info! "Les informations contenues dans ce message électronique peuvent être de nature confidentielles et soumises à une obligation de secret. Elles sont destinées à l'usage exclusif du réel destinataire. Si vous n'êtes pas le réel destinataire, ou si vous recevez ce message par erreur, merci de le détruire immédiatement et de le notifier à son émetteur." "The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender."-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Ralph Mitchell
▸
On Nov 22, 2007 6:10 PM, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:
"Hobbit polls every 30 - 45 seconds" -- really? How did you measure this?
Don't some tests get queued up to retry if they fail?? I think the retry happens after 1 minute, but I don't have a Hobbit handy to check that. Ralph Mitchell
list Josh Luthman
I actually just saw one a few minutes ago where it was red for 7 secondsthen went right back to green!
▸
On 11/23/07, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid> wrote:On Nov 22, 2007 6:10 PM, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:"Hobbit polls every 30 - 45 seconds" -- really? How did you measure this?Don't some tests get queued up to retry if they fail?? I think the retry happens after 1 minute, but I don't have a Hobbit handy to check that. Ralph Mitchell
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Greg L Hubbard
Why don't you try a tcpdump or snoop against a specific host and see what is going on? I think you are being misled by these measurements. If I remember the code, the Hobbit pinger tries once every minute. It also will retry a few times if there is a failure. If it decides to put "conn" into a red state, it then starts polling every minute (instead of five minutes) for 30 minutes. I think this was done to shorten the down times for ping tests. After 30 minutes, the pinger reverts to its normal cycle.
▸
GLH
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Thursday, November 22, 2007 6:18 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: RE: Re: [hobbit] Hobbit CONN questions
Two hints:
1) When a host goes red, it always goes green after 28-32 seconds or 43-46 seconds.
2) When a host is red divide the number of seconds it has been unchanged by the amount of polls. You'll never get a a remainder greater then a minute.
On 11/22/07, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:
"Hobbit polls every 30 - 45 seconds" -- really? How did you measure this?
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Thursday, November 22, 2007 6:03 PM
To: user-ae9b8668bcde@xymon.invalid Subject: Re: RE: Re: [hobbit] Hobbit CONN questions
ARP can't be the problem - ARP will cache the result for 2 minutes and clear it if unused. If the result is used and is valid again within the 2 minutes, it is cached for 10 minutes. Hobbit polls every 30-45 seconds so ARP is not a problem.
Having switch from using hobbitping to fping I think the graphs are going to look far superior now. Things on the same switch are no longer 30ms but 1ms =)
I now understand why there are warnings not to use hobbitping, but I don't understand how the command line is getting such normal results while the graphs are getting such high results. Does anyone know why this is?
Josh
On 11/22/07, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:
Don't forget the ARP protocol -- if a destination is not in the local system's ARP cache, the lower layer code in the IP stack discards the first packet and generates an ARP broadcast. The assumption (I guess) is that the discarded packet will be retransmitted. You might look for the "knobs" on fping to control timeouts and retry counts.
GLH
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Wednesday, November 21, 2007 1:13 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: RE: Re: [hobbit] Hobbit CONN questions
Concerning fping options, I have some RRD graphs that show enormous pings to some of our customer's (upwards of 800ms) because as the radio doesn't pass any traffic it sits there and when someone first looks for it, it acts kind of dumb.
What delegates how often the FPING command is issued? I'm not looking for the arguments for fping itself, but rather how hobbitd kicks fping into gear.
I would like to increase the rate of the pings and see if that helps. I'm running a continuous ping over night to see if that changes the graph or if it really does spike to that outrageous height.
Josh
On 11/9/07, user-08b3b26d089f@xymon.invalid < user-08b3b26d089f@xymon.invalid > wrote: -----Message d'origine----- De : Henrik Stoerner [mailto: user-ce4a2c883f75@xymon.invalid] Envoyé : vendredi 9 novembre 2007 08:23 À : user-ae9b8668bcde@xymon.invalid Objet : Re: RE: Re: [hobbit] Hobbit CONN questions > On Fri, Nov 09, 2007 at 08:14:32AM +0100, user-08b3b26d089f@xymon.invalid wrote:I'm just wondering what triggers in the Hobbit code is used to make a RED ping status : - after just one no echo-reply each 5min ? - after a couple of no echo-reply ? How much ? - What is the timeout used to declare the host unreachable ? >It goes red when the ping utility that is used (fping or hobbitping) says that the host did not respond. How many pings are sent and what the timeouts are is decided by the ping tool; see their man-pages for > details. You can tune this through commandline options for the ping tool, these go into the FPINGCMD setting in hobbitserver.cfg Henrik
Got it, options must be put in the hobbitserver.cfg . Thanks for the info! "Les informations contenues dans ce message électronique peuvent être de nature confidentielles et soumises à une obligation de secret. Elles sont destinées à l'usage exclusif du réel destinataire. Si vous n'êtes pas le réel destinataire, ou si vous recevez ce message par erreur, merci de le détruire immédiatement et de le notifier à son émetteur." "The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender." -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Josh Luthman
On a free weekend, I will do that to be sure =) Another piece of evidence that supports my theory is that if I root through the full history of the hosts I find a lot of ~30 second red durations in the middle of the green ones.
▸
On 11/25/07, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:Why don't you try a tcpdump or snoop against a specific host and see what is going on? I think you are being misled by these measurements. If I remember the code, the Hobbit pinger tries once every minute. It also will retry a few times if there is a failure. If it decides to put "conn" into a red state, it then starts polling every minute (instead of five minutes) for 30 minutes. I think this was done to shorten the down times for ping tests. After 30 minutes, the pinger reverts to its normal cycle. GLH *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Thursday, November 22, 2007 6:18 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: RE: Re: [hobbit] Hobbit CONN questions Two hints: 1) When a host goes red, it always goes green after 28-32 seconds or 43-46 seconds. 2) When a host is red divide the number of seconds it has been unchanged by the amount of polls. You'll never get a a remainder greater then a minute. On 11/22/07, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:"Hobbit polls every 30 - 45 seconds" -- really? How did you measure this? *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Thursday, November 22, 2007 6:03 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: RE: Re: [hobbit] Hobbit CONN questions ARP can't be the problem - ARP will cache the result for 2 minutes and clear it if unused. If the result is used and is valid again within the 2 minutes, it is cached for 10 minutes. Hobbit polls every 30-45 seconds so ARP is not a problem. Having switch from using hobbitping to fping I think the graphs are going to look far superior now. Things on the same switch are no longer 30ms but 1ms =) I now understand why there are warnings not to use hobbitping, but I don't understand how the command line is getting such normal results while the graphs are getting such high results. Does anyone know why this is? Josh On 11/22/07, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:Don't forget the ARP protocol -- if a destination is not in the local system's ARP cache, the lower layer code in the IP stack discards the first packet and generates an ARP broadcast. The assumption (I guess) is that the discarded packet will be retransmitted. You might look for the "knobs" on fping to control timeouts and retry counts. GLH *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Wednesday, November 21, 2007 1:13 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: RE: Re: [hobbit] Hobbit CONN questions Concerning fping options, I have some RRD graphs that show enormous pings to some of our customer's (upwards of 800ms) because as the radio doesn't pass any traffic it sits there and when someone first looks for it, it acts kind of dumb. What delegates how often the FPING command is issued? I'm not looking for the arguments for fping itself, but rather how hobbitd kicks fping into gear. I would like to increase the rate of the pings and see if that helps. I'm running a continuous ping over night to see if that changes the graph or if it really does spike to that outrageous height. Josh On 11/9/07, user-08b3b26d089f@xymon.invalid < user-08b3b26d089f@xymon.invalid > wrote:-----Message d'origine----- De : Henrik Stoerner [mailto: user-ce4a2c883f75@xymon.invalid] Envoyé : vendredi 9 novembre 2007 08:23 À : user-ae9b8668bcde@xymon.invalid Objet : Re: RE: Re: [hobbit] Hobbit CONN questions On Fri, Nov 09, 2007 at 08:14:32AM +0100, user-08b3b26d089f@xymon.invalid wrote:I'm just wondering what triggers in the Hobbit code is used to make a RED ping status : - after just one no echo-reply each 5min ? - after a couple of no echo-reply ? How much ? - What is the timeout used to declare the host unreachable ?It goes red when the ping utility that is used (fping or hobbitping) says that the host did not respond. How many pings are sent and what the timeouts are is decided by the ping tool; see their man-pages for details. You can tune this through commandline options for the ping tool, these go into the FPINGCMD setting in hobbitserver.cfg HenrikGot it, options must be put in the hobbitserver.cfg . Thanks for the info! "Les informations contenues dans ce message électronique peuvent être de nature confidentielles et soumises à une obligation de secret. Elles sont destinées à l'usage exclusif du réel destinataire. Si vous n'êtes pas le réel destinataire, ou si vous recevez ce message par erreur, merci de le détruire immédiatement et de le notifier à son émetteur." "The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender."-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer