[Nagiosplug-devel] [check_snmp] : Default timeout, not ten but one second

Frédéric Royau royau.frederic at sigmap.msa.fr
Mon Jun 10 16:02:00 CEST 2013


Hi,

It appears that the actual default timeout is not ten seconds, as shown 
in the help page :

  -t, --timeout=INTEGER
     Seconds before connection times out (default: 10)


but one second, as shown in the source code :


check_snmp.c (nagios-plugins v1.4.16) :

#define DEFAULT_TIMEOUT 1


Either adjust code or help page.

Regards.
-------------- next part --------------


Ce message est prot?g? par les r?gles relatives au secret des correspondances. Il est donc ?tabli ? destination exclusive de son destinataire. Celui-ci peut donc contenir des informations confidentielles. La divulgation de ces informations est ? ce titre rigoureusement interdite. Si vous avez re?u ce message par erreur, merci de le renvoyer ? l'exp?diteur dont l'adresse e-mail figure ci-dessus et de d?truire le message ainsi que toute pi?ce jointe.

This message is protected by the secrecy of correspondence rules. Therefore, this message is intended solely for the attention of the addressee. This message may contain privileged or confidential information, as such the disclosure of these informations is strictly forbidden. If, by mistake, you have received this message, please return this message to the addressser whose e-mail address is written above and destroy this message and all files attached.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nagios-plugins.org/archive/devel/attachments/20130610/56ee0b77/attachment.html>


More information about the Devel mailing list