Difference between revisions of "Sysmon"

From SME Server
Jump to navigationJump to search
m (added configuration options)
Line 15: Line 15:
  
 
  yum --enablerepo=smecontribs install smeserver-sysmon
 
  yum --enablerepo=smecontribs install smeserver-sysmon
 +
 +
 +
==== Configuration ====
 +
You can access Sysmon interface in the server-manager.
 +
 +
By default Sysmon monitors your SME Server gateway, and you can additional hosts. You can also change some defaults varaables. These are:
 +
 +
===== hosts =====
 +
Default: Your SME Servergateway
 +
 +
To add additional hosts to monitor as a comma separated list:
 +
config setprop sysmon hosts w.x.y.z,myhost.to-ping.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 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 ===
 
=== Upgrade ===
Line 29: Line 64:
  
 
Remove rrd data manually in /var/lib/rrd/ directory.
 
Remove rrd data manually in /var/lib/rrd/ directory.
 
==Usage==
 
You can access Sysmon interface in the server-manager.
 
 
You can add a comma separated list of additional hosts to ping for Packet Loss / Latency as follows:
 
 
db configuration setprop sysmon hosts w.x.y.z,myhost.to-ping.com
 
 
service sysmon restart
 
 
Wait for 5 minutes.
 
 
Hosts will be ordered in the panel alphabetically.
 
 
If you change the hosts and want to remove the old hosts you may need to clear the files in /var/lib/rrd
 
 
To see stats for the other hosts, from the Sysmon page click the 'Daily' Graph (5 Minute Average) link
 
  
 
----
 
----
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 
[[Category: Administration:Monitoring]]
 
[[Category: Administration:Monitoring]]

Revision as of 16:43, 28 March 2013


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


Configuration

You can access Sysmon interface in the server-manager.

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

hosts

Default: Your SME Servergateway

To add additional hosts to monitor as a comma separated list:

config setprop sysmon hosts w.x.y.z,myhost.to-ping.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 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

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.