« Lessons in ... | Main | Lessons in .... Performance graphing »

March 24, 2006

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451f81d69e200d834d5642d69e2

Listed below are links to weblogs that reference Lessons in .... SNMP trap handling:

Comments

Paul Verhoeven

Very interesting article. However SNMP still is not that 'simple' to me.

I'm trying to configure the steps described, but I don't know how to run snmptrap2nagios from snmptrapd. I suppose the snmptrapd.conf has to be edited, but calling a perl module is new for me.

Help would be appreciated.

tonvoon

Paul,

I agree, SNMP is wrongly named!

Lookup snmptrapd.conf for information on how to call an external command.

You can't call a perl module from snmptrapd. snmptrap2nagios is our perl script that we use to process the trap. Most of the logic is in SNMP::Trapinfo and we publish that. But we haven't, and don't plan to, publish snmptrap2nagios.

Quite a few people seem to misunderstand this. I'll try and clarify this later.

Ton

ulises

hello Ton
i was wondering if you have read the article in http://cerebro.victoriacollege.edu/hobbit-trap.html
that is about the same thing the sysadmin article deal with. This solution uses net-snmp, snmptt and sec for trap handling but using Hobbit as the frontend rather than nagios.
It this solution better than sysadmins? mainly because of the mode snmptt run that is standalone as you recommended that is not a good option
for recibing traps for mibs with tons of objects traps as is my case working with an cisco AS5300 access server with an extremely large mib but i only want the E 1 interface to be notified.

gary

I am having a little trouble with getting you script to work with hobbit. I have the mysql server logging the traps. I can use the trap.php to view the traps. I just cannot get hobbit to place a trap column next the device that I put “trap” in my bbhost file.

Thanks

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment