[monitoring-plugins] Add dynamic path to snmpget to perl utils

RincewindsHat git at monitoring-plugins.org
Tue Sep 12 10:10:12 CEST 2023


 Module: monitoring-plugins
 Branch: master
 Commit: 0ee08563c5f4a7eba7151539211a732d943ab291
 Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
   Date: Thu Sep  7 17:34:14 2023 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=0ee0856

Add dynamic path to snmpget to perl utils

---

 plugins-scripts/utils.pm.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins-scripts/utils.pm.in b/plugins-scripts/utils.pm.in
index 386831e..c84769f 100644
--- a/plugins-scripts/utils.pm.in
+++ b/plugins-scripts/utils.pm.in
@@ -23,6 +23,7 @@ $PATH_TO_LMSTAT  = "@PATH_TO_LMSTAT@" ;
 $PATH_TO_SMBCLIENT = "@PATH_TO_SMBCLIENT@" ;
 $PATH_TO_MAILQ   = "@PATH_TO_MAILQ@";
 $PATH_TO_QMAIL_QSTAT = "@PATH_TO_QMAIL_QSTAT@";
+$PATH_TO_SNMPGET = "@PATH_TO_SNMPGET@";
 
 ## common variables
 $TIMEOUT = 15;



More information about the Commits mailing list