Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open PowerShell or Command Prompt.

  2. Navigate to the Telegraf installation directory (install folder might be different):

    Code Block
    languagecmd
    cd "C:\Program Files\InfluxData\telegraf\telegraf-1.33.1"
  3. Run Telegraf with the SNMP configuration file:

    Code Block
    languagecmd
    .\telegraf.exe --config eyer_telegraf_snmp_generic_v3.conf
  4. If everything is configured correctly, Telegraf should start collecting SNMP data.

  5. Check for any error messages. If you see:

    Code Block
    languagecmd
    Error running agent: could not initialize input inputs.snmp: initializing table Octets_field: initializing field: translating: exec: "snmptranslate": executable file not found in %PATH%
  6. Register the Telegraf agent as a service and start it(see instructions per OS). With Windows use

    Code Block
    .\telegraf.exe --config "C:\Program Files\InfluxData\telegraf\eyer_telegraf_snmp_generic_v3.conf" service install

Step 5: Verify Data Collection

...