mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
add support for Sagan (#14070)
* add sagan instance fetch function * add sagan discovery * add sagan poller * add sagan graphs * add graph sources * add sagan to apps page * remove alert * more app graph work * polling fix * re-order keys and add alert key * correct field key usage * add alert and fix a missing unit * more unit fixes * add alert status * add alert rules for sagan * fix a missing : after S while I am here in the json stat tool helper... also add tests * now add the tests * add docs * point php-cs-fixer at two files * remove-unneeded sagan instance fetch function * convert to use app_data * style fix * apply bennet-esyoil's suggestions here as well * update for the new app model * convert poller to the new method * convert the sagan device app page * convert sagan * doc cleanup
This commit is contained in:
committed by
GitHub
parent
1d1b2b1c8b
commit
b827e2bbbd
@@ -388,6 +388,24 @@ $graphs['chronyd'] = [
|
||||
'frequency',
|
||||
'root',
|
||||
];
|
||||
$graphs['sagan'] = [
|
||||
'after',
|
||||
'bytes_ignored',
|
||||
'bytes',
|
||||
'drop_percent',
|
||||
'drop',
|
||||
'eps',
|
||||
'f_drop_percent',
|
||||
'f_dropped',
|
||||
'f_total',
|
||||
'ignore',
|
||||
'match',
|
||||
'max_bytes_log_line',
|
||||
'threshold',
|
||||
'total',
|
||||
'uptime',
|
||||
'alert',
|
||||
];
|
||||
|
||||
echo '<div class="panel panel-default">';
|
||||
echo '<div class="panel-heading">';
|
||||
|
Reference in New Issue
Block a user