diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-11-26 19:18:04 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-11-26 19:18:04 +0200 |
commit | c2d1b2cd7e2e573331b43358060e86834aaf7b0b (patch) | |
tree | f7a65752ce2cfb886f25c9e93a3e9cf720525bc3 /web | |
parent | e17f6ade778fdffa8c070c571dc9af1265e330f7 (diff) |
added alarms count on dashboard
Diffstat (limited to 'web')
-rw-r--r-- | web/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/index.html b/web/index.html index 9f5c0f3a61..b26300861b 100644 --- a/web/index.html +++ b/web/index.html @@ -1326,7 +1326,8 @@ } sidebar += '<li class="" style="padding-top:15px;"><a href="https://github.com/firehol/netdata/wiki/Add-more-charts-to-netdata" target="_blank"><i class="fa fa-plus" aria-hidden="true"></i> add more charts</a></li>'; - sidebar += '<li class="" style="margin:20px;color:#666;"><small>netdata on <b>' + data.hostname.toString() + '</b>, collects every ' + ((data.update_every == 1)?'second':data.update_every.toString() + ' seconds') + ', <b>' + data.dimensions_count.toLocaleString() + '</b> metrics presented in <b>' + data.charts_count.toLocaleString() + '</b> charts, using ' + Math.round(data.rrd_memory_bytes / 1024 / 1024).toLocaleString() + ' MB of memory, for ' + Math.round(data.history / 3600).toLocaleString() + ' ' + ((data.history == 3600)?'hour':'hours').toString() + ' of real-time history.</small></li>'; + sidebar += '<li class=""><a href="https://github.com/firehol/netdata/wiki/Add-more-alarms-to-netdata" target="_blank"><i class="fa fa-plus" aria-hidden="true"></i> add more alarms</a></li>'; + sidebar += '<li class="" style="margin:20px;color:#666;"><small>netdata on <b>' + data.hostname.toString() + '</b>, collects every ' + ((data.update_every == 1)?'second':data.update_every.toString() + ' seconds') + ', <b>' + data.dimensions_count.toLocaleString() + '</b> metrics presented in <b>' + data.charts_count.toLocaleString() + '</b> charts, using ' + Math.round(data.rrd_memory_bytes / 1024 / 1024).toLocaleString() + ' MB of memory, for ' + Math.round(data.history / 3600).toLocaleString() + ' ' + ((data.history == 3600)?'hour':'hours').toString() + ' of real-time history, monitored with <b>' + data.alarms_count.toLocaleString() + '</b> alarms.</small></li>'; sidebar += '</ul>'; div.innerHTML = html; document.getElementById('sidebar').innerHTML = sidebar; |