Configuration input schema json files for SNMP custom collector.

The configuration input schema json files for SNMP custom colelctors can be find below.

  • SNMP Collecor - config_input_schema.json

{  
"$schema": "http://json-schema.org/draft-04/schema#",  
"type": "object",  
"properties": {    
    "mnr": {      
        "type": "boolean",      
        "default": false,      
        "description": "Do you want data to be forwarded to M&R ",      "title": "Forward data to M&R"    
           },    
     "hostnamemnr": {      
           "type": "string",      
           "title": "M&R Hostname",      
           "description": "M&R Hostname or IP"    
          },    
      "mnrport": {      
           "type": "integer",      
           "title": "M&R Backend Port",      
           "description": "M&R Backend Port"   
         },    
      "sproutagent": {      
           "type": "array",      
           "title": "Clearwater Sprout Nodes",     
           "items": {        
                "properties": {          
                    "hostname": {            
                        "type": "string",            
                        "title": "Hostname or IP address of the Clearwater  
                                  Sprout Node",            
                        "description": "Hostname or IP address of the  
                            Clearwater Sprout Node"          
                         },         
                     "port": {            
                          "type": "integer",            
                          "title": "SNMP Port",            
                          "description": "Port number of the Clearwater to    collect SNMP Statistics",            
                          "default": 161          
                           },          
                      "protocol": {            
                            "type": "string",           
                            "title": "Protocol",            
                            "description": "Select SNMP Protocol",
                            "default": "udp"          
                             },          
                      "community": {            
                            "type": "string",            
                            "description": "SNMP Community String Value", 
                            "title": "community",            
                            "default": "public"          
                           },          
                      "version": {            
                           "type": "string",            
                           "title": "SNMP Version",  
                           "description": "The Device SNMP agent supported version",            
                           "default": "v2c"         
                                },          
                      "deploymentid": {            
                            "type": "string",            
                            "description": "Deployment Id of the vIMS",
                            "title": "Deployment Id of the vIMS",       
                           "default": "Clearwater-DeploymentID1"   
                              },          
                      "orchestrator": {            
                            "type": "string",            
                            "title": "Orchestrator Hostname or IP address", 
                            "description": "Orchestrator Hostname or IP address"          
                            },          
                      "timeout": {           
                            "type": "integer",            
                            "title": "Timeout",          
                            "default": 30,           
                            "description": "Timeout(seconds)"  
                              }       
                  },       
                "default": {          
                   "hostname": "",          
                   "port": 161,          
                   "protocol": "udp",       
                   "community": "public",          
                   "version": "v2c",          
                   "deploymentid": "Clearwater-DeploymentID1", 
                   "orchestrator": "",          
                   "timeout": 30        
                   }      
                 }    
           },   
      "bonoagent": {     
            "type": "array",    
            "title": "Clearwater Bono Nodes",      
            "items": {       
                 "properties": {      
                      "hostname": {           
                          "type": "string",          
                          "title": "Hostname or IP address of the Clearwater Bono Node",          
                          "description": "Hostname or IP address of the Clearwater Bono Node"         
                              },          
                       "port": {           
                             "type": "integer",       
                             "title": "SNMP Port",     
                             "description": "Port number of the Clearwater to collect SNMP Statistics",           
                             "default": 161      
                            },          
                       "protocol": {         
                             "type": "string",       
                             "title": "Protocol",        
                             "description": "Select SNMP Protocol", 
                             "default": "udp"         
                             },          
                       "community": {     
                           "type": "string",        
                           "description": "SNMP Community String Value",
                           "title": "community",      
                           "default": "public"        
                            },         
                       "version": {        
                           "type": "string",   
                           "title": "SNMP Version",   
                           "description": "The Device SNMP agent supported version",           
                           "default": "v2c"   
                           },         
                       "deploymentid": {         
                           "type": "string",            
                           "description": "Deployment Id of the vIMS",  
                           "title": "Deployment Id of the vIMS",       
                           "default": "Clearwater-DeploymentID1"   
                               },          
                      "orchestrator": {         
                           "type": "string",       
                           "title": "Orchestrator Hostname or IP address",
                          "description": "Orchestrator Hostname or IP address"         
                          },         
                      "timeout": {         
                           "type": "integer",      
                           "title": "Timeout",        
                           "default": 30,       
                           "description": "Timeout(seconds)"     
                        }       
            },      
           "default": {       
   "hostname": "",          "port": 161,          "protocol": "udp",          "community": "public",          "version": "v2c",          "deploymentid": "Clearwater-DeploymentID1",          "orchestrator": "",          "timeout": 30        }      }    },    "kafka.cluster": {      "type": "object",      "title": "Kafka Cluster Configuration",      "description": "Kafka Cluster Configuration",      "properties": {        "node": {          "type": "object",          "properties": {            "host": {              "type": "string",              "title": "Kafka Host",              "description": "kafka bootstrap server"            },            "port": {              "type": "integer",              "title": "Kafka port",              "description": "kafka port"            }          },          "required": [            "host",            "port"          ]        },        "auth": {          "type": "boolean",          "title": "Kafka authentication enabled",          "description": "Kafka server authentication enabled? (SASL_PLAINTEXT only)",          "default": false        },        "username": {          "type": "string",          "title": "Kafka username",          "description": "Kafka server username",          "default": ""        },        "password": {          "type": "string",          "title": "Kafka password.",          "description": "Kafka server password",          "default": ""        },        "topic": {          "type": "string",          "title": "Kafka Topic",          "description": "Kafka Topic name to publish Collected Data",          "default": ""        }      },      "required": [        "node",        "topic"      ]    },    "advancedsettings": {      "type": "boolean",      "title": "Configure advanced settings",      "default": false    },    "pollingperiods": {      "type": "boolean",      "title": "Node Polling required",      "default": false    },    "sproutpollingperiod": {      "type": "integer",      "title": "Sprout data Polling period (in Seconds)",      "description": "Sprout data Polling period (in Seconds) Range:60 to 3600",      "default": 300,      "minimum": 60,      "maximum": 3600    },    "bonopollingperiod": {      "type": "integer",      "title": "Bono data Polling period (in Seconds)",      "description": "Bono data Polling period (in Seconds) Range:60 to 3600",      "default": 300,      "minimum": 60,      "maximum": 3600    }  },  "required": [    "mnr",    "hostnamemnr",    "mnrport",    "sproutagent",    "bonoagent",    "kafka.cluster",    "pollingperiods"  ]}