Koozali.org: home of the SME Server

[Announce] : release of smeserver-sme7admin-1.1.0

Landry

[Announce] : release of smeserver-sme7admin-1.1.0
« on: February 16, 2006, 09:09:44 PM »
Hello everyone !

After two months of hard work, i finished porting sme6admin to SME7. The code has been revamped, a lot of things were added/modified. A LOT more things are now configurable, and a lot of bugs were squashed. Data migration from sme6admin is made by the rpm installation.
Rpm contrib is now named smeserver-sme7admin, and is located here :
http://sme.firewall-services.com/ => sme7admin link
There is a static demo version here :
http://sme.firewall-services.com/demo-en/

I developed and tested sme7admin on a sme7beta5, and i plan to do extensive compatibility tests when sme7-final is out.
By now, sme7admin doesn't work on SME6 (too much things changed between SME6 and v7), but if i get a lot of requests, i'll made an update to this issue.

A section will be opened in the contribs.org bugzilla (sme contribs bugs in http://bugs.contribs.org/), you may then report bugs there.

I'm waiting for your comments AND FEEDBACK :)
Landry

ps : i'm also joinable on IRC (gast0n on #sme-fr @ freenode)

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #1 on: February 17, 2006, 12:01:33 AM »
Bonsoir Landry,

As a 1st comment:
This is great news ... GREAT as in FANTASTIQUE :-D
(When I tried your first SME 7version I was éploré/saddened quite a bit :cry: :-D
...but that PC has died on me last year anyway   ;-)  )

FEEDBACK will follow soon

Regards
Reinhold
............

Landry

