David Hustace | 5 Sep 2007 11:42
Favicon
Gravatar

Re: [opennms-devel] Path outages


On Aug 23, 2007, at 6:33 PM, Michael Smith wrote:

> Path outages were throwing an exception with OpenNMS trunk; the  
> attached
> patch fixed it for me.

Thanks, Michael.  You didn't happen to but this in bugzilla, did you?

David Hustace
The OpenNMS Group, Inc.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

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

David Hustace | 5 Sep 2007 11:46
Favicon
Gravatar

Re: [opennms-devel] Patch for reporting, overridge graph timespan 2 hour view borked


On Aug 24, 2007, at 10:48 PM, DJ Gregor wrote:

> On Fri, 24 Aug 2007 22:41:10 -0400, "DJ Gregor" <dj <at> opennms.org> said:
>> On Fri, 24 Aug 2007 10:02:58 -0400, "Ted Kaczmarek"
>> <tedkaz <at> optonline.net> said:
>>> ...
>> Ben applied your patch:
>>
>> http://opennms.svn.sourceforge.net/opennms/?rev=7249&view=rev
>
> Er, um... make that Jeff... sorry Jeff (and thanks to Mike for  
> pointing
> this out).

Thanks to DJ for thanking Mike for pointing out the it was Jeff that  
applied Ted's patch and not Ben. ;-)

David Hustace
The OpenNMS Group, Inc.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

(Continue reading)

David Hustace | 5 Sep 2007 11:51
Favicon
Gravatar

Re: [opennms-devel] small patch to add regex filtering of event parms


On Aug 17, 2007, at 11:03 AM, Falzone, Tim wrote:

Having emerged from my cave, I thought I’d share a small bit of code I’ve found useful. Not sure if I’ve done a good job implementing it, but it works for us

Tim,

Good to hear from you, could you provide an example with #1985 sort of how-to use this feature?


Thanks,

David Hustace
The OpenNMS Group, Inc.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
David Hustace | 5 Sep 2007 11:58
Favicon
Gravatar

Re: [opennms-devel] Remote polling on same IP schemes


On Aug 8, 2007, at 4:12 PM, Ryan Kagin wrote:

Our problem is as follows (I apologize for those who have already heard this):
We have several sites, each with a router and switches behind the router which are unaccessable from the web.  The switches all have the same IP scheme - 192.168.5.10, 192.168.5.15, etc.  The problem is that when we have two remote pollers on two different sites polling the same service, the scheduler schedules all IPs that are the same, even if the node IDs are different.

A bug report has been filed on this issue, which is bug 1969.

Below is what I believe could be a start to patch this problem for us, but I am not sure how to proceed.

Unified diffs are a bit easier for us to visualize the changes.  How's your progress on this issue?  This should be a blocker bug at some point in the release cycle for 2.0.


David Hustace
The OpenNMS Group, Inc.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
David Hustace | 5 Sep 2007 12:04
Favicon
Gravatar

Re: [opennms-devel] Generating Graphs using JRobin


On Aug 10, 2007, at 11:27 AM, Gabe Ash wrote:

> Thanks for everyone's help,

Did you end up using RrdUtils?  Any chance we can see the work you've  
done to replace KSC reports?

(intrigued)
David Hustace
The OpenNMS Group, Inc.

Michael Smith | 5 Sep 2007 13:53
Favicon

Re: [opennms-devel] Path outages

On Wed, 5 Sep 2007, David Hustace wrote:

> On Aug 23, 2007, at 6:33 PM, Michael Smith wrote:
> 
> > Path outages were throwing an exception with OpenNMS trunk; the  
> > attached
> > patch fixed it for me.
> 
> Thanks, Michael.  You didn't happen to but this in bugzilla, did you?

No, my brain had stopped working; I'll put it in now. Thanks for the 
reminder.

Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

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

Tim Falzone | 5 Sep 2007 16:41

Re: [opennms-devel] small patch to add regex filtering of eventparms

Sure. I’ve attached this to the bug as a comment as well.

This patch add to the configuration of events so that you can perform regular expression substitutions on the event parameters (trap varbinds) before the event is added to the database. For example, given an event type that maps SiteScope traps like this:

