1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00

fixing configfile call (#235)

This commit is contained in:
SourceDoctor
2019-06-15 14:40:55 +02:00
committed by Tony Murray
parent b525250942
commit 13ce5d3577

View File

@ -4,7 +4,6 @@
# edit your snmpd.conf add the below line and restart snmpd #
# extend dhcpstats /opt/dhcp-status.sh #
################################################################
FILE_DHCP='/var/lib/dhcp/db/dhcpd.leases'
BIN_CAT='/usr/bin/cat'
BIN_GREP='/usr/bin/grep'
@ -15,7 +14,7 @@ BIN_WC='/usr/bin/wc'
CONFIGFILE=/etc/snmp/dhcp-status.conf
if [ -f $CONFIGFILE ] ; then
. dhcp-status.conf
. $CONFIGFILE
fi
DHCP_LEASES='^lease'