Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Shad Lords on December 30, 2002, 08:24:43 AM

Title: ANNOUNCEMENT: sysmon v4.0
Post by: Shad Lords on December 30, 2002, 08:24:43 AM
I have completed v4.0 of the sysmon package.  There have been many changes to the graphs and many new graphs added (if you have supported packages installed).  Thanks to those of you who responded with bug/fixes.  I believe I have them all integrated and fixed.  Please let me know if I haven't squished them all.

Find the latest RPMs at:

http://lordsfam.net/downloads/production/e-smith-sysmon-4.0/

-Shad

Changelog
=======
* Sun Dec 29 2002 Shad L. Lords
- 4.0-1
- updated graph formats (more condensed, no percentages)
- added new CPU graph (with support for individual CPU's)
- changed format of memory graph (more detail)
- added sensors graphs (temperature, voltage, fans)
- added apcupsd graphs (ups, ups-2)
- changed format of harddrive graph (stacked, old one still there as MEM2)

* Sat Dec 28 2002 Shad L. Lords
- 3.5-1
- added integration with apcupsd (collection)
- added integration with lm_sensors (collection)
- added new system/user/nice CPU graph (manual)
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: jeroen on December 30, 2002, 01:29:10 PM
nice work :-)
Works like a charm over here on SME 5.1.2

Jeroen
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: guestHH on December 30, 2002, 02:43:48 PM
Thanks Shad, works just fine on my 5.5.

One question, if I select the system monitor link, it comes up with cpu utilization without the devices (eth0, eth1, gateway etc) header.
I first have to click the graph first to have the header displayed. Is this correct?

Regards,
guestHH
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Kif on December 30, 2002, 06:35:50 PM
Just installed it... Great stuff !!!
Thanks
KIf
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Shad Lords on December 30, 2002, 06:44:52 PM
When you first click on the System Monitor link you will get a daily graph for all parts of the system.  Scroll down to see all the different parts of the system.  eth0, eth1 should be near the bottom.

If you click on a graph then you switch to detailed view.  You get hourly, daily, weekly, montly, yearly graphs for the chart you clicked on.

For each set of graphs the headers change.  For the first set the links at the top allow you to change from daily to one of the other time durations.  For detailed the links allow you to change to one of the other categories.

-Shad
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Shad Lords on December 30, 2002, 11:20:43 PM
Any feedback on integration with apcupsd or lm_sensors?

-Shad
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Boris on December 30, 2002, 11:25:02 PM
apcupsd support works on SME 5.1.2
Just updated sysmon today, not enough data to comment on long term data collection.
Thank you for your great job,
have a great new year,
Boris.
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Craig Jensen on December 31, 2002, 12:07:48 AM
works fine here.  ups has been very quiet so there is nothing to note, yet the graph works great with both.

SME 5.5 U2

