mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added certificate file validity check for services (#10354)
* snmp extend for monitoring certificate file validity * Update Applications.md * Update Applications.md
This commit is contained in:
committed by
Neil Lathwood
parent
21087579e6
commit
4d50feffb3
@@ -1322,6 +1322,20 @@ function get_arrays_with_application($device, $app_id, $app_name, $category = nu
|
||||
return $entries;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all certificate names from the collected
|
||||
* rrd files.
|
||||
*
|
||||
* @param array $device device for which we get the rrd's
|
||||
* @param int $app_id application id on the device
|
||||
* @return array list of certificate names
|
||||
*/
|
||||
function get_domains_with_certificates($device, $app_id)
|
||||
{
|
||||
$app_name = 'certificate';
|
||||
return get_arrays_with_application($device, $app_id, $app_name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all seafile data from the collected
|
||||
* rrd files.
|
||||
|
Reference in New Issue
Block a user