Do you use notificationEvent to send the trap
monitored ? =


here is my configuration to monitor disk load

notificationEvent diskTrap dskPath dskErrorMsg
dskErrorFlag

monitor -r 5 -e diskTrap -o dskPath "dskTable"
dskErrorFlag !=3D 0

Best regards
AC

--- "vincenzobonvino@tin.it"
a =E9crit=A0:

> I've tried to do it doesn't work.
> I wrote in snmpd.conf:
> =


> agentSecName =


> internal
> rouser internal
> monitor -r 1 -u internal -o timeX "warning" =


> time > 10 (that's to say that when the value of time
> goes beyond 10, =


> snmpd has to send a notification (trap)
> =


> I've started snmptrapd,and =


> then i've started snmpd.
> =


> It prints :
> =


> NET-SNMP version 5.4 AgentX =


> subagent connected
> NET-SNMP version 5.4
> 2007-07-20 15:34:45 =


> [UDP: [127.0.0.1]:32821]:
> DISMAN-EVENT-MIB::sysUpTimeInstance =3D =


> Timeticks: (2915) 0:00:29.15 =


> SNMPv2-MIB::snmpTrapOID.0 =3D OID: NET-
> SNMP-AGENT-MIB::nsNotifyShutdown
> 2007-07-20 15:34:45 [UDP: =


> [127.0.0.1]:32822]:
> DISMAN-EVENT-MIB::sysUpTimeInstance =3D Timeticks: =


> (2915) 0:00:29.15 SNMPv2-MIB::snmpTrapOID.0 =3D
> OID: NET-SNMP-AGENT-
> MIB::nsNotifyShutdown
> 2007-07-20 15:34:45 [UDP: [127.0.0.1]:
> 32822]:
> DISMAN-EVENT-MIB::sysUpTimeInstance =3D Timeticks:
> (17) 0:00:
> 00.17 SNMPv2-MIB::snmpTrapOID.0 =3D OID:
> SNMPv2-MIB::
> coldStart SNMPv2-MIB::snmpTrapEnterprise.0 =3D
> OID: NET-SNMP-MIB::
> netSnmpAgentOIDs.10
> 2007-07-20 15:34:45 [UDP: [127.0.0.1]:
> 32823]:
> DISMAN-EVENT-MIB::sysUpTimeInstance =3D Timeticks:
> (17) 0:00:
> 00.17 SNMPv2-MIB::snmpTrapOID.0 =3D OID:
> SNMPv2-MIB::
> coldStart SNMPv2-MIB::snmpTrapEnterprise.0 =3D
> OID: NET-SNMP-MIB::
> netSnmpAgentOIDs.10
> 2007-07-20 15:34:45 [UDP: [127.0.0.1]:
> 32822]:
> DISMAN-EVENT-MIB::sysUpTimeInstance =3D Timeticks:
> (18) 0:00:
> 00.18 SNMPv2-MIB::snmpTrapOID.0 =3D OID:
> DISMAN-EVENT-MIB::
> mteTriggerFired DISMAN-EVENT-MIB::mteHotTrigger.0
> =3D STRING: =


> warning DISMAN-EVENT-MIB::mteHotTargetName.0 =3D
> STRING: DISMAN-EVENT-
> MIB::mteHotContextName.0 =3D STRING: =


> DISMAN-EVENT-MIB::mteHotOID.0 =


> =3D OID: DISMAN-EVENT-MIB::sysUpTimeInstance =


> DISMAN-EVENT-MIB::
> mteHotValue.0 =3D Wrong Type (should be INTEGER):
> Timeticks: (18) 0:00:
> 00.18 DISMAN-EVENT-MIB::sysUpTimeInstance =3D
> Timeticks: (18) 0:00:00.18
> 2007-07-20 15:34:45 [UDP:
> [127.0.0.1]:32823]:
> DISMAN-EVENT-
> MIB::sysUpTimeInstance =3D Timeticks: (18) 0:00:00.18 =


> SNMPv2-MIB::
> snmpTrapOID.0 =3D OID:
> DISMAN-EVENT-MIB::mteTriggerFired DISMAN-EVENT-
> MIB::mteHotTrigger.0 =3D STRING: warning =


> DISMAN-EVENT-MIB::
> mteHotTargetName.0 =3D STRING: =


> DISMAN-EVENT-MIB::mteHotContextName.0 =3D =


> STRING: DISMAN-EVENT-MIB::mteHotOID.0 =3D OID:
> DISMAN-EVENT-MIB::
> sysUpTimeInstance =


> DISMAN-EVENT-MIB::mteHotValue.0 =3D Wrong Type =


> (should be INTEGER): Timeticks: (18) 0:00:00.18 =


> DISMAN-EVENT-MIB::
> sysUpTimeInstance =3D Timeticks: (18) 0:00:00.18
> =


> =


> In my case, the =


> condition is met, but i'havent got a trap from
> snmpd.
> =


> Why?
> =


> =


> =


> =


> =


> =


> =


> ----
> Messaggio originale----
> Da: D.T.Shield@csc.liv.ac.uk
> Data: 20-lug-2007 =


> 2.50 PM
> A: "vincenzobonvino@tin.it"
> Cc: > snmp-users@lists.sourceforge.net>
> Ogg: Re: help on snmpd.conf and =


> monitor instruction
> =


> On 20/07/07, vincenzobonvino@tin.it =


> wrote:
> > I want to know if is it possible to =


> use the "monitor"
> > instruction in snmpd.conf to monitor custiomized =


> OID?
> =


> Yes.
> =


> Dave
> =


>

-------------------------------------------------------------------------
> 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
> =


> =


> =


> =


> =


>

-------------------------------------------------------------------------
> 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/...net-snmp-users
> =





__________________________________________________ ___________________=
________ =

Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mai=
l =


-------------------------------------------------------------------------
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/...net-snmp-users