Baxic SNMP Exporter

About

Baxic SNMP Exporter is a Prometheus Exporter used to collect metrics from a monitored host using any SNMP OIDs configured in the configuration file. It's written in Bash and uses the Ncat tool to listen on TCP port 9089 and the snmpwalk command to retrieve metrics from the target host.

The main difference against the official SNMP Exporter is that it is able to remove double quotes when the target device sends some SNMP values enclosed in them.

The script is based on the principle described in another article Simple web server in Bash using ncat.

Download
Baxic SNMP Exporter
license:GPLv3



git:git clone git://github.com/baxic-cz/baxic-snmp-exporter.git


Documentation

Actual documentation is available in the README file on GitHub.

Summary

Baxic SNMP Exporter is a lightweight version of the official SNMP Exporter. As already mentioned above, it is able to retrieve metrics even from devices that provide the exported values enclosed in double quotes. Even if this is not a common situation, this may become a serious limitation for monitoring such devices using Prometheus. This exporter was successfully used to resolve such issue with a simple IP thermometer.

 

Inserted: 2021-04-17 21:19:36
Last updated: 2021-05-02 07:24:17