Skip to content
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

Unable to obtain realtime graph from remote poller #5197

Closed
c0sm1n opened this issue Jan 27, 2023 · 7 comments
Closed

Unable to obtain realtime graph from remote poller #5197

c0sm1n opened this issue Jan 27, 2023 · 7 comments
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Milestone

Comments

@c0sm1n
Copy link

c0sm1n commented Jan 27, 2023

Real-time Graphing does not work on any graphs that are managed on the remote poller.

The following errors are seen in cacti.log on the remote poller:

2023/01/27 14:36:11 - CMDPHP Validation Error, Variable:poller_id, Value:f18ab1c955eab34b5daf2660ccaa4c271c0848779842f867d1c2b5375a7eaabf Backtrace: (/remote_agent.php[66]:poll_for_data(), /remote_agent.php[301]:get_filter_request_var(), /lib/html_utility.php[493]:die_html_input_error(), /lib/html_validate.php[64]:cacti_debug_backtrace())
2023/01/27 14:36:12 - CMDPHP Validation Error, Variable:poller_id, Value:f18ab1c955eab34b5daf2660ccaa4c271c0848779842f867d1c2b5375a7eaabf Backtrace: (/remote_agent.php[66]:poll_for_data(), /remote_agent.php[301]:get_filter_request_var(), /lib/html_utility.php[493]:die_html_input_error(), /lib/html_validate.php[64]:cacti_debug_backtrace())

Screenshot 2023-01-27 at 1 35 19 PM

@c0sm1n c0sm1n added bug Undesired behaviour unverified Some days we don't have a clue labels Jan 27, 2023
@TheWitness
Copy link
Member

Good catch!

@TheWitness TheWitness added this to the v1.2.24 milestone Jan 27, 2023
@TheWitness TheWitness added confirmed Bug is confirm by dev team and removed unverified Some days we don't have a clue labels Jan 27, 2023
TheWitness added a commit that referenced this issue Jan 27, 2023
Realtime graph on remote poller not working in 1.2.23
@TheWitness TheWitness added the resolved A fixed issue label Jan 27, 2023
@TheWitness
Copy link
Member

Fixed, thanks for reporting.

@TheWitness TheWitness added the porting required Requires porting to develop label Jan 27, 2023
@c0sm1n
Copy link
Author

c0sm1n commented Jan 30, 2023

Thank you for the quick response. I no longer see the PHP validation errors in the logs, however the realtime graph still does not render. I get the same error as before.

Screenshot 2023-01-30 at 12 14 51 PM

@TheWitness
Copy link
Member

What do you see in the Cacti log when you attempt to view these?

@c0sm1n
Copy link
Author

c0sm1n commented Feb 1, 2023

This is all I get in the log after setting the log level to debug when I launch the realtime graphs

2023/01/31 21:18:42 - WEBUI Connection: online, Previous Mode: online, Page: /cacti/clog.php
2023/01/31 21:19:29 - WEBUI Connection: online, Previous Mode: notset
2023/01/31 21:19:29 - AUTH DEBUG: Using remote client IP Address found in header (REMOTE_ADDR):
2023/01/31 21:19:30 - WEBUI Connection: online, Previous Mode: notset
2023/01/31 21:19:30 - AUTH DEBUG: Using remote client IP Address found in header (REMOTE_ADDR):
2023/01/31 21:19:41 - WEBUI Connection: online, Previous Mode: notset
2023/01/31 21:19:41 - AUTH DEBUG: Using remote client IP Address found in header (REMOTE_ADDR):
2023/01/31 21:19:47 - WEBUI Connection: online, Previous Mode: online, Page: /cacti/clog.php
2023/01/31 21:19:52 - WEBUI Connection: online, Previous Mode: notset

TheWitness added a commit that referenced this issue Feb 1, 2023
@TheWitness
Copy link
Member

Okay, I had it fixed and then I was messing around with regular expressions and messed it up without re-testing. Update remote agent and you will be all set.

@c0sm1n
Copy link
Author

c0sm1n commented Feb 1, 2023

That did it - it's working again. Thank you so much!

@netniV netniV changed the title Realtime graph on remote poller not working in 1.2.23 Unable to obtain realtime graph from remote poller Feb 15, 2023
@TheWitness TheWitness removed the porting required Requires porting to develop label Feb 20, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants