Koozali.org: home of the SME Server

SME7ADMIN gives graphing errors an incorrect e-mail notification

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Good Morning,

I checked e-mail this morning and found a notification had come every 5min from SME7ADMIN saying that [ALRT] pifc-mercy.partnersinfamilycare.com : mail in = 16 (max=10) (the mail in number changes).

The mail logs do not agree with the above notice.

I also get the following displayed if I go to the graph pages:

Error at RRDs::graph(sessions.PNG) : Garbage ': ' after command: COMMENT:Max:

Number of opened tcp connections for ssh, ftp, vpn, afp and netbios protocols.



Error at RRDs::graph(dhcpsmb.PNG) : Garbage ': ' after command: COMMENT:Max:

Number of dhcp leases renewals and opened samba shares.



Error at RRDs::graph(mail.PNG) : Garbage ': ' after command: COMMENT:Max:

Number of incoming/outgoing e-mails and amount of spam/viruses filtered.



Error at RRDs::graph(latency.PNG) : Garbage ': ' after command: COMMENT:Max:

Average and maximal ping with the selected target.



Error at RRDs::graph(if_loc.PNG) : Garbage ': ' after command: COMMENT:Max:

Load on the local network interface.


Any ideas?

Thanks,
Royce


Offline bunkobugsy

  • *
  • 306
  • +4/-0
Re: SME7ADMIN gives graphing errors an incorrect e-mail notification
« Reply #1 on: May 01, 2008, 12:22:41 AM »
The newer version of rrdtool does this to sme7admin, grab the original rrdtool from sme7admin's home and force yum to downgrade to that.
Yeah, and don't upgrade rrdtool again from smecontribs, there's a command around to exclude it from that repository. Sme7admin badly needs updating...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: SME7ADMIN gives graphing errors an incorrect e-mail notification
« Reply #2 on: May 01, 2008, 11:17:21 AM »
there's a command around to exclude it from that repository. Sme7admin badly needs updating...
Yes, do something like this:
Code: [Select]
db setprop yum_repositories setprop smecontribs Exclude `db yum_repositories getprop smecontribs Exclude`,rrdtool
expand-template /etc/yum.conf

Sme7admin badly needs updating...
I agree, but you could also consider smeserver-sysmon, which works with the latest rrdtool, if you are after the graphs:
Code: [Select]
yum install smeserver-sysmon --enablerepos=smecontribs
« Last Edit: May 01, 2008, 11:31:35 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 mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: SME7ADMIN gives graphing errors an incorrect e-mail notification
« Reply #3 on: May 01, 2008, 02:48:32 PM »
Thanks Bunkobugsy and Cactus,

What would be the correct command to remove Sme7admin without stuffing up a bunch of things?

Sorry, the DOS command line that I learned on did not come close to the features that linux has.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: SME7ADMIN gives graphing errors an incorrect e-mail notification
« Reply #4 on: May 01, 2008, 02:53:07 PM »
Thanks Bunkobugsy and Cactus,

What would be the correct command to remove Sme7admin without stuffing up a bunch of things?

Sorry, the DOS command line that I learned on did not come close to the features that linux has.
Normal would be
Code: [Select]
yum remove smeserver-sme7admin
But it might be that it removes to much or fails because of dependecy conflicts with other packages.

Most save would be
Code: [Select]
rpm -e --nodeps smeserver-sme7adminAbove command will only remove smeserver-sme7admin and nothing else.
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 mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: SME7ADMIN gives graphing errors an incorrect e-mail notification
« Reply #5 on: May 01, 2008, 02:59:00 PM »
Cactus,

Thanks a million for your help.

Royce

PS> for anybody else reading this thread change:
Code: [Select]
yum install smeserver-sysmon --enablerepos=smecontribsTo:
Code: [Select]
yum install smeserver-sysmon --enablerepo=smecontribs
« Last Edit: May 01, 2008, 03:39:06 PM by mercyh »

Offline pauljclarke

  • ***
  • 61
  • +0/-0
Re: SME7ADMIN gives graphing errors an incorrect e-mail notification
« Reply #6 on: May 01, 2008, 08:35:52 PM »
Err Hello.?

why is no one fixing sme7admin - I reported this some time ago and its not moving in the bugs.!?!?

See : http://bugs.contribs.org/show_bug.cgi?id=3729

Seams clear to me that its not a big issue to fix (wellfor someone who knows) from what Ihave read and then all the rddtools work arounds would not be needed.?

Please canwe cast some common sense?

Thanks

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: SME7ADMIN gives graphing errors an incorrect e-mail notification
« Reply #7 on: May 01, 2008, 09:06:14 PM »
We may be out of luck

Landry has not been active on the forums since February, 2006.

You may wish to write a new comparable contrib or replace with sysmon. Although sysmon does not do e-mail notifications.


Offline redteo

  • *
  • 122
  • +0/-0
    • redteo blog
Re: SME7ADMIN gives graphing errors an incorrect e-mail notification
« Reply #8 on: October 18, 2008, 08:08:50 PM »
to solve the problem just look better
that the autor released one update of the package
http://sme.firewall-services.com/downloads/sme7admin/rpms/smeserver-sme7admin-1.1.0-5.noarch.rpm
bye

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: SME7ADMIN gives graphing errors an incorrect e-mail notification
« Reply #9 on: October 20, 2008, 03:05:46 PM »
Yes,

And I have had it running for several months now.  :)

Offline piran

  • *****
  • 502
  • +0/-0
Re: SME7ADMIN gives graphing errors an incorrect e-mail notification
« Reply #10 on: October 20, 2008, 03:16:15 PM »
How did you workaround the 'missing dependency'?
Isn't the named item the wrong way around or something?
Code: [Select]
[root@josie 010-sme7admin]# rpm -Uvh smeserver-sme7admin-1.1.0-5.noarch.rpm
error: Failed dependencies:
        rrdtool-perl is needed by smeserver-sme7admin-1.1.0-5.noarch
[root@josie 010-sme7admin]#

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: SME7ADMIN gives graphing errors an incorrect e-mail notification
« Reply #11 on: October 20, 2008, 03:21:13 PM »
I had the same problem. Let me see if I can find my notes.

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: SME7ADMIN gives graphing errors an incorrect e-mail notification
« Reply #12 on: October 20, 2008, 03:26:17 PM »
Actually I did not have the same problem. My problem was worked throught in this thread. http://forums.contribs.org/index.php?topic=41339.0

I would open a bug against SME7ADMIN.


Offline piran

  • *****
  • 502
  • +0/-0
Re: SME7ADMIN gives graphing errors an incorrect e-mail notification
« Reply #14 on: October 20, 2008, 07:06:25 PM »
Updated (follow the given instructions in the bug filed link).
It's been set up for yum'ing and I was doing it the old way.
I was confused with a similarly named file already existing;~/