Koozali.org: home of the SME Server

System Monitor for SME Server seems to fail when installing?

Offline steve288

  • *
  • 336
  • +0/-0
Im setting up new 8.1 server-gateway.

I'm trying to install
http://wiki.contribs.org/SystemMonitor

The command "yum install rrdtool perl-rrdtool --enablerepo=smecontribs" Works fine.

Then I copy and paste the next link in the wiki to a terminal window e.g.

 wget "http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=getit&lid=300"

It creates a file in the current directory called,
 
 index.php?name=CmodsDownload&file=index&req=getit&lid=300

I'm not sure if that's right however following the wiki,
 I run the command :

 yum localinstall smeserver-system_monitor-x.y-z.noarch.rpm
 Loaded plugins: fastestmirror, protect-packages, smeserver
 Setting up Local Package Process
 Cannot open file: smeserver-system_monitor-x.y-z.noarch.rpm. Skipping.
 Nothing to do

BTW I can go to the page:
 
 index.php?name=CmodsDownload&file=index&req=getit&lid=300

In a browser. Then when I click on downloads it lists some downloads but they all are for version 5,6,7 of sme. I wonder if my uneducated guess is that it does not run on 8.1 ??

OR have I made a mistake or is something broken.

Regards
« Last Edit: May 28, 2014, 04:52:18 PM by steve288 »

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: System Monitor for SME Server seems to fail when installing?
« Reply #1 on: May 28, 2014, 06:05:18 PM »
i would suggest that you use sme8admin or you use the nethesis version http://smeserver.nethesis.it/releases/8/i386/smeserver-system_monitor-1.1-2.el5.nh.noarch.rpm
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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

Offline steve288

  • *
  • 336
  • +0/-0
Re: System Monitor for SME Server seems to fail when installing?
« Reply #2 on: May 28, 2014, 08:23:03 PM »
Thank you for your suggestion.

I appreciate your advice and my take it.

However, I'm concerned that for others "IF" this info is wrong it needs to be changed to eliminate incorrect info and  users frustrations. I would like the wiki to reflect the current info.
So if anyone has any info on my original post I would appreciate it.
thank you,

Regards

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: System Monitor for SME Server seems to fail when installing?
« Reply #3 on: May 28, 2014, 09:18:38 PM »
I would suggest that you ask about a wiki account http://wiki.contribs.org/Help:Contents#How_to_get_a_wiki_account.3F and you do it yourself. If you are not sure of what you have written you can either write to the docteam mailling list or to this forum and ask about two more eyes to read your modifications.

We are doing all a collaborative work, don't be afraid to swim off.

Maybe a good thing could be to test the package of nethesis, and report to the wiki page how to install it. see the sogo contribs on how enable the nethesis repository.

Code: [Select]
db yum_repositories set nethsme repository \
     BaseURL http://smeserver.nethesis.it/releases/8/i386 \
     EnableGroups yes \
     GPGCheck yes \
     GPGKey http://smeserver.nethesis.it/releases/RPM-GPG-KEY-nethesis \
     Name "SME Server - nethesis" \
     Visible yes \
     status disabled

signal-event yum-modify
« Last Edit: May 29, 2014, 08:29:58 AM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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

Offline steve288

  • *
  • 336
  • +0/-0
Re: System Monitor for SME Server seems to fail when installing?
« Reply #4 on: May 29, 2014, 02:42:45 PM »
thanks for your advice stephdl.

I will as I say look at the the nethesis package.

As far as wiki, I was really trying to do I think what you had suggested. That is, I tried to to install a contrib. It did not work. I left a message as to my errors. Even If I don't use the systemmonitor contrib from the first post. It would be good to have accurate info for others, which I'm happy to update in the wiki to reflect the proper info. I think we all hate to have instructions from a site that dont seem to work.

Regards

Offline steve288

  • *
  • 336
  • +0/-0
Re: System Monitor for SME Server seems to fail when installing?
« Reply #5 on: May 29, 2014, 06:14:27 PM »
If anyone want to add this to  wiki please feel free if its right and helpful. I don't mind making changed or adjustments to existing contribs for clarity. But Im hesitant to create a new item. Call me a baby.


