Koozali.org formerly Contribs.org

[UPDATE] smeserver-sysmon

[UPDATE] smeserver-sysmon
« on: February 04, 2008, 09:33:10 AM »
Hello all,

Following this post here, I've update the sysmon contrib this weekend.
I add a new graph to display the number of users that are connected to server using samba.

RPM:
smeserver-sysmon-5.1-1.noarch.rpm

sRPM:
smeserver-sysmon-5.1-1.src.rpm

Regards,
MasterSleepy.

Offline Jáder

  • *
  • 1,061
    • LinuxFacil
Re: [UPDATE] smeserver-sysmon
« Reply #1 on: February 04, 2008, 02:35:28 PM »
Hi

Thanks by the rpm, but I have problems:

1) not sure what repo must be enable to install using yum localinstall (rpm -Uvh fail by dependencies)
I used --enablerepo=* ... but do not like to do.

2) After installed, must do "signal-event post-upgrade; signal-event reboot" ??
Without it I got a 403 error!
Code: [Select]
Forbidden

You don't have permission to access /server-manager/cgi-bin/sysmon on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

3) After reboot, I still get same error message.

This is a newly installed server, just have 2 or 3 extra rpm (ModIndex, LAT and displayconf installed and already removed)


 
...

Offline kevinb

  • *
  • 237
Re: [UPDATE] smeserver-sysmon
« Reply #2 on: February 04, 2008, 03:39:46 PM »
Thanks MasterSleepy,

I really enjoy this contrib. I'll try an update later today.

I noticed that there is a new version of "rrdtool" (1.2.23-3.el4) on the repo smecontribs that would break the previous version of smeserver-sysmon. Can this new version use it? Also, will you be addeing your contribs to the smecontribs repo?


BTW ... I can't get "wget" to work with your links. do i need to use and special switches?


Thanks again


Kevin
« Last Edit: February 04, 2008, 03:45:29 PM by kevinb »

Re: [UPDATE] smeserver-sysmon
« Reply #3 on: February 04, 2008, 04:03:23 PM »
Hello,

@Kevinb
Actually I didn't test with the new version of rrdtool, in a near future I'll do that ;-)
For wget the file, try :
Code: [Select]
wget "http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=getit&lid=300"To add rpm to repo, I have to take some time to know it work, but I don't really have time for that.

@jader
I'll check for that soon and come back when I've a solution.

Regards.

Offline kevinb

  • *
  • 237
Re: [UPDATE] smeserver-sysmon
« Reply #4 on: February 04, 2008, 04:15:40 PM »
Thanks MasterSleepy,

But, I get the same errors as jader.

Has anyone gotten this resolved?

Can anyone point me to a place I can get the old RPM?


Kevin

Re: [UPDATE] smeserver-sysmon
« Reply #5 on: February 04, 2008, 04:21:51 PM »

Offline Franco

  • *
  • 1,171
    • http://contribs.org
Re: [UPDATE] smeserver-sysmon
« Reply #6 on: February 04, 2008, 04:59:03 PM »
[Mon Feb 04 13:55:06 2008] [error] [client 127.0.0.1] Symbolic link not allowed: /etc/e-smith/web/panels/manager/cgi-bin/sysmon, referer: https://sme7/server-manager/navigation

To fix, delete the old entry (incomplete)
Quote
rm -rf /etc/e-smith/web/panels/manager/cgi-bin/sysmon
then make a new one:
Quote
cd /etc/e-smith/web/panels/manager/cgi-bin/
ln -s ../../../functions/sysmon sysmon
« Last Edit: February 04, 2008, 05:03:58 PM by stuntshell »

Offline Jáder

  • *
  • 1,061
    • LinuxFacil
Re: [UPDATE] smeserver-sysmon
« Reply #7 on: February 04, 2008, 05:38:04 PM »
[Mon Feb 04 13:55:06 2008] [error] [client 127.0.0.1] Symbolic link not allowed: /etc/e-smith/web/panels/manager/cgi-bin/sysmon, referer: https://sme7/server-manager/navigation

To fix, delete the old entry (incomplete)then make a new one:

That fixed the 403 error... but still no graphs! (and yes... I wait more than 5 minute!)

