Cacti intallation on Ubuntu 9.04
Moderators: Developers, Moderators
Cacti intallation on Ubuntu 9.04
Is there a new installation guide for installing the new Cacti version onto Ubuntu 9.04 Server Edition? or should i just follow the old version installation guide?
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Re: Cacti intallation on Ubuntu 9.04
Follow the guide herecjblade54 wrote:Is there a new installation guide for installing the new Cacti version onto Ubuntu 9.04 Server Edition? or should i just follow the old version installation guide?
http://www.ubuntugeek.com/install-and-c ... erver.html
Then update the database and application by hand.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Thanks. I got the Cacti installed on the server hardware. It took a while to get it to work. However, i am missing some files and was not able to pull and graphs. I noticed under my Setting and Path... the SNMPWALK file was not found among several others. Not sure if it didn't get installed from the package file i got.... can I add these files manually? Here is a screenshot on my setting page. Please advice.
PS. I have another Cacti box that is functional. Can I just copy the SNMPwalk file from that machine to the server? Would that work?
PS. I have another Cacti box that is functional. Can I just copy the SNMPwalk file from that machine to the server? Would that work?
- Attachments
-
- Cacti.JPG (140.31 KiB) Viewed 33622 times
Operating System: Ubuntu 9.10 Sever Edition and Desktop Edition
Webserver: Apache2
Cacti: 0.8.7e
Spine: Not Sure
MySQL: 5.1.37
PHP: 5.2.10-2ubuntu6.4
RRDTool (Cygwin or Win32 version):Not Sure
Net-SNMP:Not Sure
Cygwin (cygwin1.dll version): Not sure
Plugin Architecture: 0.8.7e
Webserver: Apache2
Cacti: 0.8.7e
Spine: Not Sure
MySQL: 5.1.37
PHP: 5.2.10-2ubuntu6.4
RRDTool (Cygwin or Win32 version):Not Sure
Net-SNMP:Not Sure
Cygwin (cygwin1.dll version): Not sure
Plugin Architecture: 0.8.7e
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Hmm, that doesn't look good. Seems like RRDTool and Net-SNMP didn't even get installed ! Did you install Cacti from source, or from packages ?
From terminal, type
sudo apt-get install rrdtool
sudo apt-get install librrds-perl
sudo apt-get install snmpd
These commands above should install RRDTool and Net-SNMP - hopefully, iy'll cure the problems you seem to be experiencing.
From terminal, type
sudo apt-get install rrdtool
sudo apt-get install librrds-perl
sudo apt-get install snmpd
These commands above should install RRDTool and Net-SNMP - hopefully, iy'll cure the problems you seem to be experiencing.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Yeah.. right after i posted my problem. I used command to see if i can find these files. They were not exist in any directories. So i installed these packaged and all the files are "found". I added the local hosts and a test switch and see if they graphs are showing. I am giving it 5 mins and see if it polls any graphs at all. Is there a command you can check that Cacti is polling any information from the networking devices?
Code: Select all
whereis
Operating System: Ubuntu 9.10 Sever Edition and Desktop Edition
Webserver: Apache2
Cacti: 0.8.7e
Spine: Not Sure
MySQL: 5.1.37
PHP: 5.2.10-2ubuntu6.4
RRDTool (Cygwin or Win32 version):Not Sure
Net-SNMP:Not Sure
Cygwin (cygwin1.dll version): Not sure
Plugin Architecture: 0.8.7e
Webserver: Apache2
Cacti: 0.8.7e
Spine: Not Sure
MySQL: 5.1.37
PHP: 5.2.10-2ubuntu6.4
RRDTool (Cygwin or Win32 version):Not Sure
Net-SNMP:Not Sure
Cygwin (cygwin1.dll version): Not sure
Plugin Architecture: 0.8.7e
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Well, if you installed from packages, the user for the poller is www-data. I would do a "crontab -e" and see if there are any entries for the poller. Check the logs also (use LOW) and see if any entries are placed there.
The worst part is over (hopefully), and if the poller is running, you should be good to go.
The worst part is over (hopefully), and if the poller is running, you should be good to go.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Ok.. so, i did some debugging on my test switch. It seems like its working.
However, when i check the log file....
Code: Select all
Data Source Debug
/usr/bin/rrdtool create \
/var/www/cacti/rra/test_switch_traffic_in_9.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
- Attachments
-
- Nograph.JPG (124.33 KiB) Viewed 33603 times
Operating System: Ubuntu 9.10 Sever Edition and Desktop Edition
Webserver: Apache2
Cacti: 0.8.7e
Spine: Not Sure
MySQL: 5.1.37
PHP: 5.2.10-2ubuntu6.4
RRDTool (Cygwin or Win32 version):Not Sure
Net-SNMP:Not Sure
Cygwin (cygwin1.dll version): Not sure
Plugin Architecture: 0.8.7e
Webserver: Apache2
Cacti: 0.8.7e
Spine: Not Sure
MySQL: 5.1.37
PHP: 5.2.10-2ubuntu6.4
RRDTool (Cygwin or Win32 version):Not Sure
Net-SNMP:Not Sure
Cygwin (cygwin1.dll version): Not sure
Plugin Architecture: 0.8.7e
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Seems like RRDTool is segfaulting - can you post the result of
which rrdtool
Thanks
EDIT: have you also checked the permissions for your RRA directory ? You need to make sure that your poller account has write access
which rrdtool
Thanks
EDIT: have you also checked the permissions for your RRA directory ? You need to make sure that your poller account has write access
Last edited by mcutting on Mon Jun 08, 2009 11:00 am, edited 1 time in total.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Also, have a look at http://forums.cacti.net/about32542.html&highlight=
And here http://www.google.co.uk/search?q=site%3 ... hl=en&sa=2
And here http://www.google.co.uk/search?q=site%3 ... hl=en&sa=2
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Here is the result after i typed "which rrdtool"
/user/bin/rrdtool
/user/bin/rrdtool
Operating System: Ubuntu 9.10 Sever Edition and Desktop Edition
Webserver: Apache2
Cacti: 0.8.7e
Spine: Not Sure
MySQL: 5.1.37
PHP: 5.2.10-2ubuntu6.4
RRDTool (Cygwin or Win32 version):Not Sure
Net-SNMP:Not Sure
Cygwin (cygwin1.dll version): Not sure
Plugin Architecture: 0.8.7e
Webserver: Apache2
Cacti: 0.8.7e
Spine: Not Sure
MySQL: 5.1.37
PHP: 5.2.10-2ubuntu6.4
RRDTool (Cygwin or Win32 version):Not Sure
Net-SNMP:Not Sure
Cygwin (cygwin1.dll version): Not sure
Plugin Architecture: 0.8.7e
LOL.. yeah.. its is /usr/bin/rrdtoolmcutting wrote:Are you sure that it's not "usr/bin/rrdtool" ?cjblade54 wrote:Here is the result after i typed "which rrdtool"
/user/bin/rrdtool
Operating System: Ubuntu 9.10 Sever Edition and Desktop Edition
Webserver: Apache2
Cacti: 0.8.7e
Spine: Not Sure
MySQL: 5.1.37
PHP: 5.2.10-2ubuntu6.4
RRDTool (Cygwin or Win32 version):Not Sure
Net-SNMP:Not Sure
Cygwin (cygwin1.dll version): Not sure
Plugin Architecture: 0.8.7e
Webserver: Apache2
Cacti: 0.8.7e
Spine: Not Sure
MySQL: 5.1.37
PHP: 5.2.10-2ubuntu6.4
RRDTool (Cygwin or Win32 version):Not Sure
Net-SNMP:Not Sure
Cygwin (cygwin1.dll version): Not sure
Plugin Architecture: 0.8.7e
Who is online
Users browsing this forum: No registered users and 0 guests