I've implemented a MIB tree under enterprises With some object i want 
to monitor. I want that  snmpd send me a trap when objects goes beyond 
a threshold (note that tresholds are implemented in mib tree also).
Now 
I' have anotherobject called "time" (implemented in the same mib) that 
indicates if the threshold is reached.

with monitor i want to monitor 
OID called time every 1 second, and if it assumes a value >10, snmpd 
has to send me a trap.

how can i do it?

----Messaggio originale----
Da: [EMAIL PROTECTED]
Data: 20-lug-2007 4.11 PM
A: 
"[EMAIL PROTECTED]"<[EMAIL PROTECTED]>
Cc: <net-snmp-
[EMAIL PROTECTED]>
Ogg: Re: R: Re: help on snmpd.conf and 
monitor instruction

On 20/07/07, [EMAIL PROTECTED] 
<[EMAIL PROTECTED]> wrote:
> 2007-07-20 15:34:45 <UNKNOWN> [UDP: 
[127.0.0.1]: 32822]:
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: 
(18) 0:00:00.18
>     SNMPv2-MIB::snmpTrapOID.0 = OID: DISMAN-EVENT-
MIB::mteTriggerFired
>    DISMAN-EVENT-MIB::mteHotTrigger.0 = STRING: 
warning
>    DISMAN-EVENT-MIB::mteHotTargetName.0 = STRING:
>    DISMAN-
EVENT-MIB::mteHotContextName.0 = STRING:
        <etc, etc>

That entry 
looks suspiciously as if it has been triggered by the
monitor entry 
"warning".
So I think it *is* actually working.

However:

>    DISMAN-
EVENT-MIB::mteHotOID.0 = OID: DISMAN-EVENT-MIB::sysUpTimeInstance
>    
DISMAN-EVENT-MIB::mteHotValue.0 = Wrong Type (should be INTEGER):
>               Timeticks: (18) 0:00:00.18

That seems to imply that 
you are monitoring the MIB object 'sysUpTime'

What object were you 
expecting to monitor?
What does walking the DisMan Event MIB tables 
show?

Dave

PS:  Can you please keep the same subject line throughout.
        Adding "R:" instead of "Re:" is breaking the continuity of this 
thread!
        Thanks




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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