Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.63k stars 404 forks source link

Realtime not working on remote pollers for certain data query #993

Closed g1augusto closed 6 years ago

g1augusto commented 7 years ago

This is a new issue ticket I opened to continue from an old one unresolved:

https://github.com/Cacti/cacti/issues/711


I apologize for not being able to follow up actively on this but I believe the issue is still there as real time graphs works only on sources queried by the main poller.

Can we resume this topic, I think IP SLA realtime graphing is one main feature of CACTI.

Along that I have a feeling that with bigger cluster the way realtime graph works can be a bit daunting, it may be better to open directly an HTTP connection to the remote poller rather than on the main, indeed it would create a dependency but it would facilitate the traffic flow I believe

cigamit commented 6 years ago

Our snmp_get method now handles and array, but in your case, I wanted to: 1) Make sure requests from a single host are done from the web server to the remote data collector in one poll 2) Return the results in json format for easy parsing 3) Fix the darn bug (which turned out to be not testing your specific use case 1 local data id that had multiple items in the poller item table).

The next opportunity, and a separate bug would be to group all the OID's into a single get request, which we do when using spine. That is what the device level setting maxoid's represents.

But again, that is a separate case. So, I'll close this one. Can you please open an enhancement request for the get request?

Thanks for your patience. I know it's been broken for a while.

g1augusto commented 6 years ago

No problem,

I am glad this is fixed, as for everything we just needed the right time for that :)

I am going to open an enhancement request as agreed

g1augusto commented 6 years ago

Opened for realtime enhancement : #1322