Changes

Jump to navigation Jump to search
1,092 bytes added ,  13:24, 16 August 2022
m
Reverted edits by TrevorB (talk) to last revision by Unnilennium
Line 7: Line 7:  
{{#smeversion:smeserver-sysmon}}
 
{{#smeversion:smeserver-sysmon}}
   −
<br>
+
=== Installation ===
<br>
+
<tabs container><tab name="For SME 10">
<br>
+
yum --enablerepo=smecontribs install smeserver-sysmon
<br>
+
</tab><tab name="For SME 9">
<br>
+
yum --enablerepo=smecontribs install smeserver-sysmon
<br>
     −
=== Installation ===
+
</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
   −
  yum --enablerepo=smecontribs install smeserver-sysmon
+
Add additional hosts to monitor as a comma separated list:
 +
  config setprop sysmon hosts 192.168.1.10,www.cnn.com,www.google.com
   −
=== Upgrade ===
+
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
   −
All rrd base are automatically move to a backup directory /var/lib/rrd/backup/
+
To see stats for the other hosts, from the Sysmon page click the 'Daily' Graph (5 Minute Average) link
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 ===
+
==== pingscale ====
rpm -e smeserver-sysmon
+
Default: 300
   −
Remove rrd data manually in /var/lib/rrd/ directory.
+
config setprop sysmon pingscale xxx
   −
==Usage==
+
==== maxscale ====
You can access Sysmon interface in the server-manager.
+
Default: 400
   −
You can add a comma separated list of additional hosts to ping for Packet Loss / Latency as follows:
+
config setprop sysmon maxscale xxx
   −
db configuration setprop sysmon hosts w.x.y.z,myhost.to-ping.com
     −
service sysmon restart
+
After changing one of the above values you will have to restart the sysmon servce
 +
service sysmon restart
   −
Wait for 5 minutes.
+
and wait for 5 minutes for the new data to be displayed in server manager.
   −
Hosts will be ordered in the panel as follows :
+
=== Upgrade ===
   −
1st host from db (this is the 'Primary' host as displayed on the main Sysmon panel)
+
When upgrading to a newer version, all Sysmon data will be automatically backed up to a backup directory /var/lib/rrd/backup/
2nd host from db
+
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:
etc...
+
service sysmon stop
gateway
+
cp -f /var/lib/rrd/backup/*.rrd /var/lib/rrd/
 +
service sysmon start
   −
To see stats for the other hosts, from the sysmon page, click the 'Daily' Graph (5 Minute Average) link
+
=== 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:Monitoring]]
 
[[Category: Administration:Monitoring]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu