Koozali.org formerly Contribs.org

[UPDATE] smeserver-sysmon

Offline kevinb

  • *
  • 237
Re: [UPDATE] smeserver-sysmon
« Reply #60 on: March 30, 2008, 12:17:18 AM »
Hello everyone,

FYI

Well I removed the older version, deleted the /var/lib/rrd folder and installed the new one with the requirements and it looks like Memory, Hard Drive, Uptime and Network are broken.

I noticed that the /var/lib/rrd folder has repopulated with what appears to be some of the old installs rrd files.

Kevin

Re: [UPDATE] smeserver-sysmon
« Reply #61 on: March 30, 2008, 12:45:37 AM »
Well I removed the older version, deleted the /var/lib/rrd folder and installed the new one with the requirements and it looks like Memory, Hard Drive, Uptime and Network are broken.
Kevin

Kevin check :  http://bugs.contribs.org/show_bug.cgi?id=4143
This appears to be a similar issue. You should fill a new bug report about your particular circumstances (deletion of old, not upgrade).
- 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 kevinb

  • *
  • 237
Re: [UPDATE] smeserver-sysmon
« Reply #62 on: March 30, 2008, 11:02:22 AM »
Thanks that did it!

service sysmon stop
rm /var/lib/rrd/*.rrd
service sysmon start


Kevin

Re: [UPDATE] smeserver-sysmon
« Reply #63 on: March 31, 2008, 09:16:13 AM »
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.
Hi Shad,

You are totally right, you are the original author of that contrib.
I've made a mistake when I adapt your contribs for version 7 of sme and add several functionnality, I'll should rebrand the contrib with an other name.
That's what I do now, I've publish smeserver-system_monitor, url still the same.
I keep rrdtool version 1.0, to keep compatibility with sme7admin.

bye,
MasterSleepy

Re: [UPDATE] smeserver-sysmon
« Reply #64 on: March 31, 2008, 10:45:11 AM »
I've publish smeserver-system_monitor, url still the same.
I keep rrdtool version 1.0, to keep compatibility with sme7admin.

We still have a problem:
(i) If people using the old version of MasterSleepy's contrib (called smeserver-sysmon) enable smecontribs repo, Shad's smeserver-sysmon will try to upgrade etc...  A way around this would be to run:
Code: [Select]
db yum_repositories setprop smecontribs Exclude rrdtool,rrdtool-perl,librrd,smeserver-sysmon
expand-template /etc/yum.conf

I tested this (thanks pfloor for guidance in another post), and it works OK.

(ii) If people upgrade to MasterSleepy's latest contrib (now called  smeserver-system_monitor) to maintain compatibility with sme7admin etc... , then I suspect that rrdtool found in the smecontribs repo will cause problem also. 

A way around this would be to just run:
Code: [Select]
db yum_repositories setprop smecontribs Exclude rrdtool,rrdtool-perl
expand-template /etc/yum.conf

I have not tested this.

If the above is correct, it may be good adding a note to the wiki ?

Edited: an afterthought:  In an ideal world, we should (in this order):
1) Fix sme7admin to work with the latest version of rrdtool. Apparently it is not a huge job.
2) Combine the two "Sysmon" into one contrib including SMB monitoring etc, and have this contrib stored in the smecontribs repo.

I wish I could do this, but coding is not my bag.
« Last Edit: March 31, 2008, 10:51:54 AM by chris burnat »
- 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.