Koozali.org: home of the SME Server

[UPDATE] smeserver-sysmon

Offline kryptos

  • ****
  • 245
  • +0/-0
Re: [UPDATE] smeserver-sysmon
« Reply #45 on: February 15, 2008, 05:17:23 AM »
MasterSleepy,

First I like to thank you for this contrib. I installed it a newly install SME 7.2 and now working ok. Now i have a question with voltage and temperature graphs how do i enable this. I don't know that this graph exist since installing the previous version of sysmon i don't have that graphs.


Regards,
Rocel

Offline Teviot

  • *
  • 610
  • +0/-0
Re: [UPDATE] smeserver-sysmon
« Reply #46 on: February 16, 2008, 09:16:35 AM »
MasterSleepy

There is an update available rrdtool.i386 1.2.23-3.el4 - smecontribs which seems to break sysmon.

I have uninstalled all 3 rpm's and reinstall using the latest sysmon rpm.

Have you any suggestions?

Teviot
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: [UPDATE] smeserver-sysmon
« Reply #47 on: February 16, 2008, 09:50:32 AM »
MasterSleepy

There is an update available rrdtool.i386 1.2.23-3.el4 - smecontribs which seems to break sysmon.
I have uninstalled all 3 rpm's and reinstall using the latest sysmon rpm.
Have you any suggestions?
Teviot

The same problem take place with sme7admind:
"sme7admin has been written to work with rrdtool 1.0.x
series, if you upgrade rrdtool it will break. If nothing else uses rrdtool
juste downgrade it."  This is documented in a bug assigned to this contrib.
- 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.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: [UPDATE] smeserver-sysmon
« Reply #48 on: February 16, 2008, 06:13:28 PM »
The same problem take place with sme7admind:
"sme7admin has been written to work with rrdtool 1.0.x
series, if you upgrade rrdtool it will break. If nothing else uses rrdtool
juste downgrade it."  This is documented in a bug assigned to this contrib.
Then I would suggest specifying a maximum version in the requirements in the SPEC file.This way the contrib will not install with a newer version of RRD tool is installed and if RRD tool is not installed will drag in a version that works along with the sysmon contrib.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
Re: [UPDATE] smeserver-sysmon
« Reply #49 on: February 18, 2008, 08:27:17 AM »
Hello Cactus,

You have totally right.
I change spec and rebuild the contribs, now it's 6.0-2 version.

Regards,
MasterSleepy.

Offline gippsweb

  • ****
  • 232
  • +0/-0
    • Wots I.T.?
Re: [UPDATE] smeserver-sysmon
« Reply #50 on: February 21, 2008, 01:02:54 AM »
In the wiki, the installation line is;

yum localinstall rrdtool-1.0.50-3.el4.rf.i386.rpm perl-rrdtool-1.0.50-3.el4.rf.i386.rpm smeserver-sysmon-5.1-3.noarch.rpm

It needs to be updated to be

yum localinstall rrdtool-1.0.50-3.el4.rf.i386.rpm perl-rrdtool-1.0.50-3.el4.rf.i386.rpm smeserver-sysmon-6.0-2.noarch.rpm

It had me scratching my head for a bit until I worked out the previous line had me downloading the current version and not the 5.1-3 version....  :-)

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
Re: [UPDATE] smeserver-sysmon
« Reply #51 on: February 21, 2008, 09:54:49 AM »
Hello,

Wiki is now uptodate.

thanks for feedback.

Regards,
MasterSleepy.

Offline Teviot

  • *
  • 610
  • +0/-0
Re: [UPDATE] smeserver-sysmon
« Reply #52 on: February 21, 2008, 12:14:17 PM »
Question

Is it safe to install the current update for SME Server "rrdtool.i386 1.2.23-3.el4" yet?

Teviot
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
Re: [UPDATE] smeserver-sysmon
« Reply #53 on: February 21, 2008, 01:37:20 PM »
No !! it isn't safe!

Restriction are made in spec file so that only rrdtool 1.0 can be installed.

Regards,
MasterSleepy.

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: [UPDATE] smeserver-sysmon
« Reply #54 on: March 29, 2008, 04:02:57 AM »
No !! it isn't safe! Restriction are made in spec file so that only rrdtool 1.0 can be installed.

Hello MasterSleepy,
I am trying to upgrade some servers from smecontribs and have excluded rrdtool to ensure that it does not break another contrib (sme7admind).  I wish to have sysmon upgraded.  This is what happen:

#Modified /etc/yum.conf to exclude problematic packages:
[smecontribs]
enabled=1
mirrorlist=file:///etc/yum.repos.d/mirrors-smecontribs
name=SME Server - contribs
gpgcheck=1
enablegroups=1
exclude=rrdtool rrdtool-perl librrd

