Cacti failing to poll - Cacti cacti-1.1.19-2 on CentOS 6
Moderators: Developers, Moderators
Cacti failing to poll - Cacti cacti-1.1.19-2 on CentOS 6
I am relatively new to cacti and linux. I have installed cacti on centos 6. I have been able to install but the graphs are not polling despite the equipment being detected on cacti.
I have tried to perform various changes as read on forums to no avail. All help is welcome
I have tried to perform various changes as read on forums to no avail. All help is welcome
- Attachments
-
- Status Unknown.PNG (12.37 KiB) Viewed 1168 times
-
- Node Discovered.PNG (6.74 KiB) Viewed 1168 times
-
- No Graphing.PNG (12.5 KiB) Viewed 1168 times
Re: Cacti failing to poll - Cacti cacti-1.1.19-2 on CentOS 6
Have you got a cron job setup to run the poller.php?
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Cacti failing to poll - Cacti cacti-1.1.19-2 on CentOS 6
Not sure
I used this guide during the installation
https://www.tecmint.com/install-cacti-n ... ent-961286
As indicated, I am relatively new to linux
I used this guide during the installation
https://www.tecmint.com/install-cacti-n ... ent-961286
As indicated, I am relatively new to linux
Re: Cacti failing to poll - Cacti cacti-1.1.19-2 on CentOS 6
Setting Cron for Cacti
Open file /etc/cron.d/cacti.
Uncomment the following line. The poller.php script runs every 5mins and collects data of known host which is used by Cacti application to display graphs.
This is the section that matters. However, what they have done is left a # at the front of the cron to stop the scheduler kicking in before you've fully installed cacti. You need to edit /etc/cron.d/cacti and remove that hash prefix for the poller to actually kick in.
Open file /etc/cron.d/cacti.
Code: Select all
# vi /etc/cron.d/cacti
Code: Select all
#*/5 * * * * cacti /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Cacti failing to poll - Cacti cacti-1.1.19-2 on CentOS 6
Yes I had done that earlier but still it did not work
Re: Cacti failing to poll - Cacti cacti-1.1.19-2 on CentOS 6
OK, what is appearing in the log files? Are there any errors or warnings?
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Cacti failing to poll - Cacti cacti-1.1.19-2 on CentOS 6
How can i check on that?
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Cacti failing to poll - Cacti cacti-1.1.19-2 on CentOS 6
Just curious, did you change all the Timezone settings in /etc/php.ini and /etc/my.cnf ?
Also, you can check if the rrd files are actually updated ?
You can do this by going to the Console, then in the Management section choose "Data Sources". Select a data source there and on the next script click on the "Turn On Data Source Info Mode". You will see a new section with "RRD File Information" stating the full path to the rrd file as well as the last_update time.
Also, you can check if the rrd files are actually updated ?
You can do this by going to the Console, then in the Management section choose "Data Sources". Select a data source there and on the next script click on the "Turn On Data Source Info Mode". You will see a new section with "RRD File Information" stating the full path to the rrd file as well as the last_update time.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: Cacti failing to poll - Cacti cacti-1.1.19-2 on CentOS 6
netniV wrote:OK, what is appearing in the log files? Are there any errors or warnings?
Kindly advice
Re: Cacti failing to poll - Cacti cacti-1.1.19-2 on CentOS 6
phalek wrote:Just curious, did you change all the Timezone settings in /etc/php.ini and /etc/my.cnf ?
Also, you can check if the rrd files are actually updated ?
You can do this by going to the Console, then in the Management section choose "Data Sources". Select a data source there and on the next script click on the "Turn On Data Source Info Mode". You will see a new section with "RRD File Information" stating the full path to the rrd file as well as the last_update time.
The timezone settings have not been changed
"Turn On Data Source Info Mode" does not show any extra info. Page remains the same with the feature turned on or off
Who is online
Users browsing this forum: No registered users and 0 guests