2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
Commit Graph

2685 Commits

Author SHA1 Message Date
Lee Clemens
dc129c541b Add source HOST to graph_title 2016-11-12 12:56:06 -05:00
Raphaël Droz
5a320fce61 proc_mem_by_user:
- use of bash
- don't corrupt rrd files when "root" (or any unclean value) is requested
2016-11-06 16:52:37 -03:00
Lars Kruse
9dcf5885e9 [asterisk] fix inconsistent fieldname for voicemail messages (Closes: #700)
lelutin proposed the change of the fieldname "messages" in the config
section to "total" (as used in the "fetch" output)

see https://github.com/munin-monitoring/contrib/issues/700
2016-11-06 13:56:45 +01:00
Lars Kruse
04def756bc [asterisk] cleanup linebreak handling and single/plurals (Closes: #698)
lelutin proposed some changes:
* the total is 0 if there is only one channel active (due to "channel"
  vs. "channels")
* linebreaks "\r\n" are expected

See https://github.com/munin-monitoring/contrib/issues/698
2016-11-06 13:52:41 +01:00
Lars Kruse
66d48afbbb [asterisk] fix codecs accounting (Closes: #699)
The following issues are fixed by lelutin:
* line ending matching does not match for lines that only use \n as
  line ending
* iteration is broken because the index for setting values in the
  codecs accounting array is never reset to 0 before new loops.
* iax channels don't use a codec hex value, but rather their names
  (sip still uses the hex values as far as I can see)

see https://github.com/munin-monitoring/contrib/issues/699
2016-11-06 12:37:28 +01:00
sumpfralle
7724b4cd6f Merge pull request #748 from shtrom/backup-manager
[backup-manager] Rudimentary backup-manager plugin
2016-11-06 12:27:05 +01:00
Olivier Mehani
07fb93c2a4 [fresh_backup] Add missing reference to backup-manager
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2016-11-06 13:18:56 +11:00
sumpfralle
4cc124fdab Merge pull request #724 from nichok/master
Fix for pymongo > 3.0 and connection support of MongoClient only
2016-11-05 12:42:27 +01:00
sumpfralle
3b1290cf9c Merge pull request #749 from shtrom/deborphan
[deborphan] New plugin counting orphaned packages in all sections
2016-11-05 11:56:57 +01:00
Olivier Mehani
000c97ccec [deborphan] No longer dependent on bashisms
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2016-11-05 21:51:10 +11:00
Olivier Mehani
ddbb4782ec [deborphan] Don't use tempfiles, and other fixes
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2016-11-05 21:48:55 +11:00
Cristian Deluxe
156f0d840e Small language fixes 2016-11-04 10:48:06 +01:00
Cristian Deluxe
daf5b94a07 Sellcheck disables and “eval” removed 2016-11-04 10:33:14 +01:00
Cristian Deluxe
d1d668f6bc Strict SH script, thanks to sumpfralle 2016-11-04 05:11:19 +01:00
Cristian Deluxe
87a6a775b3 draw mode changed to AREASTACK 2016-11-02 07:06:36 +01:00
Cristian Deluxe
ce23bdde59 Changed draw mode to STACK 2016-11-02 07:00:45 +01:00
Cristian Deluxe
48ab33220e no duplicated code, area graph, only first result 2016-11-02 06:59:07 +01:00
Cristian Deluxe
8e2025a9b9 changed graph_period to minute (more appropiated) 2016-11-02 06:34:57 +01:00
Cristian Deluxe
9eb4cc1f01 Chenged family to “contrib” 2016-11-02 05:07:45 +01:00
Cristian Deluxe
e75132a769 change spaces for tabs (code indent) 2016-11-02 05:03:01 +01:00
Cristian Deluxe
918602cd00 Use simple quotes and better graph config 2016-11-02 04:53:27 +01:00
Cristian Deluxe
424b962e14 Remove whitespaces from result 2016-11-02 04:04:47 +01:00
Cristian Deluxe
17fcfc3736 Rewrited Plugin 2016-11-02 03:01:02 +01:00
sumpfralle
e0f6a97af7 Merge pull request #750 from shtrom/file_length_
[file_length_] A versatile plugin to count the lines in specified files
2016-10-29 12:23:00 +02:00
Olivier Mehani
6d4da015de [file_length_] Cleanup and shellcheck
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2016-10-29 17:48:12 +11:00
Olivier Mehani
5cfc73c3c8 [deborphan] Cleanup and add POD doc
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2016-10-29 16:21:16 +11:00
sumpfralle
4d5e6564b3 Merge pull request #739 from RubenKelevra/patch-2
plugins: network/udp-statistics: added more fields
2016-10-29 05:05:41 +02:00
Olivier Mehani
f751a0d865 [fresh-backups] Rename, cleanup, and add POD doc
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2016-10-29 11:50:50 +11:00
@RubenKelevra
50c13da584 [udp-statistics] rename 'errors' field, add more fields 2016-10-29 02:27:36 +02:00
sumpfralle
5900d9d12d Merge pull request #744 from shtrom/systemd
Add systemd plugin counting units in each state
2016-10-29 01:42:34 +02:00
Tomaz Solc
d888c31d1d systemd_units: fix use of tr 2016-10-27 18:19:16 +02:00
Tomaz Solc
38835f7a62 systemd_units: add doublequote around $extinfo 2016-10-27 17:54:01 +02:00
Tomaz Solc
adc0072286 systemd_units: avoid use of echo -n flag 2016-10-27 17:52:30 +02:00
Tomaz Solc
a9476f50fd systemd_units: fix indent 2016-10-27 17:51:33 +02:00
Tomaz Solc
a2f1592fe5 systemd_units: avoid use of temporary file 2016-10-27 17:49:03 +02:00
Olivier Mehani
b31b861f1c [systemd_units] Rename, remove unused mode logic and cleanup syntax
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2016-10-27 22:38:55 +11:00
Lars Kruse
c3660c2ac0 [tr_ratios] restructure code
* allow configuration of username, passwort, host and port via env
* reduce code duplication
* remove "*" from stopped transmissions
2016-10-26 02:25:47 +02:00
Lars Kruse
839d825afe [tr_ratios] add documentation 2016-10-26 02:04:11 +02:00
Lars Kruse
1a25481e2c [tr_ratios] include awk scripts; awk instead of gawk
since we cannot rely on the location of the two included awk scripts, we
just include them literally
2016-10-26 00:40:53 +02:00
Lars Kruse
8777efd66c [tr_ratios] switch from bash to sh; quoting 2016-10-26 00:34:47 +02:00
samuraiii
5884bddab1 To get rid of non ascii characters in graphs 2016-10-25 22:39:56 +02:00
sumpfralle
2590bb356c Merge pull request #728 from shtrom/upnpc_
[plugins/upnpc_] Add upnpc-based router monitoring plugin
2016-10-25 19:25:19 +02:00
Olivier Mehani
20de5307cb [upnpc_] Move to network/ and document graphs
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2016-10-25 23:01:58 +11:00
Olivier Mehani
ef80db4bc1 [systemd] Remove half-baked suggest
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2016-10-25 21:21:24 +11:00
Lars Kruse
ef6cedf7a9 [monit_parser] change input format to XML; retrieve via URL (Closes: #558) 2016-10-23 05:08:07 +02:00
Lars Kruse
b8f1b6c879 [monit_parser] implement memory alloaction unit parsing
Previously monit seems to have output memory usage in kilobytes without
a unit. Somewhen this seemed to have changed to an (optional?) suffix
(e.g. MB). Thus the new scaling may differ from the previous scaling,
which was probably broken for most users.
Additionally the units of the resulting values are clarified.
2016-10-23 03:49:45 +02:00
Lars Kruse
e5fbbaea5f [monit_parser] improve code structure 2016-10-23 03:49:45 +02:00
Lars Kruse
8d78e459cd [monit_parser] add documentation (Closes: #548) 2016-10-23 03:49:24 +02:00
Lars Kruse
dcd9434e0d [monit_parser] use python2/3 compatible 'print' style 2016-10-23 01:27:50 +02:00
Lars Kruse
9d62e55896 [monit_parser] replace 'commands' module with 'subprocess'
necessary for python3 support
2016-10-23 01:27:25 +02:00