Stuck at Cacti Installation Guide
Moderators: Developers, Moderators
Stuck at Cacti Installation Guide
running CentOS 5
Installed Services:
Apache 2.2.3
MySQL 5.0.22
PHP 5.1.6
rrdtool 1.2.27
net-snmp
net-snmp-devel
net-snmp-libs
net-snmp-utils
php-snmp
[NOT FOUND] RRDTool Binary Path: The path to the rrdtool binary.
[ERROR: FILE NOT FOUND]
[FOUND] PHP Binary Path: The path to your PHP binary file (may require a php recompile to get this file).
[OK: FILE FOUND]
[NOT FOUND] snmpwalk Binary Path: The path to your snmpwalk binary.
[ERROR: FILE NOT FOUND]
[NOT FOUND] snmpget Binary Path: The path to your snmpget binary.
[ERROR: FILE NOT FOUND]
[NOT FOUND] snmpbulkwalk Binary Path: The path to your snmpbulkwalk binary.
[ERROR: FILE NOT FOUND]
[NOT FOUND] snmpgetnext Binary Path: The path to your snmpgetnext binary.
[ERROR: FILE NOT FOUND]
[FOUND] Cacti Log File Path: The path to your Cacti log file.
[OK: FILE FOUND]
-----------------------------------------------------------------------------------
Now far as the RRDTool Binary Path not found
I don't see anything at /usr/local/bin/rrdtool
But
I do see a directory at /usr/local/rrdtool-1.2.27 (Inside the folder it has files called bin, include, lib, share)
Is that the right directory? (/usr/local/rrdtool-1.2.27)
now far as the SNMP paths I can't find anything on that
Any help is appreciated!
Thank You!
Installed Services:
Apache 2.2.3
MySQL 5.0.22
PHP 5.1.6
rrdtool 1.2.27
net-snmp
net-snmp-devel
net-snmp-libs
net-snmp-utils
php-snmp
[NOT FOUND] RRDTool Binary Path: The path to the rrdtool binary.
[ERROR: FILE NOT FOUND]
[FOUND] PHP Binary Path: The path to your PHP binary file (may require a php recompile to get this file).
[OK: FILE FOUND]
[NOT FOUND] snmpwalk Binary Path: The path to your snmpwalk binary.
[ERROR: FILE NOT FOUND]
[NOT FOUND] snmpget Binary Path: The path to your snmpget binary.
[ERROR: FILE NOT FOUND]
[NOT FOUND] snmpbulkwalk Binary Path: The path to your snmpbulkwalk binary.
[ERROR: FILE NOT FOUND]
[NOT FOUND] snmpgetnext Binary Path: The path to your snmpgetnext binary.
[ERROR: FILE NOT FOUND]
[FOUND] Cacti Log File Path: The path to your Cacti log file.
[OK: FILE FOUND]
-----------------------------------------------------------------------------------
Now far as the RRDTool Binary Path not found
I don't see anything at /usr/local/bin/rrdtool
But
I do see a directory at /usr/local/rrdtool-1.2.27 (Inside the folder it has files called bin, include, lib, share)
Is that the right directory? (/usr/local/rrdtool-1.2.27)
now far as the SNMP paths I can't find anything on that
Any help is appreciated!
Thank You!
I have been trying to install Cacti for 2 days now
I'm have almost no clue where to go from here
I have 2 Problems:
1.
None of the charts are showing up
Correct me if I'm wrong but if the charts are not showing up it should be an issue with rrdtool right?
I have rrdtool install and cacti point to : /usr/bin/rrdtool for rrdtool
2.
All of the devices show Unknown
I will look into that more but not till I get problem 1 solved
I'm have almost no clue where to go from here
I have 2 Problems:
1.
None of the charts are showing up
Correct me if I'm wrong but if the charts are not showing up it should be an issue with rrdtool right?
I have rrdtool install and cacti point to : /usr/bin/rrdtool for rrdtool
2.
All of the devices show Unknown
I will look into that more but not till I get problem 1 solved
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
The rrdtool bin path should point to the binary itself, not to the directory. If /usr/local/rrdtool-1.2.27/bin/rrdtool is given, run /usr/local/rrdtool-1.2.27/bin/rrdtool --version from command line. If output is fine, well done.
To debug broken graphs, visit graph management and switch to debug. Post whole rrdtool graph statement
Reinhard
To debug broken graphs, visit graph management and switch to debug. Post whole rrdtool graph statement
Reinhard
Thanks for your post
I got the graphs to show up now
I ended up dumping everything and used the package manager for install.
Currently all the graphs show "nan" for loopback
Is that because under SNMP options for SNMP version is set to "Not in use"?
Also I still need to read up on adding equipment because I tried adding things in as a simple ping and they all show "Unknown" for status
The only thing up for status is the loopback
I got the graphs to show up now
I ended up dumping everything and used the package manager for install.
Currently all the graphs show "nan" for loopback
Is that because under SNMP options for SNMP version is set to "Not in use"?
Also I still need to read up on adding equipment because I tried adding things in as a simple ping and they all show "Unknown" for status
The only thing up for status is the loopback
Everytime I go to a Devise under Devices I get an error on IE at the bottom right showing:
Line: 563
Char: 2
Error: Not implemented
Code: 0
URL: http://192.168.4.103/cacti/host.php?action=edit&id=2
I checked the host.php file and line 563 shows:
$host["snmp_username"], $host["snmp_password"],
What can I do to fix this error or do I need to?
Line: 563
Char: 2
Error: Not implemented
Code: 0
URL: http://192.168.4.103/cacti/host.php?action=edit&id=2
I checked the host.php file and line 563 shows:
$host["snmp_username"], $host["snmp_password"],
What can I do to fix this error or do I need to?
I have the same problem as in the following forum: http://forums.cacti.net/about14743.html
All the Devices show unkown except the loopback
I know cacti can see it because if I setup a ping for a device it shows alive
The following below I pulled from the forum mentioned above
What did TheWitness mean by "irst check that you have all the patches applied"
I really need help here PLEASE!!!!!!!!!
Quote:
-------------------------------------------------------------------------
eecee,
Follow the following procedure:
1) Goto Utilities and Select "View Poller Cache"
2) Verify that there are Data Sources for the hosts in question. If not, stop.
3) Turn logging to DEBUG
4) Open a shell as root/administrator and run "php <path_cacti>/cmd.php"
5) If you get responses, this is good. Look for host status information, like host is up, or host down skipping...
6) If you don't see bad information, then your issue would be permissions or local environment.
7) Next, as root/administrator, run "php poller.php", you should get lot's of "OK"'s.
If you failed step 2), then you likely have a database issue and should simply first check that you have all the patches applied, and if you do, reinstall your database. If running MySQL 5.x, make sure strict mode if off.
TheWitness
-------------------------------------------------------------------------------------------------
All the Devices show unkown except the loopback
I know cacti can see it because if I setup a ping for a device it shows alive
The following below I pulled from the forum mentioned above
What did TheWitness mean by "irst check that you have all the patches applied"
I really need help here PLEASE!!!!!!!!!
Quote:
-------------------------------------------------------------------------
eecee,
Follow the following procedure:
1) Goto Utilities and Select "View Poller Cache"
2) Verify that there are Data Sources for the hosts in question. If not, stop.
3) Turn logging to DEBUG
4) Open a shell as root/administrator and run "php <path_cacti>/cmd.php"
5) If you get responses, this is good. Look for host status information, like host is up, or host down skipping...
6) If you don't see bad information, then your issue would be permissions or local environment.
7) Next, as root/administrator, run "php poller.php", you should get lot's of "OK"'s.
If you failed step 2), then you likely have a database issue and should simply first check that you have all the patches applied, and if you do, reinstall your database. If running MySQL 5.x, make sure strict mode if off.
TheWitness
-------------------------------------------------------------------------------------------------
I disabled strict mode in MySQL 5
Reinstalled Cacti and reuploaded the database
Now my graphs are showing up with data
but
My alarms still show Uknown
I did a php /var/www/cacti/cmd.php
got the followiing: 5/10/2008 06:52:48 AM - CMDPHP: Poller[0] Time: 0.1606 s, Theads: N/A, Hosts: 2
I tried the command php /var/www/cacti/poller.php
It doesn't do anything
It just skips to the next line
What does that mean?
Reinstalled Cacti and reuploaded the database
Now my graphs are showing up with data
but
My alarms still show Uknown
I did a php /var/www/cacti/cmd.php
got the followiing: 5/10/2008 06:52:48 AM - CMDPHP: Poller[0] Time: 0.1606 s, Theads: N/A, Hosts: 2
I tried the command php /var/www/cacti/poller.php
It doesn't do anything
It just skips to the next line
What does that mean?
After putting in the command "php /var/www/cacti/poller.php" over and over and reported the following:
05/10/2008 07:58:36 AM - SYSTEM STATS: Time:1.1594 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:5 RRDsProcessed:5
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
05/10/2008 07:58:36 AM - SYSTEM STATS: Time:1.1594 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:5 RRDsProcessed:5
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
That does not help.cboyd213 wrote:It will show unkown even on a simple ping with SNMP off
I setup cacti on 3 different machines and all of them do the same thing.
If you're going to get SNMP related data from any host (be it localhost or remote hosts), we should stick to SNMP even for localhost.
So, make sure that all hosts (even localhost) is reachable by SNMP. See first link of my sig. Verify SNMP by running the following command from cacti server against each of those hosts (even localhost)
Code: Select all
snmpwalk -c <your community> -v 1 <your target> system
If this is fine, make sure that your hosts definitions (even for localhost) match those settings. Use SNMP as availabilty checking method. Verify, that "system" information is printed on the upper left corner of the screen when editing the host definition.
Report your findings as well.
Reinhard
Who is online
Users browsing this forum: No registered users and 3 guests