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

3145 commits

Author SHA1 Message Date
Lars Kruse
6cb29a3bf3 [chrony] switch from bash to sh; fix shell style issues 2016-11-10 23:19:38 +01:00
sumpfralle
39976312f7 Merge pull request #671 from drzraf/patch-2
proc_mem_by_user: avoid magic fieldname "root"
2016-11-07 01:07:10 +01: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
Nye Liu
49b79ca228 Embed tc_ pod documentation into the plugin itself 2016-11-05 21:08:01 -07: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
Nye Liu
c4e03516ce Forgot the suggest tag 2016-11-05 14:58:49 -07:00
Nye Liu
fd25056ffd Set family to auto in tc_.pod as well 2016-11-05 14:57:45 -07:00
Nye Liu
6cb9ba170f Cleanup suggested by maintainer
* family should be auto, not manual
* Combine multiple sed scripts into a single script
* Double quote sh variable dereferences
* Don't use deprecated backquotes
2016-11-05 14:52:03 -07:00
Nye Liu
2d13d2a50d Add documentation and example graphs for the tc_ plugin 2016-11-05 14:51:14 -07:00
Nye Liu
43f5345747 Merge branch 'master' of https://github.com/munin-monitoring/contrib 2016-11-05 14:15:25 -07: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
sumpfralle
306b77c2f0 Merge pull request #765 from CristianDeluxe/postfix_stats
Postfix stats - Rewritten plugin
2016-11-04 11:09:46 +01: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
Olivier Mehani
1a4b6cfbe7 Merge pull request #2 from avian2/add-systemd
Fix remaining issues with systemd_units plugin
2016-10-28 20:15:14 +11: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
Nye Liu
13f9ba7a61 Area stack children 2016-10-26 14:15:48 -07:00
Nye Liu
3dd825dd62 Output fields of tc can vary, possibly causing corrupted data to be gathered.
Look specifically for the "bytes" keyword
2016-10-26 14:14:26 -07:00
Nye Liu
234a753fea Make awk script more readable 2016-10-26 14:13:36 -07:00
Nye Liu
afe87e904e Cosmetic whitespace uniformity 2016-10-26 14:10:46 -07:00
Nye Liu
31bedc0822 Hardcode tc path so we can run the script as non-root 2016-10-26 14:08:34 -07:00