[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-install
Subject:    Re: [opennms-install] Supressing link up down heartbeat
From:       Tracy <tracy () wavewired ! net>
Date:       2005-03-13 14:30:59
Message-ID: 42344EA3.8070101 () wavewired ! net
[Download RAW message or body]

OK I found this in default.events.xml

copied the two events and added a metavalue for interface and used the 
donotpersist

it worked

Guess I should RTFM before asking

Tracy wrote:

> Tarus,
>
> OK help me out here.
> So I have a link up / down heart beat flood from a specific IP address 
> that I want to suppress
>
> Agent Interface Down (linkDown Trap) enterprise:.1.3.6.1.6.3.1.1.5 
> (.1.3.6.1.6.3.1.1.5)
> Agent Interface Up (linkUp Trap) enterprise:.1.3.6.1.6.3.1.1.5 
> (.1.3.6.1.6.3.1.1.5)
> Agent Interface Down (linkDown Trap) enterprise:.1.3.6.1.6.3.1.1.5 
> (.1.3.6.1.6.3.1.1.5)
> Agent Interface Up (linkUp Trap) enterprise:.1.3.6.1.6.3.1.1.5 
> (.1.3.6.1.6.3.1.1.5)
>
> I cant find   EID 1.3.6.1.6.3.1.1.5   but I can find  1.3.6.1.6.3.1.1
>
> It lives in both  IF-MIB.xml  and   SNMPv2-MIB.xml
>
> grep .1.3.6.1.6.3.1.1. *
>
> IF-MIB.xml:                     <mevalue>.1.3.6.1.6.3.1.1</mevalue>
> IF-MIB.xml:                     <mevalue>.1.3.6.1.6.3.1.1</mevalue>
> SNMPv2-MIB.xml:                 <mevalue>.1.3.6.1.6.3.1.1</mevalue>
> SNMPv2-MIB.xml:                 <mevalue>.1.3.6.1.6.3.1.1</mevalue>
> SNMPv2-MIB.xml:                 <mevalue>.1.3.6.1.6.3.1.1</mevalue>
>
> So I assume you are advising to edit these files (or at least the 
> first instance?) but pardon my ignorance, what is the syntax?
>
> Thanks in advance,
>
> Tracy
>
>
> Tarus Balog wrote:
>
>>
>> On Mar 6, 2005, at 5:45 PM, Ted Kaczmarek wrote:
>>
>>> On Sun, 2005-03-06 at 16:42 -0500, David Hustace wrote:
>>>
>>>> On Mar 6, 2005, at 11:54 AM, David Hustace wrote:
>>>>
>>>>>>  How can I suppress these?
>>>>>
>>>>>
>>>>>
>>>>> For now, use ipTables to block the offender.  There is an enhancement
>>>>> bug on this.
>>>>
>>>>
>>>>
>>>> Working on events today, I recalled that you can change the logmsg in
>>>> eventconf.xml so that the event system ingores these:
>>>
>>>
>>
>>> Do you really want to suppress link up/down traps?
>>
>>
>>
>> If you look at the xsd for eventconf you can see that it is possible 
>> to  suppress traps just from a single host:
>>
>>         <!-- The Mask for event configuration: The mask contains one 
>> or  more 'maskelements'
>>              which uniquely identify an event - can only include  
>> elements from the
>>              following subset: uei, source, host, snmphost, nodeid,  
>> interface, service, id(SNMP EID)
>>                                specific, generic, community
>>         -->
>>
>> Simply find the offending trap UEI, copy the UEI and place it in 
>> front  of the original one, add a "host" mevalue for the offending 
>> device and  set the log destination to "donotpersist".
>>
>> -T
>> ________________________________________________________________________ 
>> ___
>> Tarus Balog, OpenNMS Maintainer            Main:        +1 919 545 2553
>> The OpenNMS Group, Inc.                    Fax:            +1 
>> 503-961-7746
>> Email: tarus@opennms.org                URL: http://www.opennms.org
>> PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C
>>
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> _______________________________________________
>> Please read the OpenNMS Mailing List FAQ:
>> http://wiki.opennms.org/tiki-index.php?page=MailingListFaq
>>
>> opennms-install mailing list
>>
>> To *unsubscribe* or change your subscription options, see the bottom 
>> of this page:
>> https://lists.sourceforge.net/lists/listinfo/opennms-install
>>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://wiki.opennms.org/tiki-index.php?page=MailingListFaq
>
> opennms-install mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom 
> of this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-install
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic