SNMPFetcher

SNMPFetcher - Create

Creates an SNMP fetcher with device ID.

POST

https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/SNMPFetcher

Parameter

Field

Label in UI

Type

Description

authkey

Authorization Key

String

Authentication key. Mandatory only when the value of the snmpver parameter is “v_3”. Optional Field

charset

Charset

String

Existing LogPoint charset. Obtain the value of the required charset using Charsets - List API. Mandatory Field

communitystring

Community String

String

Authentication string. Mandatory only when the value of the snmpver parameter is “v_12”. Optional Field

device_id

-

String

Device id . Use the value of the id parameter of the required Devices from the Devices - List API. Optional Field

policy_id

-

String

Respective LCP policy ID. Obtain the value of the required policy_id using LogCollectionPolicies - List API. Optional Field

port

Port

int

Access Port number. Mandatory Field

privkey

Private Key

String

Encryption key. Mandatory only when the value of the snmpver parameter is “v_3”. Optional Field

processpolicy

Processing Policy

String

Existing Processing Policy id or None (exact). Use the value of the id parameter from ProcessingPolicy - List API to obtain Processing Policy id . Mandatory Field

snmp_policy

SNMP Policy

String

SNMP Policy name . Use the value of name parameter of the required SNMP Policy from the SNMPPolicy - List API. Mandatory Field

snmpver

SNMP Version

String

Value must be “v_3” or “v_12”. Mandatory Field

username

Username

String

SNMP username . Mandatory only when the value of the snmpver parameter is “v_3”. Optional Field

Request Example

{
    "data": {
        "authkey": "adjfghnljen12412452",
        "charset": "utf_8",
        "device_id": "57724aacd8aaa40b569bcb1f",
        "port": 161,
        "privkey": "adsfjadls;jfhgaosdh1235423523",
        "processpolicy": "57724aacd8aaa40b569bcb1fasd",
        "snmp_policy": "windows_snmp",
        "snmpver": "v_3",
        "username": "SNMPTest"
    }
}

Success Response

{
    "status": "Success",
    "message": "/monitorapi/{pool_UUID}/{logpoint_identifier}/orders/{request_id}"
}

SNMPFetcher - Edit

Edits an SNMP fetcher with given ID.

PUT

https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/SNMPFetcher/{id}

Parameter

Field

Label in UI

Type

Description

authkey

Authorization Key

String

Authentication key. Mandatory only when the value of the snmpver parameter is “v_3”. Optional Field

charset

Charset

String

Existing LogPoint charset. Obtain the value of the required charset using Charsets - List API. Mandatory Field

communitystring

Community String

String

Authentication string. Mandatory only when the value of the snmpver parameter is “v_12”. Optional Field

id

-

String

SNMP Fetcher uuid . To obtain the SNMP fetcher uuid , execute Devices - List API if the collector was configured using device id or execute LogCollectionPolicies - List API if the collector was configured using log collection policy id . Mandatory Field

port

Port

int

Access Port number. Mandatory Field

privkey

Private Key

String

Encryption key. Mandatory only when the value of the snmpver parameter is “v_3”. Optional Field

processpolicy

Processing Policy

String

Existing Processing Policy id or None (exact). Use the value of the id parameter from ProcessingPolicy - List API to obtain Processing Policy id . Mandatory Field

snmp_policy

SNMP Policy

String

SNMP Policy name . Use the value of name parameter of the required SNMP Policy from the SNMPPolicy - List API. Mandatory Field

snmpver

SNMP Version

String

Value must be “v_3” or “v_12”. Mandatory Field

username

Username

String

SNMP username . Mandatory only when the value of the snmpver parameter is “v_3”. Optional Field

Request Example

{
    "data": {
        "authkey": "adjfghnljen12412452",
        "charset": "utf_8",
        "port": 161,
        "privkey": "adsfjadls;jfhgaosdh1235423523",
        "processpolicy": "57724aacd8aaa40b569bcb1fasd",
        "snmp_policy": "windows_snmp",
        "snmpver": "v_3",
        "username": "SNMPTest"
    }
}

Success Response

{
    "status": "Success",
    "message": "/monitorapi/{pool_UUID}/{logpoint_identifier}/orders/{request_id}"
}

SNMPFetcher - TestExisting

Tests the existing SNMP Fetcher connection.

POST

https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/SNMPFetcher/{id}/testexistingsnmp

Parameter

Field

Label in UI

Type

Description

id

-

String

SNMPFetcher uuid . Use the id of the required SNMP Fetcher from the Devices - List API. Mandatory Field

Request Example

{
    "data": {}
}

Success Response

{
    "status": "Success",
    "message": "/monitorapi/{pool_UUID}/{logpoint_identifier}/orders/{request_id}"
}

SNMPFetcher - TestNew

Tests the newly created SNMP Fetcher connection.

POST

https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/SNMPFetcher/testnewsnmp

Parameter

Field

Label in UI

Type

Description

authkey

Authorization Key

String

Authentication key. Mandatory only when the value of the snmpver parameter is “v_3”. Optional Field

charset

Charset

String

Existing LogPoint charset. Obtain the value of the required charset using Charsets - List API. Mandatory Field

communitystring

Community String

String

Authentication string. Mandatory only when the value of the snmpver parameter is “v_12”. Optional Field

device_id

-

String

Device id . Use the value of the id parameter of the required Devices from the Devices - List API. Mandatory Field

port

Port

int

Access Port number. Mandatory Field

privkey

Private Key

String

Encryption key. Mandatory only when the value of the snmpver parameter is “v_3”. Optional Field

processpolicy

Processing Policy

String

Existing Processing Policy id or None (exact). Use the value of the id parameter from ProcessingPolicy - List API to obtain Processing Policy id . Mandatory Field

snmp_policy

SNMP Policy

String

SNMP Policy name . Use the value of name parameter of the required SNMP Policy from the SNMPPolicy - List API. Mandatory Field

snmpver

SNMP Version

String

Value must be “v_3” or “v_12”. Mandatory Field

username

Username

String

SNMP username . Mandatory only when the value of the snmpver parameter is “v_3”. Optional Field

Request Example

{
    "data": {
        "authkey": "adjfghnljen12412452",
        "charset": "utf_8",
        "device_id": "57724aacd8aaa40b569bcb1f",
        "port": 161,
        "privkey": "adsfjadls;jfhgaosdh1235423523",
        "processpolicy": "57724aacd8aaa40b569bcb1fasd",
        "snmp_policy": "windows_snmp",
        "snmpver": "v_3",
        "username": "SNMPTest"
    }
}

Success Response

{
    "status": "Success",
    "message": "/monitorapi/{pool_UUID}/{logpoint_identifier}/orders/{request_id}"
}

SNMPFetcher - Trash

Deletes the SNMP Fetcher with given ID.

DELETE

https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/SNMPFetcher/{id}

Parameter

Field

Label in UI

Type

Description

id

-

String

SNMP Fetcher uuid . To obtain the SNMP fetcher uuid , execute Devices - List API if the collector was configured using device id or execute LogCollectionPolicies - List API if the collector was configured using log collection policy id . Mandatory Field

Success Response

{
    "status": "Success",
    "message": "/monitorapi/{pool_UUID}/{logpoint_identifier}/orders/{request_id}"
}

Helpful?

We are glad this guide helped.


Please don't include any personal information in your comment

Contact Support