-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Port API returns status=ok for invalid names #15964
Comments
murrant
added a commit
to murrant/librenms
that referenced
this issue
May 19, 2024
When looking up device ports (get_port_graphs), return an error when no ports are found. fixes librenms#15964
3 tasks
electrocret
pushed a commit
that referenced
this issue
May 22, 2024
When looking up device ports (get_port_graphs), return an error when no ports are found. fixes #15964
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
Example API response with a device and port that doesn't exist:
While the output looks very different for a valid port (many more fields), I think it's still incorrect that LibreNMS replies with
"status": "ok"
here.I would expect for example this:
Output of ./validate.php
What was the last working version of LibreNMS?
No response
Anything in the logs that might be useful for us?
No response
The text was updated successfully, but these errors were encountered: