ports/net-mgmt/librenms/files/patch-LibreNMS_Validations_Programs.php
Dan Langille 78d0c1ee28 Upgrade to 1.45
https://github.com/librenms/librenms/releases/tag/1.45

* remove mcrypt from depends (no longer used)
* add pdo_mysql (long required but not included)
* remove lib from ROOT_DIRS
* mention sql-mode="" is no longer required
* Make ./validate.php work from a package

PR:		232658
Approved by:	maintainer timeout (14 days)
2018-11-08 13:32:09 +00:00

10 lines
527 B
PHP

--- LibreNMS/Validations/Programs.php.orig 2018-10-17 10:33:28 UTC
+++ LibreNMS/Validations/Programs.php
@@ -73,6 +73,7 @@ class Programs extends BaseValidation
return;
}
+ $validator->warn("fping FAILURES can be ignored if running LibreNMS in a jail without ::1. You may want to test it manually: fping ::1");
$validator->fail(
"$bin could not be executed. $bin must have CAP_NET_RAW capability (getcap) or suid. Selinux exlusions may be required.\n ($output)"
);