⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 t058agentauthtrap

📁 snmp up7
💻
字号:
#!/bin/sh. ../eval_tools.shHEADER authentication failure traps are sent by snmpd## Begin test## standard V1 configuration: testcomunnity. ./Sv1config# add in a v1 trap sinkCONFIGAGENT trapsink localhost public $SNMP_SNMPTRAPD_PORTCONFIGAGENT authtrapenable 1STARTTRAPDSTARTAGENT# give the agent more time to start up.  We only want to fire one# request (retries = 0) to make sure only one trap is sent.#DELAYCAPTURE "snmpget -On -r 0 -t 5 $SNMP_FLAGS -v 1 -c wrongcommunity udp:localhost:$SNMP_SNMPD_PORT .1.3.6.1.2.1.1.3.0"STOPAGENTSTOPTRAPDCHECKTRAPD "Authentication Failure Trap"FINISHED

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -