SNMP frontend table fix: handler called with heartrate, return 0
This commit is contained in:
parent
f5d9f7226c
commit
63c5846091
3 changed files with 8 additions and 6 deletions
|
|
@ -48,6 +48,11 @@ module clixon-example{
|
|||
import NET-SNMP-EXAMPLES-MIB {
|
||||
prefix "net-snmp-examples";
|
||||
}
|
||||
deviation "/net-snmp-examples:NET-SNMP-EXAMPLES-MIB" {
|
||||
deviate replace {
|
||||
config true;
|
||||
}
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ cat <<EOF > $cfg
|
|||
<CLICON_BACKEND_PIDFILE>/var/tmp/$APPNAME.pidfile</CLICON_BACKEND_PIDFILE>
|
||||
<CLICON_XMLDB_DIR>$dir</CLICON_XMLDB_DIR>
|
||||
<CLICON_SNMP_AGENT_SOCK>unix:$SOCK</CLICON_SNMP_AGENT_SOCK>
|
||||
<!--CLICON_SNMP_MIB>NET-SNMP-EXAMPLES-MIB</CLICON_SNMP_MIB-->
|
||||
<CLICON_SNMP_MIB>NET-SNMP-EXAMPLES-MIB</CLICON_SNMP_MIB>
|
||||
</clixon-config>
|
||||
EOF
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue