-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Ping Result not reported properly #5665
Comments
carryel
added a commit
to carryel/cacti
that referenced
this issue
Feb 7, 2024
Same here, but didn't do the troubleshooting. |
Okay, fixed this. No changelog as this was between releases. Thanks for reporting all! |
TheWitness
added
resolved
A fixed issue
confirmed
Bug is confirm by dev team
QA
Bug created between releases. So, no CHANGELOG entry required
and removed
unverified
Some days we don't have a clue
labels
Feb 18, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
cacti version is develop branch.
Ping Result was always "ICMP ping Timed out" even though the server was alive.
When debugging this issue, the parsing of the results appeared to be incorrect.
It seems to be a side-effect of 011ae4c#diff-22abb1862abff566f5588ec6a9666d11553d088d2bb54a280a7b21b2ca36b499R225 .
I think the "if statement" should be reversed like this:
if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') {
https://github.com/Cacti/cacti/blob/develop/lib/ping.php#L225
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Desktop (please complete the following information)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: