Hi All,
Long term Cacti user but not used it for a few years, used extensively in the past however, have installed a new version no issues on an Ubuntu Server. Everything seems to have gone well and I can add devices etc, however despite the crontab being setup to run the cmd.php poller it does not actually seem to do anything.
If I run php poller.php it runs and I get data on the graphs but only when I manually run it, and within the device settings I can only select the poller type to be cmd.php not poller.php
Have I missed something in the install section that is causing this possibly.
Poller configured to run as Cron Job but not running
Moderators: Developers, Moderators
Poller configured to run as Cron Job but not running
System - Red Hat Enterprise
Cacti Version - 1.2.23
RRDTool - 1.7.0
Poller - CMD
[u]Plugins Installed[/u]
Monitor 2.5
ReportIT 1.1.3
Thold 1.7
Weathermap 1.0
Cacti Version - 1.2.23
RRDTool - 1.7.0
Poller - CMD
[u]Plugins Installed[/u]
Monitor 2.5
ReportIT 1.1.3
Thold 1.7
Weathermap 1.0
Re: Poller configured to run as Cron Job but not running
show crontab table
show path of your cacti installation
show path of your cacti installation
Let the Cacti grow!
Re: Poller configured to run as Cron Job but not running
Crontab Table----
* * * * * root php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Path to Cacti from the include/config.php
$url_path = '/cacti/';
Cacti is in the /var/www/html/cacti folder.
Thanks
* * * * * root php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Path to Cacti from the include/config.php
$url_path = '/cacti/';
Cacti is in the /var/www/html/cacti folder.
Thanks
System - Red Hat Enterprise
Cacti Version - 1.2.23
RRDTool - 1.7.0
Poller - CMD
[u]Plugins Installed[/u]
Monitor 2.5
ReportIT 1.1.3
Thold 1.7
Weathermap 1.0
Cacti Version - 1.2.23
RRDTool - 1.7.0
Poller - CMD
[u]Plugins Installed[/u]
Monitor 2.5
ReportIT 1.1.3
Thold 1.7
Weathermap 1.0
Re: Poller configured to run as Cron Job but not running
change this:
* * * * * root php /var/www/html/cacti/cmd.php > /dev/null 2>&1
* * * * * root /real/path/to/php /var/www/html/cacti/cmd.php > /dev/null 2>&1
* * * * * root php /var/www/html/cacti/cmd.php > /dev/null 2>&1
* * * * * root /real/path/to/php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Let the Cacti grow!
Re: Poller configured to run as Cron Job but not running
Will give that a go and let you know, thanks alot.
System - Red Hat Enterprise
Cacti Version - 1.2.23
RRDTool - 1.7.0
Poller - CMD
[u]Plugins Installed[/u]
Monitor 2.5
ReportIT 1.1.3
Thold 1.7
Weathermap 1.0
Cacti Version - 1.2.23
RRDTool - 1.7.0
Poller - CMD
[u]Plugins Installed[/u]
Monitor 2.5
ReportIT 1.1.3
Thold 1.7
Weathermap 1.0
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Poller configured to run as Cron Job but not running
I'm using the cactid systemd service everywhere these days. Easier to manage, and works well with cluster failover.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest