Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
get_port_stats_by_port_hostname returns deleted port #5131
DO NOT DELETE THIS INFORMATION.
GitHub issues is for feature requests or bugs, please do not post issues asking for help or how to do X, Y or Z.
When using the get_port_stats_by_port_hostname through curl, a deleted port is returned rather than the active (non ignored,disabled,deleted) port.
Checking the corresponding list of ports for the device via the web interface (http://monitoringHost/ports) and selected "deleted" shows 15 deleted ports with the same device/name.
I would expect the port that is not deleted to be returned rather than the port with the lowest port_id.