Sysmon

From SME Server
Jump to navigationJump to search


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 add additional hosts. You can also change some defaults variables. These are:

hosts

Default: Your SME Servergateway

To 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 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.