Merge branch 'snmp' of github.com:clicon/clixon into snmp

This commit is contained in:
Olof hagsand 2022-06-26 11:51:08 +02:00
commit d82d08b4ac

View file

@ -60,7 +60,6 @@ module clixon-example{
import ENTITY-MIB {
prefix "entity-mib";
}
deviation "/clixon-types:CLIXON-TYPES-MIB" {
deviate replace {
config true;
@ -198,6 +197,7 @@ function testrun()
else
echo "$snmpset $oid $set_type $value"
expectpart "$($snmpset $oid $set_type $value)" 0 "$type: $value2"
fi
new "Check $name via SNMP"
if [ $type == "STRING" ]; then