Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
notificationEvent ifMtu.1 IF-MIB::ifMtu.1  1.3.6.1.2.1.2.2.1.4.1

monitor -I -u root -s -t -r 18 "Warn: High ipp Usage" -e ifMtu.1 1.3.6.1.2.1.2.2.1.4.1 !=

The above lines are in my snmpd.conf file which is generating a trap when the condition evaluates to false.

My issue is that I want to send "Trap Severity Levels" with it. Is it possible? If so, how? If it isn't is there any other way to send them?

share|improve this question
add comment

migrated from stackoverflow.com Oct 9 '12 at 7:33

This question came from our site for professional and enthusiast programmers.

1 Answer

You need to use -o option in addition. For example:

monitor -o 1.3.6.1.x -o 1.3.6.2.y -I -u root -s -t -r 18 "Warn: High ipp Usage" -e ifMtu.1 1.3.6.1.2.1.2.2.1.4.1 !=

where: 1.3.6.1.x and 1.3.6.2.y are two additional varbinds added to SNMP PDU payload and defined by these OIDs.

You may also refer to: man page of snmpd.conf do

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.