These are the instructions for installing the  nethesis smeserver-system_monitor found at the link below.

This contrib adds a nice Menu under the Administration heading called
 "System Monitoring."

It looks a lot like previous versions of System Monitor.

There are graphs that show,
 
 Hourly, Daily, Weekly Monthly and Yearly each of the following.

 %CPU Utilization
 System Load / %CPU
 Memory Utilization
 System Processes / Run Queue
 Hard Drive Usage
 Hard Drive Usave for mapper_mail-root
 Hard Drive Usage for md1
 Uptime
 Latency / packet Loss (Gateway)
 Ethernet Traffic (eth0)
 Ethernet Traffic (eth1)
 Samba users

This has been tested on SME 8.1. I dont know about other versions.

Steps to installing,

First: Add repository. Copy the following code into a terminal window, logged on as root.

     db yum_repositories set nethsme repository \
     BaseURL http://smeserver.nethesis.it/releases/8/i386 \
     EnableGroups yes \
     GPGCheck yes \
     GPGKey http://smeserver.nethesis.it/releases/RPM-GPG-KEY-nethesis \
     Name "SME Server - nethesis" \
     Visible yes \
     status disabled

Second: copy and paste the following command.In terminal window.
   
     signal-event yum-modify

Third: Copy and following command into a terminal window where you want to download the install rpm file.

 wget  "http://smeserver.nethesis.it/releases/8/i386/smeserver-system_monitor-1.1-2.el5.nh.noarch.rpm"


Fourth: Copy the following command into a terminal windows which will install the program. Say yes  to any questions regarding installing.

yum localinstall http://smeserver.nethesis.it/releases/8/i386/smeserver-system_monitor-1.1-2.el5.nh.noarch.rpm

Finally run the following command to reboot the computer.

signal-event post-upgrade; signal-event reboot

Your menu should be now added.

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: System Monitor for SME Server seems to fail when installing?
« Reply #6 on: May 29, 2014, 06:56:37 PM »
once you have installed the nethesis repository you will able to install directly the contrib

Code: [Select]
yum install smeserver-system_monitor --enablerepo=nethsme
signal-event post-upgrade; signal-event reboot

i suggest that you could write this to the wiki and remove the old content
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: System Monitor for SME Server seems to fail when installing?
« Reply #7 on: May 30, 2014, 03:25:31 AM »
once you have installed the nethesis repository you will able to install directly the contrib

Code: [Select]
yum install smeserver-system_monitor --enablerepo=nethsme
signal-event post-upgrade; signal-event reboot

i suggest that you could write this to the wiki and remove the old content

Ok, it works, but why during the installation gives me this "strange" line?
Code: [Select]
...
Running Transaction
Installing     : smeserver-system_monitor                                 1/1

* All rrd file have been backuped in /var/lib/rrdsm/backup/

Migrating existing database yum_installed...

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: System Monitor for SME Server seems to fail when installing?
« Reply #8 on: May 30, 2014, 07:24:27 AM »
@fumetto: it seems that it is a script called in the %post section of rpm, it is needed or wanted by developers, you can't go against.

The wiki should be updated and the contribs could be imported in our repository, i'm not sure if that repository is maintained and for how long it will be online.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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

Offline steve288

  • *
  • 336
  • +0/-0
Re: System Monitor for SME Server seems to fail when installing?
« Reply #9 on: May 30, 2014, 03:49:47 PM »
Stephdl

Are you saying that I should delete all the content of that wiki (including maintainer) and insert (with your changes) the information that I have posted?

Is all the old info dead, deceased and expired?

Regards

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: System Monitor for SME Server seems to fail when installing?
« Reply #10 on: May 30, 2014, 05:30:20 PM »
I propose that you start here http://wiki.contribs.org/Talk:SystemMonitor. The talk page is yours, you can work as you want, remove  old sentences and start to write.

You can let the first maintainer, and the others (nethesis team) it is nice for their ego_meter. Test all conditions and report there, if something is odd then ask about a review if needed.
Once you think that the work is valuable, then you can remove the front page and copy and paste from the talk page.

anyway we can back to the old content by the tab history if you are not happy/agreed
« Last Edit: May 30, 2014, 05:47:01 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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