SNMP frontend table fix: handler called with heartrate, return 0

This commit is contained in:
Olof hagsand 2022-05-08 17:37:11 +02:00
parent f5d9f7226c
commit 63c5846091
3 changed files with 8 additions and 6 deletions

View file

@ -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

View file

@ -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