Thanks, Dave. 
Actually, if -u is defined, agentSecName is optional. I made a mistake in OID in -o 
that was why it didn't work for me at the first time.

It seems that after a fail situation happens (a trap has been sent), no more traps for 
the same monitor situation no matter what interval is,  right? Apparently, it works 
like that on my case.

Thanks,

Fong


-----Original Message-----
From: Dave Shield [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 27, 2004 3:00 AM
To: Fong Tsui
Cc: [EMAIL PROTECTED]
Subject: Re: snmp_alarm_register() 


> To use DISMAN-EVEMT, I configured with it and added the following 
> fields in snmpd.conf

> rouser me
> monitor -u me -r 1 -o sysUpTime.0 -o memErrorName.0 "high process memory"
>                                   memAvailReal < 10000000

You've forgotten the "agentSecName" entry.
See the snmpd.conf(5) man page, under DISMAN-EVENT-MIB SUPPORT

Dave



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to