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
-
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.
-
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:
# 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?
-
Nice work and thanks for sharing your efforts.
I am running a dual core CPU however it is only indicating one CPU.
Rgds
Peter
-
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
-
Hello,
I'll take a close look at hd problem.
for dual core, i'll try but not sure.
Regards
-
however sysmon shows the total space to be 74.9Gb
Bugs in Contribs should be reported via the Bug Tracker.
-
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
-
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.
-
Could some body give me the url for the dependancies
[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
-
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.
-
[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)?
-
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...
-
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...
-
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
-
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
-
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?
-
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
-
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
-
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: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.
-
Slightly further down in the RRDTool changelog it says this:
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.
-
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
-
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
-
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:
../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:
-
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....
-
Very nice Eric,
I'll try that!!
Thanks,
-
How did you fix this error:
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.
-
OK,
I have it now fixed:
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:
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:
-
Can some one give a step by step for installing sysmon for version 7.1 , including any commands.
Thank you in advance,
Regards,
Radbrad
-
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)
-
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.
-
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:
-
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.