mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Use display name in alerts (#13650)
* Use display name in alerts * remove error from baseline
This commit is contained in:
@@ -532,23 +532,6 @@ function object_is_cached($section, $obj)
|
||||
}
|
||||
} // object_is_cached
|
||||
|
||||
/**
|
||||
* Checks if config allows us to ping this device
|
||||
* $attribs contains an array of all of this devices
|
||||
* attributes
|
||||
*
|
||||
* @param array $attribs Device attributes
|
||||
* @return bool
|
||||
**/
|
||||
function can_ping_device($attribs)
|
||||
{
|
||||
if (Config::get('icmp_check') && ! (isset($attribs['override_icmp_disable']) && $attribs['override_icmp_disable'] == 'true')) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
} // end can_ping_device
|
||||
|
||||
function search_phrase_column($c)
|
||||
{
|
||||
global $searchPhrase;
|
||||
|
Reference in New Issue
Block a user