Difference between revisions of "Sysmon"

From SME Server
Jump to navigationJump to search
m (System Monitor moved to Sysmon over redirect: revert)
(Point to smecontribs version. If there are issues with this version rais bugs.)
Line 1: Line 1:
{{Languages|SystemMonitor}}
+
{{Languages|Sysmon}}
== System Monitor for SME Server ==
+
== sysmon for SME Server ==
 
 
=== Maintainer ===
 
[[User:MasterSleepy|Michel Van hees]]
 
  
 
=== Description ===
 
=== Description ===
  
* System Monitor provide graphics regarding server health.
+
* Sysmon provide graphics regarding server health.
 
* It adds a new panel in the server-manager.
 
* It adds a new panel in the server-manager.
  
 
=== Installation ===
 
=== Installation ===
  
RRDtool 1.0.x and perl-rrdtool are required
+
  yum --enable smecontribs install smeserver-sysmon
  wget <nowiki>"http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=getit&lid=317"</nowiki>
 
wget <nowiki>"ftp://fr2.rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/perl-rrdtool-1.0.50-3.el4.rf.i386.rpm"</nowiki>
 
wget <nowiki>"http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=getit&lid=300"</nowiki>
 
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 ===
 
=== Upgrade ===
  
All rrd base are automatically move to a backup directory /var/lib/rrdsm/backup/
+
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 :
+
If you update from version at least 6.1, you can use it again. Use the following command :
  service systemmonitor stop
+
  service sysmon stop
  rm /var/lib/rrdsm/*.rrd
+
  rm /var/lib/rrd/*.rrd
  mv /var/lib/rrdsm/backup/*.rrd /var/lib/rrdsm/
+
  mv /var/lib/rrd/backup/*.rrd /var/lib/rrd/
  service systemmonitor start
+
  service sysmon start
  
 
=== Uninstall ===
 
=== Uninstall ===
  yum remove smeserver-system_monitor
+
  rpm -e smeserver-sysmon
  
Remove rrd data manually in /var/lib/rrdsm/ directory.
+
Remove rrd data manually in /var/lib/rrd/ directory.
  
 
==Usage==
 
==Usage==
You can access system_monitor interface in the server-manager.
+
You can access sysmon 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.
 
 
 
=== Additional information ===
 
 
 
*[http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewsdownload&sid=61&orderby=dateD MasterSleepy Web site]
 
  
 
----
 
----
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 
[[Category: Administration]]
 
[[Category: Administration]]

Revision as of 21:48, 31 March 2008


sysmon for SME Server

Description

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

Installation

yum --enable smecontribs install smeserver-sysmon

Upgrade

All rrd base are automatically move to a backup directory /var/lib/rrd/backup/ If you update from version at least 6.1, 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

rpm -e smeserver-sysmon

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

Usage

You can access sysmon interface in the server-manager.