mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Distributed Poller improved validation (#12269)
This commit is contained in:
@@ -218,6 +218,17 @@ class Validator
|
||||
$this->result(new ValidationResult($message, ValidationResult::FAILURE, $fix), $group);
|
||||
}
|
||||
|
||||
/**
|
||||
* Submit an informational validation result.
|
||||
*
|
||||
* @param string $message
|
||||
* @param string $group manually specify the group, otherwise this will be inferred from the callers class name
|
||||
*/
|
||||
public function info($message, $group = null)
|
||||
{
|
||||
$this->result(new ValidationResult($message, ValidationResult::INFO), $group);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get version_info() array. This will cache the result and add remote data if requested and not already existing.
|
||||
*
|
||||
|
Reference in New Issue
Block a user