[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #2 on: February 17, 2006, 12:41:46 AM »
Quote from: "Reinhold"
Bonsoir Landry,
(When I tried your first SME 7version I was éploré/saddened quite a bit :cry: :-D

To be more precise, it was not mine. It was only a quick patch done my another member of our team to permit sme6admin to run on SME7, but very Buggyly. (e-smith-sme6admin-sme7-1.0.5 was this version)

Offline electroman00

  • ****
  • 491
  • +0/-0
[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #3 on: February 17, 2006, 01:12:09 AM »
Landry

It only took you 2 months.....anyone could have done it in 2 hours.
I also sell swapland here in FL. if you need some.

Well since you did a FANTASTIC...WONDERFULL....MARVELOUS job of it
I won't waste my time doing all the reaserch and coding and testing and more coding and more testing and more research ......

I'll just load it up and say...

THANK YOU

Two months dude....WOW....you need a break....the BEACH..!!

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #4 on: February 17, 2006, 01:22:09 AM »
Landry,

Here is the FEEDBACK I promised!

 :pint: - THIS IS GREAT - IT WORKS - THANK YOU ! - :pint:

Some things to fix (for you and/or me):

Not yet translated:
--------------------------------------------------
(in system performance (cpu, memory, hard disk) )
mn = min (minutes)
Hauteur des graphes: = Height of graphs:
Donnees ecrites/lues = Blocks read/written

---------------------------------------------------
Request (cosmetic):
I sort of dislike the need to click on GO!
If it is easily done, I would like auto-activation
iow when I dropdown-select "one hour" it changes to "one hour"

----------------------------------------------------
As for hardware information I am unlucky
(for now=bedtime et je ne veux faire une nuit blanche 8-) )
as you can see below:
---------------------------
CentOS release 4.2 (Final) - SME Server 7.0pre3
[root@gateway ~]# sensors
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and done
'modprobe i2c_sensor'!
For older kernels, make sure you have done 'modprobe i2c-proc'!
[root@gateway ~]# modprobe i2c_sensor
[root@gateway ~]# sensors
No sensors found!
---------------------------------------------------------------------------

Regards
Reinhold
............

Landry

[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #5 on: February 17, 2006, 10:10:13 AM »
I'll rebuild my rpm with this corrections :)
For sensors detection, try with the (normally installed by lm_sensors) command sensors-detect first ....
http://wellsi.com/sme/lms/lm_sensors.html

Thanks a lot for feedback and greetings!

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #6 on: February 17, 2006, 11:03:19 AM »
Landry,

Thanks for the pointer to wellsi (you'll find "Reinhold" on top of that page ;-) - thanks Ian! )

Actually for 7.0 the wellsi procedure isn't quite up to date
- we are talking kernel 2.6. now.
Anyone interested and having problems please go to:
http://www2.lm-sensors.nu/%7Elm78/kernel26.html

Let us know if/when you make Auto-GO! <tm> available <grin>.

Regards
Reinhold

P.S.: In my case hardware setup seems even worse.
While everyone claims that libata does ATA passthru ...
... it doesn't work with the DELL mainboard and Maxtor drive I have here now...

[root@gateway ~]# hddtemp /dev/sda
/dev/sda: ATA     Maxtor 6L080M0  : /dev/sda: ATA     Maxtor 6L080M0  :  S.M.A.R.T. not available


<sigh> back to (real) work  8-)
............

Landry

[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #7 on: February 17, 2006, 11:11:24 AM »
Quote from: "Reinhold"
Landry,

Thanks for the pointer to wellsi (you'll find "Reinhold" on top of that page ;-) - thanks Ian! )

Woops.... sorry :)

Quote from: "Reinhold"

P.S.: In my case hardware setup seems even worse.
While everyone claims that libata does ATA passthru ...
... it doesn't work with the DELL mainboard and Maxtor drive I have here now...

[root@gateway ~]# hddtemp /dev/sda
/dev/sda: ATA     Maxtor 6L080M0  : /dev/sda: ATA     Maxtor 6L080M0  :  S.M.A.R.T. not available



Sometimes, legacy hardware works better :)
On my Pentium2-IDE based boxes, everything works fine ....

stocky

[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #8 on: February 19, 2006, 03:39:28 AM »
Nice bit of code....very nice

Quick question from a n00b...

sme7admin has picked up the hdd temps ok, but doesnt find any of the sensors. I ran sensors detect and it finds some, and if I load the modules manually from the root prompt I can get a result from the sensors command, but cant get them to show on the graphs no matter what I put in the config fields.

Do i manually have to enter the results of the sensors-detect somewhere? If so where and how? A really cool feature would be the ability to enter the lines from the sensors-detect command on the config screen and have then entered in the right place! (i know, i'm a n00b.....)

oh, yeah, and if the last few french bits can be translated as per the other requests it would be great...i didn french in primary school but it was a long time ago LOL!

Congrats on a great contrib!

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #9 on: February 19, 2006, 05:22:22 AM »
C'est fantastic!

Two questions/comments if I may:

1) Graphs do not update in real time, correct?  I am used to the old sysadmin who had this feature.

2) After installing the other day, I had to change to name of the server.  On reboot, sme7admin was broken, could not start.  TYhe deamon appears to be crashed:
exec 'rm -f /var/run/sme7admin.pid' and restart did the trick.  I however lost all previous statistics.

Very much looking to future release, many thanks for your hard work - we needed this on 7.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Landry

[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #10 on: February 20, 2006, 10:58:40 AM »
@stocky: you say you're a noob, did you read the config page ?

Quote
To find available sensors, execute 'sensors' in a shell, and look for the keywords corresponding to the working sensors ('temp1','CPU Temp','MB Temp','fan3',....).


paste here the result of your "sensors" command, it'll make an example for others who don't understand this. I thought it was clear.

Other thing : can you paste here which strings correspond to
Quote
the last few french bits can be translated as per the other requests

I may have missed some strings during translation.

@burnat: What do you mean by 'update in real time' ? refresh the web page every 5mn ? Doable. But no "REAL TIME" possible :)

for your crash problem, can you look in /var/log/sme7admin.log for more info about this crash ? It seems VERY strange that you lose all previous statistics. Once installed, database and rrds are never erased....

stocky

[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #11 on: February 20, 2006, 12:26:26 PM »
Landry,

When I run "sensors" i get the "none found" message

So I run "sensors-detect" command and it finds sensors

I then run the suggested "modprobes" from the command prompt and then when i run "sensors" again i get the results I would expect (cant post now coz I dont have the SME box accessible)

First prob.....how do I load the modporbe modules so they load on boot each time? (easy now..i can do basic config file edits with pico if i know what the file is and where to find it...but thats about my limit for command line stuff at this point)

Second prob...if i take the keywords (CPU Temp, M/B Temp, temp3, CPU Fan, SYS Fan, Fan3) and try and enter them in the config page NO results show on the graphs..just  HDD temps (ps entering hda & hdb in the hdd fields worked fine)

hope that is clearer.......

:-)


re the french bits...someone else listed them in a post prior to mine :-)

Landry

[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #12 on: February 20, 2006, 01:26:45 PM »
Quote from: "stocky"

First prob.....how do I load the modporbe modules so they load on boot each time? (easy now..i can do basic config file edits with pico if i know what the file is and where to find it...but thats about my limit for command line stuff at this point)


Just add the module names to /etc/modprobe.conf (someone please correct me if i'm wrong on this.. don't even remeber if it is modprobe, modules.conf, modules...).
Quote from: "stocky"

Second prob...if i take the keywords (CPU Temp, M/B Temp, temp3, CPU Fan, SYS Fan, Fan3) and try and enter them in the config page NO results show on the graphs.

That's not normal.
Check that the keywords are in the conf. file ( /etc/e-smith/web/panels/manager/html/sme7admin/sme7admin.conf )
and if they correspond to what you entered. Only two temps and one fan keyword are needed, and only one keyword by field.
Anyway, paste the result of sensors here when your get access to your box.

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #13 on: February 20, 2006, 05:01:43 PM »
"for your crash problem, can you look in /var/log/sme7admin.log for more info about this crash ? It seems VERY strange that you lose all previous statistics. Once installed, database and rrds are never erased...."

Yes, well I did not tell the whole truth...  I changed the name of the box from 7pre2 to 7pre3 to reflect updates, went into a reboot.  After this, the application did not restart.  Tried a few things, but got noway. Doing "pgrep sme7admin" confirmed that the deamon had crashed.  I tried to do "rm -f /var/run/sme7admin.pid " but this resulted in the system hanging there for ever.  At the end,  I uninstall smeserver-sme7admin, reinstalled, and now it seems to be OK.

Hope it helps.
Regards
chris
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Landry

[Announce] : release of smeserver-sme7admin-1.1.0
« Reply #14 on: February 20, 2006, 05:13:18 PM »
Quote from: "burnat"
"I tried to do "rm -f /var/run/sme7admin.pid " but this resulted in the system hanging there for ever.

WTF ???? sme7admin can't make the server hangup... and a simple rm should not too. Legacy or new hardware ??

Normally, upgrades through sme-preversions *should* work fine.
I don't really understand.