Line 6: |
Line 6: |
| | | |
| {{#smeversion:smeserver-sysmon}} | | {{#smeversion:smeserver-sysmon}} |
− |
| |
− | <br>
| |
− | <br>
| |
− | <br>
| |
− | <br>
| |
| | | |
| === 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 | | yum --enablerepo=smecontribs install smeserver-sysmon |
| | | |
| + | </tab> |
| + | </tabs> |
| | | |
| === Configuration === | | === Configuration === |
− | You can access Sysmon interface in the server-manager. | + | You can access the 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: | + | By default Sysmon monitors your SME Server gateway, and you can add additional hosts. You can also change some default variables. These are: |
| | | |
| ==== hosts ==== | | ==== hosts ==== |
| Default: Your SME Servergateway | | Default: Your SME Servergateway |
| | | |
− | To add additional hosts to monitor as a comma separated list:
| + | Add additional hosts to monitor as a comma separated list: |
− | config setprop sysmon hosts w.x.y.z,myhost.to-ping.com | + | 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 | | 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 | | To see stats for the other hosts, from the Sysmon page click the 'Daily' Graph (5 Minute Average) link |
− |
| |
| | | |
| ==== pingscale ==== | | ==== pingscale ==== |
Line 44: |
Line 42: |
| | | |
| | | |
− | After changing one of the above values you have to restart the sysmon servce | + | After changing one of the above values you will have to restart the sysmon servce |
| service sysmon restart | | service sysmon restart |
| | | |
| and wait for 5 minutes for the new data to be displayed in server manager. | | and wait for 5 minutes for the new data to be displayed in server manager. |
− |
| |
− |
| |
| | | |
| === Upgrade === | | === Upgrade === |
| | | |
− | All rrd base are automatically move to a backup directory /var/lib/rrd/backup/
| + | When upgrading to a newer version, all Sysmon data will be automatically backed up 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 : | + | 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 | | service sysmon stop |
− | rm /var/lib/rrd/*.rrd | + | cp -f /var/lib/rrd/backup/*.rrd /var/lib/rrd/ |
− | mv /var/lib/rrd/backup/*.rrd /var/lib/rrd/
| |
| service sysmon start | | service sysmon start |
| | | |
| === Uninstall === | | === Uninstall === |
− | rpm -e smeserver-sysmon | + | yum remove smeserver-sysmon |
| | | |
| Remove rrd data manually in /var/lib/rrd/ directory. | | 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]] |