Public bug reported:

The plugin check_snmp_win.pl doesn't honor the timeout (-t) parameter.
If you enter a number right after -t it is saved in $o_timeout, however
this variable is not used later on in the script.

Here is an example:

root@icinga:/usr/lib/nagios/plugins# ./check_snmp_win.pl -v -H 10.99.99.6 -C 
public -n "foobar" -t 5
Alarm at 15
5000
^C
root@icinga:/usr/lib/nagios/plugins# ./check_snmp_win.pl -v -H 10.99.99.6 -C 
public -n "foobar" -t 20
Alarm at 15
5000
^C

A patch to fix the issue is attached to this bug report.

The solution to this problem was found here: http://www.nagios-
portal.org/wbb/index.php?page=Thread&postID=162987#post162987 (Text is
in German)

Just let me know if you want me to do more tests or if you need more
infos.

** Affects: nagios-snmp-plugins (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1003291

Title:
  check_snmp_win.pl doesn't honor timeout parameter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-snmp-plugins/+bug/1003291/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to