Just,

You are the MAN!  That works perfectly!

THANK YOU!

JP


On Fri, Aug 28, 2009 at 1:55 PM, jcat <jcat@nysasounds.co.uk> wrote:
I think you're test trap is wrong.

OpenNMS says you've trapped for 1.3.6.1.4.1.10892.1

You're trap id should be .1.3.6.1.4.1.674.10892.1

:)



Cheers,
Just



On Fri, 2009-08-28 at 12:58 -0400, James Parks wrote:
Guys -- sorry about the post with the wrong subject line.  I just realized I should not have hit reply to the digest.

Here's the post again.  Hope I'm not screwing up by reposting it with the correct subject line.

Hi,

Thanks for the response!  It is the default file from the OpenNMS (1.6.5-1) installation.  I'll post the whole file if you want, but its a couple thousand lines.

Here's the particular event I've been testing with:

<event>
        <mask>
                <maskelement>
                        <mename>id</mename>
                        <mevalue>.1.3.6.1.4.1.674.
10892.1</mevalue>
                </maskelement>
                <maskelement>
                        <mename>generic</mename>
                        <mevalue>6</mevalue>
                </maskelement>
                <maskelement>
                        <mename>specific</mename>
                        <mevalue>1354</mevalue>
                </maskelement>
        </mask>
        <uei>uei.opennms.org/vendor/Dell/traps/alertPowerSupplyFailure</uei>
        <event-label>MIB-Dell-10892 defined trap event: alertPowerSupplyFailure</event-label>
        <descr>
&lt;p&gt;Power supply has failed.&lt;/p&gt;&lt;table&gt;
        &lt;tr&gt;&lt;td&gt;&lt;b&gt;

        alertSystem&lt;/b&gt;&lt;/td&gt;&lt;td&gt;
        %parm[#1]%;&lt;/td&gt;&lt;td&gt;&lt;p;&gt;&lt;/p&gt;&lt;/td;&gt;&lt;/tr&gt;
        &lt;tr&gt;&lt;td&gt;&lt;b&gt;

        alertTableIndexOID&lt;/b&gt;&lt;/td&gt;&lt;td&gt;
        %parm[#2]%;&lt;/td&gt;&lt;td&gt;&lt;p;&gt;&lt;/p&gt;&lt;/td;&gt;&lt;/tr&gt;
        &lt;tr&gt;&lt;td&gt;&lt;b&gt;

        alertMessage&lt;/b&gt;&lt;/td&gt;&lt;td&gt;
        %parm[#3]%;&lt;/td&gt;&lt;td&gt;&lt;p;&gt;&lt;/p&gt;&lt;/td;&gt;&lt;/tr&gt;
        &lt;tr&gt;&lt;td&gt;&lt;b&gt;

        alertCurrentStatus&lt;/b&gt;&lt;/td&gt;&lt;td&gt;
        %parm[#4]%;&lt;/td&gt;&lt;td&gt;&lt;p;&gt;
                other(1) 
                unknown(2)
                ok(3)
                nonCritical(4)
                critical(5)
                nonRecoverable(6)
        &lt;/p&gt;&lt;/td;&gt;&lt;/tr&gt;
        &lt;tr&gt;&lt;td&gt;&lt;b&gt;

        alertPreviousStatus&lt;/b&gt;&lt;/td&gt;&lt;td&gt;
        %parm[#5]%;&lt;/td&gt;&lt;td&gt;&lt;p;&gt;
                other(1) 
                unknown(2)
                ok(3)
                nonCritical(4)
                critical(5)
                nonRecoverable(6)
        &lt;/p&gt;&lt;/td;&gt;&lt;/tr&gt;
        &lt;tr&gt;&lt;td&gt;&lt;b&gt;

        alertData&lt;/b&gt;&lt;/td&gt;&lt;td&gt;

        %parm[#6]%;&lt;/td&gt;&lt;td&gt;&lt;p;&gt;&lt;/p&gt;&lt;/td;&gt;&lt;/tr&gt;&lt;/table&gt;
        </descr>
                <logmsg dest='logndisplay'>&lt;p&gt;
                        DellOpenManage Event: Power Supply Failure
                        &lt;/p&gt;
                </logmsg>
        <severity>Major</severity>
</event>


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss