This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangzhihan-device-manageme…/roles/oam_snmp/files/snmptrapd.conf
2020-05-08 18:19:47 +08:00

17 lines
489 B
Plaintext
Executable File

# Example configuration file for snmptrapd
#
# No traps are handled by default, you must edit this file!
#
# authCommunity log,execute,net public
# traphandle SNMPv2-MIB::coldStart /usr/bin/bin/my_great_script cold
traphandle default /root/traphandler.sh
authCommunity log,execute,net public
createUser -e 0x8000000001020304 tsgadmin SHA cli202004 AES cli202004
authuser log tsgadmin
# createUser -e 0x8000000001020304 tsgadmin SHA cli202001 AES cli202001
# authuser log tsgadmin