Koozali.org: home of the SME Server

Obsolete Releases => SME 8.x Contribs => Topic started by: stephdl on February 07, 2014, 11:33:12 PM

Title: Raidstatus and Smbstatus
Post by: stephdl on February 07, 2014, 11:33:12 PM
Well not really a contribs, just a need i have, check the status of software raid.

http://wiki.contribs.org/Raidstatus

also i have builded a contrib of mastersleepy : smbstatus

like raidstatus you can only check who is connected to your network shares.

http://wiki.contribs.org/Smbstatus
Title: Re: Raidstatus and Smbstatus
Post by: ansentry on February 10, 2014, 12:04:21 AM
stephdl,

Just install this http://wiki.contribs.org/Smbstatus (http://wiki.contribs.org/Smbstatus), works fine, Thank you.
Title: Re: Raidstatus and Smbstatus
Post by: stephdl on March 15, 2014, 05:38:08 PM
New version of smeserver-raidstatus, the major amelioration has been done by Walter Thoss who has made a full integration to the sme design and corrected bugs...It looks very nice, a big thank to him.

We have added some translations (de, fr),  if needed you can propose your translation.

The version smeserver-raidstatus.0.1-8 is available in stephdl-repository.
Title: Re: Raidstatus and Smbstatus
Post by: Fumetto on March 16, 2014, 06:52:53 PM
...
We have added some translations (de, fr),  if needed you can propose your translation.
...
How? On this (http://translate.contribs.org/it/contribs8/) page I did not find the packages to translate
Title: Re: Raidstatus and Smbstatus
Post by: crazybob on March 17, 2014, 02:48:03 AM
Tried to install raidstatus per the wiki, and it fails.
Code: [Select]
Error getting repository data for stephdl, repository not found
Title: Re: Raidstatus and Smbstatus
Post by: janet on March 17, 2014, 05:14:07 AM
crazybob

Quote
Error getting repository data for stephdl, repository not found

You MUST configure the stephdl repo on your server before trying to install from it.
The second line of the wiki article has a link to the steps to follow ie
http://wiki.contribs.org/Stephdl

The wiki is probably not clear enough about the need to configure the repo first.
Title: Re: Raidstatus and Smbstatus
Post by: crazybob on March 17, 2014, 01:48:32 PM
Thanks, worked perfectly.  :-)
Title: Re: Raidstatus and Smbstatus
Post by: stephdl on March 17, 2014, 06:56:18 PM
How? On this (http://translate.contribs.org/it/contribs8/) page I did not find the packages to translate

now it is not available in smecontribs, so you can't translate it by pootle, but you are welcome to install smeserver-raidstatus and  translate the file /etc/e-smith/locale/en-us/etc/e-smith/web/functions/raidstatus in all language necessary and send me back by mail, i will add it to the archive.
Title: Re: Raidstatus and Smbstatus
Post by: raem on March 19, 2014, 04:16:38 AM
janet et al

Quote
The wiki is probably not clear enough about the need to configure the repo first.

I updated the wiki articles to more clearly indicate the need to configure the stephdl repo first,
here
http://wiki.contribs.org/Raidstatus
& here
http://wiki.contribs.org/Smbstatus
Title: Re: Raidstatus and Smbstatus
Post by: CharlieBrady on March 19, 2014, 04:58:06 PM
Well not really a contribs, just a need i have, check the status of software raid.

I'm curious to know why you need this. Any change in status of your software raid will be notified via an email to 'admin'. You can also query the software RAID status via the admin login menu.
Title: Re: Raidstatus and Smbstatus
Post by: stephdl on March 19, 2014, 06:24:14 PM
hi charlie

Mostly because a lot of admin's email are not read by sysadmin and can be ignored, so at every moment you can check the raid with some colours quickly (green all is ok, you can return to work). Further more certain sysadmin classified as "modern", don't want to know where is the terminal and how to use it.

Moreover With this contrib (thank to walter) you will have a weekly status email of Raid see this script (http://wiki.contribs.org/Raid#Receive_periodic_check_of_Raid_by_email)

 
Title: Re: Raidstatus and Smbstatus
Post by: stephdl on March 19, 2014, 06:34:46 PM
I updated the wiki articles to more clearly indicate the need to configure the stephdl repo first,
here
http://wiki.contribs.org/Raidstatus
& here
http://wiki.contribs.org/Smbstatus
Many thanks, nice to see documentation follow up development :)
Title: Re: Raidstatus and Smbstatus
Post by: brianr on March 19, 2014, 07:00:55 PM
I'm getting this:

db yum_repositories show stephdl
stephdl=repository
    BaseURL=http://mirror.de-labrusse.fr/smeserver/$releasever
    EnableGroups=no
    GPGCheck=yes
    GPGKey=http://mirror.de-labrusse.fr/RPM-GPG-KEY
    Name=Mirror de Labrusse
    Visible=yes
    status=disabled
# yum --enablerepo=stephdl install smeserver-raidstatus
Loaded plugins: fastestmirror, protect-packages, smeserver


Error getting repository data for stephdl, repository not found
Title: Re: Raidstatus and Smbstatus
Post by: CharlieBrady on March 19, 2014, 07:47:57 PM
Error getting repository data for stephdl, repository not found

Did you reconfigure yum after adding the db entry?
Title: Re: Raidstatus and Smbstatus
Post by: brianr on March 20, 2014, 07:42:07 AM
Did you reconfigure yum after adding the db entry?

oops, sorry. (and thanks).
Title: Re: Raidstatus and Smbstatus
Post by: nicolatiana on March 20, 2014, 07:52:22 AM
Both of them successfully installed in many servers; together with DhcpManager I think they should be merged in the standard install.

Nicola
Title: Re: Raidstatus and Smbstatus
Post by: stephdl on March 20, 2014, 10:14:50 PM
Both of them successfully installed in many servers; together with DhcpManager I think they should be merged in the standard install.
Thanks but even if smeserver-raidstatus is fine, it lacks to be included in smecontribs first to get all languages, i provide only en-us,fr,de
I'm not granted to use the contribs buildsys, so for now i prefer to work on my repository, but for translations i agree it is not handy. For those who want to send me their translations, i could include them.

For smeserver-dhcpmanager the mandatory amelioration is a bit over-skilled since i want to add translations and i need to rewrite the whole contrib.....yeah :) or i could cheat with gettext like sme8admin. The first work was to get back this contrib to the life, and some code was written because the development stopped 9 years ago, thus the adventure continues.
Title: Re: Raidstatus and Smbstatus
Post by: nicolatiana on March 20, 2014, 10:25:33 PM
 :hammer: the blacksmith is working . . .. .  :)

Nicola
Title: Re: Raidstatus and Smbstatus
Post by: engdev on March 21, 2014, 03:37:28 PM
Stephane, these are great. Merci.