[Xymon] Help also needed : XYmon + SNMP traps
David Baldwin
david.baldwin at ausport.gov.au
Mon Nov 26 04:39:20 CET 2012
On 26/11/12 2:25 PM, Galen Johnson wrote:
> Take a look at devmon. It has many templates and presets.
devmon does SNMP polling but not SNMP traps.
The link http://cerebro.victoriacollege.edu/hobbit-trap.html is how I
have it set up. It's a bit of a fiddle to get running.
You also need to be aware that running MIBs through snmpttconvertmib
only passes through the vendor indicated severity. It is worse than
annoying when a critical failure event was classified by the vendor as
informational and you only find out after it happened! So you must
review the snmptt.conf file generated and reclassify as required.
You also need to review snmpttunknown.log regularly to check that you
have all relevant MIBs registered, and also that the traps you are
receiving were correctly defined in the MIB in the first place - at
least it's easy to fudge the snmptt.conf file to fix those. It's not
unusual to find devices generating traps that have an extra value in the
OID - for example I have 3 variants on Quantum tape library:
EVENT tapeLibNotifyShutdown .1.3.6.1.4.1.3764.1.10.10.1.3.0.0.2 "Status
Events" Normal
FORMAT An indication that the tape library agent is in the process of $*
#
EVENT tapeLibNotifyShutdown .1.3.6.1.4.1.3764.1.10.10.3.0.0.2 "Status
Events" Normal
FORMAT An indication that the tape library agent is in the process of $*
#
EVENT tapeLibNotifyShutdown .1.3.6.1.4.1.3764.1.10.10.3.0.2 "Status
Events" Normal
FORMAT An indication that the tape library agent is in the process of $*
It can also be an iterative process to get this correct - I have devices
that have just one SNMP trap - essentially a method of reporting a
free-text string - so you then need to do regexp matching in snmptt to
get alerts more suitable to your needs.
David.
> =G=
> ________________________________________
> From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] on behalf of L.M.J [linuxmasterjedi at free.fr]
> Sent: Tuesday, November 20, 2012 3:07 PM
> To: xymon at xymon.com
> Subject: [Xymon] Help also needed : XYmon + SNMP traps
>
> Hi,
>
> I would like to know if anyone here setup a working XYmon + SNMP trap config?
> I've found this http://cerebro.victoriacollege.edu/hobbit-trap.html, but it's
> not crystal clear for me, I'm not a SNMP fanboy. Any advices, information or
> so ?
>
> Thanks
>
> PS : XYmon 4.2.? on Ubuntu.
>
> --
> LMJ
> "May the source be with you my young padawan"
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
--
David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Information and Communication Technology Services
Australian Sports Commission http://ausport.gov.au
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617
-------------------------------------------------------------------------------------
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au
This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
-------------------------------------------------------------------------------------
More information about the Xymon
mailing list