Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: MasterSleepy on July 12, 2006, 10:21:22 AM

Title: [ANNOUNCE] smeserver-sysmon
Post by: MasterSleepy on July 12, 2006, 10:21:22 AM
Hello all,

I've modified e-smith-sysmon contrib, server status graph generation, so that it can be used on 7.0.
sar problem have been fix, I think it is already done by some one but I don't remember where to find this version.
Sensors detection have also been fix.
smeserver-sysmon-5.0-1.noarch.rpm (http://www.vanhees.cc/modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=300&ttitle=smeserver-sysmon-5.0-1.noarch.rpm)
smeserver-sysmon-5.0-1.src.rpm (http://www.vanhees.cc/modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=301&ttitle=smeserver-sysmon-5.0-1.src.rpm)

This contrib need the following rpm:
sysstat-5.0.5-7.rhel4.i386.rpm
rrdtool-1.0.50-1.2.el4.rf.i386.rpm
perl-rrdtool-1.0.50-1.2.el4.rf.i386.rpm

Regards.
Title: [ANNOUNCE] smeserver-sysmon
Post by: egerards on July 13, 2006, 08:46:47 AM
Thanks for your effort.

I installed it and most things seem to work fine.

However the 'hard drive usage' graph displays the wrong filesystem. I've got a standard SME 7.0 installation and following filesystems:

Code: [Select]
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/main-root
                       73G   30G   40G  44% /
/dev/md1               99M   13M   82M  14% /boot
none                  251M     0  251M   0% /dev/shm


The 'hard drive usage' graph shows the usage of /dev/md1 and not of /dev/mapper/main-root . Of course you would like to monitor /dev/mapper/main-root .

Do you know how to change this?
Title: [ANNOUNCE] smeserver-sysmon
Post by: p-jones on July 13, 2006, 10:21:08 AM
Nice work and thanks for sharing your efforts.

I am running a dual core CPU however it is only indicating one CPU.

Rgds
Peter
Title: [ANNOUNCE] smeserver-sysmon
Post by: p-jones on July 13, 2006, 01:29:58 PM
I have just had another look at my sysmon and in partiular the hard disk useage. I have 3 x 160Gb SATA drives as a RAID 5 for a total storage space of about 275Gb however sysmon shows the total space to be 74.9Gb
Title: [ANNOUNCE] smeserver-sysmon
Post by: MasterSleepy on July 14, 2006, 08:32:17 AM
Hello,

I'll take a close look at hd problem.
for dual core, i'll try but not sure.

Regards
Title: [ANNOUNCE] smeserver-sysmon
Post by: CharlieBrady on July 15, 2006, 02:45:40 PM
Quote from: "p-jones"

however sysmon shows the total space to be 74.9Gb


Bugs in Contribs should be reported via the Bug Tracker.
Title: [ANNOUNCE] smeserver-sysmon
Post by: MasterSleepy on July 17, 2006, 09:05:43 AM
Hello all,

Here a new version of sysmon that correct disk space report.
smeserver-sysmon-5.0-2.noarch.rpm (http://www.vanhees.cc/modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=300&ttitle=smeserver-sysmon-5.0-2.noarch.rpm)
smeserver-sysmon-5.0-2.src.rpm (http://www.vanhees.cc/modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=301&ttitle=smeserver-sysmon-5.0-2.src.rpm)

For dual core CPU, I look for splitting in two or more graph.
Actually an average value are taken to display graph.

Regards
Title: [ANNOUNCE] smeserver-sysmon
Post by: MasterSleepy on July 24, 2006, 10:54:37 AM
Hello all,

A new version are available.
smeserver-sysmon-5.0-3.noarch.rpm (http://www.vanhees.cc/modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=300&ttitle=smeserver-sysmon-5.0-3.noarch.rpm)
smeserver-sysmon-5.0-3.src.rpm (http://www.vanhees.cc/modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=301&ttitle=smeserver-sysmon-5.0-3.src.rpm)

This new version display cpu utilization per cpu. A maximum of 4 cpu as been setup. Sorry dor those who have more cpu.

Regards.
Title: [ANNOUNCE] smeserver-sysmon
Post by: Teviot on July 25, 2006, 08:19:14 AM
Could some body give me the url for the dependancies

Quote
[root@gateway smeserver-sysmon]# rpm -Uvh smeserver-sysmon-5.0-3.noarch.rpm
error: Failed dependencies:
        sysstat >= 5 is needed by smeserver-sysmon-5.0-3.noarch
        rrdtool >= 1 is needed by smeserver-sysmon-5.0-3.noarch
        perl-rrdtool >= 1 is needed by smeserver-sysmon-5.0-3.noarch
    Suggested resolutions:
        /home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/sysstat-5.0.5-7.rhel4.i386.rpm
[root@gateway smeserver-sysmon]#


Have searched using google and on contribs.org but i'm not sure which version(s) to use with SME7

Thanks
Adrian
Title: [ANNOUNCE] smeserver-sysmon
Post by: MasterSleepy on July 25, 2006, 08:56:10 AM
Hello,

All rpm are the same as sme7admin
http://sme.firewall-services.com/cgi-bin/index.pl?page=sme7admin

Or you can take
http://www.raimokoski.com/lineox/4.0/i386/os/Lineox/RPMS.os/sysstat-5.0.5-7.rhel4.i386.rpm
http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el4/en/i386/RPMS.dries/rrdtool-1.0.50-1.2.el4.rf.i386.rpm
http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el4/en/i386/RPMS.dries/perl-rrdtool-1.0.50-1.2.el4.rf.i386.rpm

Regards.
Title: [ANNOUNCE] smeserver-sysmon
Post by: mmccarn on August 24, 2006, 05:53:52 PM
[edit]
DO NOT USE THE FILES SHOWN HERE.  These files include the newer rrdtool v1.2.x which looks as though it will require rewriting of the smeserver-sysmon cgi script.
[/edit]


New versons of all 3 are now out:

http://www.raimokoski.com/lineox/4.0/i386/os/Lineox/RPMS.os/sysstat-5.0.5-11.rhel4.i386.rpm
http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el4/en/i386/RPMS.dries/rrdtool-1.2.15-1.el4.rf.i386.rpm
http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el4/en/i386/RPMS.dries/perl-rrdtool-1.2.15-1.el4.rf.i386.rpm

but when I try to install rrdtool using "yum localinstall...." I get complaints about another dependancy: libart_lgpl_2.so.2


Is there a yum repository or two that would allow automatic download of the latest versions of these packages?

Or should I just install sme7admin first (which went right in for me on another system)?
Title: [ANNOUNCE] smeserver-sysmon
Post by: cool34000 on August 24, 2006, 11:59:00 PM
I tryed with rpm -Uvh command rather than yum local install, he had suggested me this rpm : libart_lgpl-2.3.16-3.i386.rpm

You can find it here (http://ftp://fr2.rpmfind.net/linux/fedora/core/3/i386/os/Fedora/RPMS/libart_lgpl-2.3.16-3.i386.rpm)

I did not tryed it...
Title: [ANNOUNCE] smeserver-sysmon
Post by: mmccarn on August 25, 2006, 12:37:03 AM
I found a copy of libart_lgpl_2.so.2, and that let me install everything without errors.

I now have "System Monitor" under Administration in my server-manager, but I don't get any graphs, yet...
Title: [ANNOUNCE] smeserver-sysmon
Post by: Tib on August 25, 2006, 03:42:46 AM
Hi guys

All I did to install these is open up the base in yum.conf ... then download the files ... place then into the /opt dir .... then run the following comand.

yum install perl-rrdtool-1.2.15-1.el4.rf.i386.rpm rrdtool-1.2.15-1.el4.rf.i386.rpm sysstat-5.0.5-11.rhel4.i386.rpm

went in with no probs at all

Regards,

Tib
Title: [ANNOUNCE] smeserver-sysmon
Post by: Tib on August 25, 2006, 04:34:41 AM
hmm

Just so everyone is cautious ... my sysmon as well as sme7admin graphs are broken as a result of updating those files.

Will try and fix next week ... it's only my test server anyway.

Regards,

Tib
Title: [ANNOUNCE] smeserver-sysmon
Post by: cactus on August 25, 2006, 09:20:10 AM
Quote from: "Tib"
hmm

Just so everyone is cautious ... my sysmon as well as sme7admin graphs are broken as a result of updating those files.

Will try and fix next week ... it's only my test server anyway.

Regards,

Tib
I noticed the same yesterday, can someone point me to some other rpm's that do work?
Title: [ANNOUNCE] smeserver-sysmon
Post by: Tib on August 25, 2006, 01:21:41 PM
cactus

I would sugest uninstalling all the files and install the ones from here:

http://sme.firewall-services.com/cgi-bin/index.pl?page=sme7admin

At least they worked.

I will do this at work on monday and see if all goes back to normal.

Regards,

Tib
Title: [ANNOUNCE] smeserver-sysmon
Post by: Tib on August 25, 2006, 02:02:52 PM
OK I couldn't wait ...

I logged into works test machine from home and tried out my theory.

Worked no prob ...

uninstalled ... rpm -e rrdtool-1.2.15-1.el4.rf

uninstalled ... rpm -e perl-rrdtool-1.2.15-1.el4.rf

uninstalled ... rpm -e sysstat-5.0.5-11.rhel4

uninstalled ... rpm -e smeserver-sysmon-5.0-3

just for good measure uninstalled smeserver-sme7admin-1.1.0-1

Then I re-installed

rpm -ivh http://sme.firewall-services.com/rpms/rrdtool-1.0.50-1.2.el4.rf.i386.rpm

rpm -ivh http://sme.firewall-services.com/rpms/perl-rrdtool-1.0.50-1.2.el4.rf.i386.rpm

I loaded on  sysstat-5.0.5-7.rhel4.i386.rpm ... I loaded this from the base repo using yum.

rpm -ivh http://sme.firewall-services.com/rpms/smeserver-sme7admin-1.1.0-1.noarch.rpm

download and install smeserver-sysmon-5.0-3.noarch.rpm from here

http://www.vanhees.cc/modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=300&ttitle=smeserver-sysmon-5.0-3.noarch.rpm

All works fine now ... remember to re-set your sme7admin settings.

Regards,

Tib
Title: [ANNOUNCE] smeserver-sysmon
Post by: cactus on August 25, 2006, 02:44:34 PM
Quote from: "Tib"
Will try and fix next week ... it's only my test server anyway.
Tib,
To help you a little bit, the sysstat as can be found in the base repository (sysstat-5.0.5-7.rhel4) seems to work OK (at least for sysmon as I dont't have sme7admin installed), therefore I guess that the problem is in the rrdtool/perl-rrdtool part of the installation. Here is a changelog for RRDtool for version 1.0.x to 1.2 (http://oss.oetiker.ch/rrdtool/newin12.txt), maybe this will help you solve it. here is a quick excerpt which will porbably explain why it breaks:
Quote
Graphing
--------

* rewritten graphics generation based on libart.
  - anti-aliased output
  - alpha transparency support
  - truetype fonts
 
* additional graphics formats: EPS, PDF, SVG

* extended multi-part documentation

* VDEF support; define and use variables.  Find, and use, the
  maximum rate seen by rrdtool; compute and show the average

* Sliding window (trend) analysis
  Compute a smoother average, for instance over the last 6 CDPs

* percentile (95th or other)
  Remove peaks, 95 percent of all rates are at or below the
  returned value

My guess is that it might be in the rewritten graphics generation.
Title: [ANNOUNCE] smeserver-sysmon
Post by: mmccarn on August 26, 2006, 12:22:50 AM
Slightly further down in the RRDTool changelog it says this:
Quote
Incompatibilities
-----------------
* Colons in COMMENT arguments to rrdtool graph must be escaped with a backslash


And looking at /var/log/httpd/admin_error_log shows lots of syntax errors in /etc/e-smith/web/functions/sysmon that seem to be related to this...

I apologize to everyone for posting the newer rpm links without doing more research; I will edit my earlier post to include a warning.
Title: [ANNOUNCE] smeserver-sysmon
Post by: cool34000 on August 26, 2006, 03:30:34 AM
I remember that i've seen that sysmon and sme7admin aren't fully compatible as they must use different version of rrdtool. This could be Mastersleepy.

Both contribs are working on my server, but i have some graphs broken in sysmon as rrdtool is for sme7admin. Anyway most of graphs are working and I love both contribs ! :-D
Title: [ANNOUNCE] smeserver-sysmon
Post by: jmartin on September 05, 2006, 03:07:37 PM
Thanks for the great script.  Those first set of links don't appear to be working anymore.  Here is where I got them from.

ftp://ftp.pbone.net/mirror/ftp.centos.org/4.3/os/i386/CentOS/RPMS/sysstat-5.0.5-7.rhel4.i386.rpm
http://www.hanscees.com/sme7/rrdtool-1.0.50-1.2.el4.rf.i386.rpm
http://ftp.buu.ac.th/pub/opensource/cacti-install/perl-rrdtool-1.0.50-1.2.el4.rf.i386.rpm
Title: [ANNOUNCE] smeserver-sysmon
Post by: Franco on December 15, 2006, 12:54:06 AM
So what was the end veridict here, one cannot update RRDTOOL to 1.2 or will break sysmon?
I'm in the need to upgrade mine but after looking at this post I want to be sure first.
Edit:
I went ahead and upgrade rrdtool to 1.2 and neither package works:
Code: [Select]

../sme7admin/sessions.PNG

Error at RRDs::graph(dhcpsmb.PNG) : Garbage ': ' after command: COMMENT:Max:

That's too bad I need rrdtool 1.2 for another monitoring tool  :cry:
Title: [ANNOUNCE] smeserver-sysmon
Post by: egerards on December 15, 2006, 10:37:28 AM
On my SME server I've got two versions of rrdtool running. I installed rrdtool-1.0.50-1.2.el4.rf.i386.rpm to get system monitor working and for an other application I downloaded the source code of rrdtool 1.2.15 and compiled + installed it under /usr/local/rrdtool-1.2.15/ .

Works fine for me....
Title: [ANNOUNCE] smeserver-sysmon
Post by: Franco on December 15, 2006, 04:26:13 PM
Very nice Eric,
I'll try that!!

Thanks,
Title: [ANNOUNCE] smeserver-sysmon
Post by: Franco on December 15, 2006, 05:54:14 PM
How did you fix this error:
Code: [Select]
I could not find a working copy of libart-2.0
This happens when the compilation starts and checks for the libraries.

I do have it installed as this is a requirement for openoffice and gnome running in this machine.
Title: [ANNOUNCE] smeserver-sysmon
Post by: Franco on December 17, 2006, 05:19:19 AM
OK,
I have it now fixed:
Code: [Select]
wget ftp://fr2.rpmfind.net/linux/fedora/core/4/i386/os/Fedora/RPMS/libart_lgpl-devel-2.3.17-2.i386.rpm
yum localinstall libart_lgpl-devel-2.3.17-2.i386.rpm
cd /tmp/rrdbuild/
BUILD_DIR=/tmp/rrdbuild
INSTALL_DIR=/usr/local/rrdtool-1.2.15
cd $BUILD_DIR
tar zxf rrdtool-1.2.15.tar.gz
cd rrdtool-1.2.15
./configure --prefix=$INSTALL_DIR && make && make install
make clean
make
make install

In my application I set the path for rrdtool = "/usr/local/rrdtool-1.2.15/bin/rrdtool"
My graphics bars appear but the data does not move.
I'm getting:
Code: [Select]

ERROR: can't handle RRD file version 0003


this is my old rrdtool complaining that it cannot read the .rrd files generated by the new 1.2.15.  :cry:
Title: New to sme need step by step.
Post by: radbrad on February 04, 2007, 01:33:06 AM
Can some one give a step by step for installing sysmon for version 7.1 , including any commands.

Thank you in advance,

Regards,
Radbrad
Title: [ANNOUNCE] smeserver-sysmon
Post by: beakersloco on March 23, 2007, 10:43:29 AM
Quote from: "Tib"
OK I couldn't wait ...

I logged into works test machine from home and tried out my theory.

Worked no prob ...

uninstalled ... rpm -e rrdtool-1.2.15-1.el4.rf

uninstalled ... rpm -e perl-rrdtool-1.2.15-1.el4.rf

uninstalled ... rpm -e sysstat-5.0.5-11.rhel4

uninstalled ... rpm -e smeserver-sysmon-5.0-3

just for good measure uninstalled smeserver-sme7admin-1.1.0-1

Then I re-installed

rpm -ivh http://sme.firewall-services.com/rpms/rrdtool-1.0.50-1.2.el4.rf.i386.rpm

rpm -ivh http://sme.firewall-services.com/rpms/perl-rrdtool-1.0.50-1.2.el4.rf.i386.rpm

I loaded on  sysstat-5.0.5-7.rhel4.i386.rpm ... I loaded this from the base repo using yum.

rpm -ivh http://sme.firewall-services.com/rpms/smeserver-sme7admin-1.1.0-1.noarch.rpm

download and install smeserver-sysmon-5.0-3.noarch.rpm from here

http://www.vanhees.cc/modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=300&ttitle=smeserver-sysmon-5.0-3.noarch.rpm

All works fine now ... remember to re-set your sme7admin settings.

Regards,

Tib


I followed the above steps to get mine working... now the hardware sensors dont work on my test system. which dont really concern me but why are the read writes not showing up on the graphs ? could it be the board (old hp system)
Title: Hardware Sensors - Disk Writes
Post by: pmstewart on March 26, 2007, 05:37:13 AM
beakersloco,

I have installled several versions of this contrib on various machines (0ld and new) with mixed results - during the last 2 years. Can get sensors working on all but VIA 686 chipsets.

What chipset is your motherboard running?
Can you see any sensor information displayed in the bios?
What does the output of the "sensors" command show in terminal?

Comment:  I have never been able to get disk information to read on
any of my installs. Many searches have proven nothing on the subject and
there have been few posts about it as well.

Here's hoping the author might shed a little light as to why the disk writes/reads are having problems.
Title: Re: more sensors
Post by: skovsgaard on October 18, 2007, 07:04:46 PM
I'm preparing a new dual cobbermine server planned overtaking my old and well serving systems hard job. So I'm started with some initial configuration before migrating for good. lmsensors and sysmon are giving me some more grey hair.

This is the output of sensors, after trying to adjust sensors.conf to collect my voltage consumption:

lm87-i2c-0-2e
Adapter: SMBus PIIX4 adapter at 0580
ERROR: Can't get IN1 data!
ERROR: Can't get IN3 data!
ERROR: Can't get IN4 data!
fan1:     6193 RPM  (min = 2848 RPM, div = 2)
fan2:     6429 RPM  (min = 2848 RPM, div = 2)
temp1:       +27°C  (low  =    +0°C, high =   +65°C)
ERROR: Can't get TEMP2 data!

lm87-i2c-0-2d
Adapter: SMBus PIIX4 adapter at 0580
ERROR: Can't get IN1 data!
ERROR: Can't get IN3 data!
ERROR: Can't get IN4 data!
fan1:        0 RPM  (min = 2848 RPM, div = 2)          ALARM
fan2:        0 RPM  (min = 2848 RPM, div = 2)          ALARM
temp1:       +24°C  (low  =    +0°C, high =   +65°C)
ERROR: Can't get TEMP2 data!



I have no problem not collecting the voltage meassurements, is there a way hiding/removing/deleting the voltage graph in sysmon. In sysmon only the data lm87-i2c-0-2d is collected, and not the fans and temp from lm87-i2c-0-2e. Can I manipulate system monitor to show these data in the existing graphs?

Any advice on this :idea:
Title: Re: [ANNOUNCE] smeserver-sysmon
Post by: pmstewart on October 24, 2007, 03:48:25 PM
In another week or so I'll be upgrading to the new SME version on a different test bed server. I will attempt to post my results as the mb I'm using on the test server has the piix4 chipset on it.

I haven't been working on computers for 6 months - busy taking care of other business - sorry for the delay in post.