1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 18:07:20 +00:00
Commit graph

3666 commits

Author SHA1 Message Date
Lucas Hoffmann
e3664c39d8 Fix state saving in loggrepx_ plugin
The pattern under which the data was saved was different than the pattern under the data was loaded on the next run. The reason being an undefined variable that evaluates to the empty string. The result was that the number of matching lines reported was for the whole logfile instead of the time since the last run.
2019-12-26 01:01:46 +01:00
Lars Kruse
86bee01637 Port some python2 plugins to python3 2019-12-18 00:27:02 +01:00
Lars Kruse
7063330e03 Fix python style issues reported by flake8
Additionally some python2-only "print" statements are now compatible
with python3.
2019-12-18 00:25:39 +01:00
Kenyon Ralph
6abc523a58 add plugin for Technicolor TC8715D cable modem stats 2019-12-16 01:02:04 +01:00
Hannes Erven
1fc177ce9a multi_tcp_ping: enable service_check by default
By default, Net::Ping will report a good attempt even when the remote end returns "connection refused". By enabling service_check, the connection must have been established.
See https://perldoc.perl.org/Net/Ping.html#Functions
2019-12-16 00:58:38 +01:00
Alban
1357b8189e Update mongo_lag 2019-12-16 00:56:20 +01:00
Alban
923e134dd0 Update mongo_lag 2019-12-16 00:56:20 +01:00
Alban
8fc3d29dd6 Update mongo_lag
Fix mongo_lag plugin and add auth feature
2019-12-16 00:56:20 +01:00
Sascha Schade (strongly-typed)
ac28508095 arris-tg3442: Remove newlines from cookie 2019-11-10 03:10:37 +01:00
Lars Kruse
f003e1bb64 Remove plugin "arp"
The "arp_" plugin is probably a better alternative: it uses modern linux
tools (iproute2) instead of the "arp" tool.

Closes: #1024
2019-10-29 03:58:44 +01:00
Lars Kruse
bf83802da3 Remove obsolete bebox plugins
The plugins beboxsync, beboxstats and beboxstats.expect are obsolete.
The ISP that sold the Bebox [Be*] was acquired by another provider
more than five years ago so it is very unlikely that anybody is using
these plugins any more.

The plugin tg585v7_ is a suitable replacement as the Bebox and TG585
are both made by Technicolor [formerly Thompson] and run on the same
platform. tg585v7_ also seems to be much more comprehensive than the
bebox plugins.

Closes: #1023
Thanks, troffasky
2019-10-27 23:38:28 +01:00
Olivier Mehani
f8801b87a0 [hostdenied] Reverse order of series so new entries are on top
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-23 23:09:34 +02:00
Olivier Mehani
6a47ad0aed [fresh-backups] Reverse order of series so new entries are on top
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-23 23:09:34 +02:00
Olivier Mehani
6ad466b10e [network/upnpc_] Add missing vlabel
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
3abb60e3e7 [debsecan] Don't include suite in main title
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
5587f77cf5 [sickbeard] Add perldoc header
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
95ebf419fe [fresh-backups] Show backup counts as stacked areas by age
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
b97762097b [sickbeard] Add multigraph plugin doing both shows and episodes
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
118457fa44 [sickbeard_] Show counts as stacked areas
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
6ca9f65af9 [transmission] Show counts as stacked areas
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
cfe070ea38 [network/hostsdeny] Refactor to support any blocked service
The HostDenied field is renamed to ssh. To preserve existing data,

	# cd /var/lib/munin/example.net
	# mv hostname-hostsdeny-HostsDenied-g.rrd hostname-hostsdeny-sshd-g.rrd

This refactor incidentally also fixes a bug where empty or commented-out
lines where also counted.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
e926acaf5f Fix titles of similar plugins so they are better grouped in category views
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
196051d341 [isp/internode] Cache initial API response
The API tends to be unstable and often fail with a 500,
which makes the plugin disappear. Keeping a cache allows
to prevent some flickering of the graph.

