aboutsummaryrefslogtreecommitdiff
path: root/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/conntrack.lua
Commit message (Collapse)AuthorAge
* prometheus-node-exporter-lua: fix missing conntrack valuesAlex Tomlins2019-04-03
| | | | | | | | | | | | If the /proc/sys/net/netfilter/nc_conntrack_* files are not present, this exporter was outputting a blank value, which is invalid. These files will not be present when using an image that doesn't include the iptables and firewall packages (eg a minimal access-point type image). This updates the collector to only output the metrics if the corresponding /proc files are present. Signed-off-by: Alex Tomlins <alex@tomlins.org.uk>
* prometheus-node-exporter-lua: add conntrack collectorEtienne Champetier2018-07-25
Also fix missing dependency of openwrt collector Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>