Stanislav Sinyagin | 1 Jul 2005 02:03
Picon
Favicon

Re: [opennms-devel] Holt-Winters


--- Ted Kaczmarek <tedkaz <at> optonline.net> wrote:
> > When I first read that I was thinking the same way!!  This paper referenced
> on torrus.org is very cool -
> > 
> > http://cricket.sourceforge.net/aberrant/rrd_hw.htm
> > 
> > I would love to see that added into OpenNMS. 
> You ain't kidding, that would give me a better shot when I go against
> openview based installations, I am hopeful that 1.3 alone will get me
> through one of those dam doors.

you can start trying it in Torrus. I expect it to be more tighty integrated 
with opennms within few weeks.

From my experience, Holt-Winters prediction works well on highly loaded links
with thousands of users, where grapgs are smooth and predictive.
Although even there it gives to omany warnings, so you can only take 
them as informative messages, and a human should decide if they are 
real alerts.

stan

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
(Continue reading)

Stanislav Sinyagin | 1 Jul 2005 10:21
Picon
Favicon

Re: [opennms-devel] RRD performance


--- David Hustace <david <at> opennms.org> wrote:
> That is a shxt load of data!  It is difficult to do, I know.  We were  
> collecting 200,000 at RS with version 1.1.4-2.  The problem we run  
> into is writing all that data causes a huge load on the server due to  
> an I/O bottle-neck with respect to the way RRDs are stored.  To get  
> to that scale, brozow wrote a queuing system to allow the collector  
> threads to fly along and just add data to the queue while the queue  
> manager writes the data.  Before, the collector threads were all  
> jammed up in I/O doing the disk writes and we would miss poll  
> cycles.  We are still not satisfied with the I/O performance and this  
> is mainly due to the way we write RRDs.  Do store directly to RRD  
> files?  I haven't had a chance to try the project yet and see.

Try out the newest RRDtool 1.2.x, it claims to have improved I/O 
performance. Though I didn't have a chance to test it thoroughly.

In the beginning, I was also writing datasources in too many RRD files, 
one or two variables per file. That caused performance problems, because 
the collector had to open each file, read in the header, then close the file.
With more datasources combined into fewer RRD files, it performs much better.

Of course it was a bit painful to tell the customers their old data is no 
longer cotinued, although they could have the old RRDs for viewing.

It's a nice idea with a separate RRD updating thread. Unfortunately, 
threading is not as stable in Perl, so I have to stick with single treaded
processes. Each collector process loads the configuration into the memory, 
then retrieves interface name to ifIndex mappings, and then starts collecting, 
according to the schedule. Within each scheduled run, it first queries 
(Continue reading)

Ted Kaczmarek | 1 Jul 2005 12:59
Favicon

[opennms-devel] Build Weirdness with tomcat

Yesterday I took rpms I built on a Centos 4.1 lab box that had tomcat4
and tomcat5 installed from jpackage and installed them on a pristine
Centos 4.1 install with tomcat4 installed from jpackage. I could not get
tomcat to find the opennms resource until I also installed tomcat5 as
well. If you build the rpms without tomcat5 installed it works as
expected. With my limited skills I could not find anything to explain
this. Will go through the same scenario again, but if someone who knows
the build process extensively, hint hint wants to chime in it would be
appreciated :-)

Ted

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

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

Stanislav Sinyagin | 1 Jul 2005 13:33
Picon
Favicon

Re: [opennms-devel] Build Weirdness with tomcat

by the way, I think the documentation needs to be updated: Opennms 
appears to fail with Tomcat 4.0. At least with that distributed with 
Solaris10, I couldn't make the authentication work: it refused admin/admin 
whatever I tried. Deinstalling tomcat 4.0 and installing tomcat 4.1 
resolved this. 

--- Ted Kaczmarek <tedkaz <at> optonline.net> wrote:

> Yesterday I took rpms I built on a Centos 4.1 lab box that had tomcat4
> and tomcat5 installed from jpackage and installed them on a pristine
> Centos 4.1 install with tomcat4 installed from jpackage. I could not get
> tomcat to find the opennms resource until I also installed tomcat5 as
> well. If you build the rpms without tomcat5 installed it works as
> expected. With my limited skills I could not find anything to explain
> this. Will go through the same scenario again, but if someone who knows
> the build process extensively, hint hint wants to chime in it would be
> appreciated :-)

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
(Continue reading)

David Hustace | 1 Jul 2005 13:41
Favicon
Gravatar

Re: [opennms-devel] Build Weirdness with tomcat


On Jul 1, 2005, at 7:33 AM, Stanislav Sinyagin wrote:

> Opennms
> appears to fail with Tomcat 4.0. At least with that distributed with
> Solaris10, I couldn't make the authentication work: it refused  
> admin/admin
> whatever I tried.

