check_snmp default timeout incorrect in --help output (#1318)

jyoung15 notifications at
Tue Jan 20 14:25:41 CET 2015

running check_snmp -h shows the following

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

In check_snmp.c, this comes from DEFAULT_SOCKET_TIMEOUT:


However the actual timeout is defined in DEFAULT_TIMEOUT (which is 1 second,
not 10)

    timeout_interval = DEFAULT_TIMEOUT;

Reply to this email on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list