Koozali.org: home of the SME Server

[ANNOUNCE] Cacti for smeserver 7.x


Offline stiperstones

  • *
  • 177
  • +0/-0
    • http://www.stiperstones.com
error on install using yum localinstall
« Reply #1 on: January 30, 2007, 10:19:11 PM »
MasterSleepy

tried to install cacti but yum list Error: Missing Dependency: libart_lgpl_2.so.2 is needed by package rrdtool could you please confirm have you opened anything in the bug tracker cannot find one for this release.

]# yum localinstall --enablerepo=dag /root/downloads/cacti/
rrdtool-1.0.50-3.el4.rf.i386.rpm     smeserver-cacti-0.8.6j-1.noarch.rpm
[root@server cacti]# yum localinstall --enablerepo=dag /root/downloads/cacti/smeserver-cacti-0.8.6j-1.noarch.rpm
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Examining /root/downloads/cacti/smeserver-cacti-0.8.6j-1.noarch.rpm: smeserver-cacti - 0.8.6j-1.noarch
Marking /root/downloads/cacti/smeserver-cacti-0.8.6j-1.noarch.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-cacti.noarch 0:0.8.6j-1 set to be updated
--> Running transaction check
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from Dag - EL4
Finished
Excluding Packages from Dag - EL4
Finished
--> Processing Dependency: rrdtool >= 1 for package: smeserver-cacti
--> Processing Dependency: perl-rrdtool >= 1 for package: smeserver-cacti
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for perl-rrdtool to pack into transaction set.
perl-rrdtool-1.2.18-1.el4 100% |=========================| 4.9 kB    00:00    
---> Package perl-rrdtool.i386 0:1.2.18-1.el4.rf set to be updated
---> Downloading header for rrdtool to pack into transaction set.
rrdtool-1.2.18-1.el4.rf.i 100% |=========================|  17 kB    00:00    
---> Package rrdtool.i386 0:1.2.18-1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: libart_lgpl_2.so.2 for package: rrdtool
--> Finished Dependency Resolution
Error: Missing Dependency: libart_lgpl_2.so.2 is needed by package rrdtool
================================================================
No new rpms were installed. No additional commands are required.
================================================================
Stiperstones

http://wiki.contribs.org/Koozali_Foundation
Try the Wiki some great how's there

"My Licence".........

Don't report security issues here - Contact security at contribs dot org
Don't report problems here - Please report bugs @ http://bugs.contribs.org/
Don't ask the same question twice - Please search the forums, your question may have been asked before - Thank You.

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
[ANNOUNCE] Cacti for smeserver 7.x
« Reply #2 on: January 31, 2007, 05:38:36 AM »
Hello,

try installing rrdtool version 1.0.xx
No nothing is open for the moment in the bug tracker, I will made it soon.

Regards.

Offline stiperstones

  • *
  • 177
  • +0/-0
    • http://www.stiperstones.com
[ANNOUNCE] Cacti for smeserver 7.x
« Reply #3 on: January 31, 2007, 07:59:05 PM »
Mastersleepy

Did this first

Code: [Select]
yum install --enablerepo=dag perl-rrdtool*1.0.50-3.el4.rf

will install perl-rrdtool and rrdtool

then download your contrib and ftp to my user home on server logged in as root and moved contrib to roots home directory.

then issued this command to install your contrib

Code: [Select]
yum localinstall --enablerepo=dag /root/downloads/cacti/smeserver-cacti-0.8.6j-1.noarch.rpm

installed contrib perfectly

only enabled the dag repo for good measure

logged into cacti

Code: [Select]
https://your_server_name/cacti
logged in using admin/admin
changed default password has requested


and it is working perfectly at moment will give it a couple of days and report back.

Thank You mastersleepy
Stiperstones

http://wiki.contribs.org/Koozali_Foundation
Try the Wiki some great how's there

"My Licence".........

Don't report security issues here - Contact security at contribs dot org
Don't report problems here - Please report bugs @ http://bugs.contribs.org/
Don't ask the same question twice - Please search the forums, your question may have been asked before - Thank You.

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
[ANNOUNCE] Cacti for smeserver 7.x
« Reply #4 on: February 01, 2007, 03:46:37 AM »
very, very, very nice!!!!
Thanks very much for this contrib.
I didn't know cacti until this.

egerards

[ANNOUNCE] Cacti for smeserver 7.x
« Reply #5 on: February 01, 2007, 01:56:01 PM »
Personally I use cacti to monitor my Speedtouch modem/router (via snmp). If you have other snmp enabled network devices, you can monitor them as well of course.

dazza76

Cacti Interfaces
« Reply #6 on: February 26, 2007, 02:52:25 AM »
Does anybody know what to do to get the interfaces to showup in cacti

Sorry does any one know howto get the snmp working
for any one who cares
in snmp settings in cacti

snmp comunity = public
Version 2

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
[ANNOUNCE] Cacti for smeserver 7.x
« Reply #7 on: March 02, 2007, 05:00:41 PM »
I have installed your RPM and it works good, I have a few remarks and NFR's though...

