Xymon Mailing List Archive search

Xymon timeout question, tasks.cfg

3 messages in this thread

list Theodore A -fs Wilcox · Fri, 26 Sep 2014 18:05:05 +0000 ·
I have a question about the timeout for Xymonnet in tasks.cfg.  The instructions say that the command line for changing the timeout is "-timeout=N".  Can "N" be a decimal?  We would like to set the timeout to be less than 1 second.  I would like to put in something like "-Timeout=.3".  Will that work?

Ted


This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.
list Steve Coile · Fri, 26 Sep 2014 15:42:27 -0400 ·
You can always try.  I recommend including a leading zero (e.g. 0.3 instead
of .3).


-- 

*Steve Coile*Senior Network and Systems Engineer, McClatchy Interactive
<http://www.mcclatchyinteractive.com/>;
Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX

On Fri, Sep 26, 2014 at 2:05 PM, Wilcox, Theodore A -FS <user-956989af94d8@xymon.invalid>
quoted from Theodore A -fs Wilcox
wrote:
 I have a question about the timeout for Xymonnet in tasks.cfg.  The
instructions say that the command line for changing the timeout is
“—timeout=N”.  Can “N” be a decimal?  We would like to set the timeout to
be less than 1 second.  I would like to put in something like
“—Timeout=.3”.  Will that work?


Ted


This electronic message contains information generated by the USDA solely
for the intended recipients. Any unauthorized interception of this message
or the use or disclosure of the information it contains may violate the law
and subject the violator to civil or criminal penalties. If you believe you
have received this message in error, please notify the sender and delete
the email immediately.

list Jeremy Laidman · Sat, 27 Sep 2014 05:53:56 +1000 ·
On Sep 27, 2014 5:40 AM, "Wilcox, Theodore A -FS" <user-956989af94d8@xymon.invalid>
quoted from Steve Coile
wrote:
I have a question about the timeout for Xymonnet in tasks.cfg.  The
instructions say that the command line for changing the timeout is
“—timeout=N”.  Can “N” be a decimal?  We would like to set the timeout to
be less than 1 second.  I would like to put in something like
“—Timeout=.3”.  Will that work?

Alas no. The code assumes an integer.

J