[Pkg-net-snmp-devel] Bug#898197: snmpcheck isn't working with `snmpwalk'
Raphael Hertzog
hertzog at debian.org
Tue May 8 21:35:17 BST 2018
Control: reassign -1 snmp 5.7.3+dfsg-1.8
On Tue, 08 May 2018, g0tmi1k wrote:
> Package: snmpcheck
> Version: 1.9-0kali1
That's the not the correct package and not the correct version, reassigning.
> snmpcheck isn’t using snmpwalk correctly.
> I believe its missing calling ‘-c’.
Can you post send your bug report to the upstream developers on
sourceforge?
https://sourceforge.net/p/net-snmp/bugs/
Thank you.
> I believe the following patch fixes the issue:
>
> ```
> $ git diff
> diff --git a/snmpcheck b/snmpcheck
> index a69e640..2df103f 100755
> --- a/snmpcheck
> +++ b/snmpcheck
> @@ -27,8 +27,8 @@ $mibupdateconfig="$mibheadall.100.VERUPDATECONFIG";
> '.10.1' => 1,
> '.101' => 1);
> $errlog="/net/tyfon/1/OV/log/ece-log";
> -$default_get_args = "-v 1 %s private";
> -$default_set_args = "-v 1 %s private";
> +$default_get_args = "-v 1 -c private %s";
> +$default_set_args = "-v 1 -c private %s";
> $andlog=0;
> $snmppath="/usr/bin";
> $eraseline="
> \r";
> $
> ```
>
>
> - - -
>
> Kali Linux Bug Report: https://bugs.kali.org/view.php?id=4655
>
>
>
>
--
Raphaël Hertzog ◈ Debian Developer
Support Debian LTS: https://www.freexian.com/services/debian-lts.html
Learn to master Debian: https://debian-handbook.info/get/
More information about the Pkg-net-snmp-devel
mailing list