[EMAIL PROTECTED] wrote:
> I can't get these traps to fire.  Then again, when I try to walk
> dskTable, I get a failiure response so maybe that MIB isn't in my agent.
>  But I tried with memTotalFree and nothing happens.
>   
I was unable to get monitor to send traps until I added and used a 
SNMPv3 user. 

In /usr/local/share/snmp/snmpd.conf:

    createUser dummy md5 PassPhrase

In /etc/snmp/snmpd.conf:

    rouser dummy auth
    logmatch PANIC /var/log/messages 300 PANIC
    monitor -r 300 -u dummy -i -o logMatchName.1 -o logMatchRegEx.1 
"PANIC" logMatchCurrentCount.1 != 0

Now I finally get traps.  Only took me a few days to figure it out.  
They key was slogging through Google searches for hours and finally 
finding a response to someone else's semi-related question.  The 
response indicated that the monitor directive pretty much requires a v3 
auth user, and won't work without it.  I don't use v3, so it hadn't 
occurred to me.  Hope this helps.

Regards,
Dale


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to