snmptrapd -f -Le -Dread_config

That will show whether the trap daemon is reading your config
entries or not.

        snmptrapd -f -Le -Dsnmptrapd

will show what it is trying to do with incoming traps.

        snmptrapd -f -Le -Drun

should show whether it is attempting to run the command.

That might give a few clues as to what is going wrong.

Dave

snmptrapd -f -Le -Dsnmptrapd

....
2005-10-05 15:27:05 172.16.4.62(via 172.16.4.62) TRAP, SNMP v1, community public iso.3.6.1.4.1.9.9.43.2 Enterprise Specific Trap (1) Uptime: 3 days, 3:59:21.60 iso.3.6.1.4.1.9.9.43.1.1.6.1.3.28 = INTEGER: 1 iso.3.6.1.4.1.9.9.43.1.1.6.1.4.28 = INTEGER: 2 iso.3.6.1.4.1.9.9.43.1.1.6.1.5.28 = INTEGER: 3
snmptrapd: get_traphandler default (8057008)
snmptrapd: command_handler
snmptrapd: token = 'echo Angekommen >> /tmp/test.txt'
snmptrapd: execute format
snmptrapd: notification_handler

Looks like something is going on at least....
Thank You very much


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to