The purpose of this script module is to collect port status and bandwidth information from the 3080IPX-10G card family. The poller script uses the cfgjsonrpc webeasy program to gather information.
The data collection module has the below distinct abilities and features:
- Collects RX and TX Rate
- Collects Port Operational Status
- inSITE Version 10.3 and service pack 6
- Python3.7 (already installed on inSITE machine)
- Python3 Requests library (already installed on inSITE machine)
Installation of the status monitoring module requires copying two scripts into the poller modules folder:
-
Copy ipx_port_collector.py script to the poller python modules folder:
cp scripts/ipx_port_collector.py /opt/evertz/insite/parasite/applications/pll-1/data/python/modules
-
Restart the poller application
To configure a poller to use the module start a new python poller configuration outlined below
- Click the create a custom poller from the poller application settings page
- Enter a Name, Summary and Description information
- Enter the host value in the Hosts tab
- From the Input tab change the Type to Python
- From the Input tab change the Metric Set Name field to ipx
- Select the Script tab, then paste the contents of scripts/poller_config.py into the script panel.
- Save changes, then restart the poller program.
{
"l_input_rate": 140773000,
"as_id": [
"32.0@i",
"33.0@i",
"306.0@s",
"252.0@i",
"303.0@s"
],
"i_port": 1,
"l_output_rate": 0,
"s_label": "10G/1G SFP+ Port (xeth1)",
"s_operation_status": "UP",
"s_name": "1"
}