<event>
 <mask>
  <maskelement>
   <mename>id</mename>
   <mevalue>.1.3.6.1.4.1.4875.3.1</mevalue>
  </maskelement>
  <maskelement>
   <mename>generic</mename>
   <mevalue>6</mevalue>
  </maskelement>
  <maskelement>
   <mename>specific</mename>
   <mevalue>9</mevalue>
  </maskelement>
 </mask>
 <uei>uei.opennms.org/vendor/DoubleClick/traps/siteScopeClear</uei>
 <event-label>DCLK-SITESCOPE-MIB defined trap event: siteScopeClear</event-label>
 <descr>
 %parm[all]%
 </descr>
 <logmsg dest='logndisplay'>&lt;p&gt;DoubleClick SiteScope Clear: %parm[#6]%.&lt;/p&gt;</logmsg>
 <severity>Cleared</severity>
</event>

We see in the eventd log an event that looks like this:

Event {
   uuid  = <not-set>
   uei   = uei.opennms.org/vendor/DoubleClick/traps/siteScopeClear
   src   = trapd
   iface = 192.168.2.43
   time  = Wednesday, September 5, 2007 2:25:02 PM GMT
   parms {
     (.1.1, *** property not found (_goldProductCode))
     (.1.2, HOST)
     (.1.3, 1)
     (.1.4, EUDATA04)
     (.1.6, 137474)
     (.1.7, Sitescope::SNMPMonitor *** property not found (_goldMessage) attached=4356)
     (.1.8, *** property not found (_goldExpiration))
  }
}

We want to remove anything that looks like “*** property not found (_goldExpiration)” from the event parms before it gets written to the database. By adding to the event configuration for this event type, we can replace these strings.

<event>
 <mask>
  <maskelement>
   <mename>id</mename>
   <mevalue>.1.3.6.1.4.1.4875.3.1</mevalue>
  </maskelement>
  <maskelement>
   <mename>generic</mename>
   <mevalue>6</mevalue>
  </maskelement>
  <maskelement>
   <mename>specific</mename>
   <mevalue>9</mevalue>
  </maskelement>
 </mask>
 <uei>uei.opennms.org/vendor/DoubleClick/traps/siteScopeClear</uei>
 <event-label>DCLK-SITESCOPE-MIB defined trap event: siteScopeClear</event-label>
 <descr>
 %parm[all]%
 </descr>
 <logmsg dest='logndisplay'>&lt;p&gt;DoubleClick SiteScope Clear: %parm[#6]%.&lt;/p&gt;</logmsg>
 <severity>Cleared</severity>
 <!-- ADDED -->
 <filters>
   <filter eventparm=".1.7" pattern="\*\*\* property not found \(\S+\)" replacement="" />
 </filters>
 <!-- /ADDED -->
</event>
  
We now see two additional lines in the DEBUG logs for eventd indicating that we are now filtering out these unwanted strings:

adding [.1.7|uei.opennms.org/vendor/DoubleClick/traps/siteScopeClear] to filter map
filtering .1.7 with \*\*\* property not found \(\S+\)


Thanks,
Tim


On 9/5/07 3:51 AM, "David Hustace" <david <at> opennms.org> wrote:


On Aug 17, 2007, at 11:03 AM, Falzone, Tim wrote:

Having emerged from my cave, I thought I’d share a small bit of code I’ve found useful. Not sure if I’ve done a good job implementing it, but it works for us

Tim,

Good to hear from you, could you provide an example with #1985 <http://bugzilla.opennms.org/show_bug.cgi?id=1985>  sort of how-to use this feature?


Thanks,

 
David Hustace
The OpenNMS Group, Inc.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
Les Mikesell | 10 Sep 2007 20:35
Picon

[opennms-devel] trunk rpm requires?

If you build rpms from the subversion trunk, what is it supposed to take 
to satisfy the require for "jdk >= 1.5".  I built and installed the 
jpackage  java-1.5.0-sun-1.5.0.12-1jpp.nosrc.rpm and the Sun 
jdk-1_5_0_12-linux-i586.bin on Centos5, but it doesn't provide a 'jdk'.
It provides jre, java, jave-sun, java-sdk and a bunch of other stuff, 
but no jdk.

--

-- 
   Les Mikesell
     lesmikesell <at> gmail.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

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

Benjamin Reed | 10 Sep 2007 20:43
Favicon
Gravatar

Re: [opennms-devel] trunk rpm requires?


Les Mikesell wrote:
> If you build rpms from the subversion trunk, what is it supposed to take 
> to satisfy the require for "jdk >= 1.5".  I built and installed the 
> jpackage  java-1.5.0-sun-1.5.0.12-1jpp.nosrc.rpm and the Sun 
> jdk-1_5_0_12-linux-i586.bin on Centos5, but it doesn't provide a 'jdk'.
> It provides jre, java, jave-sun, java-sdk and a bunch of other stuff, 
> but no jdk.

Hm, are you sure the Sun JDK didn't work?  It worked for me...

As for the jpackage one, I've made a shunt RPM that can be used to act
as a stand-in for the Sun JDK.  I need to build it still, I've done so
for SuSE's java-1_5_0-sun-devel, which is similar to jpackage's.

--
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/

Tarus Balog | 10 Sep 2007 20:50
Favicon

Re: [opennms-devel] trunk rpm requires?


On Sep 10, 2007, at 2:35 PM, Les Mikesell wrote:

> If you build rpms from the subversion trunk, what is it supposed to  
> take
> to satisfy the require for "jdk >= 1.5".  I built and installed the
> jpackage  java-1.5.0-sun-1.5.0.12-1jpp.nosrc.rpm and the Sun
> jdk-1_5_0_12-linux-i586.bin on Centos5, but it doesn't provide a  
> 'jdk'.
> It provides jre, java, jave-sun, java-sdk and a bunch of other stuff,
> but no jdk.

I usually just grab the Linux RPM from Sun ...

-T

_______________________________________________________________________
Tarus Balog, OpenNMS Maintainer             Main:   +1 919 533 0160
The OpenNMS Group, Inc.                     Fax:    +1 503 961 7746
Skype: tarusb                               Direct: +1 919 647 4749
Email: tarus <at> opennms.org                    URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

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


Gmane