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