| #!/bin/sh |
| # |
| # SNMPv3 USM config for snmptrapd |
| # |
| |
| TRAPD_ENGINEID=0x80001f88802b3d0e06bbdf4e43 |
| |
| ## common SNMPv3 USM config |
| . ./Sv3usmconfigbase |
| |
| ## standard config |
| CONFIGTRAPD [snmp] persistentDir $SNMP_TMP_PERSISTENTDIR |
| CONFIGTRAPD oldEngineID $TRAPD_ENGINEID |
| [ "x$CREATENOAUTHUSER" != "x" ] && CONFIGTRAPD $CREATENOAUTHUSER |
| [ "x$CREATEAUTHUSER" != "x" ] && CONFIGTRAPD $CREATEAUTHUSER |
| [ "x$CREATEAUTHUSER2" != "x" ] && CONFIGTRAPD $CREATEAUTHUSER2 |
| [ "x$CREATEPRIVUSER" != "x" ] && CONFIGTRAPD $CREATEPRIVUSER |
| [ "x$CREATEPRIVUSER2" != "x" ] && CONFIGTRAPD $CREATEPRIVUSER2 |
| |