Difference between revisions of "Sysmon"

From SME Server
Jump to navigationJump to search
m (Sysmon moved to System Monitor)
m (Reverted edits by TrevorB (talk) to last revision by Unnilennium)
Tag: Rollback
 
(29 intermediate revisions by 13 users not shown)
Line 1: Line 1:
 
{{Languages|Sysmon}}
 
{{Languages|Sysmon}}
== System Monitor 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.
 +
 +
{{#smeversion:smeserver-sysmon}}
  
 
=== Installation ===
 
=== Installation ===
 +
<tabs container><tab name="For SME 10">
 +
yum --enablerepo=smecontribs install smeserver-sysmon
 +
</tab><tab name="For SME 9">
 +
yum --enablerepo=smecontribs install smeserver-sysmon
 +
 +
</tab>
 +
</tabs>
 +
 +
=== Configuration ===
 +
You can access the Sysmon interface in the server-manager.
 +
 +
By default Sysmon monitors your SME Server gateway, and you can add additional hosts. You can also change some default variables. These are:
 +
 +
==== hosts ====
 +
Default: Your SME Servergateway
  
RRDtool 1.0.x and perl-rrdtool are required
+
Add additional hosts to monitor as a comma separated list:
wget <nowiki>"http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=getit&lid=317"</nowiki>
+
  config setprop sysmon hosts 192.168.1.10,www.cnn.com,www.google.com
  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
+
Hosts will be ordered in the server manager panel alphabetically. If you change the hosts and want to remove the old hosts you may need to clear the respective files in /var/lib/rrd
  
=== Upgrade ===
+
To see stats for the other hosts, from the Sysmon page click the 'Daily' Graph (5 Minute Average) link
 +
 
 +
==== pingscale ====
 +
Default: 300
  
All rrd base are automatically move to a backup directory /var/lib/rrdsm/backup/
+
  config setprop sysmon pingscale xxx
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 ===
+
==== maxscale ====
yum remove smeserver-system_monitor
+
Default: 400
  
Remove rrd data manually in /var/lib/rrdsm/ directory.
+
config setprop sysmon maxscale xxx
  
==Usage==
 
You can access system_monitor interface in the server-manager.
 
  
=== Known problems ===
+
After changing one of the above values you will have to restart the sysmon servce
 +
service sysmon restart
  
After update, it could happen that parameters for the service disappear.
+
and wait for 5 minutes for the new data to be displayed in server manager.
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.
+
=== Upgrade ===
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 ===
+
When upgrading to a newer version, all Sysmon data will be automatically backed up to a backup directory /var/lib/rrd/backup/
 +
If you upgraded from at least version 6.1, you can bring back old Sysmon data, thus retaining the Sysmon history. Please use the following commands to restore Sysmon history data:
 +
service sysmon stop
 +
cp -f /var/lib/rrd/backup/*.rrd /var/lib/rrd/
 +
service sysmon start
  
*[http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewsdownload&sid=61&orderby=dateD MasterSleepy Web site]
+
=== Uninstall ===
 +
yum remove smeserver-sysmon
  
 +
Remove rrd data manually in /var/lib/rrd/ directory.
 +
=== Bugs ===
 +
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-sysmon component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-sysmon|title=this link}}.
 +
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-sysmon |noresultsmessage="No open bugs found."}}
 
----
 
----
 
[[Category: Contrib]]
 
[[Category: Contrib]]
[[Category: Administration]]
+
[[Category: Administration:Monitoring]]

Latest revision as of 13:24, 16 August 2022


Description

  • Sysmon provide graphics regarding server health.
  • It adds a new panel in the server-manager.
Contrib 10:
Contrib 9:
smeserver-sysmon
The latest version of smeserver-sysmon is available in the SME repository, click on the version number(s) for more information.


Installation

yum --enablerepo=smecontribs install smeserver-sysmon
yum --enablerepo=smecontribs install smeserver-sysmon

Configuration

You can access the Sysmon interface in the server-manager.

By default Sysmon monitors your SME Server gateway, and you can add additional hosts. You can also change some default variables. These are:

hosts

Default: Your SME Servergateway

Add additional hosts to monitor as a comma separated list:

config setprop sysmon hosts 192.168.1.10,www.cnn.com,www.google.com

Hosts will be ordered in the server manager panel alphabetically. If you change the hosts and want to remove the old hosts you may need to clear the respective files in /var/lib/rrd

To see stats for the other hosts, from the Sysmon page click the 'Daily' Graph (5 Minute Average) link

pingscale

Default: 300

config setprop sysmon pingscale xxx

maxscale

Default: 400

config setprop sysmon maxscale xxx


After changing one of the above values you will have to restart the sysmon servce

service sysmon restart

and wait for 5 minutes for the new data to be displayed in server manager.

Upgrade

When upgrading to a newer version, all Sysmon data will be automatically backed up to a backup directory /var/lib/rrd/backup/ If you upgraded from at least version 6.1, you can bring back old Sysmon data, thus retaining the Sysmon history. Please use the following commands to restore Sysmon history data:

service sysmon stop
cp -f /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.

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-sysmon component or use this link .

IDProductVersionStatusSummary (2 tasks)
12189SME Contribs10.0CONFIRMEDNFR: read hddtemp
12188SME Contribs10.0CONFIRMEDNFR: support temperature for multiple core