Main Poller Heartbeat status

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
ciscotester
Posts: 7
Joined: Mon Apr 15, 2019 1:36 am

Main Poller Heartbeat status

Post by ciscotester »


Hi Dears,

when i installed cacti finally I decide to get graph and get this issue on Data collection and not showing any single graph.

anybody know about solution to get graph?

Thank you.
Attachments
poller.JPG
poller.JPG (61.36 KiB) Viewed 2781 times
ciscotester
Posts: 7
Joined: Mon Apr 15, 2019 1:36 am

Re: Main Poller Heartbeat status

Post by ciscotester »

ciscotester wrote:
Hi Dears,

when i installed cacti finally I decide to get graph and get this issue on Data collection and not showing any single graph.

anybody know about solution to get graph?

Thank you.

I get graph by running this script (php poller.php ) to this directory ( /usr/share/cacti ).
but when don't run this script there is no graph anymore.
what is problem ? :-?

Attachments
error2.JPG
error2.JPG (135.67 KiB) Viewed 2776 times
netniV
Cacti Guru User
Posts: 3440
Joined: Sun Aug 27, 2017 12:05 am

Re: Main Poller Heartbeat status

Post by netniV »

Check that your cron process is calling that.
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
ciscotester
Posts: 7
Joined: Mon Apr 15, 2019 1:36 am

Re: Main Poller Heartbeat status

Post by ciscotester »

netniV wrote:Check that your cron process is calling that.
cron is up and set to 5 min.

How to check cron process is calling Poller?
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: Main Poller Heartbeat status

Post by camerabob »

Please show us the contents of your CRON.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
netniV
Cacti Guru User
Posts: 3440
Joined: Sun Aug 27, 2017 12:05 am

Re: Main Poller Heartbeat status

Post by netniV »

Cron will likely be logging that somewhere, such as /var/log/messages or /var/log/cron
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
harialnuaf
Posts: 1
Joined: Wed Dec 20, 2023 2:53 am

Re: Main Poller Heartbeat status

Post by harialnuaf »

$ sudo -u root VISUAL=nano crontab -e

*/5 * * * * sudo /opt/homebrew/opt/php/bin/php /Users/hari/Sites/cacti/poller.php



#its work for me
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Main Poller Heartbeat status

Post by TheWitness »

I used systemd service and avoid the cron as cron on many systems is not so predictable. It's easy to setup BTW. Just look in the service folder for instructions.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest