Problem about Poller and Data Collectors
Moderators: Developers, Moderators
-
- Posts: 10
- Joined: Mon Jan 09, 2023 11:31 am
Problem about Poller and Data Collectors
Hi all.
I am a new user and now I try to install a new Cacti application to check if Cacti is good enough for our office. After installation, I found that no graph had been displayed with the error poller had not been enabled. I think the problem is due to the Data Collectors' problem as the status of the data collector shows the message "Heartbeat". I Googled the solution and try to fix it by myself but the status is still the same. May I ask if anyone can help me?
I am a new user and now I try to install a new Cacti application to check if Cacti is good enough for our office. After installation, I found that no graph had been displayed with the error poller had not been enabled. I think the problem is due to the Data Collectors' problem as the status of the data collector shows the message "Heartbeat". I Googled the solution and try to fix it by myself but the status is still the same. May I ask if anyone can help me?
- Attachments
-
- Poller Setting
- poller setting.jpg (657.43 KiB) Viewed 4458 times
-
- Crontab Setting
- Crontab Setting.png (204.41 KiB) Viewed 4458 times
-
- Log
- Log.png (190.54 KiB) Viewed 4458 times
-
- Graph Error
- Graph Error.png (57.96 KiB) Viewed 4458 times
-
- Data Collector Error
- Data Collector Error.png (32.02 KiB) Viewed 4458 times
Re: Problem about Poller and Data Collectors
Your cron is wrong. It appears to have an extra 1 on the front of it.
-
- Posts: 10
- Joined: Mon Jan 09, 2023 11:31 am
Re: Problem about Poller and Data Collectors
Hi cigamit,
Thank you for your information and I tried to update the crontab file and the status is still the same.
Thank you for your information and I tried to update the crontab file and the status is still the same.
Re: Problem about Poller and Data Collectors
Do you see a SYSTEM STATS line in the cacti log? If not, your poller is still not running, and it is most likely still your cron entry. You might try using "crontab -e" as root to edit the cron file instead of manually editing the /etc/crontab file.
-
- Posts: 10
- Joined: Mon Jan 09, 2023 11:31 am
Re: Problem about Poller and Data Collectors
I checked the log and cannot find any log related to the keywords. I tried to update the information you provide but still with the same results.
- Attachments
-
- cacti crontab -e configuration
- Screenshot_20230112_051232.png (150.68 KiB) Viewed 4443 times
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Problem about Poller and Data Collectors
1) use cactid systemd service
2) run the convert_innodb.php with the --innodb and --dynamic options
With syslog so large, you may have to increase the row count on converting the syslog table.
2) run the convert_innodb.php with the --innodb and --dynamic options
With syslog so large, you may have to increase the row count on converting the syslog table.
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?
Re: Problem about Poller and Data Collectors
So it seems like you are logged in as joseph, and editing your own crontab (according to the screen shot). Did you swap to the root user and then run the command?
Also, you don't need 2 of the pollers running. Remove the first one, and then remove the word "root" from the second, as you shouldn't be specifying the user when editing a user crontab.
Also, you don't need 2 of the pollers running. Remove the first one, and then remove the word "root" from the second, as you shouldn't be specifying the user when editing a user crontab.
-
- Posts: 10
- Joined: Mon Jan 09, 2023 11:31 am
Re: Problem about Poller and Data Collectors
Thank you for your help and I am allowed to monitor those devices. Thank you.TheWitness wrote: ↑Thu Jan 12, 2023 5:55 pm 1) use cactid systemd service
2) run the convert_innodb.php with the --innodb and --dynamic options
With syslog so large, you may have to increase the row count on converting the syslog table.
BTW, how should I set send an email again after the first email (with the message that a device is down) for maybe 10 minutes?
Who is online
Users browsing this forum: No registered users and 0 guests