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

Change logging message around remote agent timeout #5862

Open
bmfmancini opened this issue Oct 14, 2024 · 2 comments
Open

Change logging message around remote agent timeout #5862

bmfmancini opened this issue Oct 14, 2024 · 2 comments
Labels
enhancement General tag for an enhancement resolved A fixed issue
Milestone

Comments

@bmfmancini
Copy link
Member

bmfmancini commented Oct 14, 2024

When the remote agent times out it's not always due to the remote poller being down it could be a slow link

However the logging message shows the following

Warning: file_get_contents(http:// blah. Blah. Blah/cacti/remote_agent.php?action=ping&host_id=5): Failed to open stream: HTTP request failed! in /var/www/html/cacti/lib/functions.php on line 6114
ERROR: Failed to connect to remote collector.

Instead we should capture a timeout scenario
VS the poller offline maybe check the heartbeat status of the poller??

In the above case the link had high latency so the remote agent timeout had to be adjusted

@bmfmancini bmfmancini added the enhancement General tag for an enhancement label Oct 14, 2024
@bmfmancini bmfmancini added this to the v1.3.0 milestone Oct 14, 2024
@bmfmancini bmfmancini changed the title [feature request] - change logging message around remote agent [feature request] - change logging message around remote agent timeout Oct 14, 2024
@TheWitness TheWitness changed the title [feature request] - change logging message around remote agent timeout Change logging message around remote agent timeout Oct 15, 2024
TheWitness added a commit that referenced this issue Oct 16, 2024
Change logging message around remote agent timeout
@TheWitness TheWitness added the resolved A fixed issue label Oct 16, 2024
@TheWitness
Copy link
Member

@bmfmancini, any updates?

@bmfmancini
Copy link
Member Author

bmfmancini commented Oct 21, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General tag for an enhancement resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants