Changes

Jump to navigation Jump to search
902 bytes added ,  14:46, 30 September 2022
no edit summary
Line 1: Line 1:  
{{Languages|Sme9admin}}
 
{{Languages|Sme9admin}}
== sme9admin for SME Server ==
+
== smeadmin for SME Server ==
   −
for a sme 7 version check [[sme7admin|sme7admin]]<br />
+
=== Version ===
 +
{{#smeversion: smeserver-smeadmin}}
   −
for a sme 8 version check [[sme8admin|sme8admin]]
   
=== Maintainer ===
 
=== Maintainer ===
[mailto:tests@pialasse.com[[User:Unnilennium|Unnilennium]]]
+
[mailto:tests@pialasse.com][[User:Unnilennium|Unnilennium]]
   −
[mailto:daniel@firewall-services.com[[User:VIP-ire|Daniel B.]]] from [http://www.firewall-services.com Firewall Services]
+
[mailto:daniel@firewall-services.com][[User:VIP-ire|Daniel B.]] from [http://www.firewall-services.com Firewall Services]
    
[mailto:stephdl@de-labrusse.fr stephdl] Stéphane de Labrusse AKA [[User:stephdl|Stephdl]]<br />
 
[mailto:stephdl@de-labrusse.fr stephdl] Stéphane de Labrusse AKA [[User:stephdl|Stephdl]]<br />
 +
 +
 
=== Description ===
 
=== Description ===
   −
* sme9admin is a graphical monitor, alert raising, and services supervision tool for your SME 9 Server.
+
* smeadmin is a graphical monitor, alert raising, and services supervision tool for your SME 9 Server.
 
* It adds a headline + several subpages to the server-manager.
 
* It adds a headline + several subpages to the server-manager.
 +
 +
{{Note box|Note that sme9admin for SME10 is now called smeadmin}}
 +
 +
for a sme 7 version check [[sme7admin|sme7admin]]
 +
 +
for a sme 8 version check [[sme8admin|sme8admin]]
 +
 +
for a sme 9 version check [[sme9admin|sme9admin]]
    
=== Installation ===
 
=== Installation ===
Install from the [[stephdl]] and [[epel]] repositories, issue the following command on the SME Server shell:
+
  yum install smeserver-smeadmin --enablerepo=smecontribs
  yum install smeserver-sme9admin --enablerepo=stephdl,epel
     −
{{Note box|msg=due to the [[bugzilla:8400]] you have to enable smetest if you want to solve the obsolete bug of gettext
+
then go configure your sensors and enjoy the contribution in the manager. I should have migrate all your dbs, only issue is if you migrate from a SME9 i386, you might need to manually remove them and remigrate them manually ( or leave the contrib start from fresh), see troubleshooting at the end of the page.
yum install --enablerepo=stephdl,epel,smeupdates-testing smeserver-sme9admin}}
     −
then
  −
  signal-event sme9admin-update
  −
or if you want to restart your server
  −
  −
signal-event post-upgrade; signal-event reboot
   
==== Sensor detection ====
 
==== Sensor detection ====
   Line 41: Line 44:     
==== Check installed versions ====
 
==== Check installed versions ====
  yum info installed smeserver-sme9admin
+
  yum info installed smeserver-smeadmin
 
  yum info installed sysstat
 
  yum info installed sysstat
 
  yum info installed hddtemp
 
  yum info installed hddtemp
Line 48: Line 51:     
==== Uninstall ====
 
==== Uninstall ====
  yum remove smeserver-sme9admin
+
  yum remove smeserver-smeadmin
    
=== Additional information ===
 
=== Additional information ===
Line 66: Line 69:     
After reboot disabled IMAP will be set automatically to enabled and access to localhost.
 
After reboot disabled IMAP will be set automatically to enabled and access to localhost.
 +
 +
==== CRITICAL - md0 [U_] has 1 of 2 devices active (active=sda1 failed=none spare=none) ====
 +
Any sme9 installation will have a raid 1 boot partition. If you want to avoid to see this warning you can do the following:
 +
 +
<syntaxhighlight lang="bash">
 +
mdadm --grow /dev/md0 --raid-devices=1 --force
 +
</syntaxhighlight>
    
===Troubleshoot section===
 
===Troubleshoot section===
Line 90: Line 100:  
* Logs of sme9admin
 
* Logs of sme9admin
 
  less /var/log/sme9admin.log
 
  less /var/log/sme9admin.log
 +
 +
* you get after migration from i386 to x86_64 the error that RRD were created on different architecture, then do on previous server:
 +
  cd /var/lib/sme9admin
 +
  for f in *.rrd; do rrdtool dump ${f} > ${f%.*}.xml; done
 +
  rsync *.xml root@newserver:/var/lib/smeadmin/
 +
then on new server
 +
  cd /var/lib/smeadmin/
 +
  for f in *.xml; do rrdtool restore -f ${f}  ${f%.*}.rrd; done
 +
  systemctl restart smeadmind
    
=== Bugs ===
 
=== Bugs ===
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-sme9admin component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-sme9admin|title=this link}}.
+
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-smeadmin component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-smeadmin|title=this link}}.
 
  −
Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component=smeserver-sme9admin|noresultsmessage=No open bugs found.}}
      +
Below is an overview of the current issues for this contrib:
 +
{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component=smeserver-smeadmin,smeserver-sme9admin,smeserver-sme8admin |noresultsmessage=No open bugs found.}}
    +
===Changelog===
 +
Only released version in smecontrib are listed here.
 +
{{#smechangelog: smeserver-sme9admin }}
 
----
 
----
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 
[[Category: Administration:Monitoring]]
 
[[Category: Administration:Monitoring]]

Navigation menu