Steve Schnepp
59fcde25d1
bbox: using jq -r to force numeric evaluation
2019-07-18 22:50:38 +02:00
Steve Schnepp
af28042128
bbox: quoting the variables
2019-07-18 22:44:49 +02:00
Steve Schnepp
93f4ff09a9
Adding a link to explain "bbox"
2019-07-18 21:48:14 +02:00
flotat stephane
53c76b8615
Remove double quote for env.driftfile variable
2019-07-18 21:10:58 +02:00
HORINOUCHI Masato
ddced538d5
Add ntp_drift.
2019-07-17 19:59:23 +02:00
HORINOUCHI Masato
7fa8734a26
Add chrony_drift.
2019-07-17 19:58:51 +02:00
Tomohiro Hosaka
bb4d6c64f4
fix uptime_bsd. compile time is not included since FreeBSD 12.0-RELEASE due to Reproducible Builds
...
https://wiki.freebsd.org/ReproducibleBuilds/Base
https://reviews.freebsd.org/D4347
sysctl output samples:
% (11.2-RELEASE) sysctl kern.version
kern.version: FreeBSD 11.2-RELEASE-p10 #0 : Mon May 13 21:20:50 UTC 2019
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
% (12.0-RELEASE) sysctl kern.version
kern.version: FreeBSD 12.0-RELEASE-p7 GENERIC
2019-07-16 00:16:01 +02:00
Benoît S
c4a08bfa53
libvirt/kvm_*: Simple regex to match VM name
...
On Debian Stretch the cmdline is something like:
qemu-system-x86_64-enable-kvm-nameguest=vmname,debug-threads=on-S-[…]
Without null characters:
qemu-system-x86_64 -enable-kvm -name guest=vmname,debug-threads=on[…]
We need to match only guest=vmname, so the regex
"^.*guest=([a-zA-Z0-9.-_-]*).*$" is simpler and match the VM name.
The precedent regex "^.*-name\x00([a-zA-Z0-9.-_-]*)\x00\-.*$" was not matching it.
BTW, It seems that \x00 does not match correctly null characters so I removed it.
2019-07-11 22:54:45 +02:00
Lars Kruse
33270dd198
Merge pull request #988 from shtrom/file_length_
...
[file_lenght_] Various fixes
2019-06-28 11:40:25 +02:00
Olivier Mehani
1de77292c9
[file_lenght_] Various fixes
...
* Only show extinfo if stat is the GNU version
* Unify variable references
* Better legend when type is not GAUGE
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-06-27 13:01:54 +10:00
Lars Kruse
7b84a4bf05
Merge pull request #987 from shtrom/file_length_
...
[file_length_] Generic plugin to monitor the number of lines (or variation thereof) of arbitrary files
2019-06-25 20:51:02 +02:00
Olivier Mehani
edc30c1852
[file_length_] Add configurable type
...
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-06-25 20:19:38 +10:00
Lars Kruse
9084e48223
Merge pull request #976 from bertptrs/plugin-pacman
...
* Exit when retrieving updates fails.
* Properly report unknowns
2019-06-10 17:51:03 +02:00
Bert Peters
6cb5c9e104
Properly report unknowns
2019-06-10 16:55:12 +02:00
daniel
407adbd620
fix merge issues
...
* use 2 newlines to separate toplevel objects
* use string comparision for argument parsing instead of substring search
* remove hashes
* use perldoc style
2019-06-06 20:56:54 +02:00
Olivier Mehani
691e52b868
[internode_usage] New plugin for Australian ISP Internode
...
* Add BUGS and SPDX license
* Add dirtyconfig support
* Use ideal usage as warning
2019-06-06 20:20:20 +10:00
Olivier Mehani
92db831bc3
[network/upnpc_] don't let the shell expand ${graph_period}
...
Also, update license and add SPDX identifier
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-06-06 20:20:11 +10:00
Olivier Mehani
dd94da3bd5
[router/freebox] Plugin to monitor Freebox information ( #985 )
...
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-06-05 23:47:52 +02:00
Lars Kruse
2f6da6fbb2
Merge pull request #975 from wodry/patch-2
...
Remove quotes in plugin env parameters
2019-06-02 23:35:27 +02:00
wodry
e1731c787e
Remove quotes in plugin env parameters
...
Setting
`env.torconnectmethod 'port'`
leads to the error:
```
munin-run tor_bandwidth
env.torconnectmethod contains an invalid value. Please specify either 'port' or 'socket'.
```
Removing the quotes solves that, because the quotes are part of the variable value.
["There is no need to quote the variable content."](http://guide.munin-monitoring.org/en/stable-2.0/plugin/use.html )
2019-06-02 22:28:15 +02:00
Lars Kruse
33f10211f8
Merge pull request #973 from GuillaumeSMedia/master
...
Plugin postfix-rbl-blocked-mails: adds custom RBLs monitoring
2019-06-02 21:36:28 +02:00
Lars Kruse
457d1a62d0
Merge pull request #974 from wodry/patch-1
...
Fix "TabError: inconsistent use of tabs and spaces in indentation"
2019-06-02 21:34:11 +02:00
Lars Kruse
97556e1934
Merge pull request #986 from neszt/master
...
Plugin xen-multi: xentop bug workaround
2019-05-30 23:01:43 +02:00
Neszt Tibor
57558b68bd
Plugin xen-multi: xentop bug workaround
...
There is a bug in xentop, its output is too high in rare cases.
https://lists.xenproject.org/archives/html/xen-users/2019-04/msg00020.html
Workaround to process 3 iterations after the first one (4 itrations) and
choose the lowest cpusecs value line.
2019-05-30 09:28:40 +02:00
heeplr
17e0fce840
DOCSIS status monitoring
...
MUNIN Plugin to monitor status of Arris TG3442 / TG2492LG-85 and compatible cable modems
2019-03-26 13:46:37 +01:00
Bert Peters
d272622bb0
Exit when retrieving updates fails.
2019-03-19 12:50:28 +01:00
wodry
832ecbad40
Fix "TabError: inconsistent use of tabs and spaces in indentation"
...
Fixes
```
munin-run tor_bandwidth
File "/etc/munin/plugins/tor_bandwidth", line 450
if router[0] == "r":
^
IndentationError: expected an indented block
```
ans use single quotes constantly also for GeoIP.dat filename
2019-03-18 07:18:44 +01:00
Guillaume Chauvin
438bf0bbb1
Plugin postfix-rbl-blocked-mails: adds custom RBLs monitoring
2019-03-13 00:17:23 +01:00
Lars Kruse
914180fe54
Merge pull request #972 from poiuty/patch-1
...
fix graph_vlabel
2019-03-06 02:47:39 +01:00
poiuty
9e08cc92e8
fix graph_vlabel
2019-03-05 11:30:01 +03:00
Lars Kruse
5c3ee237b7
Merge pull request #970 from Sephtex/Sephtex/969/zfs_list_plugin_wot_working_with_dash
...
Add support for dash in zfs_list
2019-02-16 03:45:25 +01:00
Lars Kruse
05986442c9
Merge pull request #971 from ProgVal/patch-1
...
Change shebang of systemd/systemd_units from sh to bash
2019-02-13 02:33:23 +01:00
Valentin Lorentz
1f184a35ff
Change shebang of systemd/systemd_units from sh to bash
...
Running it with sh results in this error:
/etc/munin/plugins/systemd_units: 109: /etc/munin/plugins/systemd_units: Bad substitution
2019-02-09 20:24:35 +01:00
Sephtex
f72390cb13
replace the / by __ anyway
...
To make it more clear that we had a subdevice it's better to use the __ for it's replacement anyway
2019-02-03 19:55:16 +01:00
Sephtex
c35eee0255
indentation fix
...
added same indentation of the echo as all the rest in the for loop
2019-02-03 19:12:54 +01:00
Sephtex
f6dbe9bd57
add usage of clean_fieldname
...
Used the correct munin way by soursing "$MUNIN_LIBDIR/plugins/plugin.sh" and use clean_fieldname.
For the title I removed the replacement of / by __ and on the multigraph value I added the usage of clean_fieldname to make it backwards compatible.
2019-02-03 19:10:56 +01:00
Sephtex
0429e63be5
Add support for dash in zfs_list
...
#969 zfs/zfs_list: Add support for dash in zfs_list
2019-02-03 15:10:13 +01:00
Lars Kruse
bc8bb4d9d7
Merge pull request #968 from jtsage/fix-ubiquity-plugin
...
Ubiquity Plugin: login error fix
2019-02-01 14:45:12 +01:00
Lars Kruse
4aaccdcb23
Merge pull request #967 from tobany/master
...
Improve plugin mysql_slave_thread
2019-01-16 20:02:51 +01:00
JTSage
2156464c66
Ubiquity Plugin: new controllers require the use of double quoted string to login
2019-01-16 09:24:36 -05:00
Anthony Baccuet
4547f33dda
Add error message to extinfo
2019-01-16 10:39:36 +01:00
Lars Kruse
a535a5df53
Merge pull request #966 from MyCryptoCheckout/master
...
Fix spaces in directory names. Glob directories.
2019-01-09 02:43:03 +01:00
Edward Plainview
5fcad70008
Fix spaces in directory names. Glob directories.
2019-01-08 15:54:42 +01:00
Lars Kruse
d5fc30a9bf
nginx_upstream_multi_: simplify configuration retrieval via environment
2018-12-20 15:25:32 +01:00
Lars Kruse
734da6b9c8
nginx_upstream_multi_: fix namespace overide of "time"
2018-12-20 15:25:32 +01:00
Lars Kruse
5f9e882bce
nginx_upstream_multi_: fix flake8 issues
2018-12-20 15:25:31 +01:00
Lars Kruse
13bd1599b0
nginx_upstream_multi_: migrate to Python3
2018-12-20 15:24:42 +01:00
Lars Kruse
d5676e9dfa
Merge pull request #965 from shuehner/fix_permgen_metaspace
...
Fix reporting of 'Permanent Generation' / Metaspace (for java<8)
2018-12-14 21:13:24 +01:00
Stefan Huehner
583560e57f
Fix reporting of 'Permanent Generation' / Metaspace.
...
Fix regression in last commit. While it added auto-detection of changing
column position it did not take into account the known change from
Java 7 > 8.
Java <8 had the Permanent Generation region which jstat columns PU, PC
While Java >=8 now has a Metaspace region (for similar purpose) with
jstat columns MU,MC.
Add re-add detection for that change to fix reporting of the values.
To simplify code uses the MU,MC labels internally and when MU,MC are
not found in jstat output it fills those with PU,PC values.
2018-12-14 14:43:31 +01:00
Lars Kruse
4e713c9b30
Merge pull request #963 from shuehner/more_jvms
...
Fix jstat* plugins to work again with java 6+7, fix PU reporting for Java8
2018-12-14 03:50:36 +01:00