This allows us to further split config data-fetching from live
data-fetching, thus removing the need to support DIRTYCONFIG.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
0893243421 [backup/fresh-backups] Rework limits
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
cfa5206e99 [backup/fresh-backups] move from system/
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
cf74793230 [router/upnpc] Fix autoconf
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
a8f1eaf388 [isp/internode_usage] Make titles more groupable
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
0b4725d69d [ssl/ssl-certificate-expiry] Fix unset starttls parameter
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
282b32b0e5 [network/upnpc_] Add support for host_name
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
01edaf0086 [network/upnpc] Add hostname in graph titles
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
076545b5f6 [network/upnpc_] Add multigraph support
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
3212af2eed [network/upnpc_traffic] Show max bitrate
Deprecate bitrate mode in suggest, but keep support for it so as not to
break existing installations.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
5382722fdb [network/upnpc_] Add dirtyconfig support
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
81bf32a5a5 [network/upnpc_] Cleanup shell code and centralise call to upnpc
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
f6c627bd56 [isp/internode] Fix (some) issues with DIRTYCONFIG
We need to set the date for all plugins, otherwise the lagging `daily`
one is assumed for all, and confuses spoolfetch and other time-based
sanity checks.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
e5af569b4f [isp/internode_usage] Add support for host_name
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
c49207419e [isp/internode_usage] Code cleanup
Also make the daily graph more flexible, by always reporting the second
last value (presumably the previous, but sometimes the API lags a bit,
and actively requesting by date result in never reporting some late
data).

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
ruliane
3aa213d497 Add support for StartTLS in ssl-certificate-expiry (#1018)
* Add support for StartTLS in ssl-certificate-expiry

Added support for StartTLS in ssl-certificate-expiry
Use env.services foo.example.net_25_smtp to enable StartTLS on a SMTP server.
2019-09-17 19:37:37 +02:00
root
3cd15a8220 improved ext2, ext3, ext4 filesystems search 2019-09-05 23:32:56 +02:00
RenWal
4e7c45fdc9 Fix typos in certificate_file_expiry
Typos broke the sample configuration
2019-09-02 23:07:45 +02:00
Martin Schobert
c84659ad22 Cosmetic fix for s/pflogsum/pflogsumm/ - not functional in autoconf section 2019-08-31 03:38:58 +02:00
Martin Schobert
efff247575 This typo ensures that you understand the script before using it :-) 2019-08-31 03:38:58 +02:00
Lars Kruse
a040cb5abe Merge branch 'lxc-multigraph'
Many contributions from Marc Schaefer and Lars Kruse.
2019-08-19 19:05:54 +02:00
Marc SCHAEFER
748cf3b4ee - grep -EF is invalid
- SYSFS: buster has an existing /sys/fs/cgroup/systemd/lxc/$guest_name/tasks,
         which does not contain anything useful, so checking
         /sys/fs/cgroup/cpuacct/lxc/$guest_name/tasks first.
- spurious blank space for lxc_net and lxc_ram in here document
2019-08-19 15:07:16 +02:00
rantal
735689d47a btrfs_subvol_usage: fix "btrfs qgroup show" output format
Switch "btrfs qgroup show" for raw output format, because by default it's human readable form and can't be read by scripts.
2019-08-17 01:58:40 +02:00
d0m84
4ee40c8227 Update ntp_packets 2019-08-14 23:04:55 +02:00
d0m84
d0139a588d Update ntp_packets
With Debian 10 the command "ntpq -c iostats -c sysstats" produces one empty line.
The additional if condition tackles this.

Traceback (most recent call last):
  File "/etc/munin/plugins/ntp_packets", line 91, in <module>
    stats[line.split(':')[0]] = int(line.split(':')[1])
IndexError: list index out of range
2019-08-14 23:04:55 +02:00
Lars Kruse
ee68a404b5 Plugin w1_: add executable flag and tolerate shellcheck failure
Hopefully the issue will be resolved via #1011.
2019-08-14 04:06:31 +02:00
Lars Kruse
fa3b9cdf26
Merge pull request #766 from webstoney/patch-1
w1_ plugin
2019-08-14 01:32:24 +02:00
Lars Kruse
c586f34d4b Plugin arris-tg3442: fix code style issues reported by flake8 2019-08-14 01:27:42 +02:00