The last two commits significantly improve the performance of the plugin, especially if you only want to monitor a few interfaces on a switch. We use the plugin for Cisco and Brocade switches and with these changes everything works as expected by now. Please note that i have not tested it with Bintec or other devices. Also I am not an experienced programmer so please have a look at the changes before merging them.
By the way thanks for the great and efficient check plugin! After making these changes we were able to significantly improve our monitoring with this plugin.
Please see commit messages for more details.
The last two commits significantly improve the performance of the plugin, especially if you only want to monitor a few interfaces on a switch. We use the plugin for Cisco and Brocade switches and with these changes everything works as expected by now. Please note that i have not tested it with Bintec or other devices. Also I am not an experienced programmer so please have a look at the changes before merging them.
By the way thanks for the great and efficient check plugin! After making these changes we were able to significantly improve our monitoring with this plugin.