snmp_exporter icon indicating copy to clipboard operation
snmp_exporter copied to clipboard

Update README.md

Open HappyFX opened this issue 3 years ago • 0 comments

fix prometheus#718

Signed-off-by: HappyFX [email protected]](https://github.com/prometheus/snmp_exporter/issues/718

In documentation https://github.com/prometheus/snmp_exporter#prometheus-configuration module variable is a list, but you can't use it like real list.

Working ok:

- job_name: 'working ok'
  params:
      module: [if_mib]

Failed:

- job_name: 'failed 400 error'
  params:
    module: [if_mib,cisco_wlc]

Actual error in prometheus server returned HTTP status 400 Bad Request )](https://github.com/prometheus/snmp_exporter/issues/718

In documentation https://github.com/prometheus/snmp_exporter#prometheus-configuration module variable is a list, but you can't use it like real list.

Working ok:

- job_name: 'working ok'
  params:
      module: [if_mib]

Failed:

- job_name: 'failed 400 error'
  params:
    module: [if_mib,cisco_wlc]

Actual error in prometheus server returned HTTP status 400 Bad Request )](https://github.com/prometheus/snmp_exporter/issues/718

In documentation https://github.com/prometheus/snmp_exporter#prometheus-configuration module variable is a list, but you can't use it like real list.

Working ok:

- job_name: 'working ok'
  params:
      module: [if_mib]

Failed:

- job_name: 'failed 400 error'
  params:
    module: [if_mib,cisco_wlc]

Actual error in prometheus server returned HTTP status 400 Bad Request )

HappyFX avatar Feb 08 '22 19:02 HappyFX