-
-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non device based Data Sources not being polled #4863
Comments
Hmm, do they exist in the poller cache? Can you confirm? |
No, they do not. |
I have to setup a reproduce environment. |
Run this. I just set one up and it worked perfectly: SELECT * FROM data_local WHERE host_id = 0; |
Also the following; SELECT COUNT(*) FROM poller_item WHERE host_id = 0; |
SELECT * FROM data_local WHERE host_id = 0;
SELECT COUNT(*) FROM poller_item WHERE host_id = 0;
|
Tbh, I would not be surprised if there is som database corruption going on (been thru many updates). However, it worked in 1.2.16 and if I assign one of the affected data sources to a host, it works. |
Is that them though? They are in the poller cache. |
Yes, it's them. It would seem so but they are not present when looking in Console > Utilities > View Poller Cache and I get no data UNLESS I assign the Data Source to a device (so I assume that there is no problem with the data source itself). |
Run this and show me the output: ./spine -R -V 5 -S -f 0 -l 0 Maybe it's spine. |
No, I'm not using spine... |
cmd.php is similar php -q cmd.php --debug --first=0 --last=0 --poller=1 |
|
Non device based Data Sources not being polled
Okay, reproduced. Update your cmd.php from the 1.2.x branch. Thanks for sticking in there. |
Describe the bug
Somewhere between 1.2.16 and 1.2.20, non device based data sources (Device: None) stopped being polled (no data collected and does not show up in the poller cache). It worked in 1.2.16 and older, it does not seem to work after upgrading to 1.2.20 (and 1.2.21).
Rebuilding the poller cache (tested web and cli) does not help.
Cacti is running on Debian 11, php 7.4
The text was updated successfully, but these errors were encountered: