Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How to generate a SNMP trap per event (custom media type script?) to a SNMP server/another monitoring tool ?

If so, how to pass the community + OID as arguments to the media type script? By default, only the destination, subject and message seem to be passed to the script.

share|improve this question
I've concoted a script which parses all the necessary parameters from a Zabbix Action (each line following a controlled structure), mapping all the required parameters from the zabbix notation to the SNMP tree values range and later calling snmptrap -v2c –  Joao Figueiredo Mar 16 '12 at 9:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.