Difference between revisions of "Sysmon"
m (Fixed typo) |
MasterSleepy (talk | contribs) |
||
Line 1: | Line 1: | ||
{{Languages|Sysmon}} | {{Languages|Sysmon}} | ||
− | == | + | == System Monitor for SME Server == |
=== Maintainer === | === Maintainer === | ||
Line 7: | Line 7: | ||
=== Description === | === Description === | ||
− | * | + | * System Monitor provide graphics regarding server health. |
* It adds a new panel in the server-manager. | * It adds a new panel in the server-manager. | ||
Line 18: | Line 18: | ||
Sysstat are required but will be install using yum. | 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- | + | yum localinstall rrdtool-1.0.50-3.el4.rf.i386.rpm perl-rrdtool-1.0.50-3.el4.rf.i386.rpm smeserver-system_monitor-1.0-1.noarch.rpm |
=== Upgrade === | === Upgrade === | ||
− | All rrd base are automatically move to a backup directory /var/lib/ | + | All rrd base are automatically move to a backup directory /var/lib/rrdsm/backup/ |
If you update from version at least 5, you can use it again. Use the following command : | If you update from version at least 5, you can use it again. Use the following command : | ||
− | service | + | service systemmonitor stop |
− | rm /var/lib/ | + | rm /var/lib/rrdsm/*.rrd |
− | mv /var/lib/ | + | mv /var/lib/rrdsm/backup/*.rrd /var/lib/rrdsm/ |
− | service | + | service systemmonitor start |
=== Uninstall === | === Uninstall === | ||
− | yum remove smeserver- | + | yum remove smeserver-system_monitor |
− | Remove rrd data manually in /var/lib/ | + | Remove rrd data manually in /var/lib/rrdsm/ directory. |
==Usage== | ==Usage== | ||
− | You can access | + | You can access system_monitor interface in the server-manager. |
=== Known problems === | === Known problems === | ||
Line 41: | Line 41: | ||
After update, it could happen that parameters for the service disappear. | After update, it could happen that parameters for the service disappear. | ||
Check existence with the following command: | Check existence with the following command: | ||
− | db configuration show | + | db configuration show systemmonitor |
If nothing appear, use the following command: | If nothing appear, use the following command: | ||
− | db configuration set | + | db configuration set systemmonitor service status enabled debug release |
− | service | + | service systemmonitor stop |
− | service | + | service systemmonitor start |
From verison 6, debug mode are present for the service so that remote debuging are easer. | From verison 6, debug mode are present for the service so that remote debuging are easer. | ||
To activate it, use the command: | To activate it, use the command: | ||
− | db configuration setprop | + | db configuration setprop systemmonitor debug debug |
− | Wait for about 5 minutes and go check file /var/log/ | + | Wait for about 5 minutes and go check file /var/log/systemmonitor |
You can send it to me, you'll find my address in the spec of RPM. | You can send it to me, you'll find my address in the spec of RPM. | ||
Revision as of 08:18, 31 March 2008
System Monitor for SME Server
Maintainer
Description
- System Monitor 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-system_monitor-1.0-1.noarch.rpm
Upgrade
All rrd base are automatically move to a backup directory /var/lib/rrdsm/backup/ If you update from version at least 5, you can use it again. Use the following command :
service systemmonitor stop rm /var/lib/rrdsm/*.rrd mv /var/lib/rrdsm/backup/*.rrd /var/lib/rrdsm/ service systemmonitor start
Uninstall
yum remove smeserver-system_monitor
Remove rrd data manually in /var/lib/rrdsm/ directory.
Usage
You can access system_monitor interface in the server-manager.
Known problems
After update, it could happen that parameters for the service disappear. Check existence with the following command:
db configuration show systemmonitor
If nothing appear, use the following command:
db configuration set systemmonitor service status enabled debug release service systemmonitor stop service systemmonitor 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 systemmonitor debug debug
Wait for about 5 minutes and go check file /var/log/systemmonitor You can send it to me, you'll find my address in the spec of RPM.