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
-
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.
-
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.
================================================================
-
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.
-
Mastersleepy
Did this first
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
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
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
-
very, very, very nice!!!!
Thanks very much for this contrib.
I didn't know cacti until this.
-
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.
-
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
-
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:
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.
-
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?
-
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.
-
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?
-
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,
-
Mastersleepy
Did this first
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
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
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
-
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
-
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
-
I'm getting this error when trying to install the Cacti rpm
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?
-
some more info.... I'm lost...arghhh
[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]#
-
so if you go to https://servername/cacti do you get the cacti login page?
-
if I try going to https://servername/cacti I redirected to https://servername/cacti/install and it states
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"
-
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??
-
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
-
could this be updated to the latest 0.8.7b?
-
Can this be added with all updated configurations to the Wiki?