Hi,

Thanks for that.

I got this trap:

2006-07-19 10:30:36 DEBUG zen.ZenTrap: Got trap Message(version=Version(0), 
community=Community('public'), 
pdu=Pdus(trap=TrapPdu(enterprise=Enterprise('.1.3.6.1.4.1.3.1.1'), 
agent_addr=AgentAddr(internet=IpAddress('xxx.xx.x.x')), 
generic_trap=GenericTrap(6), specific_trap=SpecificTrap(1), 
time_stamp=TimeStamp(74811850), 
variable_bindings=VarBindList(VarBind(name=ObjectName('.1.3.6.1.4.1.9789.1500.2.5'),
 
value=ObjectSyntax(simple=SimpleSyntax(string=OctetString('[xxxxx.xxxxx.xx][WARN][005]'))))))))
 from ('xxx.xx.x.x', 50712)

Zenoss is generating this event: snmp trap 1.3.6.1.4.1.3.1.1.0.1 from 
xxxxxxx.xxxxx.xxxxx 


But I need Information from: 

variable_bindings=VarBindList(VarBind(name=ObjectName('.1.3.6.1.4.1.9789.1500.2.5'),
 
value=ObjectSyntax(simple=SimpleSyntax(string=OctetString('[xxxxx.xxxxx.xx][WARN][005]'))))))))
 


Is there something wrong? 
There are no MIBS available for this OID's:.1.3.6.1.4.1.9789.

Thanks Sven



-----Ursprüngliche Nachricht-----
Von: Eric Newton [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 18. Juli 2006 23:51
An: General discussion of using zenoss system
Betreff: Re: AW: [zenoss-users] SNMP Trap debugging

Sven,

Patch attached.  Patch it in, and then run zentrap like this:

    $ zentrap start -v 10

Lots and lots of debug.

-Eric

Schuran, Sven wrote:
> Eric,
>
> I am able to add it, but I am not really comfortable in python, just a small 
> hint please.
>
> Sven
>
> -----Ursprüngliche Nachricht-----
> Von: Eric Newton [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 18. Juli 2006 19:29
> An: General discussion of using zenoss system
> Betreff: Re: [zenoss-users] SNMP Trap debugging
>
> If you are comfortable in python, you can add a log message to 
> $ZENHOME/Products/ZenEvents/zentrap.py,  in handleTrap, at or around line 81.
>
> -Eric
>
> Schuran, Sven wrote:
>   
>> Hi,
>>
>> I am receving traps right now, but I am not sure I they are correct.
>> May be zenoss does something wrong with them, or the sending system 
>> sned wrong OID's.
>>
>>
>> How to trace every trap to a log file, to have a look at it.
>>
>> Thanks Sven



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to