1.45. Release Notes 0.962¶
1.45.1. New features and improvements in this release¶
- Default Python rules now create monitoring variable totalPacketDrops with value equal to the sum of outbound packet discards rate, tail drops rate and RED drops rate for each interface that has COS (Class Of Service, or QoS) queues. This metric appears in maps, device details panel and Graphing Workbench and can be used with Nagios plugin to generate an alert.
- changed method used to load and execute Python script nw2rules.py to make error reporting better. Python exceptions are now annotated with right file name and line numbers.
- Monitoring variable selector (the code used to decide which monitoring variables should be used to poll devices and collect data) now resides in a separate Python module variable_selector.py that defines class Selector. Use can create their own module with a class that derives from Selector to implement their own logic. Documentation has been updated.
- This version comes with pre-bundled Python module ipaddr (See here: https://pypi.python.org/pypi/ipaddr) that can be used in variable selector and data processing code to match and manipulate ip addresses and subnets.
- New way of configuring views: now we use Python script to define and configure views. User has access to a rich Python syntax to express the logic of deciding which view every device belongs to. The script can use Python string operations and regular expressions to match device names and tags. Python module “ipaddr” can be used to match IP addresses. We ship example view builder script doc/views_example.py that can be used as a prototype script.