Craig Jensen
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Boris on December 31, 2002, 03:32:58 AM
Still can not get lm_sensors to work on SME 5.1.2
error "Can't locate module adm9240" then lunched via start-lmsensors rep
http://www.wellsi.com/sme/lms/lm_sensors.html how-to.
This how-to is for SME 5.6 and modules are different or absent.
Is any how-to for SME 5.1.2 or precompiled kernel/modules available?
Boris.
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Boris on December 31, 2002, 03:54:46 AM
....
>> - added new CPU graph (with support for individual CPU's)
...
Does it means that it should show two CPU graphs on dual processor system?
on mine SME 5.1.2 servers (with two CPUs) it still show single graphs only for both CPU and Load/CPU.

:-(

Boris.
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Shad Lords on December 31, 2002, 05:18:43 AM
Can't help with the lm_sensors thing.  Not that familiar with it.

Data is being collected for up to 4 processors.  The graphing functions are there.  The main screens still show the combined graphs.  I've found that there isn't a reall need to see individual graphs all the time.  They pretty much mirror the main graph.

If you want to see individual processors take a look at

http://server/server-manager/cgi-bin/sysmon?state=detailed&typegraph=CPU

This will give you the same graph that appears at the top of the main System Monitor page.

If you change the query string and add a data paramater it will give you the individual processors.  Valid range is 0-3.  For example to view processor 2 your would use:

http://server/server-manager/cgi-bin/sysmon?state=detailed&typegraph=CPU&data=1

Hope this helps.

-Shad
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Boris on December 31, 2002, 05:52:11 AM
You are right. It works with URL.
I just fought that individual CPU graphs (combined on the same chart) will show how efficient multiprocessing is (if any) as far as load distributed.

As for LM_Sensors I will have to wait for version 5.6 final to come out.
sigh :-(

Thanks again,
Boris.
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Shad Lords on December 31, 2002, 07:36:54 AM
Keep your hopes up.  I'm still designing and improving the graphs.  My goal is to eventually have a graph that will show all cpu's on one graph for that reason.  But so far the first couple of tries don't show much because the load balancing is quite good.  The lines practially are identical.  Even despite the fact that I am trying to make load balacing hard.

Keep wishing it's what gives me ideas,

-Shad
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Timothée Bastin on December 31, 2002, 02:41:44 PM
Boris,

If you are using SME 5.1.2, I think it is not a good idea to install the RedHat 7.3 rpm which is used for the howto from Ian Wells.
Did you try this one? ftp://download.xs4all.nl/pub/mirror/redhat/linux/7.1/en/os/i386/RedHat/RPMS/lm_sensors-2.5.5-3.i386.rpm

The above one should run under SME 5.1.2 (because it is based on RH 7.1 or am I wrong here?) though I haven't tested it myself (sorry...my server has to keep alive and I don't have a machine for testing purposes at the moment). Although it is a good starting point for trial and error sessions I think :)

Maybe I have the opportunity to test it this week....is the above rpm the only one which should be additionaly installed if you already run Shad's sysmon contrib?

Timothée
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Shad Lords on December 31, 2002, 06:38:52 PM
My contrib checks for '/usr/bin/sensors' and also checks for a module loaded that has 'i2c' in the name.

-Shad
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Boris on January 01, 2003, 03:17:25 AM
I've tried lm_sensors-2.5.5-3.i386.rpm.
The problem is that module adm9240 does not exist, not compiled into the kernel.
From my reading of LM_Sensors how-to's from different sources, I understand, that you need recompiled kernel with support for lm_sensors, not the stock kernel 2.2.x
Its not a big deal, version 5.6 with new kernel and "built-in" support for this coming hopefuly soon a and I am planning to upgrade to it if no major problems found.
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Charlie Brady on January 01, 2003, 07:15:50 PM
Boris wrote:

> As for LM_Sensors I will have to wait for version 5.6 final
> to come out.
> sigh :-(

Do you know of any problems with 5.6beta plus updates which prevents you from using it now?

Charlie
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Timothée Bastin on January 01, 2003, 09:43:07 PM
Shad,

Could you tell us what's new/updated in version 4.0-5 of the sysmon rpm? I'm using 4.0-3.

TIA,

Timothée
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Shad Lords on January 01, 2003, 11:10:47 PM
Download the rpm and issue:

rpm -qp --changelog e-smith-sysmon-4.0-5.noarch.rpm

-Shad
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Boris on January 02, 2003, 06:09:03 AM
>Do you know of any problems with 5.6beta plus updates which prevents you from >using it now?

>Charlie

Not at the moment. I am testing it on development and staging servers. I just never put beta's or, for this matter final versions for the few months after release on the production servers. Still using versions 5.1.2 everywhere, since couldn't find compelling reasons to upgrade to 5.5. Version 5.6 will have good reason to upgrade (new kernel and better support for hardware)

My appreciations and wormiest wishes for the New Year to the e-Smith team and all the supporters of this wonderful product.,

Boris.
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Stephen on January 03, 2003, 05:03:19 PM
Hi,
Just installed Sysmon V4.0.
I used the server-manger rpm installer and it all went smoothly. I had also just upgraded apcupds to the latest version (3.8.5?).
About 5mins after installing I had a power cut! It only lasted 1min16sec (I love being able to say that with absolute accuracy!). Afterwards I looked at Sysmon and found a lovely battery discharge curve :)
I'm a happy man!
I subsequently installed lmsensors but nothing happened. Should I have installed that first? If so what should I do now?
Steve
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Shad Lords on January 03, 2003, 06:20:42 PM
In order to get lm_sensors working you have to install the RPM and then configure it.  There are howto's out there to walk you through it.

Once it is configured then if you type 'sensors' at a command prompt then you should get a nice little table of sensor data.

-Shad
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: benja on January 08, 2003, 06:18:01 AM
Hi

I've just install sysmon on my SME V5.5 U2 box (IBM Netfinity 3500) and it works perfect for memory, hdd ... monitoring. But the two first graph (%cpu utilisation and System load/%cpu) are empty.

Any idea ?
Thanks

benja.
Title: Re: ANNOUNCEMENT: sysmon v4.0
Post by: Ian Wells on January 25, 2003, 12:02:10 PM
Shad,

I finally managed to both find time, and get access to your rpm, sorry for the delay.

Installing sysmon 4.0 went smoothly, and it is picking up the lm_sensor information.

I'll update my lm_sensor HowTo http://www.wellsi.com/sme/lms/lm_sensors.html this weekend to include a mention of your excellent package.

Do you have a How-To for sysmon 4? I couldn't find one quickly, and I would prefer to link to some documentation rather than just the rpm directory.

Also thanks to Juan Jesus and Jaime.

Ian Wells