Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: MasterSleepy on January 29, 2007, 10:33:52 AM

Title: [ANNOUNCE] Cacti for smeserver 7.x
Post by: MasterSleepy on January 29, 2007, 10:33:52 AM
I have just finished a rpm to install automatically cacti for smeserver 7.x

RPM :
http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewdownloaddetails&lid=319

sRPM :
http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewdownloaddetails&lid=318

Thsi rpm need rrdtool 1.0 minimum, you can find it here
http://rpmfind.net//linux/RPM/dag/redhat/el4/i386/rrdtool-1.0.50-3.el4.rf.i386.html or download this local copy http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewdownloaddetails&lid=317

Good installation to every one.
Title: error on install using yum localinstall
Post by: stiperstones 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.
================================================================
Title: [ANNOUNCE] Cacti for smeserver 7.x
Post by: MasterSleepy 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.
Title: [ANNOUNCE] Cacti for smeserver 7.x
Post by: stiperstones 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
Title: [ANNOUNCE] Cacti for smeserver 7.x
Post by: Franco 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.
Title: [ANNOUNCE] Cacti for smeserver 7.x
Post by: egerards 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.
Title: Cacti Interfaces
Post by: dazza76 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
Title: [ANNOUNCE] Cacti for smeserver 7.x
Post by: cactus 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]
Title: Re: Cacti Interfaces
Post by: cactus 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?
Title: Forgive me for asking what may seem dumb questions
Post by: Drifting 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.
Title: [ANNOUNCE] Cacti for smeserver 7.x
Post by: gixmo 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?
Title: [ANNOUNCE] Cacti for smeserver 7.x
Post by: MasterSleepy 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,
Title: Re: [ANNOUNCE] Cacti for smeserver 7.x
Post by: sedangbelajar 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.
(http://i21.tinypic.com/2ur8ff6.jpg)

regards
Title: Re: [ANNOUNCE] Cacti for smeserver 7.x
Post by: TrevorB 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.
(http://i21.tinypic.com/2ur8ff6.jpg)
Looks like you need to add the dag repository.
3rd-Party Yum Repositories setup (http://wiki.contribs.org/Category:Yum_Repository)

Good Luck
Trevor B
Title: Re: [ANNOUNCE] Cacti for smeserver 7.x
Post by: sedangbelajar 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
Title: Re: [ANNOUNCE] Cacti for smeserver 7.x
Post by: Mntsnow on October 22, 2007, 08:32:37 AM
I'm getting this error when trying to install the Cacti rpm

Code: [Select]
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Parsing package install arguments
Examining smeserver-cacti-0.8.6j-2.noarch.rpm: smeserver-cacti - 0.8.6j-2.noarch
smeserver-cacti-0.8.6j-2.noarch.rpm: does not update installed package.
Nothing to do

But I haven't installed it yet?
Title: Re: [ANNOUNCE] Cacti for smeserver 7.x
Post by: Mntsnow on October 22, 2007, 09:20:46 AM
some more info.... I'm lost...arghhh

Quote
[root@stl2 files]# ls
smeserver-cacti-0.8.6j-2.noarch.rpm
[root@stl2 files]# yum localinstall smeserver-cacti-0.8.6j-1.noarch.rpm
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Local Package Process
Cannot open file: smeserver-cacti-0.8.6j-1.noarch.rpm. Skipping.
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@stl2 files]# rpm -ivh sme*.rpm
Preparing...                ########################################### [100%]
        package smeserver-cacti-0.8.6j-2 is already installed
[root@stl2 files]#
Title: Re: [ANNOUNCE] Cacti for smeserver 7.x
Post by: gippsweb on October 22, 2007, 09:22:46 AM
so if you go to https://servername/cacti do you get the cacti login page?
Title: Re: [ANNOUNCE] Cacti for smeserver 7.x
Post by: Mntsnow on October 22, 2007, 01:55:14 PM
if I try going to https://servername/cacti   I redirected to  https://servername/cacti/install   and it states
Quote
Error

You have created a new database, but have not yet imported the 'cacti.sql' file. At the command line, execute the following to continue:

mysql -u root -p cacti_sme < cacti.sql

This error may also be generated if the cacti database user does not have correct permissions on the cacti database. Please ensure that the cacti database user has the ability to SELECT, INSERT, DELETE, UPDATE, CREATE, ALTER, DROP, INDEX on the cacti database.

If I type the command  "mysql -u root -p cacti_sme < cacti.sql" in ssh it says " -bash: cacti.sql: No such file or directory"

Title: Re: [ANNOUNCE] Cacti for smeserver 7.x
Post by: Mntsnow on October 22, 2007, 02:10:39 PM
ok I finally realized I wasnt logged into Mysql and once there I ran the command mysql -u root -p cacti_sme < cacti.sql  which created the database named "cacti" which I can see in phpmyadmin but it has no tables nor did it create any other users..and when going back and trying the https://servername/cacti   I still get redirected to the install page and it says the same thing as before??
Title: Re: [ANNOUNCE] Cacti for smeserver 7.x
Post by: Mntsnow on October 22, 2007, 02:38:46 PM
I got it working!!!!

What I had to do is log in ssh copy both of the sql files I will mention below to a place I could ftp them from so I could then manually import both the cacti.sql  and cacti_sme.sql files into the databases "cacti" and the other database I had to manually create "cacti_sme" and then imported the cacti.sql into the db called cacti and then imported the cacti_sme.sql file into the database called cacti_sme so that they had their tables and information populated.
Then tried going to the https://servername/cacti  page and it worked :)

The files as you probably figured out that I had to download so I could import them manually were
cacti.sql
cacti_sme.sql
These were both found in the /opt/cacti/ directory
Title: Re: [ANNOUNCE] Cacti for smeserver 7.x
Post by: sandoz on July 09, 2008, 08:53:43 AM
could this be updated to the latest 0.8.7b?
Title: Re: [ANNOUNCE] Cacti for smeserver 7.x
Post by: shawnbishop on October 04, 2009, 08:40:25 AM
Can this be added with all updated configurations to the Wiki?