Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Log SNMP Traps on Remote System

Hello,  I'm trying to create a log file that captures SNMP notifications from my Astaro ASG 220 running version 7.306.  

I'm far from an expert on this subject but here is what I've done so far:

Enabled SNMP on the Astaro firewall and created an SNMP Trap Sink and set the host to the machine I would like to receive the SNMP notifications along with the community string.

On my machine that I would like to receive the SNMP notifications on I've run:

snmptrapd --authcommunity "log communitystring" -A -Lf /var/log/snmp_notifications.log

snmptrapd does not report any errors.

In the log file I can see that my system has received one notification from the Astaro firewall:

2009-04-22 13:33:15 10.0.0.1(via UDP: [10.0.0.1]:35227) TRAP, SNMP v1, community communitystring
SNMPv2-SMI::enterprises.3.1.1 Enterprise Specific Trap (1) Uptime: 72 days, 20:05:36.44
SNMPv2-SMI::enterprises.9789.1500.1.5 = STRING: "[hostname][INFO][005]"

However I do not receive any more notifications.  Looking at my notifications on the Astaro firewall I have SNMP notifications checked for all sorts of events, including webadmin successful logins.  Yet when I login, no notification is logged.

****EDIT*****
I just realized that the above event is logged everytime I login.  After looking on the notifications page I can see that [INFO][005] is a successful webadmin login.  So it appears as if it is working fine.  Is there a way to have the firewall give a more detailed notification that perhaps tells me what type of event [005] is?

Thanks,
Lane


This thread was automatically locked due to age.
Parents Reply Children
No Data