Hi Christian, list,
Thanks your doc helpded a lot. The syntax was in fact: #AXA Custom DNS 1.3.6.1.4.1.22465.20.6.5247 0xfff0001a 1.3.6.1.4.1.22465.20.3.0(1,0) And the trap: snmptrap -v 1 -c $COMMUNITY $SPECTRUM .1.3.6.1.4.1.22465.20 $HOST 6 5247 $TIME 1.3.6.1.4.1.22465.20.3.0 s $MESSAGE Kind regards, ___________________________________________________________ Jonathan Rousseaux Operations Support - Network and System Management Axa Tech NESD Postal Address: Bd du Souverain, 25 - B-1170 Bruxelles, Belgium Int.Post: W04/687 Visitors Address: Avenue Marcel Thiry, 208 - B-1200 Bruxelles, Belgium [email protected] <mailto:[email protected]> Tel. : +32 2 62 29 045 - Fax : +32 2 62 29 110 Please consider the environment before printing this message ________________________________ From: Christian Schneider [mailto:[email protected]] Sent: lundi 7 décembre 2009 10:38 To: spectrum Cc: spectrum spectrum Subject: Re: [spectrum] Mapping trap to event: AlertMap Hi Jonathan, You will find a detailed explanation here: http://www.dachsug.ch/wiki/index.php/Event_Processing If this does not solve your problem, I'll be happy to help you further.. Kind regards, Christian Schneider Enterprise Service Specialist 4-tune GmbH Sägereistrasse 29 CH-8152 Glattbrugg http://www.4-tune.ch <http://www.4-tune.ch/> [email protected] <mailto:[email protected]> Office ZH: +41 (0)44 818 02 03 Office SG: +41 (0)71 930 07 00 Mobile: +41 (0)79 418 4542 Fax: +41 (0)71 930 0701 On 07.12.2009, at 10:29, ROUSSEAUX Jonathan wrote: Hello all, I'm trying to map a trap to an event but I think that I miss something at the level of the alertmap file. I use the following to generate the trap: snmptrap -v 1 -c public 10.71.233.144 .1.3.6.1.4.1.22465.20 10.160.24 3.195 6 5247 10:10 1.3.6.1.4.1.22465.20 s "host could not get connected" The alert map entry: #AXA Custom 1.3.6.1.4.1.22465.20.6.5247 0xfff0001a The event 0xfff0001a message: Test event {S 1} for device: {m}. I want to have "host could not get connected" as {S 1} but I don't understand the syntax I should use in the alertmap file for this. Can someone help me with this? Thanks in advance, Jonathan ___________________________________________________________ Jonathan Rousseaux Operations Support - Network and System Management Axa Tech NESD Postal Address: Bd du Souverain, 25 - B-1170 Bruxelles, Belgium Int.Post: W04/687 Visitors Address: Avenue Marcel Thiry, 208 - B-1200 Bruxelles, Belgium [email protected] <mailto:[email protected]> Tel. : +32 2 62 29 045 - Fax : +32 2 62 29 110 <image001.jpg> Please consider the environment before printing this message -----Disclaimer----- This message may contain confidential information intended solely for the use of the named addressee. If you are not the intended recipient, you should not read, use, disclose or reproduce the content of this message. If you have received this message by mistake, please notify the sender immediately. Any views or opinions presented in this message are solely those of the author and do not necessarily represent those of AXA Belgium, AXA Bank Europe, AXA Tech Belgium GIE - ESV or any other entity of the AXA Group, unless otherwise stated by the sender and duly authorized by the said companies. --------------------- * --To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected] * --To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected] --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
<<image001.jpg>>
