Fixed: [unneeded trailing zero character on SNMP strings](https://github.com/clicon/clixon/issues/367)
This commit is contained in:
parent
4a5e0c1832
commit
954e5d56fd
4 changed files with 13 additions and 10 deletions
|
|
@ -217,19 +217,19 @@ expectpart "$($snmptable $OID_ORTABLE)" 0 ".*Entry 2 description.*" "IF-MIB::ifT
|
|||
expectpart "$($snmptable $NAME_ORTABLE)" 0 ".*Entry 1 description.*" "IP-MIB::ip" "1:7:10:33.44"
|
||||
expectpart "$($snmptable $NAME_ORTABLE)" 0 ".*Entry 2 description.*" "IF-MIB::ifTable" "129:20:58:31.11"
|
||||
|
||||
new "Walk the tabbles..."
|
||||
expectpart "$($snmpwalkstr system)" 0 "SNMPv2-MIB::sysDescr = STRING: System description." \
|
||||
new "Walk the tables..."
|
||||
expectpart "$($snmpwalkstr system)" 0 "SNMPv2-MIB::sysDescr = STRING: System description" \
|
||||
"SNMPv2-MIB::sysUpTime = Timeticks: (11223344) 1 day, 7:10:33.44" \
|
||||
"SNMPv2-MIB::sysContact = STRING: clixon@clicon.com." \
|
||||
"SNMPv2-MIB::sysName = STRING: Test." \
|
||||
"SNMPv2-MIB::sysLocation = STRING: Clixon HQ." \
|
||||
"SNMPv2-MIB::sysContact = STRING: clixon@clicon.com" \
|
||||
"SNMPv2-MIB::sysName = STRING: Test" \
|
||||
"SNMPv2-MIB::sysLocation = STRING: Clixon HQ" \
|
||||
"SNMPv2-MIB::sysServices = INTEGER: 72" \
|
||||
"SNMPv2-MIB::sysORIndex.1 = INTEGER: 1" \
|
||||
"SNMPv2-MIB::sysORIndex.2 = INTEGER: 2" \
|
||||
"SNMPv2-MIB::sysORID.1 = OID: IP-MIB::ip" \
|
||||
"SNMPv2-MIB::sysORID.2 = OID: IF-MIB::ifTable" \
|
||||
"SNMPv2-MIB::sysORDescr.1 = STRING: Entry 1 description." \
|
||||
"SNMPv2-MIB::sysORDescr.2 = STRING: Entry 2 description." \
|
||||
"SNMPv2-MIB::sysORDescr.1 = STRING: Entry 1 description" \
|
||||
"SNMPv2-MIB::sysORDescr.2 = STRING: Entry 2 description" \
|
||||
"SNMPv2-MIB::sysORUpTime.1 = Timeticks: (11223344) 1 day, 7:10:33.44" \
|
||||
"SNMPv2-MIB::sysORUpTime.2 = Timeticks: (1122111111) 129 days, 20:58:31.11"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue