Changes

From SME Server
Jump to navigationJump to search
2,544 bytes added ,  22:31, 28 March 2021
no edit summary
Line 5: Line 5:     
for a sme 8 version check [[sme8admin|sme8admin]]
 
for a sme 8 version check [[sme8admin|sme8admin]]
 +
 +
{note} Note that sme9admin for SME10 is now called "smeadmin". Installation is "yum install smeserver-smeadmin --enablerepo=smecontribs,epel {note}
 +
 +
 +
=== Version ===
 +
{{#smeversion: smeserver-smeadmin}}
 +
{{#smeversion: smeserver-sme9admin}}
 +
 
=== 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 ===
   Line 17: Line 27:     
=== Installation ===
 
=== Installation ===
Install from the [[stephdl]] and [[epel]] repositories, issue the following command on the SME Server shell:
+
 
  yum install smeserver-sme9admin --enablerepo=stephdl,epel
+
=SME10=
 +
yum install smeserver-smeadmin --enablerepo=smecontribs
 +
 
 +
then go configure your sensors and enjoy the contribution in the manager. I should have migrate all your dbs, only issue is if you mirgate 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.
 +
 
 +
=SME9=
 +
  yum install smeserver-sme9admin --enablerepo=smecontribs
    
then  
 
then  
service mysql.init restart
+
  signal-event sme9admin-update
service sme9admind start
+
 
or  
+
or if you want to restart your server
    
  signal-event post-upgrade; signal-event reboot
 
  signal-event post-upgrade; signal-event reboot
 +
 +
<headertabs />
 
==== Sensor detection ====
 
==== Sensor detection ====
   Line 35: Line 53:  
For my mainboard, I just hit enter for all questions, which then uses the defaults which can be seen as CAPs.
 
For my mainboard, I just hit enter for all questions, which then uses the defaults which can be seen as CAPs.
 
You will need to follow the instructions in order to add the detected sensors in rc.local to have them loaded on reboot.
 
You will need to follow the instructions in order to add the detected sensors in rc.local to have them loaded on reboot.
 +
 +
see [http://lm-sensors.org/ lm-sensors wiki] and more particularly [http://lm-sensors.org/wiki/Devices lm-sensors device]
    
==== Check installed versions ====
 
==== Check installed versions ====
Line 62: Line 82:     
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===
 +
Here some tricks and tips to understand  what is occurring if you have problem with sme9admin
 +
 +
* look what sysstat can collect
 +
/usr/lib/sa/sadc 1 2 > sadc.bout
 +
sar -A -n DEV -f sadc.bout
 +
* look what sadf has stocked (sadf is a human readable file)
 +
less /var/log/sarXX
 +
XX is a number adapt it.
 +
* look if sensors are working
 +
sensors
 +
sensors need to be activated first
 +
sensors-detect
 +
press 'enter' for all questions and reboot
 +
* look if hddtemp is working
 +
hddtemp /dev/sda
 +
* rdd files
 +
all rdd files are in /var/lib/sme9admin, which are binary files. If you want to look the dump to see what it contains
 +
rrdtool dump /var/lib/sme9admin/sensors.rrd > /tmp/sensors.xml
 +
less /tmp/sensors.xml
 +
You have to do it for each file.rrd
 +
* Logs of sme9admin
 +
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-sme8admin component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-sme8admin|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-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]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,230

edits

Navigation menu