Could you open a documentation bug against this?  http:// 
bugzilla.opennms.org

David Hustace
The OpenNMS Group, Inc.
http://www.opennms.org

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

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

(Continue reading)

Stanislav Sinyagin | 1 Jul 2005 14:18
Picon
Favicon

Re: [opennms-devel] Build Weirdness with tomcat

sure. 
http://bugzilla.opennms.org/cgi-bin/bugzilla/show_bug.cgi?id=1274

--- David Hustace <david <at> opennms.org> wrote:
> > Opennms
> > appears to fail with Tomcat 4.0. At least with that distributed with
> > Solaris10, I couldn't make the authentication work: it refused  
> > admin/admin
> > whatever I tried.
> 
> Could you open a documentation bug against this?  http:// 
> bugzilla.opennms.org

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

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 | 1 Jul 2005 18:15
Favicon
Gravatar

Re: [opennms-devel] RRD performance


On Jul 1, 2005, at 4:21 AM, Stanislav Sinyagin wrote:

> If I guess it right, you call rrdtool binary directly, and that  
> also may cause
> some performance problem, instead of loading the RRDlib into the  
> memory.
> It seems like multithreading is supported in rrdtool, and it works  
> quite fine.

We actually use the RRDTool libs rather than system call to the  
rrdtool commmands, however, the lib we are currently using isn't  
thread-safe.  We didn't move to a thread-safe version because we  
found and started using JRobin for customers that really need  
performance.  Being able to use native Java threads was a blessing  
and the formats are platform independent.  The only problem is that  
they are not directly compatible with RRDTool for those that want to  
integrate with our RRDs.

> See here:
> http://cvs.sourceforge.net/viewcvs.py/torrus/src/xmlconfig/examples/ 
> docsis-monitors.xml?rev=1.5&view=auto
>
> it's the most advanced monitoring configuration that I created,

Very nice.

> and it works :)

Even better ;)
(Continue reading)

DJ Gregor | 3 Jul 2005 02:52

[opennms-devel] Unused code for views and outages? Should I remove it?

While working on documentation for all of OpenNMS's XML files, I 
discovered that we still have XML schemas and code for two 
configuration files that are not used: outage-configuration.xml and 
views.xml.

Unused code that references the outage-configuration.xml 
Castor-generated code exists here:

	src/services/org/opennms/netmgt/config/outage-configuration.xsd
	src/services/org/opennms/netmgt/config/OutageManagerConfig.java
	src/services/org/opennms/netmgt/config/OutageManagerConfigFactory.java
	src/services/org/opennms/netmgt/mock/MockOutageConfig.java
	src/services/org/opennms/netmgt/poller/PollerTest.java (parts, 
partially commented-out)

Unused code that references the views.xml Castor-generated code exists 
here:

	src/services/org/opennms/netmgt/config/ViewFactory.java
	src/web/src/org/opennms/netmgt/config/views/RenameViewServlet.java 
(wtf... why is this here?)
	src/web/src/org/opennms/web/admin/views/
	src/web/web/admin/userGroupView/views/
	src/web/web/admin/userGroupView/index.jsp (parts, commented-out)
	src/web/web/WEB-INF/web.xml (parts)
	src/services/org/opennms/netmgt/config/UserFactory.java (parts, 
commented-out)

Note that the views.xml code is unrelated to viewsdisplay.xml code.

(Continue reading)

Tarus Balog | 3 Jul 2005 04:35
Favicon

Re: [opennms-devel] Unused code for views and outages? Should I remove it?


DJ Gregor said:

> I like to delete unused code, unless there are plans to bring it back
> to life soon.  Does anyone have any issues with me deleting one or both
> of these chunks of code from HEAD in CVS?  We can always bring it back
> later, if we want to work on it.

I think we can definitely can the outage code. The views file was for
user-specific views (i.e. you log in and get your own viewsdisplay.) It
shouldn't be too hard to bring that back, something like "oh, Bill just
logged in, let me read the viewdisplay for his user instead of the generic
on").

Note that it will be much harder to make sure Bill can't see Ted's devices.

But as you said, we can always bring it back. I'll abstain from that one.

-T
--

-- 

Tarus Balog
The OpenNMS Group, Inc.
Phone: +1 919 545 2553
Fax:   +1 503-961-7746
Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
(Continue reading)

Ted Kaczmarek | 7 Jul 2005 13:33
Favicon

[opennms-devel] Ldap Realm

Since opennms is the only app I have left that does not use ldap or
kerberos authentication I finally got back to this.  I will be plugging
away at this as time permits. 

Found this link if anyone is interested.

http://www.dahbura.com/ldap/ldaprealm_howto.html

If someone is already their let me know.

Ted

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

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