REST API - stats

appliance techpreview monitoring snmp: stats

Generate diagnostics report for snmp agent.

Request:

HTTP request

GET https://{server}/rest/appliance/techpreview/monitoring/snmp/stats
No request parameters

Response:

HTTP Status Code: 200

Representation:

{
    "value"{
        "worstrtimelast""string",
        "inbadversions"1,
        "silentdrops"1,
        "usmstatsunknownengineids"1,
        "worstresponsetime""string",
        "avgresponsetime""string",
        "outgenerrs"1,
        "avgvarbinds"1,
        "usmstatsunknownusernames"1,
        "sysuptime""string",
        "inbadvalues"1,
        "outtoobigs"1,
        "outpkts"1,
        "intoobigs"1,
        "maxvarbinds"1,
        "inbadcommunityuses"1,
        "innosuchnames"1,
        "usmstatsdecryptionerrors"1,
        "usmstatswrongdigests"1,
        "inasnparseerrs"1,
        "inpkts"1,
        "usmstatsnotintimewindows"1,
        "ingenerrs"1,
        "outbadvalues"1,
        "inbadcommunitynames"1,
        "outtraps"1,
        "outnosuchnames"1
    }
}

Response Type:

Name Type Description
bold = required
value SNMP_stats SNMP stats.
value.sysuptime string System uptime

value.worstrtimelast string Last updated time

value.avgresponsetime string Average response time

value.worstresponsetime string Response time

value.inpkts long No of input packets

value.outpkts long No of output packets

value.usmstatsnotintimewindows long No of stats not in time window

value.usmstatsunknownusernames long No of usm stats unknown

value.usmstatsunknownengineids long No of usm stats unknown engine ids

value.usmstatswrongdigests long No of wrogn digests

value.usmstatsdecryptionerrors long No. of decryption errors

value.inbadversions long No of bad versions

value.inbadcommunitynames long No of bad community names

value.inbadcommunityuses long No of bad community uses

value.inasnparseerrs long No of parse errors

value.intoobigs long No of too bigs

value.innosuchnames long No of no such names

value.inbadvalues long No of bad values

value.ingenerrs long No of gen errors

value.outtoobigs long No out output too bigs

value.outnosuchnames long No of no such names

value.outbadvalues long No of bad values

value.outgenerrs long No of gen errors

value.outtraps long No of output traps

value.silentdrops long No of silent drops

value.avgvarbinds long No of ave:rage var binds

value.maxvarbinds long No of max var binds

Errors:

HTTP Status Code Type Description
500 error Generic error