Sysmon

From SME Server
Revision as of 10:14, 14 February 2008 by MasterSleepy (talk | contribs)
Jump to navigationJump to search


sysmon for SME Server

Maintainer

Michel Van hees

Description

  • Sysmon provide graphics regarding server health.
  • It adds a new panel in the server-manager.

Installation

RRDtool 1.0.x and perl-rrdtool are required

wget "http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=getit&lid=317"
wget "ftp://fr2.rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/perl-rrdtool-1.0.50-3.el4.rf.i386.rpm"
wget "http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=getit&lid=300"

Sysstat are required but will be install using yum.

yum localinstall rrdtool-1.0.50-3.el4.rf.i386.rpm perl-rrdtool-1.0.50-3.el4.rf.i386.rpm smeserver-sysmon-5.1-3.noarch.rpm

Upgrade

All rrd base are automatically move to a backup directory /var/lib/rrd/backup/ If you update from version at least 5, you can use it again. Use the following command :

service sysmon stop
rm /var/lib/rrd/*.rrd
mv /var/lib/rrd/backup/*.rrd /var/lib/rrd/
service sysmon start

Uninstall

yum remove smeserver-sysmon

Remove rrd data manually in /var/lib/rrd/ directory.

Usage

You can access sysmon interface in the server-manager.

Known problems

After update, it could that parameters for the service disapear. Check existence with the following command:

db configuration show sysmon

If nothing appear, use the following command:

db configuration set sysmon service status enabled debug release
service sysmon stop
service sysmon start

From verison 6, debug mode are present for the service so that remote debuging are easer. To activate it, use the command:

db configuration setprop sysmon debug debug

Wait for about 5 minutes and go check file /var/log/sysmon You can send it to me, you'll find my address in the spec of RPM.

Additional information