Lars Kruse
d01aa273a7
Merge pull request #923 from smith153/master
...
Fix Odd number of elements in hash at linux_diskstat_ line 321
2018-07-24 01:54:38 +02:00
Lars Kruse
15d05f30c1
Revert "nginx_byprojects: use more compatible perl expression"
...
This reverts commit a836f07d56
.
Closes : #922
2018-07-23 02:35:54 +02:00
Neraud
a26b9e8db6
Added git_commit_behind
2018-07-20 12:13:56 +02:00
Samuel Smith
37b533a5c3
Fix Odd number of elements in hash at linux_diskstat_ line 321
...
Reading from /sys/block/*/stat does not provide the disk major and minor
numbers (versus reading from /proc/diskstats). When saving the disk data
back to a temp state file, these empty values for the disk major and
minor numbers get turned into undef values on state restore.
On the line: `my ( $prev_time, %prev_diskstat ) = restore_state();`
`%prev_diskstat` will 'slurp' up all returned values from the function
call (converting the list into key value pairs) but if one of last
values is from the major or minor number (which will be undef), the key
(major or minor) will be sent but the undef value will not be
sent. Hence this results in an attempted hash assignment where one of
the key values pairs is missing a value and thus the 'Odd number of
elements in hash assignment ' warning is thrown.
2018-07-18 13:22:27 -05:00
Lars Kruse
b35840c5d0
Plugin rtom_allsessions_*: mention the default API version
2018-07-15 17:23:44 +02:00
Lars Kruse
579548697c
Merge pull request #921 from sulaweyo/master
...
rtorrent version 0.9.7 compatible
2018-07-15 17:18:15 +02:00
Sledge Sulaweyo
143a9543c4
switch default API to current
2018-07-15 15:14:39 +02:00
Lars Kruse
638197e78e
Merge branch 'plugin-multibandwidth'
2018-07-11 20:42:14 +02:00
Lars Kruse
14436e808e
Plugin multibandwidth: fix 'applicable systems' documentation hint
2018-07-11 20:42:03 +02:00
Lars Kruse
ecc6e30d55
Plugin multibandwidth: unify whitespace
2018-07-11 20:42:03 +02:00
Lars Kruse
5fb2e02eab
Plugin multibandwidth: explicit handling of configuration variables
2018-07-11 20:40:31 +02:00
Lars Kruse
580a39ed41
Plugin multibandwidth: rename environment setting for limiting the valid range
2018-07-11 20:40:31 +02:00
Lars Kruse
ade6f5f228
Plugin multibandwidth: proper handling of invalid values
2018-07-11 20:40:31 +02:00
Lars Kruse
49aecf4e0e
Plugin multibandwidth: simplify speed calculation
2018-07-11 20:40:31 +02:00
Jose Manuel Febrer Cortés
1ae4ac09da
Update multibandwidth
...
I will update more changes in the next days
2018-07-11 20:40:31 +02:00
Jose Manuel Febrer Cortés
a1cc26f2d3
Update multibandwidth
...
bing have some random spikes. Added a variable that is used to indicate the maximum value of mbps that can be recorded (in bps).
2018-07-11 20:40:31 +02:00
Lars Kruse
651f6ac056
Plugin minecraft-users-ram_: return "U" if no value can be retrieved
2018-07-11 19:35:32 +02:00
Lars Kruse
f6a8f2beb1
Plugin minecraft-users-ram_: reduce scope of LC_LANG override
2018-07-11 19:35:32 +02:00
Lars Kruse
00149864b2
Plugin minecraft-users-ram_: more precise netstat output filtering
2018-07-11 19:35:32 +02:00
Lars Kruse
94f46d392b
Plugin minecraft-users-ram_: simplify calculation; do not reduce accuracy
2018-07-11 19:35:32 +02:00
Lars Kruse
51e91e9354
Plugin minecraft-users-ram_: more quoting, simpler output
2018-07-11 19:35:32 +02:00
Lars Kruse
fed6ff1079
Plugin minecraft-users-ram_: add documentation header
2018-07-11 19:35:32 +02:00
Leandro Späth
99a5c384b0
fixed CPU percent calculation
2018-07-11 19:35:32 +02:00
Leandro Späth
353c0fc063
Added rough CPU usage reading
...
Also translated strings to english
2018-07-11 19:35:32 +02:00
Lars Kruse
7a37bfb1d8
Plugins: unify shebang for ruby scripts
2018-07-11 19:35:32 +02:00
Lars Kruse
331dc14e22
Merge pull request #919 from WanpengQian/master
...
change dependency from gawk to awk
2018-07-11 18:38:09 +02:00
Sledge Sulaweyo
348776e66b
fix category to be the same on all
2018-07-11 17:21:38 +02:00
Sledge Sulaweyo
51927e79f3
again formating
2018-07-10 17:04:22 +02:00
Sledge Sulaweyo
121448e72d
fix indentation, rename lagacy to pre09
2018-07-10 16:58:28 +02:00
Sledge Sulaweyo
8bfb81806d
drop seperate files and make api version configureable
2018-07-06 16:41:11 +02:00
Sledge Sulaweyo
91fc3e72c2
Update rtom_allsessions_097_vol
...
fix version
2018-07-02 21:03:01 +02:00
Sledge Sulaweyo
592876ea1a
Update rtom_allsessions_097_peers
...
fix version
2018-07-02 21:02:45 +02:00
Sledge Sulaweyo
74692d0d90
Create rtom_allsessions_097_vol
...
Add 0.9.7 compatible version
2018-07-02 21:01:09 +02:00
Sledge Sulaweyo
3be6c4f8a5
Create rtom_allsessions_097_peers
...
Add 0.9.7 compatible version
2018-07-02 21:00:35 +02:00
Sledge Sulaweyo
ea77d6f358
Create rtom_allsessions_097_mem
...
Add 0.9.7 compatible version
2018-07-02 20:59:40 +02:00
Sledge Sulaweyo
791e47a3a4
Create rtom_allsessions_097_spdd
...
Add 0.9.7 compatible version
2018-07-02 20:58:53 +02:00
Wanpeng Qian
8ccf6e8ef4
change dependency from gawk to awk
2018-06-13 12:01:04 +09:00
Lars Kruse
7b46292cb4
Merge branch 'plugin-kvm_net'
...
Closes : #916
2018-06-10 22:05:03 +02:00
Lars Kruse
e0b74c69d7
kvm_net: add technical details to 'graph_info'
2018-06-10 22:04:39 +02:00
Lars Kruse
e0df6aa788
kvm_net: improve the network interface name parser and admit its limits
...
The network interface parser of this plugin was overly specific before.
It relied on a specific format of the arguments handed over to kvm while
starting the VM. For example the following format was usable:
... -netdev tap,ifname=foo,...
But kvm/qemu support a variety of ways for configuring network
interfaces via the commandline. E.g. libvirt does not use the "ifname"
parameter above. Thus VMs running on a host controlled via libvirt
cannot be tracked with this plugin.
This limititation is now clearly documented in the header of the plugin.
2018-06-10 22:04:39 +02:00
Lars Kruse
b6c6a02efe
kvm_net: update VM name parsing
...
The old parser seemed to rely on a simple "-name foo" argument format of
kvm/qemu. The changed parser also accepts the following formats:
* name,foo=bar,baz=bot
* guest=name,foo=bar
2018-06-10 22:04:39 +02:00
Lars Kruse
54330cc3e6
kvm_net: simplify argument handling
2018-06-10 22:04:39 +02:00
Lars Kruse
89e4dd6420
kvm_net: avoid shell when using Popen
2018-06-10 22:04:39 +02:00
Lars Kruse
aa8f1a59c4
kvm_net: fix python code style issues
2018-06-10 22:04:39 +02:00
Lars Kruse
a9059703a6
kvm_net: switch to perldoc documentation header
2018-06-10 22:04:39 +02:00
Lars Kruse
3267bbd0ef
kvm_net: switch to python3
2018-06-10 22:04:39 +02:00
Lars Kruse
67cc769c87
kvm_net: use print function for python3-compatibility
2018-06-10 22:04:39 +02:00
Lars Kruse
f6080f5f8e
kvm_net: unify whitespace
2018-06-10 22:04:39 +02:00
Lars Kruse
7f98e21f2b
kvm_net: unify quoting
2018-06-10 17:51:34 +02:00
Lars Kruse
e87d3a6b3c
kvm_net: remove unused function 'find_vms_tap'
2018-06-10 17:51:34 +02:00