mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-08-25 11:48:38 +02:00
* util/pandora_snmp.sh: added first and weird version of tool to generate a lot of traps snmp for Pandora. Needs to improve. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
7 lines
176 B
Bash
7 lines
176 B
Bash
#!/bin/bash
|
|
TARGET=127.0.0.1
|
|
while [ 1 ]
|
|
do
|
|
snmptrap -v 1 -c public $TARGET .1.3.6.1.4.1.2789.2005 192.168.5.2 6 "$RANDOM" 1233433 .1.3.6.1.4.1.2789.2005.1 s "$RANDOM"
|
|
done
|