[mrtg] MRTG Thresholds and snmptraps.

Marc Tech tychie77 at yahoo.com
Sat Nov 23 18:08:28 MET 2002

Hi everybody!

Hi there!!

I want to configure my snmpdtrapd.conf file.Presently
i am running snmpd on one of my linux machines which 
also running mrtg.This linux uses Slackware.From the
cisco side i.e routers and access servers i can 
send traps to my snmpd machine.Now all these trap
messages are coming onto the /var/log/messages 
file of machine.Note that all this scenario is
restricted to my LAN only.I have a file
/var/ucd-snmp/snmptrapd.conf which contains the
followin entries:

engineBoots 7
oldEngineID 0x800007e501cb82020c

Now i need to enable traphandles in it and so that a
trap gets generated as soon as an enterprise trap is 
received such as the logs show:

........ interfaces.ifTable.ifEntry.ifIndex.2 = 2,
enterprises.2011. = 126
= established(5), 
= Timeticks: (76) 0:00:00.76, 
= 2, 
= 1897, enterprises. = ""

Q1)How can i translate this and also how could i
relate this to my snmptrap.conf file ?

Q2)How could this be also related to the threshold
option in mrtg conf ?

Q3)I need to send traps to specific email addresses as
soon as a trap is recived showing some abnormal 
status and also the trap should be generated as soon
as there is violation in the threshold levels defined
the mrtg cf file for the specific entry or interface
also could someone send me the script for in perl or
bash which invokes anytime whenever there is a change
i.e when ever the value reaches the minumum or max


Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list