aboutsummaryrefslogtreecommitdiffstats
path: root/collectors/snmpfetchng.pl
diff options
context:
space:
mode:
authorKristian Lyngstøl <kly@kly.no>2018-03-21 10:43:33 +0100
committerGitHub <noreply@github.com>2018-03-21 10:43:33 +0100
commit4eaeb1d7dc6095a2eec1b4711de94f907654547e (patch)
tree5b4b00409761f44227b9294e0c62f059ab68fae9 /collectors/snmpfetchng.pl
parent0016b6612e79cc5b115aae11c7f37ec2a27420e1 (diff)
parentdfc74df8f82d7c295319f3e197cb2d37a8ee6ddd (diff)
Merge pull request #167 from olemathias/master
Varnish is now installed in the ansible install + chart colors
Diffstat (limited to 'collectors/snmpfetchng.pl')
-rwxr-xr-xcollectors/snmpfetchng.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/snmpfetchng.pl b/collectors/snmpfetchng.pl
index 0ace8c4..9c06f4a 100755
--- a/collectors/snmpfetchng.pl
+++ b/collectors/snmpfetchng.pl
@@ -26,7 +26,7 @@ my $influx = nms::influx_connect();
my $qualification = <<"EOF";
(last_updated IS NULL OR now() - last_updated > poll_frequency)
AND (locked='f' OR now() - last_updated > '15 minutes'::interval)
-AND (mgmt_v4_addr is not null or mgmt_v6_addr is not null)
+AND (mgmt_v4_addr is not null or mgmt_v6_addr is not null) AND deleted = false
EOF
# Borrowed from snmpfetch.pl