- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 12:01 PM
Can/does ciscoworks DFM log the traps it recieves to a file?
If so will it filter out all devices not in DFM like it does with trap forwarding?
Does anyone know a good (free or not too expensive) trapreceiver that can log to a text file like syslog.log?
Cheers,
Michel
Solved! Go to Solution.
- Labels:
-
Network Management
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 01:02 PM
Sure, just create an snmptrapd.conf file in the appropriate location with the contents:
forward default 127.0.0.1:9000
That will forward all received traps to 127.0.0.1 9000/udp.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 12:42 PM
DFM 2.0 does not log traps to a file. However, you can use a syslog notification subscription to somewhat emulate the old File Notifier feature of DFM 1.x. While this will not log the raw trap, it can log DFM events to a flat file.
As for a good trap receiver that logs to a flat file, I like net-snmp's snmptrapd (http://net-snmp.sourceforge.net). It is scriptable, and can write SNMP traps to flat files using either the server's internal syslog system (if available) or directly. Plus, it's very easy to load new MIBs, so varbinds in traps can be translated when written out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 12:50 PM
Thanks Joe,
I will give that one a try.
There is too much other stuff comming out of DFM that I don't want and I need something that just logs.
I hope there is an easy way to receive the traps with this trapd and then forward the trap to 127.0.0.1:9000 so DFM can enjoy it too.
It mentions just that on its front page so I hope for the best.
Cheers,
Michel

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 01:02 PM
Sure, just create an snmptrapd.conf file in the appropriate location with the contents:
forward default 127.0.0.1:9000
That will forward all received traps to 127.0.0.1 9000/udp.
