From dc97b997e8d6e5edc63c598c05090a8b98e79757 Mon Sep 17 00:00:00 2001 From: "Ole Mathias Aa. Heggem" Date: Sat, 17 Mar 2018 18:03:23 +0100 Subject: Added support for delete switches --- collectors/snmpfetchng.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'collectors/snmpfetchng.pl') 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 -- cgit v1.2.3