Skip to content
Scripts for node-exporter's textfile collector
Python Shell Awk
Branch: master
Clone or download
arno01 and discordianfish Fix apt.sh arch duplication (#7) (#8)
In some cases apt.sh could output duplicated arch values causing the
following error:

Aug 29 12:12:22 host123 prometheus-node-exporter[2235]: time="2019-08-29T12:12:22Z" level=error msg="error gathering metrics: [from Gatherer #2] collected metric \"apt_upgrades_pending\" { label:<name:\"arch\" value:\"Debian/Ubuntu\" > label:<name:\"origin\" value:\"PostgreSQLfor\" > gauge:<value:6 > } was collected before with the same name and label values\n" source="log.go:172"

Signed-off-by: Andrey Arapov <andrey.arapov@nixaid.com>
Latest commit d24d180 Sep 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Add LICENSE from node-exporter Aug 3, 2019
README.md Note how to get moreutils on FreeBSD (#1073) Sep 14, 2018
apt.sh Fix apt.sh arch duplication (#7) (#8) Sep 2, 2019
btrfs_stats.py btrfs_stats: Upgrade to Python 3 (#1359) May 29, 2019
deleted_libraries.py Add mellanox_hca_temp text collector example (#1128) Nov 1, 2018
directory-size.sh Fix metric name in directory size text collector example May 19, 2018
inotify-instances Add the inotify-instances text collector (#1186) Feb 27, 2019
ipmitool FIX ipmitool sensor discrete values are expressed in hex (#1402) Jun 29, 2019
md_info.sh Add metrics exposing extended md RAID info (#958) Aug 18, 2018
md_info_detail.sh fix or ignore codespell issues (#1351) May 20, 2019
mellanox_hca_temp Add mellanox_hca_temp text collector example (#1128) Nov 1, 2018
multipathd_info Add mulitipathd_info text collector example (#1375) Jun 25, 2019
ntpd_metrics.py
nvme_metrics.sh Make scripts in text_collector_examples executable (#1358) May 29, 2019
pacman.sh Introduce example to get pending updates from pacman (#1114) Nov 5, 2018
smartmon.py Update smartmon.py to widen self_assessment_passed test (#1293) Mar 20, 2019
smartmon.sh changed fields for disk write and read data of S.M.A.R.T, Signed-off-… Jul 24, 2019
storcli.py Handle JBOD setup for storcli exporter (#1419) Aug 2, 2019
yum.sh yum.sh: yum update monitor (#1273) Feb 27, 2019

README.md

You can’t perform that action at this time.