AND I cannot see a SambaUsers  on top menu, just :

System Monitor
Code: [Select]
System:
CPU Load/CPU Memory Proc/Que Drives Uptime
Hosts:

'Hourly' Graph (1 Minute Average)

'Daily' Graph (5 Minute Average)

'Weekly' Graph (30 Minute Average)

'Monthly' Graph (2 Hour Average)

'Yearly' Graph (1 Day Average)
« Last Edit: February 04, 2008, 05:39:44 PM by jader »
...

Re: [UPDATE] smeserver-sysmon
« Reply #8 on: February 04, 2008, 07:39:55 PM »
Hello all,

Here is the version 5.1-2 that solved the problem i the server-manager panel.

RPM:
smeserver-sysmon-5.1-2.noarch.rpm

sRPM:
smeserver-sysmon-5.1-2.src.rpm

@jader:
Please make an install of the new version please. A new entry should appear below Hosts.

Regards,
MasterSleepy.

Offline Franco

  • *
  • 1,171
    • http://contribs.org
Re: [UPDATE] smeserver-sysmon
« Reply #9 on: February 04, 2008, 08:31:33 PM »
Does the statement to clean the /var/lib/rrd/ apply?
Last time I did it and as Jader points out, it does not create new ones.

Thanks,

Re: [UPDATE] smeserver-sysmon
« Reply #10 on: February 04, 2008, 08:48:17 PM »
No you don't have to clean all rrd.
Just a new one will be create.

Reg,
MasterSleepy.

Offline kevinb

  • *
  • 237
Re: [UPDATE] smeserver-sysmon
« Reply #11 on: February 04, 2008, 10:02:22 PM »
OK,

I upgraded (yum localupdate *) to smeserver-sysmon-5.1-1, then to smeserver-sysmon-5.1-2, re-configure, rebooted and deleted all the files in /var/lib/rrd and the page access error went away but I now have no graphics (its been about 15 minutes now). I also do not have any files /var/lib/rrd and the sysmon log is empty.

I only have the images (they are broken links now) I had before .... I do not see any images for system sensors, UPS, Samba, etc.

Please let me know what I should try next.

Thanks,

Kevin

Offline cactus

  • *
  • 4,880
    • http://www.snetram.nl
Re: [UPDATE] smeserver-sysmon
« Reply #12 on: February 04, 2008, 10:11:11 PM »
I upgraded (yum localupdate *) to smeserver-sysmon-5.1-1, then to smeserver-sysmon-5.1-2, re-configure, rebooted and deleted all the files in /var/lib/rrd and the page access error went away but I now have no graphics (its been about 15 minutes now). I also do not have any files /var/lib/rrd and the sysmon log is empty.
I did the same and it seems that since the time of installation of the faulty (5.1-1) smeserver-sysmon no data is graphed even after an upgrade to the new version (5.1-2).

Just out of interest... do you test before releasing?
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 Franco

  • *
  • 1,171
    • http://contribs.org
