Opsview 6.8.x End of Support

With the release of Opsview 6.11.0 on February 2025, versions 6.8.x have reached their End of Support (EOS) status, according to our Support policy. This means that versions 6.8.x will no longer receive code fixes or security updates.

The documentation for version 6.8.9 and earlier versions will remain accessible for the time being, but it will no longer be updated or receive backports. We strongly recommend upgrading to the latest version of Opsview to ensure continued support and access to the latest features and security enhancements.

Config - NetFlow Sources

Object type: netflow_source

Request URL: /rest/config/netflow_source

Example GET Copied

    {
       "list" : [
          {
             "active" : "0",
             "collector_id" : "1",
             "host_id" : "7",
             "id" : "1",
             "port" : "5454",
             "ref" : "/rest/config/netflowsource/1",
             "uncommitted" : "0"
          },
          {
             "active" : "1",
             "collector_id" : "1",
             "host_id" : "9",
             "id" : "3",
             "port" : "5455",
             "ref" : "/rest/config/netflowsource/3",
             "uncommitted" : "0"
          },
          {
             "active" : "1",
             "collector_id" : "2",
             "host_id" : "11",
             "id" : "5",
             "port" : "5454",
             "ref" : "/rest/config/netflowsource/5",
             "uncommitted" : "0"
          },
          {
             "active" : "1",
             "collector_id" : "1",
             "host_id" : "13",
             "id" : "9",
             "port" : "123",
             "ref" : "/rest/config/netflowsource/9",
             "uncommitted" : "0"
          }
       ],
       "summary" : {
          "allrows" : "4",
          "page" : "1",
          "rows" : "4",
          "totalpages" : "1",
          "totalrows" : "4"
       }
    }

Example GET single node Copied

Request URL: /rest/config/netflow_source/5

    {
       "object" : {
          "active" : "1",
          "collector_id" : "2",
          "host_id" : "11",
          "id" : "5",
          "port" : "5454",
          "uncommitted" : "0"
       }
    }

Example PUT Copied

Note

Only the active state (boolean) can be changed for an existing source.

Request URL: /rest/config/netflow_source/1

Request data:

    {
       "object" : {
          "active" : "1",
          "collector_id" : "1",
          "host_id" : "7",
          "port" : "5454",
       }
    }

Response:

    {
       "object" : {
          "active" : "1",
          "collector_id" : "1",
          "host_id" : "7",
          "id" : "1",
          "port" : "5454",
          "uncommitted" : "1"
       }
    }

Example POST Copied

Request URL: /rest/config/netflow_source

Request data:

    {
       "object" : {
          "active" : "1",
          "collector_id" : "2",
          "host_id" : "12",
          "port" : "1234",
       }
    }

Response:

    {
       "object" : {
          "active" : "1",
          "collector_id" : "2",
          "host_id" : "12",
          "id" : "10",
          "port" : "1234",
          "uncommitted" : "1"
       }
    }

Example DELETE Copied

Request URL: /rest/config/netflow_source/5

Response:

    {
       "success" : "1"
    }
["Opsview On-Premises"] ["API", "Technical Reference"] "1"

Was this topic helpful?