#!/bin/bash

# $1 : trap receiver community
# $2 : snmp trap receiver (hostaddress)
# $3 : OID
# $4 : text message
 
snmptrap -v2c -c $1 $2 '' $3  $3 string "$4"
