Skip to content

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.

Notifications You must be signed in to change notification settings

thetherington/IPX10G-Port-Collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IPX10G Port Bandwidth and Status Collector

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:

  1. Collects RX and TX Rate
  2. Collects Port Operational Status

Minimum Requirements:

  • inSITE Version 10.3 and service pack 6
  • Python3.7 (already installed on inSITE machine)
  • Python3 Requests library (already installed on inSITE machine)

Installation:

Installation of the status monitoring module requires copying two scripts into the poller modules folder:

  1. 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
    
  2. Restart the poller application

Configuration:

To configure a poller to use the module start a new python poller configuration outlined below

  1. Click the create a custom poller from the poller application settings page
  2. Enter a Name, Summary and Description information
  3. Enter the host value in the Hosts tab
  4. From the Input tab change the Type to Python
  5. From the Input tab change the Metric Set Name field to ipx
  6. Select the Script tab, then paste the contents of scripts/poller_config.py into the script panel.
  7. Save changes, then restart the poller program.

Sample Output

{
    "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"
}

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages