Interfaces

List Interfaces

Lists all the interfaces monitored in OpManager

HTTP Method

GET

API URL

https://localhost:8060/api/json/device/listInterfaces?apiKey=***************&isFluidic=true&rows=100&page=1&sortByColumn=statusNum&sortByType=desc

Parameters

Param NameDescriptionData TypeAdditional InformationIs Mandatory
apiKeyAPI Key to access your OpManager server.String-Yes
filterscustom conditions to filter interface resultsJSONObject** groupOp - String - Allowed values: AND
** rules - JSONArray -
-->field - String - Allowed values: interfaceDisplayName, displayName, adminStatus, operStatus, ipAddress, type, statusNum, isSuppressed, probeName, UDF followed by one or more digits (e.g., UDF1, UDF12)
-->op - String - Allowed values: cn, eq
-->data - String - No regex
No
pageTo fetch interface list in batches. This should be combinedly used with 'rows' parameter [Example: page=1, rows=200, page=2, rows=200]IntegerAllowed values: 1-5000No
sortByTypeDefining ascending or descending sort of interfaces list [Example, sortByType=asc Or sortByType=desc]StringAllowed values: asc, descNo
sortByColumnSorting interfaces list with columns [Example: inSpeed, displayName, ipaddress, outSpeed, statusNum, severity - 1 (Critical), 2 (Trouble), 3 (Attention), 4 (service down), 5 (Clear), 7 (Unmanaged)]StringAllowed values: statusNum, interfaceDisplayName, displayName, adminStatus, operStatus, ipAddress, type, inSpeed, outSpeed, inTraffic, outTraffic, isSuppressed, probeName, UDF followed by one or more digits (e.g., UDF1, UDF12)No
rowsTo fetch interface list in batches. This should be combinedly used with 'page' parameter [Example: page=1, rows=200, page=2, rows=200]IntegerAllowed values: 1-20000Yes
_searchindicates if the request is a search queryBoolean-No
ndrequest timestampLong-No
isFluidicSet value as 'true' by default (for internal purpose)Boolean-No
classificationClassification of DeviceStringAllowed values: Network, Router, Switch, Printer, Server, PhysicalServer, Windows, Linux, MSSQL, Exchange, DomainController, Wireless, Firewall, IPMI, MonitoringAgentNo
severityFilter interfaces with severity. [Example: 1 (Critical), 2 (Trouble), 3 (Attention), 4 (service down), 5 (Clear), 7 (Unmanaged)]StringAllowed values: 1–11, comma(,)No
typeFilter interface with interface type. [Example: Ethernet,Software Loopback, etc]StringAllowed characters: A–Z, a–z, all Unicode letters, 0–9, space( ), comma(,), dot(.), hyphen(-), underscore(_), parenthesis(()), slash(/), plus(+), exclamation(!), at(@), hash(#), dollar($), square brackets([ ]), caret(^), colon(:), semicolon(;), equals(=), ampersand(&), single quote('), all non-Basic Latin charactersNo
isIdleInterfacefilters only idle or inactive interfacesBoolean-No
intfPropsTo fetch additional interface properties such as ifName (Interface ifName), moid (internal managed object identifier used for interface/device), physAddressBoolean-No
intfGroupIDfilters interfaces belonging to a specific interface groupLong-No
customFieldsfilter by custom fieldsStringAllowed characters: A–Z, a–z, all Unicode letters, 0–9, space( ), dot(.), exclamation(!), colon(:), at(@), hyphen(-), underscore(_), backslash(\), slash(/), single quote('), comma(,)No
isAPlusflag related to advanced interface monitoringBoolean-No

Sample Response

HTTP Code: 200

{ "total": "0", "records": "0", "page": "1", "rows": [ { "interfaceDisplayName": "Switch loopback interface-lo0", "isSuppressed": false, "statusStr": "Trouble", "adminStatusImg": "", "displayName": "10.5.5.1", "operStatusImg": "", "ipAddress": "", "outSpeed": "0 bps", "inSpeed": "0 bps", "type": "Software Loopback", "deviceName": "10.5.5.1", "interfaceStatus": 2, "outTraffic": "72.513 M (0.0%)", "statusNum": 2, "suppressedMessage": "", "inTraffic": "67.446 M (0.0%)", "adminStatus": "Up", "operStatus": "Up", "id": "494", "interfaceName": "IF-10.5.5.1-494", "iconPath": "images/intfTypes/anonIfType.gif"}, { "interfaceDisplayName": "VLAN3853-NWT-MGMT", "isSuppressed": false, "statusStr": "Trouble", "adminStatusImg": "", "displayName": "10.5.5.1", "operStatusImg": "", "ipAddress": "10.5.5.12", "outSpeed": "0 bps", "inSpeed": "0 bps", "type": "Proprietary Virtual", "deviceName": "10.5.5.1", "interfaceStatus": 2, "outTraffic": "93.811 M (0.0%)", "statusNum": 2, "suppressedMessage": "", "inTraffic": "69.148 M (0.0%)", "adminStatus": "Up", "operStatus": "Up", "id": "493", "interfaceName": "IF-10.5.5.1-493", "iconPath": "images/intfTypes/anonIfType.gif"} ]}
Rate limit: 500 requests per minute. Exceeding this limit will block requests for 1 minute

getInterfaceSummary

Provides basic details of the interface such as ifIndex, ifName, ifDesc, ifAlias, parent device, Rx/Tx Traffic, etc.

HTTP Method

GET

API URL

https://localhost:8060/api/json/device/getInterfaceSummary?apiKey=***************&interfaceName=IF-10.5.5.5-4429

Parameters

Param NameDescriptionData TypeAdditional InformationIs Mandatory
apiKeyAPI Key to access your OpManager server.String-Yes
interfaceNameManagedObject name of the interface as seen in the URL of interface snapshot page OR 'interfaceName' property value in the listInterfaces API response..String-Yes
snapTypeSpecifies the type of snapshot data to fetchStringAllowed values: MonitoringInterfaceNo

Sample Response

HTTP Code: 200

{ "IntfIpaddress": "10.5.5.5", "recBandwidth": "0", "NFA_ID": "", "instance": "4504", "Util": "5", "avgOutPackets": "4.949 M", "outTraffic": "63.247 M", "moID": "493", "isIPAvailable": true, "intfDisplayName": "VLAN3853-NWT-MGMT", "txUtil": "0.0", "operStateImg": "", "rstime": "0 bps", "statusPollEnabled": "true", "ifAdminStatus": "1", "isAgentMonitoring": false, "ifSpeedIn": "0", "rxUtil": "0.0", "ifName": "VLAN3853", "stringStatus": "Down", "Discards": "2", "Errors": "2", "pollInterval": "900", "operState": "Up", "intfmanaged": "true", "name": "10.5.5.1", "typeId": "53", "adminStateImg": "", "desc": "VLAN3853", "status": "2", "trafficCounter": "32 bit", "displayName": "10.5.5.1", "availability":{ "Down": 0, "Dependent Unavailable": 0, "Not Monitored": 0, "On Hold": 0, "Parent Down": 0, "On Maintenance": 0, "Up": 100}, "inSpeedDisplayValue": "0 bps", "typeIdDescr": "Proprietary Virtual (53)", "isSubInterface": "false", "managed": "true", "ifPhysAddr": "90 20 c2 20 28 40", "adminState": "Up", "transBandwidth": "0", "statusPolledVia": "SNMP", "outSpeedDisplayValue": "0 bps", "availabilityTimeLine": [ "UP,1759861803159,1759906863159,Up" ], "rxPackets": "2.154 K", "isAddedToNFA": "false", "txPackets": "1.597 K", "pollingStatus": "0", "ifAlias": "NWT-MGMT", "ifSpeedOut": "0", "inTraffic": "79.976 M", "intfMoName": "IF-10.5.5.1-493", "ifOperStatus": "1", "category": "Switch", "avgInPackets": "4.64 M"}
Rate limit: 50 requests per minute. Exceeding this limit will block requests for 1 minute

getIntfAtAGlanceReportDetails

Provides a consolidated availability and performance monitoring health report data for the given interface.

HTTP Method

GET

API URL

https://localhost:8060/api/json/v2/device/getIntfAtAGlanceReportDetails?apiKey=***************&InterfaceName=IF-xxx.xxx.xx.4-3820&period=Today

Parameters

Param NameDescriptionData TypeAdditional InformationIs Mandatory
apiKeyAPI Key to access your OpManager server.String-Yes
InterfaceNameName of the interface - Managed Entity name as seen in the URL of interface snapshot page OR 'interfaceName' property value in the listInterfaces API response.String-Yes
periodPeriod for which the interface data is required.StringAllowed values: custom, Today, onehour, twohours, fourhours, sixhours, eighthours, twelvehours, twfourhours, before_12_hours, before_24_hours, before_48_hours, Last_7_Days, WEEK, Last_30_Days, MONTH, Last_60_Days, Last_90_Days, Yesterday, thisweek, lastweek, thismonth, Last_Month, Last 12 hours, Last 24 hours, Last 7 days, This week, Last week, This month, Last month, Last 30 days, last_7_days, last_30_days, last_90_days, Last_12_hours, Last_24_hours, This_Week, This_Month, Last_Week, Next_7_days, Next_14_days, Next_30_days, Next_60_days, Next_90_days, Next_12_hours, Next_24_hours, This_Week, This_Quarter, Last_Quarter, Last_3_Months, Last_6_MonthsYes
startDateFrom Date. This parameter is applicable only if 'custom' time is opted in period param valueStringAllowed values: day/month/year hours:minutes
Allowed characters: day: 01–31, month: 01–12, year: any 4 digits, hours: 00–23, minutes: 00–59, slash(/), space( ), colon(:)
No
endDateTo Date. This parameter is applicable only if 'custom' time is opted in period param valueStringAllowed values: day/month/year hours:minutes
Allowed characters: day: 01–31, month: 01–12, year: any 4 digits, hours: 00–23, minutes: 00–59, slash(/), space( ), colon(:)
No

Sample Response

HTTP Code: 200

{ "intfDisplayName": "VLAN555-VLAN555", "InterfaceCategory": "LAN", "Details":{ "Parent Name": "HPswitch9", "IfDescr": "VLAN555", "IfAlias": "VLAN555", "IfIndex": "1132", "Receive Bandwidth": "0 bps", "IfName": "VLAN555", "Transmit Bandwidth": "0 bps", "Circuit ID": "-"}, "repType": 7, "graphData":{ "Errors": [ { "seriesname": "inErrors", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "Errors/sec" ], "yaxiscolumnorder": [ 0 ], "suffix": ""}, { "seriesname": "outErrors", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "Errors/sec" ], "yaxiscolumnorder": [ 0 ], "suffix": ""} ], "Unicast": [ { "seriesname": "broadcast", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "%" ], "yaxiscolumnorder": [ 0 ], "suffix": ""}, { "seriesname": "unicast", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "%" ], "yaxiscolumnorder": [ 0 ], "suffix": ""} ], "outBytes": [ { "seriesname": "outBytes", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "" ], "yaxiscolumnorder": [ 0 ], "suffix": ""} ], "inTraffic": [ { "seriesname": "inTraffic", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "bps" ], "yaxiscolumnorder": [ 0 ], "suffix": ""} ], "inBytes": [ { "seriesname": "inBytes", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "Bytes/sec" ], "yaxiscolumnorder": [ 0 ], "suffix": ""} ], "inUtilization": [ { "seriesname": "inUtilization", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "Percentage" ], "yaxiscolumnorder": [ 0 ], "suffix": ""} ], "outUtilization": [ { "seriesname": "outUtilization", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "Percentage" ], "yaxiscolumnorder": [ 0 ], "suffix": ""} ], "Discards": [ { "seriesname": "inDiscards", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "Discards/sec" ], "yaxiscolumnorder": [ 0 ], "suffix": ""}, { "seriesname": "outDiscards", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "Discards/sec" ], "yaxiscolumnorder": [ 0 ], "suffix": ""} ], "totalUtilization": [ { "seriesname": "totalUtilization", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "Percentage" ], "yaxiscolumnorder": [ 0 ], "suffix": ""} ], "inFrames": [ { "seriesname": "inFrames", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "Frames/sec" ], "yaxiscolumnorder": [ 0 ], "suffix": ""} ], "outFrames": [ { "seriesname": "outFrames", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "Frames/sec" ], "yaxiscolumnorder": [ 0 ], "suffix": ""} ], "outTraffic": [ { "seriesname": "outTraffic", "data": [ [ 1669619780249, 0, "0 " ], [ 1669620680708, 0, "0 " ] ], "xyTitles": [ "Time", "bps" ], "yaxiscolumnorder": [ 0 ], "suffix": ""} ]}}
Rate limit: 100 requests per minute. Exceeding this limit will block requests for 1 minute

getIntfBWOutageReportDetails

Provides data for consolidated Bandwidth report (Rx/Tx Traffic) for the given interface.

HTTP Method

GET

API URL

https://localhost:8060/api/json/v2/device/getIntfBWOutageReportDetails?apiKey=***************&interfaceName=IF-xxx.xxx.xx.x-3836&period=Today

Parameters

Param NameDescriptionData TypeAdditional InformationIs Mandatory
apiKeyAPI Key to access your OpManager server.String-Yes
interfaceNameName of the interface - Managed Entity name as seen in the URL of interface snapshot page OR 'interfaceName' property value in the listInterfaces API responseString-Yes
periodPeriod for which the interface graph is required.StringAllowed values: custom, Today, onehour, twohours, fourhours, sixhours, eighthours, twelvehours, twfourhours, before_12_hours, before_24_hours, before_48_hours, Last_7_Days, WEEK, Last_30_Days, MONTH, Last_60_Days, Last_90_Days, Yesterday, thisweek, lastweek, thismonth, Last_MonthYes
startDateFrom Date. This parameter is applicable only if 'custom' time is opted in period param valueStringAllowed values: day/month/year hours:minutesNo
endDateTo Date. This param is applicable only if 'custom' time is opted in period param valueStringAllowed values: day/month/year hours:minutesNo

Sample Response

HTTP Code: 200

{ "InSpeed": "0 bps", "IfDesc": "Switch loopback interface", "repType": 9, "consolidatedValues": [ { "minCollectionTime": "1760677410060", "currVal": "1.309 K ( 0.0 % )", "seriesName": "InTraffic", "exactMaxVal": 14.45119, "maxCollectionTime": "1760679211506", "95thpercVal": "1.0659", "legendType": "intfGraph", "95thpercentileValue": "14.451 K ( 0.0 % )", "exactMinVal": 0.75889, "maxVal": "14.451 K ( 0.0 % )", "minVal": "758.89 ( 0.0 % )", "95thpercRawVal": "1065.9", "avgVal": "3.742 K ( 0.0 % )", "95thperc": "1.065 K ( 0.0 % )"}, { "minCollectionTime": "1760677410060", "currVal": "1.202 K ( 0.0 % )", "seriesName": "OutTraffic", "exactMaxVal": 13.241100000000001, "maxCollectionTime": "1760679211506", "95thpercVal": "0.9796275000000001", "legendType": "intfGraph", "95thpercentileValue": "13.241 K ( 0.0 % )", "exactMinVal": 0.69837, "maxVal": "13.241 K ( 0.0 % )", "minVal": "698.37 ( 0.0 % )", "95thpercRawVal": "979.6275", "avgVal": "3.431 K ( 0.0 % )", "95thperc": "979.627 ( 0.0 % )"}, { "95thpercentileValue": "27.692 K ( 0.0 % )", "minCollectionTime": "1760677410060", "maxVal": "27.692 K ( 0.0 % )", "currVal": "2.512 K ( 0.0 % )", "minVal": "1.457 K ( 0.0 % )", "seriesName": "Total", "95thpercRawVal": "2045.5324999999993", "avgVal": "7.174 K ( 0.0 % )", "95thperc": "2.045 K ( 0.0 % )", "maxCollectionTime": "1760679211506", "95thpercVal": "2.0455324999999993", "legendType": "intfGraph"} ], "seriesNames": [ "InTraffic", "OutTraffic", "Total", "InTraffic-95th", "OutTraffic-95th", "Total-95th" ], "bwChartData": [ { "seriesname": "InTraffic", "isRaw": true, "data": [ [ 1760677410060, 0.75889, "758.89 " ], [ 1760678311494, 1.30847, "1.308 K" ], [ 1760679211506, 14.45119, "14.451 K" ], [ 1760680111518, 0.88658, "886.58 " ], [ 1760681011535, 1.30966, "1.309 K" ] ], "xyTitles": [ "Time", "Bits per Second" ]}, { "seriesname": "OutTraffic", "isRaw": true, "data": [ [ 1760677410060, 0.69837, "698.37 " ], [ 1760678311494, 1.20186, "1.201 K" ], [ 1760679211506, 13.241100000000001, "13.241 K" ], [ 1760680111518, 0.8154, "815.4 " ], [ 1760681011535, 1.2028800000000002, "1.202 K" ] ], "xyTitles": [ "Time", "Bits per Second" ]}, { "seriesname": "Total", "isRaw": true, "data": [ [ 1760677410060, 1.45727, "1.457 K" ], [ 1760678311494, 2.5103299999999997, "2.51 K" ], [ 1760679211506, 27.69229, "27.692 K" ], [ 1760680111518, 1.7019900000000001, "1.701 K" ], [ 1760681011535, 2.51254, "2.512 K" ] ], "xyTitles": [ "Time", "Bits per Second" ]}, { "seriesname": "InTraffic-95th", "data": [ [ 1760677410060, 1.0659, "1.065 K" ], [ 1760681011535, 1.0659, "1.065 K" ] ], "xyTitles": [ "Time", "Bits per Second" ]}, { "seriesname": "OutTraffic-95th", "data": [ [ 1760677410060, 0.9796275000000001, "979.627 " ], [ 1760681011535, 0.9796275000000001, "979.627 " ] ], "xyTitles": [ "Time", "Bits per Second" ]}, { "seriesname": "Total-95th", "data": [ [ 1760677410060, 2.0455324999999993, "2.045 K" ], [ 1760681011535, 2.0455324999999993, "2.045 K" ] ], "xyTitles": [ "Time", "Bits per Second" ]} ], "InterfaceDisplayName": "Switch loopback interface-lo0", "IfAlias": "lo0", "suffix": "K", "availData":{ "Down": 0, "Dependent Unavailable": 0, "Not Monitored": 0, "On Hold": 0, "Parent Down": 0, "On Maintenance": 0, "Up": 100}, "deviceName": "IF-10.5.5.1-13767", "interfaceDetails":{ "Parent Name": "10.5.5.1", "IfDescr": "Switch loopback interface", "IfIndex": "4875", "IfAlias": "lo0", "IfName": "lo0", "Circuit ID": "-"}, "OutSpeed": "0 bps", "name": "10.5.5.1", "CircuitID": "-", "IfIndex": "4875", "InterfaceName": "IF-10.5.5.1-13767", "IfName": "lo0"}
Rate limit: 100 requests per minute. Exceeding this limit will block requests for 1 minute

getInterfaces

Provides the list of interfaces monitored in a device.

HTTP Method

GET

API URL

https://localhost:8060/api/json/device/getInterfaces?apiKey=***************&name=10.5.5.1

Parameters

Param NameDescriptionData TypeAdditional InformationIs Mandatory
apiKeyAPI Key to access your OpManager server.String-Yes
nameName of the parent device - Managed Entity name of the parent device as seen in the URL of device snapshot page OR 'deviceName' property value in the listDevices API responseString-Yes

Sample Response

HTTP Code: 200

{ "isSNMP": true, "downCount": "2", "interfaces": [ { "ifIndex": "1", "statusStr": "Unknown", "ifType": "Ethernet", "imagePath": "/apiclient/ember/images/intfTypes/ifType6.gif", "displayName": "Ethernet0-ifAlias", "RouterPortType": "Eth", "outSpeed": "10 M", "inSpeed": "10 M", "type": "Interface", "nfEnabled": "false", "outTraffic": "NA", "moid": "1808", "suppressedMessage": "", "bgColor": "808080", "isSubInterface": "true", "connected-device": "", "ifAdminStatus": "1", "ifIndexNum": 1, "inUtil": "NA", "isSuppressed": false, "trimmedDispName": "Ethernet0-ifAlias", "ipAddress": "10.5.5.1", "pollingStatus": "15", "statusNum": "7", "inTraffic": "NA", "outUtil": "NA", "statusString": "Unknown", "name": "IF-10.5.5.1-1808", "ifOperStatus": "1", "errors": "NA", "status": "7"}, { "ifIndex": "1", "statusStr": "Trouble", "ifType": "Ethernet", "imagePath": "/apiclient/ember/images/intfTypes/ifType6.gif", "displayName": "Ethernet0-ifAlias", "RouterPortType": "Eth", "outSpeed": "10 M", "inSpeed": "10 M", "type": "Interface", "nfEnabled": "false", "outTraffic": "103.081 Mbps", "moid": "1807", "suppressedMessage": "", "bgColor": "ff8000", "isSubInterface": "false", "connected-device": "", "ifAdminStatus": "1", "ifIndexNum": 1, "inUtil": "100.0", "isSuppressed": false, "trimmedDispName": "Ethernet0-ifAlias", "ipAddress": "10.5.5.2", "pollingStatus": "0", "statusNum": "2", "inTraffic": "75.785 Mbps", "outUtil": "100.0", "statusString": "Trouble", "name": "IF-10.5.5.2-1807", "ifOperStatus": "1", "errors": "13011", "status": "2"} ], "showPollingStatusColumn": true, "interfaceCount": "2"}
Rate limit: 20 requests per minute. Exceeding this limit will block requests for 1 minute

getInterfaceNotes

Fetches the custom field values associated to the given interface.

HTTP Method

GET

API URL

https://localhost:8060/api/json/device/getInterfaceNotes?apiKey=************&interfaceName=IF-10.5.5.1-4505

Parameters

Param NameDescriptionData TypeAdditional InformationIs Mandatory
apiKeyAPI Key to access your OpManager server.String-Yes
interfaceNameName of the interface - Managed Entity name as seen in the URL of interface snapshot page OR 'interfaceName' property value in the listInterfaces API responseString-Yes
actionSpecifies the action to be performedStringAllowed values: editNo

Sample Response

HTTP Code: 200

[ { "CUSTOMFIELDID": "16", "FIELDVALUE": "123", "DATATYPE": "Text", "DESCRIPTION": "Circuit ID", "FIELDNAME": "Circuit ID", "ALIASNAME": "UDF1", "UDF1": "123", "FIELDLENGTH": 250}, { "CUSTOMFIELDID": "21", "FIELDVALUE": "Dhaya", "DATATYPE": "Text", "DESCRIPTION": "Contact person", "FIELDNAME": "Contact Name", "ALIASNAME": "UDF3", "UDF3": "Dhaya", "FIELDLENGTH": 100}]
Rate limit: 50 requests per minute. Exceeding this limit will block requests for 1 minute

getInterfaceGraphs

Fetches the collected data (such as traffic, errors & discards, etc.) for the given interface.

HTTP Method

GET

API URL

https://localhost:8060/api/json/device/getInterfaceGraphs?apiKey=***************&interfaceName=IF-xxx.xxx.xx.xxx-329&graphName=rxutilization

Parameters

Param NameDescriptionData TypeAdditional InformationIs Mandatory
apiKeyAPI Key to access your OpManager server.String-Yes
interfaceNameName of the interface - Managed Entity name as seen in the URL of interface snapshot page OR 'interfaceName' property value in the listInterfaces API responseString-Yes
periodPeriod for which the interface graph is required.StringAllowed values: custom, Today, onehour, twohours, fourhours, sixhours, eighthours, twelvehours, twfourhours, before_12_hours, before_24_hours, before_48_hours, Last_7_Days, WEEK, Last_30_Days, MONTH, Last_60_Days, Last_90_Days, Yesterday, thisweek, lastweek, thismonth, Last_Month, Last 12 hours, Last 24 hours, Last 7 days, This week, Last week, This month, Last month, Last 30 days, last_7_days, last_30_days, last_90_days, Last_12_hours, Last_24_hours, This_Week, This_Month, Last_Week, Next_7_days, Next_14_days, Next_30_days, Next_60_days, Next_90_days, Next_12_hours, Next_24_hours, This_Week, This_Quarter, Last_Quarter, Last_3_Months, Last_6_MonthsNo
graphNameName of the interface graph [Example: totalPackets, traffic, utilization, errors, discardRate, packets, errorRate]String-Yes
startDateFrom Date. This parameter is applicable only if 'custom' time is opted in period param valueStringAllowed values: day/month/year hours:minutes
Allowed characters: day: 01–31, month: 01–12, year: any 4 digits, hours: 00–23, minutes: 00–59, slash(/), space( ), colon(:)
No
endDateTo Date. This parameter is applicable only if 'custom' time is opted in period param valueStringAllowed values: day/month/year hours:minutes
Allowed characters: day: 01–31, month: 01–12, year: any 4 digits, hours: 00–23, minutes: 00–59, slash(/), space( ), colon(:)
No
isFluidicSet as 'true' by default (for internal purpose) - To get Interface details along with Interface graph valuesBoolean-No
exportXLSIf true, exports the graph data in XLS (Excel) formatBoolean-No
graphFilterTypeSpecifies the aggregation type for the graph data (min, max, avg)StringAllowed values: min, max, avgNo

Sample Response

HTTP Code: 200

{ "interfaceDetails":{ "Parent Name": "Demo_Router1", "IfDescr": "GigabitEthernet0/2", "IfIndex": "4", "IfAlias": "-", "IfName": "Gi0/2", "Circuit ID": "-"}, "displayName": "Total Bytes Transfered", "consolidatedValues":{ "Total Bytes":{ "95thpercentileValue": "61.616 M", "minCollectionTime": "1669383479403", "maxVal": "61.616 M", "currVal": "21.658 M", "minVal": "21.658 M", "seriesName": "Total Bytes", "95thpercRawVal": "5.02440515E7", "avgVal": "51.868 M", "95thperc": "50.244 M", "maxCollectionTime": "1669371779404", "95thpercVal": "50.2440515"}, "Rx Bytes":{ "95thpercentileValue": "14.783 M", "minCollectionTime": "1669383479403", "maxVal": "14.783 M", "currVal": "3.626 M", "minVal": "3.626 M", "seriesName": "Rx Bytes", "95thpercRawVal": "1.1226045333333334E7", "avgVal": "11.734 M", "95thperc": "11.226 M", "maxCollectionTime": "1669364579398", "95thpercVal": "11.226045333333333"}, "Tx Bytes":{ "95thpercentileValue": "48.097 M", "minCollectionTime": "1669383479403", "maxVal": "48.097 M", "currVal": "18.031 M", "minVal": "18.031 M", "seriesName": "Tx Bytes", "95thpercRawVal": "3.8807332333333336E7", "avgVal": "40.134 M", "95thperc": "38.807 M", "maxCollectionTime": "1669371779404", "95thpercVal": "38.807332333333335"}}, "seriesNames": [ "Rx Bytes", "Tx Bytes", "Total Bytes" ], "xyTitles": [ "Time", "Bytes" ], "graphData": [ { "seriesname": "Rx Bytes", "data": [ [ 1669364579398, 14.783359, "14.783 M" ], [ 1669368179398, 11.846604, "11.846 M" ], [ 1669371779404, 13.519316, "13.519 M" ] ]}, { "seriesname": "Tx Bytes", "data": [ [ 1669364579398, 46.577838, "46.577 M" ], [ 1669368179398, 38.532922, "38.532 M" ], [ 1669371779404, 48.097261, "48.097 M" ] ]}, { "seriesname": "Total Bytes", "data": [ [ 1669364579398, 61.361197, "61.361 M" ], [ 1669368179398, 50.379526, "50.379 M" ], [ 1669371779404, 61.616577, "61.616 M" ] ]} ], "suffix": "M"}
Rate limit:100 requests per minute. Exceeding this limit will block requests for 1 minute

Thank you for your feedback!

Was this content helpful?

We are sorry. Help us improve this page.

How can we improve this page?
Do you need assistance with this topic?
By clicking "Submit", you agree to processing of personal data according to the Privacy Policy.

Thank you for your feedback!

Was this content helpful?

We are sorry. Help us improve this page.

How can we improve this page?
Do you need assistance with this topic?
By clicking "Submit", you agree to processing of personal data according to the Privacy Policy.