[list=1]
  • Add a rewriterule to automatically be redirected when using http instead of https, analogue like for webmail and the server-manager:
    Code: [Select]
    RewriteEngine on[/li][/list]
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]

    RewriteRule ^/server-manager(/.*|$)    https://%{HTTP_HOST}/server-manager$1 [L,R]
  • Perhaps you could make this RPM an integrational RPM so we can pull the latest version of cacti from the DAG repository where it is build for every release. I do the same with smeserver-subversion: I implement the panel, the events, actions and the skeleton files but put the subversion RPM as a requirement in the spec file, this way yum will automatically try to find the newest version. It keeps you from releasing new packages when cacti is updated.
  • Perhaps it is possible to use the smeserver-sysmon .rrd files to make a SME Server generic template for cacti and display this data as well, this way we can graph data of multiple SME Servers in one overview, certainly I would love this. Since you are the owner of that contrib as well, it might be easier than I first expected :-), it might be necessary to split the contrib as we won't necessarily need its panel when we are using cacti.[/list:o]
    I know it might be much I am suggesting here, but I think certainly the first point could be integrated into a feature release as this only requires a slight modification to the httpd template file(s), the other ones might make your package really worthwhile for SME Server administrators.
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
  • +3/-0
    • http://www.snetram.nl
Re: Cacti Interfaces
« Reply #8 on: March 02, 2007, 05:02:01 PM »
Quote from: "dazza76"
Does anybody know what to do to get the interfaces to showup in cacti

Sorry does any one know howto get the snmp working
for any one who cares
in snmp settings in cacti

snmp comunity = public
Version 2
For what device? Does the device support SNMP version 2 protocol?
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 Drifting

  • *****
  • 431
  • +0/-0
Forgive me for asking what may seem dumb questions
« Reply #9 on: May 16, 2007, 10:22:26 AM »
Hi.
Folling the howto I have installed Cacti, excellent work. However I am suffering from an understanding problem here. I have and SME in server gateway mode, and I can monitor the local server and the external router to the net. But for the life of me I cannot get an snmp connection to anything external, or anything locally other than the server and router?

What I am trying to do is monitor a couple of other SME boxes, and not so sure what software I need to install on them to achive this? I assume net-snmp? which I thought was already installed in SME?

Regards Paul.
Infamy, Infamy, they all have it in for me!

Offline gixmo

  • ***
  • 63
  • +0/-0
    • http://www.gixmo.nl
[ANNOUNCE] Cacti for smeserver 7.x
« Reply #10 on: May 16, 2007, 11:34:28 AM »
Master_sleepy,

on your site i found scripts.zip. how do i go about it?
do i run the scripts from a shell prompt and will it then vissible in cacti?

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
[ANNOUNCE] Cacti for smeserver 7.x
« Reply #11 on: May 18, 2007, 03:01:52 PM »
Hello Gixmo,

This archive contains all the script I use on my website to generate all graphs.
But it's only first step, after installing this script in scripts directory, you have to declare it in Cactis interface.
I'm looking, when I've some time, to export all information from cacti but it's not my priority for the moment.

Regards,

Offline sedangbelajar

  • **
  • 30
  • +0/-0
Re: [ANNOUNCE] Cacti for smeserver 7.x
« Reply #12 on: October 01, 2007, 11:05:51 PM »
Mastersleepy

Did this first

Code: [Select]
yum install --enablerepo=dag perl-rrdtool*1.0.50-3.el4.rf
will install perl-rrdtool and rrdtool

then download your contrib and ftp to my user home on server logged in as root and moved contrib to roots home directory.

then issued this command to install your contrib

Code: [Select]
yum localinstall --enablerepo=dag /root/downloads/cacti/smeserver-cacti-0.8.6j-1.noarch.rpm

installed contrib perfectly

only enabled the dag repo for good measure

logged into cacti

Code: [Select]
https://your_server_name/cacti
logged in using admin/admin
changed default password has requested

and it is working perfectly at moment will give it a couple of days and report back.

Thank You mastersleepy

That is "step by step" if we want install cacti ??
if that's right i will use the every command to start install.
please give advice, because until today..i can not find detail how to install cacti in SME server 7.2..i'm newbie in linux.


regards
« Last Edit: October 02, 2007, 12:00:26 AM by sedangbelajar »

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Re: [ANNOUNCE] Cacti for smeserver 7.x
« Reply #13 on: October 02, 2007, 01:31:26 AM »
please give advice, because until today..i can not find detail how to install cacti in SME server 7.2..i'm newbie in linux.
Looks like you need to add the dag repository.
3rd-Party Yum Repositories setup

Good Luck
Trevor B

Offline sedangbelajar

  • **
  • 30
  • +0/-0
Re: [ANNOUNCE] Cacti for smeserver 7.x
« Reply #14 on: October 02, 2007, 03:57:42 AM »
anyone can give me "step by step", i'm really do not understand ?? because too many cammand for expert linux, but i'm a newbie.
above me, like i need "dag" but i do not understand how and what can i do ? please forgive me, because for this experiment, because error message i need install my sme server until 5 times..i'm not really understand.
but i like tutorial like example :

Next install the following programs. The following commands should be executed on a terminal window (Applications > Accessories > Terminal).
## Some public keys
# cd /tmp
# wget http://packages.medibuntu.org/medibuntu-key.gpg
# sudo apt-key add medibuntu-key.gpg
# cd /tmp
# wget http://www.lemi.fi/voikko/archive-key-1.asc
# sudo apt-key add archive-key-1.asc



i hope somebody have much time to explain about how to create cacti in sme server

regards