snmp getpwuid leak

This commit is contained in:
Olof hagsand 2024-10-27 11:35:50 +01:00
parent 73129b96d9
commit 947128339c
2 changed files with 38 additions and 1 deletions

View file

@ -231,7 +231,7 @@ if $SNMPCHECK; then
snmpgetnextstr="$(type -p snmpgetnext) -c public -v2c localhost "
if [ $valgrindtest -ne 0 ]; then
# To avoid "Timeout: No Response from localhost" from netsnmp/snmpd set timeout to 10s
snmptable="$(type -p snmptable) -c public -v2c localhost -t 10 "
snmptable="$(type -p snmptable) -c public -t 10 -v2c localhost "
snmpwalk="$(type -p snmpwalk) -c public -t 10 -v2c localhost "
else
snmptable="$(type -p snmptable) -c public -v2c localhost "