Re: [UPDATE] smeserver-sysmon
« Reply #13 on: February 04, 2008, 10:20:21 PM »
This is a no-go :(
After install it no longer graphs.

Offline cactus

  • *
  • 4,880
    • http://www.snetram.nl
Re: [UPDATE] smeserver-sysmon
« Reply #14 on: February 04, 2008, 10:50:23 PM »
I did the same and it seems that since the time of installation of the faulty (5.1-1) smeserver-sysmon no data is graphed even after an upgrade to the new version (5.1-2).

Just out of interest... do you test before releasing?
I tried to locate the logfiles, and in /var/log I find a sysmon and a sysmon.old, but they both have a size of 0 bytes... :-(

On doing some further investigation it seems that the scripts that init scripts are not symlinked properly:
Code: [Select]
[root@homer etc]# ll /etc/rc.d/rc*.d/*sysmon
lrwxrwxrwx  1 root root 12 Feb  4 21:22 /etc/rc.d/rc0.d/K03sysmon -> ../init.d/sy
lrwxrwxrwx  1 root root 12 Feb  4 21:22 /etc/rc.d/rc1.d/K03sysmon -> ../init.d/sy
lrwxrwxrwx  1 root root 12 Feb  4 21:22 /etc/rc.d/rc2.d/K03sysmon -> ../init.d/sy
lrwxrwxrwx  1 root root 12 Feb  4 21:22 /etc/rc.d/rc3.d/K03sysmon -> ../init.d/sy
lrwxrwxrwx  1 root root 12 Feb  4 21:22 /etc/rc.d/rc4.d/K03sysmon -> ../init.d/sy
lrwxrwxrwx  1 root root 12 Feb  4 21:22 /etc/rc.d/rc5.d/K03sysmon -> ../init.d/sy
lrwxrwxrwx  1 root root 12 Feb  4 21:22 /etc/rc.d/rc6.d/K03sysmon -> ../init.d/sy
lrwxrwxrwx  1 root root 16 Feb  4 22:54 /etc/rc.d/rc7.d/S97sysmon -> ../init.d/sy

Since the broken symlinks prevent the sysmon service from starting no graphdata is collected,
I have fixed all symlinks manually and started sysmon after that. I will wait a few minutes, but my guess is the collecting of data will resume.
« Last Edit: February 04, 2008, 11:00:48 PM by cactus »
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 cactus

  • *
  • 4,880
    • http://www.snetram.nl
Re: [UPDATE] smeserver-sysmon
« Reply #15 on: February 04, 2008, 11:03:12 PM »
Since the broken symlinks prevent the sysmon service from starting no graphdata is collected,
I have fixed all symlinks manually and started sysmon after that. I will wait a few minutes, but my guess is the collecting of data will resume.

Unfortunately...

Code: [Select]
[root@homer rc0.d]# service sysmon start
Starting sysmon daemon: Unrecognized escape \s passed through at /usr/sbin/sysmon line 762.
syntax error at /usr/sbin/sysmon line 783, near "if $ERR
        "
syntax error at /usr/sbin/sysmon line 790, near "}"
Execution of /usr/sbin/sysmon aborted due to compilation errors.
                                                           [FAILED]
MasterSleepy I sincerely suggest you thoroughly test your new release (if you not already do so) before releasing ot to the public.
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 cactus

  • *
  • 4,880
    • http://www.snetram.nl
Re: [UPDATE] smeserver-sysmon
« Reply #16 on: February 04, 2008, 11:08:33 PM »
Unfortunately...

Code: [Select]
[root@homer rc0.d]# service sysmon start
Starting sysmon daemon: Unrecognized escape \s passed through at /usr/sbin/sysmon line 762.
syntax error at /usr/sbin/sysmon line 783, near "if $ERR
        "
syntax error at /usr/sbin/sysmon line 790, near "}"
Execution of /usr/sbin/sysmon aborted due to compilation errors.
                                                           [FAILED]
The first error (line 762 should be fixed by replacing \s with a real space which would make the line read like I suggested to you:
Code: [Select]
        my $sambausernbr = `/usr/bin/smbstatus -b|grep '^[ 0-9]'|wc -l`;
Code: [Select]
[root@homer rc0.d]# service sysmon start
Starting sysmon daemon: syntax error at /usr/sbin/sysmon line 783, near "if $ERR
        "
syntax error at /usr/sbin/sysmon line 790, near "}"
Execution of /usr/sbin/sysmon aborted due to compilation errors.
                                                           [FAILED]
Now to fix the compilation error...
« Last Edit: February 05, 2008, 12:24:24 AM by cactus »
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 cactus

  • *
  • 4,880
    • http://www.snetram.nl
Re: [UPDATE] smeserver-sysmon
« Reply #17 on: February 04, 2008, 11:17:37 PM »
Now to fix the compilation error...
Which should be fixed by encapsulating the $ERR with brackets which would make line 783 read:

Code: [Select]
        if ($ERR)
After that the service starts succesfully, the /var/log/sysmon log start filling up with:
Code: [Select]
[root@homer sbin]# tail /var/log/sysmon
grep: Invalid regular expression
WARNING: The "printer admin" option is deprecated
grep: Invalid regular expression
WARNING: The "printer admin" option is deprecated

So I guess it is working now.

Here is the full patch
Code: [Select]
[root@homer sbin]# diff -u sysmon /usr/sbin/sysmon.new
--- /usr/sbin/sysmon      2008-02-04 23:19:54.000000000 +0100
+++ /usr/sbin/sysmon.new        2008-02-04 23:19:14.000000000 +0100
@@ -759,7 +759,7 @@
                     }
                 }
             }
