Merge branch 'snmp' of github.com:clicon/clixon into snmp
This commit is contained in:
commit
d82d08b4ac
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,6 @@ module clixon-example{
|
||||||
import ENTITY-MIB {
|
import ENTITY-MIB {
|
||||||
prefix "entity-mib";
|
prefix "entity-mib";
|
||||||
}
|
}
|
||||||
|
|
||||||
deviation "/clixon-types:CLIXON-TYPES-MIB" {
|
deviation "/clixon-types:CLIXON-TYPES-MIB" {
|
||||||
deviate replace {
|
deviate replace {
|
||||||
config true;
|
config true;
|
||||||
|
|
@ -198,6 +197,7 @@ function testrun()
|
||||||
else
|
else
|
||||||
echo "$snmpset $oid $set_type $value"
|
echo "$snmpset $oid $set_type $value"
|
||||||
expectpart "$($snmpset $oid $set_type $value)" 0 "$type: $value2"
|
expectpart "$($snmpset $oid $set_type $value)" 0 "$type: $value2"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
new "Check $name via SNMP"
|
new "Check $name via SNMP"
|
||||||
if [ $type == "STRING" ]; then
|
if [ $type == "STRING" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue