mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
feature: Show composer status in web validate. (#8181)
* Show composer status in web validate. Don't duplicate in validate.php * Create variable to check if a group has been completed. No longer skips database checks. Extract a base class. Fix locate_binary and find_executable issues (mostly exposed by lack of db) * Update Validator.php
This commit is contained in:
committed by
Neil Lathwood
parent
f57e92102a
commit
3c3fbd3731
@@ -33,11 +33,12 @@
|
||||
namespace LibreNMS\Validations;
|
||||
|
||||
use LibreNMS\Config;
|
||||
use LibreNMS\Interfaces\ValidationGroup;
|
||||
use LibreNMS\Validator;
|
||||
|
||||
class DistributedPoller implements ValidationGroup
|
||||
class DistributedPoller extends BaseValidation
|
||||
{
|
||||
protected static $RUN_BY_DEFAULT = false;
|
||||
|
||||
/**
|
||||
* Validate this module.
|
||||
* To return ValidationResults, call ok, warn, fail, or result methods on the $validator
|
||||
@@ -74,14 +75,4 @@ class DistributedPoller implements ValidationGroup
|
||||
Rrd::checkRrdcached($validator);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns if this test should be run by default or not.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isDefault()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user