-       my $sambausernbr = `/usr/bin/smbstatus -b|grep ^[\s0-9]|wc -l`;
+       my $sambausernbr = `/usr/bin/smbstatus -b|grep '^[ 0-9]'|wc -l`;
        RRDs::create("$RRDDIR/$SAMBAUSERRRD.rrd","-s","60",
                 "DS:$SAMBAUSER:GAUGE:180:0:U",
                 "RRA:MIN:0.5:1:1500",
@@ -779,7 +779,7 @@
                 "RRA:MAX:0.5:1440:797") unless -e "$RRDDIR/$SAMBAUSERRRD.rrd";
        RRDs::update("$RRDDIR/$SAMBAUSERRRD.rrd","N:" .trim($sambausernbr));
         my $ERR=RRDs::error;
-       if $ERR
+       if ($ERR)
        {
             print "ERROR while updating mydemo.rrd: $ERR\n";
             rename("$RRDDIR/$SAMBAUSERRRD.rrd","$RRDDIR/$SAMBAUSERRRD.bad");
@@ -788,4 +788,3 @@
        sleep(60-time%60);
         }
     }
-
« Last Edit: February 05, 2008, 12:25:25 AM by cactus »
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 cactus

  • *
  • 4,880
    • http://www.snetram.nl
Re: [UPDATE] smeserver-sysmon
« Reply #18 on: February 04, 2008, 11:39:45 PM »
So I guess it is working now.
Still no data in the graphs however...
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)

Re: [UPDATE] smeserver-sysmon
« Reply #19 on: February 05, 2008, 03:54:10 AM »
Hello all,

Here is a new version that solved a lot of problem, sorry for the inconvenient.
Symbolic link are now correct.
Daemon file is debug, thanks cactus.
 
RPM:
smeserver-sysmon-5.1-3.noarch.rpm

sRPM:
smeserver-sysmon-5.1-3.src.rpm

regards,
MasterSleepy.
« Last Edit: February 05, 2008, 04:00:28 AM by MasterSleepy »

Offline Franco

  • *
  • 1,171
    • http://contribs.org
Re: [UPDATE] smeserver-sysmon
« Reply #20 on: February 05, 2008, 04:59:07 AM »
Many Thanks!
Works like a charm now!  :smile:

Offline Franco

  • *
  • 1,171
    • http://contribs.org
