prometheus-node-exporter-lua: extend bmx7 plugin
authorPaul Spooren <redacted>
Sat, 14 Apr 2018 06:58:02 +0000 (15:58 +0900)
committerPaul Spooren <redacted>
Sat, 14 Apr 2018 06:58:52 +0000 (15:58 +0900)
commit79073ee2016337205e405ac7aa74cc4aac7c9af2
tree4e2ad2327a21b1f3166b35381ab74c52b898c6ce
parent49df9069912eb11c8e0423613250b99f1366ba0b
prometheus-node-exporter-lua: extend bmx7 plugin

Now monitors as well the tunIn parameters, aka the annoucend routes to
the network. This is handy to check if a node annouces itself as a
gateway.

Also list all activated plugins.

Example output:

    # TYPE bmx7_tunIn gauge
    bmx7_tunIn{name="myIP4",network="10.198.52.86/32"} 1
    bmx7_tunIn{name="myIP6",network="2012:0:0:56::/128"} 1
    bmx7_tunIn{name="inet4",network="0.0.0.0/0"} 1
    # TYPE bmx7_plugin gauge
    bmx7_plugin{name="bmx7_config.so"} 1
    bmx7_plugin{name="bmx7_json.so"} 1
    bmx7_plugin{name="bmx7_sms.so"} 1
    bmx7_plugin{name="bmx7_tun.so"} 1

Signed-off-by: Paul Spooren <redacted>
utils/prometheus-node-exporter-lua/Makefile
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/bmx7.lua
git clone https://git.99rst.org/PROJECT