From 9651d0cd536470b8b7fc4c70d34a29954d474363 Mon Sep 17 00:00:00 2001
From: Dennis Eisold <de@itstall.de>
Date: Sat, 16 Dec 2017 00:09:45 +0000
Subject: [PATCH] Update dhcppools.sh

---
 scripts/dhcppools.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dhcppools.sh b/scripts/dhcppools.sh
index 2202919..9617baa 100755
--- a/scripts/dhcppools.sh
+++ b/scripts/dhcppools.sh
@@ -1,5 +1,5 @@
 #!/bin/bash
-pools_all=`dhcpd-pools -c /etc/dhcp/dhcpd.conf -l /var/lib/dhcp/dhcpd.leases -L02|egrep -io "^[a-z]*(\-|\_)?[a-z]*"`
+pools_all=`/etc/zabbix/scripts/dhcpd-pools -c /etc/dhcp/dhcpd.conf -l /var/lib/dhcp/dhcpd.leases -L02|egrep -io "^[a-z]*(\-|\_)?[a-z]*"`
 pools_qtd=`echo $pools_all|wc -w`
 retorno=`echo -e "{\n\t\t"\"data\"":["`
 for p in $pools_all
-- 
GitLab