Koozali.org: home of the SME Server

Raidstatus and Smbstatus

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Raidstatus and Smbstatus
« 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
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline ansentry

  • ****
  • 118
  • +0/-0
Re: Raidstatus and Smbstatus
« Reply #1 on: February 10, 2014, 12:04:21 AM »
stephdl,

Just install this http://wiki.contribs.org/Smbstatus, works fine, Thank you.
Regards,

John A

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Raidstatus and Smbstatus
« Reply #2 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.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline Fumetto

  • *
  • 899
  • +1/-0
Re: Raidstatus and Smbstatus
« Reply #3 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 page I did not find the packages to translate

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Re: Raidstatus and Smbstatus
« Reply #4 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
If you think you know whats going on, you obviously have no idea whats going on!

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Raidstatus and Smbstatus
« Reply #5 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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Re: Raidstatus and Smbstatus
« Reply #6 on: March 17, 2014, 01:48:32 PM »
Thanks, worked perfectly.  :-)
If you think you know whats going on, you obviously have no idea whats going on!

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Raidstatus and Smbstatus
« Reply #7 on: March 17, 2014, 06:56:18 PM »
How? On this 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.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Raidstatus and Smbstatus
« Reply #8 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
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Raidstatus and Smbstatus
« Reply #9 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.

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Raidstatus and Smbstatus
« Reply #10 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

 
« Last Edit: March 19, 2014, 06:26:55 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Raidstatus and Smbstatus
« Reply #11 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 :)
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline brianr

  • *
  • 991
  • +2/-0
Re: Raidstatus and Smbstatus
« Reply #12 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
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Raidstatus and Smbstatus
« Reply #13 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?

Offline brianr

  • *
  • 991
  • +2/-0
Re: Raidstatus and Smbstatus
« Reply #14 on: March 20, 2014, 07:42:07 AM »
Did you reconfigure yum after adding the db entry?

oops, sorry. (and thanks).
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: Raidstatus and Smbstatus
« Reply #15 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
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Raidstatus and Smbstatus
« Reply #16 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.
« Last Edit: March 20, 2014, 10:17:25 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: Raidstatus and Smbstatus
« Reply #17 on: March 20, 2014, 10:25:33 PM »
 :hammer: the blacksmith is working . . .. .  :)

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline engdev

  • *
  • 71
  • +0/-0
Re: Raidstatus and Smbstatus
« Reply #18 on: March 21, 2014, 03:37:28 PM »
Stephane, these are great. Merci.