#Doing yum update:
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-updates.noarch 0:1.2-3.el4.sme set to be updated
---> Package perl-Unicode-String.i386 0:2.09-6.el4 set to be updated
---> Package smeserver-userpanel.noarch 0:0.9-11.el4.sme set to be updated
---> Package smeserver-vacation.noarch 0:1.0-14.el4.sme set to be updated
---> Package tzdata.noarch 0:2007k-2.el4 set to be updated
---> Package smeserver-mailsorting.noarch 0:1.2-11.el4.sme set to be updated
---> Package krb5-libs.i386 0:1.3.4-54.el4_6.1 set to be updated
---> Package smeserver-remoteuseraccess.noarch 0:1.2-16.el4.sme set to be updated
---> Package awstats.noarch 0:6.7-1.el4.rf set to be updated
---> Package smeserver-userpanels.noarch 0:1.0-7.el4.sme set to be updated
---> Package smeserver-sysmon.noarch 0:6.1-1.el4.sme set to be updated
---> Package sarg.i386 0:2.2.3.1-1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: rrdtool >= 1.2 for package: smeserver-sysmon
--> Processing Dependency: fping for package: smeserver-sysmon
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package fping.i386 0:2.4-1.b2.2.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: rrdtool >= 1.2 for package: smeserver-sysmon
--> Finished Dependency Resolution
Error: Missing Dependency: rrdtool >= 1.2 is needed by package smeserver-sysmon

Why does sysmon try to pull >=1.2 ???
Thanks
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.

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: [UPDATE] smeserver-sysmon
« Reply #55 on: March 29, 2008, 05:44:16 AM »
Also:  the wikis at the moment state:
yum localinstall rrdtool-1.0.50-3.el4.rf.i386.rpm perl-rrdtool-1.0.50-3.el4.rf.i386.rpm smeserver-sysmon-6.0-2.noarch.rpm

I install/upgrade using  these packages, it works fine.

Then I do a yum update again smecontribs repo, it tries to pull smeserver-sysmon-6.1-1.el4.sme.
Where does this package comes from?

If one attempt to just upgrade existing smeserver-sysmon-6.0-2 from smecontribs, it tries to pull more deps:
=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 rrdtool-perl            i386       1.2.27-2.el4     smecontribs        34 k
     replacing  perl-rrdtool.i386 1.0.50-3.el4.rf

Updating:
 smeserver-sysmon        noarch     6.1-1.el4.sme    smecontribs        26 k
Installing for dependencies:
 fping                   i386       2.4-1.b2.2.el4.rf  smecontribs        32 k
 libart_lgpl             i386       2.3.16-3         base               69 k
Updating for dependencies:
 rrdtool                 i386       1.2.27-2.el4     smecontribs       446 k



- 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.

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
Re: [UPDATE] smeserver-sysmon
« Reply #56 on: March 29, 2008, 05:46:39 AM »
Hi Chris,

I'm sorry, but it's not my contrib.
For the last release is smeserver-sysmon-6.0-2.noarch.rpm
It's not on the repository.

Sorry,
Regards,
MasterSleepy.

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: [UPDATE] smeserver-sysmon
« Reply #57 on: March 29, 2008, 06:13:43 AM »
Hi Chris,

I'm sorry, but it's not my contrib.
For the last release is smeserver-sysmon-6.0-2.noarch.rpm
It's not on the repository.

Sorry,
Regards,
MasterSleepy.

oooops.... My apologies for wasting your time.
You are correct and I am totally confused.
- 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.

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
Re: [UPDATE] smeserver-sysmon
« Reply #58 on: March 29, 2008, 06:39:55 AM »
I look within the contrib in spec
changelog are not uptodate.
and packager are : Contribs.org <http://contribs.org>

I suggest contribs team to remove that contrib from the repository, to prevent problem like that!

MasterSleepy.

Offline slords

  • ****
  • 235
  • +3/-0
Re: [UPDATE] smeserver-sysmon
« Reply #59 on: March 29, 2008, 05:23:48 PM »
I look within the contrib in spec
changelog are not uptodate.
and packager are : Contribs.org <http://contribs.org>

I suggest contribs team to remove that contrib from the repository, to prevent problem like that!

MasterSleepy.

I am the original author of the contrib.  I never published the updates for 7 but I had done them internally.  I had also updated it to work with rrdtool 1.2.  The graphs have also been cleaned up and look a little better.  As there has been so many complaints about sysmon not working with 1.2 and it has taken so long for a fix/patch to come out I pushed out a version that will work.

The contrib has been in smecontribs for quite a while.  That is where we want all contribs.  As far as I can tell the only data element that 6.1 doesn't collect that 6.0 does collect is the number of connected samba users.  It may not graph all data but it is being collected.  I suggest that we take what is in smecontribs and enhance it to include what people are used to.  Please raise bugs in bugzilla for lacking features or bugs you find and then everyone can benefit from it.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs,
and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook