Quantcast

How to send external event via send-event.pl script?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to send external event via send-event.pl script?

Azhaguvel A
This post was updated on .
Query:

I want to send the external event through send-event.pl script. I have tried to send event but getting an event such as "An event with no matching configuration...".

Could you please give me an IDEA to resolve this?

Please find the info below what i have tried,

send-event.pl uei.opennms.org/vendor/traps/Down -x 5 -p 'Type 1' -p 'Down 0'

Do I need to mention OID too?

Here is the event info for your rerefence,

<event>
        <mask>
                <maskelement>
                        <mename>id</mename>
                        <mevalue>.1..9.8.9.9.0.1.1</mevalue>
                </maskelement>
                <maskelement>
                        <mename>generic</mename>
                        <mevalue>6</mevalue>
                </maskelement>
                <maskelement>
                        <mename>specific</mename>
                        <mevalue>2</mevalue>
                </maskelement>
        </mask>
        <uei>uei.opennms.org/vendor/traps/Down</uei>
        <event-label>...</event-label>
        <descr>...</descr>
                <logmsg dest='logndisplay'><p>
                        Down trap received
                        Type=%parm[#1]%
                        Down=%parm[#2]%</p>
                </logmsg>
        <severity>Minor</severity>
</event>
Loading...