Koozali.org: home of the SME Server

[ANNOUNCE] smeserver-sysmon

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
[ANNOUNCE] smeserver-sysmon
« Reply #15 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?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
[ANNOUNCE] smeserver-sysmon
« Reply #16 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

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
[ANNOUNCE] smeserver-sysmon
« Reply #17 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

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
[ANNOUNCE] smeserver-sysmon
« Reply #18 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, 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline mmccarn

  • *
  • 2,653
  • +10/-0
[ANNOUNCE] smeserver-sysmon
« Reply #19 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.

Offline cool34000

  • *
  • 339
  • +0/-0
[ANNOUNCE] smeserver-sysmon
« Reply #20 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

Offline jmartin

  • ***
  • 58
  • +0/-0
    • http://www.ci.wayne.mi.us

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
[ANNOUNCE] smeserver-sysmon
« Reply #22 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:

egerards

[ANNOUNCE] smeserver-sysmon
« Reply #23 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....

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
[ANNOUNCE] smeserver-sysmon
« Reply #24 on: December 15, 2006, 04:26:13 PM »
Very nice Eric,
I'll try that!!

Thanks,

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
[ANNOUNCE] smeserver-sysmon
« Reply #25 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.

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
[ANNOUNCE] smeserver-sysmon
« Reply #26 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:

radbrad

New to sme need step by step.
« Reply #27 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

Offline beakersloco

  • ****
  • 142
  • +0/-0
[ANNOUNCE] smeserver-sysmon
« Reply #28 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)
All that's necessary for the forces of evil to win in the world is for enough good men to do nothing.???" Edmund Burke -Irish orator, philosopher, & politician


For the battle is not yours, but God's.   2 Chronicles 20:15

Offline pmstewart

  • *
  • 73
  • +0/-0
Hardware Sensors - Disk Writes
« Reply #29 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.