b4f6f0594821ce8835da8577f02b6e2faf215d00
[openwrt-luci.git] /
1 /*
2  * Copyright 2015 Hannu Nyman <hannu.nyman@iki.fi>
3  * Licensed to the public under the Apache License 2.0
4  */
5
6 'use strict';
7 'require baseclass';
8
9 return baseclass.extend({
10         title: _('Entropy'),
11
12         rrdargs: function(graph, host, plugin, plugin_instance, dtype) {
13                 return {
14                         title: "%H: Available entropy",
15                         vlabel: "bits",
16                         number_format: "%4.0lf",
17                         data: {
18                                 types: [ "entropy" ],
19                                 options: { entropy: { title: "Entropy %di" } }
20                         }
21                 };
22         }
23 });
git clone https://git.99rst.org/PROJECT