Re: [UPDATE] smeserver-sysmon
« Reply #21 on: February 05, 2008, 05:49:04 AM »
OK! I celebrated too early :(
Samba Graphs OK, but everything else has sttoped!

Quote
[Tue Feb 05 02:41:24 2008] [error] [client 127.0.0.1] [Tue Feb  5 02:41:24 2008] sysmon: Name "esmith::LOADCPU_MAX" used only once: possible typo at /etc/e-smith/web/panels/manager/cgi-bin/sysmon line 309., referer: https://sme7.provobums.com/server-manager/cgi-bin/sysmon?state=detailed&typegraph=CPU
[Tue Feb 05 02:41:24 2008] [error] [client 127.0.0.1] [Tue Feb  5 02:41:24 2008] sysmon: Name "esmith::secmonth" used only once: possible typo at /etc/e-smith/web/panels/manager/cgi-bin/sysmon line 53., referer: https://sme7.provobums.com/server-manager/cgi-bin/sysmon?state=detailed&typegraph=CPU
[Tue Feb 05 02:41:24 2008] [error] [client 127.0.0.1] [Tue Feb  5 02:41:24 2008] sysmon: Name "esmith::LATENCY_MAX" used only once: possible typo at /etc/e-smith/web/panels/manager/cgi-bin/sysmon line 511., referer: https://sme7.provobums.com/server-manager/cgi-bin/sysmon?state=detailed&typegraph=CPU
[Tue Feb 05 02:41:24 2008] [error] [client 127.0.0.1] [Tue Feb  5 02:41:24 2008] sysmon: Name "esmith::sechour" used only once: possible typo at /etc/e-smith/web/panels/manager/cgi-bin/sysmon line 50., referer: https://sme7.provobums.com/server-manager/cgi-bin/sysmon?state=detailed&typegraph=CPU
[Tue Feb 05 02:41:24 2008] [error] [client 127.0.0.1] [Tue Feb  5 02:41:24 2008] sysmon: Name "esmith::MEM2_MAX" used only once: possible typo at /etc/e-smith/web/panels/manager/cgi-bin/sysmon line 424., referer: https://sme7.provobums.com/server-manager/cgi-bin/sysmon?state=detailed&typegraph=CPU
[Tue Feb 05 02:41:24 2008] [error] [client 127.0.0.1] [Tue Feb  5 02:41:24 2008] sysmon: Name "esmith::CURRENT" used only once: possible typo at /etc/e-smith/web/panels/manager/cgi-bin/sysmon line 71., referer: https://sme7.provobums.com/server-manager/cgi-bin/sysmon?state=detailed&typegraph=CPU
[Tue Feb 05 02:41:24 2008] [error] [client 127.0.0.1] [Tue Feb  5 02:41:24 2008] sysmon: Name "esmith::secyear" used only once: possible typo at /etc/e-smith/web/panels/manager/cgi-bin/sysmon line 54., referer: https://sme7.provobums.com/server-manager/cgi-bin/sysmon?state=detailed&typegraph=CPU
[Tue Feb 05 02:41:24 2008] [error] [client 127.0.0.1] [Tue Feb  5 02:41:24 2008] sysmon: Name "esmith::secday" used only once: possible typo at /etc/e-smith/web/panels/manager/cgi-bin/sysmon line 51., referer: https://sme7.provobums.com/server-manager/cgi-bin/sysmon?state=detailed&typegraph=CPU
[Tue Feb 05 02:41:24 2008] [error] [client 127.0.0.1] [Tue Feb  5 02:41:24 2008] sysmon: Use of uninitialized value in pattern match (m//) at /etc/e-smith/web/panels/manager/cgi-bin/sysmon line 1076., referer: https://sme7.provobums.com/server-manager/cgi-bin/sysmon?state=detailed&typegraph=CPU
[Tue Feb 05 02:41:24 2008] [error] [client 127.0.0.1] [Tue Feb  5 02:41:24 2008] sysmon: Use of uninitialized value in string eq at /etc/e-smith/web/panels/manager/cgi-bin/sysmon line 1087., referer: https://sme7.provobums.com/server-manager/cgi-bin/sysmon?state=detailed&typegraph=CPU

Offline Franco

  • *
  • 1,171
    • http://contribs.org
Re: [UPDATE] smeserver-sysmon
« Reply #22 on: February 05, 2008, 06:04:47 AM »
So to clarify once agai (Sorry guys, I just want to make this clear):
Code: [Select]
* If you are upgrading from a previous version you must remove
  all rrd files from /var/lib/rrd or graphs will not display
  correctly.
Does apply and you have to do it, otherwise existing graphs won't display correctly!

Offline kevinb

  • *
  • 237
Re: [UPDATE] smeserver-sysmon
« Reply #23 on: February 05, 2008, 06:25:51 AM »
Well I updated to smeserver-sysmon-5.1-3.

Removed all the files in /var/lib/rrd.

All I get is the Samba graph.

The only file I get in /var/lib/rrd is samba.rrd.

Kevin

Offline Franco

  • *
  • 1,171
    • http://contribs.org
Re: [UPDATE] smeserver-sysmon
« Reply #24 on: February 05, 2008, 06:29:56 AM »
Sorry to hear that Kevin, did you wait 5 minutes?
If so remove the contrib and reinstall again , it should start graphing again.

Offline Jáder

  • *
  • 1,061
    • LinuxFacil
Re: [UPDATE] smeserver-sysmon
« Reply #25 on: February 05, 2008, 12:03:37 PM »
Hi

Now the contrib works. But just after a install, remove and reinstall.
And just on a machine with sme7admin installed. On my newest production server it don't work.
Even without a remove and reinstall it do not create all .rrd files on /var/lib/rrd
Just as info I'm letting here my status (even after a 5 minute wait).

After first install, just two of them:
Code: [Select]
[root@pantera ~]# ls -la /var/lib/rrd/*
-rw-r--r--  1 root root 108156 Feb  5 08:54 /var/lib/rrd/samba.rrd
-rw-r--r--  1 root root   2328 Feb  5 08:54 /var/lib/rrd/sysmon.stats

after removing and reinstalling:
Code: [Select]
[root@pantera ~]# ls -la /var/lib/rrd/*
-rw-r--r--  1 root root  320876 Feb  5 08:59 /var/lib/rrd/drive_sda1.rrd
-rw-r--r--  1 root root  427236 Feb  5 08:59 /var/lib/rrd/host_gateway.rrd
-rw-r--r--  1 root root  427236 Feb  5 08:59 /var/lib/rrd/iface_eth0.rrd
-rw-r--r--  1 root root  427236 Feb  5 08:59 /var/lib/rrd/iface_eth1.rrd
-rw-r--r--  1 root root  182812 Feb  5 08:59 /var/lib/rrd/processors0.rrd
-rw-r--r--  1 root root  182812 Feb  5 08:59 /var/lib/rrd/processors1.rrd
-rw-r--r--  1 root root 2660796 Feb  5 08:59 /var/lib/rrd/processors.rrd
-rw-r--r--  1 root root  108156 Feb  5 08:59 /var/lib/rrd/samba.rrd
-rw-r--r--  1 root root 2341716 Feb  5 08:59 /var/lib/rrd/sysmon.rrd
-rw-r--r--  1 root root    2328 Feb  5 08:59 /var/lib/rrd/sysmon.stats
-rw-r--r--  1 root root  746316 Feb  5 08:59 /var/lib/rrd/ups.rrd

MasterSleepy, I think there are a little problem ... about recreate .rrd files. Not sure what, but on second install it's fixed.
Good luck on your hunting.

Jáder
« Last Edit: February 05, 2008, 02:54:56 PM by jader »
...

Offline cactus

  • *
  • 4,880
    • http://www.snetram.nl
Re: [UPDATE] smeserver-sysmon
« Reply #26 on: February 05, 2008, 05:16:54 PM »
So to clarify once agai (Sorry guys, I just want to make this clear):
Code: [Select]
* If you are upgrading from a previous version you must remove
  all rrd files from /var/lib/rrd or graphs will not display
  correctly.
Does apply and you have to do it, otherwise existing graphs won't display correctly!
Another suggestion as a contribution to the RPM as you can easily do so by adding this to the postun section of the SPEC file:
Code: [Select]
%postun
rm -rf /var/lib/rrd/*

See also the Install/Erase-time Scripts paragraph in Chapter 13: Inside the Spec File of "the Maximum RPM: Taking the Red Hat Package Manager to the Limit" on the http://www.rpm.org website.
« Last Edit: February 05, 2008, 05:18:36 PM by cactus »
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 kevinb

  • *
  • 237
Re: [UPDATE] smeserver-sysmon
« Reply #27 on: February 05, 2008, 08:20:23 PM »
OK .... the remove and reinstall worked!

Thanks everyone,

Kevin

Re: [UPDATE] smeserver-sysmon
« Reply #28 on: February 06, 2008, 09:17:10 AM »
Hello all,

I'll modify the contribs for the end of this week.
It will include the move of rrd file to a backup directory.
For the moment I create an entry in the wiki for this contrib.
http://wiki.contribs.org/Sysmon

Regards.
MasterSleepy.

Offline kevinb

  • *
  • 237
Re: [UPDATE] smeserver-sysmon
« Reply #29 on: February 06, 2008, 03:32:00 PM »
Hello MasterSleepy,

Thanks for all of your work on this great contrib. I have an issue, question and request.



When I cut and paste the commands from the wiki:
Code: [Select]
wget "http://www.vanhees.cc/modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=317"
wget "ftp://fr2.rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/perl-rrdtool-1.0.50-3.el4.rf.i386.rpm"
wget "http://www.vanhees.cc/modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=300"

I get:
Code: [Select]
root root  35131 Feb  6 07:21 modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=300
root root  31200 Feb  6 07:21 modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=317
root root 185467 Feb  6 07:21 perl-rrdtool-1.0.50-3.el4.rf.i386.rpm

The two files from your website do not get pulled down.

This does work however:
Code: [Select]
wget "http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=getit&lid=300"
wget "http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=getit&lid=317"
wget "ftp://fr2.rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/perl-rrdtool-1.0.50-3.el4.rf.i386.rpm"



On your website you show graphs of temperatore, RPM, Voltages, etc. I have never seen these graphs in any of my installs. Am I missing something?


Your graph of the hard drive space is a summation of all the mount points (if you have a 200 Gb 90% full, and a 500gb disk 10% full, the total capacty is shown as 700Gb 33% full). This is misleading. If you have time I believe it would be more informative to have a graph for each mount point like the "df -h" command.


Thanks again,

Kevin
« Last Edit: February 06, 2008, 03:36:01 PM by kevinb »

Re: [UPDATE] smeserver-sysmon
« Reply #30 on: February 06, 2008, 04:30:18 PM »
Thanks Kevin, I've made wrong link in the wiki.

Regarding your graph, that's very strange, witch version of sysstat, rrdtool and perl-rrdtool did you install.

Regards,
MasterSleepy.

Offline kevinb

  • *
  • 237
Re: [UPDATE] smeserver-sysmon
« Reply #31 on: February 06, 2008, 07:43:25 PM »
sysstat.i386                             5.0.5-16.rhel4
perl-rrdtool.i386                        1.0.50-3.el4.rf
rrdtool.i386                             1.0.50-3.el4.rf

Offline Jáder

  • *
  • 1,061
    • LinuxFacil
Re: [UPDATE] smeserver-sysmon
« Reply #32 on: February 06, 2008, 10:50:26 PM »
I have two productions install of sysmon 5.1.3. One it´s working (have sme7admin installed). Other was a newly installed (this weekend) server w/7.1.3 (don´t works).

The working version has:
Code: [Select]
[root@pantera ~]# rpm -qi sysstat
Name        : sysstat                      Relocations: (not relocatable)
Version     : 5.0.5                             Vendor: CentOS
Release     : 15.0.1.el4                    Build Date: Fri 18 May 2007 08:11:26 AM B             RT
Install Date: Fri 27 Jul 2007 06:58:18 PM BRT      Build Host: builder4.centos.org


[root@pantera ~]# rpm -qi perl-rrdtool
Name        : perl-rrdtool                 Relocations: (not relocatable)
Version     : 1.0.50                            Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
Release     : 1.2.el4.rf                    Build Date: Fri 05 Aug 2005 06:55:01 PM BRT
Install Date: Tue 24 Jul 2007 03:42:48 PM BRT      Build Host: lisse.leuven.wieers.com

[root@pantera ~]# rpm -qi rrdtool
Name        : rrdtool                      Relocations: (not relocatable)
Version     : 1.0.50                            Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
Release     : 1.2.el4.rf                    Build Date: Fri 05 Aug 2005 06:55:01 PM BRT
Install Date: Tue 24 Jul 2007 03:42:47 PM BRT      Build Host: lisse.leuven.wieers.com

[root@pantera ~]# rpm -qi smeserver-sysmon
Name        : smeserver-sysmon             Relocations: (not relocatable)
Version     : 5.1                               Vendor: (none)
Release     : 3                             Build Date: Tue 05 Feb 2008 12:51:03 AM BRST
Install Date: Tue 05 Feb 2008 08:53:18 AM BRST      Build Host: smedev.test.be

This help you ?
« Last Edit: February 06, 2008, 10:52:10 PM by jader »
...

Offline kevinb

  • *
  • 237
Re: [UPDATE] smeserver-sysmon
« Reply #33 on: February 06, 2008, 11:26:58 PM »
It looks like I have the same versions.

It may be hardware related. I am running on a Dell and two IBM's.

The "/usr/sbin/sensors-detect" command does not run on the two IBMS's because of hardware issues and I have always had trouble with Dell sensors.

It's not a big issue for me I was just wondering if I was missing software, a config or a command somewhere.


Kevin

Re: [UPDATE] smeserver-sysmon
« Reply #34 on: February 07, 2008, 08:43:54 AM »
Hello Kevin,

OK for sensors, it's hardware related, but some graph should work.
samba user: using command smbstatus.
Disk spaces: using df
latency: ping are used
.
.
.

Can you stop the service :
Code: [Select]
service sysmon stopand try to launch it manually
/usr/sbin/sysmon
that can maybe crash with an error message.

In a near future I've to add several debug message in this contribs to help solving that kind of problem.
Soon ;-)

Regards,
MasterSleepy.

Offline kevinb

  • *
  • 237
Re: [UPDATE] smeserver-sysmon
« Reply #35 on: February 07, 2008, 02:54:27 PM »
Hi MasterSleepy,

Samba, Disk Space and Latency are all working fine.

I did a stop and start without issue and without any error messages.

As I mentioned before, it would be more usefull to have a Disk Space plot for each mount point.


Thanks,


Kevin

Re: [UPDATE] smeserver-sysmon
« Reply #36 on: February 07, 2008, 10:02:55 PM »
OK Kevin, I'll see what I can do.

Regards,
MasterSleepy.

Offline Teviot

  • *
  • 610
Re: [UPDATE] smeserver-sysmon
« Reply #37 on: February 08, 2008, 04:30:38 AM »
MasterSleepy

I have read all the above and tried a few command line commands.  I have even uninstalled, reinstalled several time removing the rrd file everytime.  All I get is a placeholder where the graphs should be.

Any Idea's?

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.

Re: [UPDATE] smeserver-sysmon
« Reply #38 on: February 09, 2008, 07:19:26 AM »
Hi,

I follow the instructions from the wiki. It seems only samba graphs appears but no data appears on the graphs also

Regards,
Rocel

Re: [UPDATE] smeserver-sysmon
« Reply #39 on: February 11, 2008, 08:27:10 AM »
Hello All,

A new version will come this week.
In this new version, I'll add several debug assistant regarding the number of problem.

Also in this version, recording data for each disk are working, display not again but maybe I'll find the solution.

Regards,
MasterSleepy.

Re: [UPDATE] smeserver-sysmon
« Reply #40 on: February 13, 2008, 04:12:32 AM »
here is another issue for you. In the message log I get the following event repeating every minute while sysmon is on:
Code: [Select]
Feb 12 22:10:00 gollum upsd[4398]: Connection from 127.0.0.1
Feb 12 22:10:00 gollum upsd[4398]: Client on 127.0.0.1 logged out

If I stop sysmon then the events stop.

Seems a little chatty to me. Is there a bug or a side effect perhaps?

otherwise, it looks good.

Christian
SME since 2003

Re: [UPDATE] smeserver-sysmon
« Reply #41 on: February 13, 2008, 08:33:07 AM »
Hello Christian,

Those messages are correct, each minutes sysmon connect to your ups to catch information.
Maybe by limiting syslog or changing nut log level reporting will solved this.

Regards,
MasterSleepy.

Re: [UPDATE] smeserver-sysmon-6.0-1
« Reply #42 on: February 14, 2008, 09:41:22 AM »
Hello all,

Here the new version I promise.
This new version can be easily debug.
It add also separate graphics for HD.

RPM:
smeserver-sysmon-6.0-1.noarch.rpm

sRPM:
smeserver-sysmon-6.0-1.src.rpm

BEWARE if you update from previous version you may have some problem with service parameters.
At command line, check the following:
Code: [Select]
db configuration show sysmonIf nothing display, enter the following command:
Code: [Select]
db configuration set sysmon service status enabled debug release
service sysmon stop
service sysmon start

I'll complet the wiki asap.

Regards,
MasterSleepy.

Offline kevinb

  • *
  • 237
Re: [UPDATE] smeserver-sysmon
« Reply #43 on: February 14, 2008, 11:13:32 PM »
Works great MasterSleepy.

However I could only get it to work by removing the old one, rebooting, installing the new one and rebooting again.

The db commands did not work.


Kevin

Re: [UPDATE] smeserver-sysmon
« Reply #44 on: February 15, 2008, 01:21:06 AM »
my recipe was similar. A straight update didn't work even if I removed the rrd files. I had to remove and re-install and then do the normal post yum of
 
Code: [Select]
signal-event post-upgrade; signal-event reboot
SME since 2003

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

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
    • 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)

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.

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

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

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.

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.

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.

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.

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.

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

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.