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

2866 Commits

Author SHA1 Message Date
sumpfralle
ce00c40198 Merge pull request #790 from shtrom/debsecan-remote
[debsecan] Flag remotely exploitable CVEs separately
2017-01-05 04:49:03 +01:00
Olivier Mehani
475c6ae9da [debsecan] More verbose errors
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-01-05 14:07:53 +11:00
Olivier Mehani
35cf684e24 [debsecan] Update colours
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-01-05 14:07:53 +11:00
Olivier Mehani
f6b8e2c1e1 [system/debsecan] Don't use temporary files and fix shellcheck warnings
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-01-05 14:07:53 +11:00
Olivier Mehani
fefb1aab4a [system/debsecan] List remotely-exploitable CVEs separately
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-01-04 16:20:24 +11:00
Diver
210ebae0a0 Shellcheck 2016-12-26 23:50:15 +03:00
Diver
9c2aabf4d6 Heredoc 2016-12-26 23:31:37 +03:00
Diver
e889ffd037 Cleaning code 2016-12-26 22:08:26 +03:00
Diver
a8e1084bb8 POD style 2016-12-26 20:13:41 +03:00
Diver
8b2808b90a POD style 2016-12-26 19:45:00 +03:00
Kenyon Ralph
2bb6892e9e
add motorola_sb6141 plugin to monitor the Motorola SB6141 cable modem 2016-12-23 16:27:41 -08:00
K.Shimadera
827c75fb47 Fix for pull request https://github.com/munin-monitoring/contrib/pull/786 2016-12-19 10:07:42 +09:00
K.Shimadera
ca01c6e3dc Update oracle_sysstat_ plugin
* Add modules
  logon
  cputime
  blockrw
  redosize
  eventwaitnetwork
  eventwaitadministrative
  eventwaitconfiguration

* Update modules
  cachehit: Changed to calculate hit ratio between munin-node update intervals by CDEF
  sessionwait: Add CPU status, Add graph_info
  table_fetch: Add table_fetch_continued_row field
  pgastat: Add aggregate PGA target parameter field

* Improvement
  Change not to execute sqlplus in for loop in getvalue funcs to improve performance
  Change to add field.min 0 when type is DERIVE
  Add label_max_length in config() to supress new line in graph image
  Change graph_title for sorting

* Fix styles
  Enable set -o nounset
  Add double quote to supress shellcheck warning
  Change some quote styles
  Remove meaningless double quote around $( )
  Add whenever sqlerror exit sql.sqlcode
2016-12-18 09:48:41 +09:00
Kenyon Ralph
c51f9d3268
ntp_packets: graph more ntp packet statistics 2016-12-16 02:15:26 -08:00
Diver
31d3dccbb4 Merged NFS and Basic Datamover stats 2016-12-16 04:00:33 +03:00
Kenyon Ralph
4cec0c099e
set dovecot plugin to mode 0755, fixes issue #785 2016-12-15 11:40:58 -08:00
Kenyon Ralph
c00f7af9fe Revert "python3 dependency fixed (backport)" 2016-12-14 22:10:59 -08:00
Diver
777b8c1a12 Deleted "Contribution" lines
Added additional grep for filtering out server mesages
2016-12-13 02:56:19 +03:00
Diver
5aa034be8c Small fix in choosing Primary CS 2016-12-13 02:56:19 +03:00
Diver
8b31264461 Contribution address 2016-12-13 02:56:19 +03:00
Diver
de2592109d Fixed description 2016-12-13 02:56:19 +03:00
Diver
f34f62442f Fixed description 2016-12-13 02:56:19 +03:00
Diver
fa87ed6598 Cleanups
Renamed emc_vns_nfsv3_stats to emc_vnx_nfs_stats
Added NFSv4 support
2016-12-13 02:56:19 +03:00
Diver
1e982aaed5 Some cleanups
Added "Memory" section
2016-12-13 02:56:19 +03:00
Diver
e488bb0500 Some cleanups 2016-12-13 02:56:19 +03:00
Diver
2b97e21dbc COUNTER instead of DERIVE 2016-12-13 01:25:18 +03:00
sumpfralle
71e8eb7ee5 Merge pull request #769 from sumpfralle/chronyd-improvements
[chrony] various improvements
2016-12-07 23:57:09 +01:00
Alexey Anikanov
75e9b8c902 add plugin for PUMA monitoring 2016-12-04 13:10:11 +02:00
sumpfralle
c24aaaf9d0 Merge pull request #776 from shakemid/add_oracle_plugins
Added plugins for Oracle Database.
2016-11-30 11:28:54 +01:00
K.Cima
69f98e7f7b Fix to remove evals 2016-11-29 15:32:24 +09:00
K.Cima
289b99d401 Add comments for evals 2016-11-28 23:55:30 +09:00
K.Cima
fe8908c326 Fix to add double quote to supress shellcheck warnings 2016-11-28 23:55:00 +09:00
K.Cima
99e235ceef Fix to remove ${sqlplus_opts} to supress shellcheck warnings 2016-11-28 23:52:51 +09:00
K.Cima
3e4a48abb8 Fix to remove useless SQL 2016-11-28 23:51:59 +09:00
Diver
50ab61d6c0 Deleted "Contribution" lines 2016-11-27 18:53:34 +03:00
K.Cima
7c08e6c469 Added oracle_sysstat_ plugin 2016-11-27 14:11:27 +09:00
Diver
80fa5a5f52 Small fix in choosing Primary CS 2016-11-26 02:29:38 +03:00
sumpfralle
9057a61fa6 Merge pull request #777 from sumpfralle/travis-remove-file_tail_multi
[apache_logparser] carefully import missing File::Tail::Multi (fixes Travis checks)
2016-11-25 02:37:26 +01:00
Lars Kruse
3d3f5179fa [apache_logparser] remove unused 'type' setting
the manual common/combined type detection was replaced with an
automatism earlier
2016-11-25 02:23:19 +01:00
Lars Kruse
89b2f76701 [apache_logparser] fix syntax error of for-loop 2016-11-25 02:18:29 +01:00
Lars Kruse
02f80a35a3 [apache_logparser] carefully import unavailable module 'File::Tail::Multi
this will allow travis checks again
2016-11-25 02:17:41 +01:00
sumpfralle
cab0841c82 Merge pull request #741 from yoe/master
Add job stats graph
2016-11-24 23:42:53 +01:00
Wouter Verhelst
145b654692 Add minimal POD documentation 2016-11-24 17:37:50 +01:00
Diver
f0e2fbfb2d Contribution address 2016-11-17 20:20:04 +03:00
Diver
75112331ec Removed files from other branch 2016-11-17 20:08:39 +03:00
sumpfralle
a8dca90740 Merge pull request #764 from nyetwurk/master
Prevent data corruption if output fields of "tc -s" vary, stack children lines
2016-11-17 04:51:57 +01:00
Nye Liu
21572e11a5 Add the documentation in to the script. Should have gone with previous commit. 2016-11-16 18:25:53 -08:00
Diver
cb9f257c2d More cleanup 2016-11-16 20:58:31 +03:00
Diver
3a2b360a06 Cleanups 2016-11-15 18:32:39 +03:00
Diver
31a42f4fe1 Queue SPB 2016-11-14 20:42:54 +03:00
Diver
47e685914a Initial dirty release 2016-11-14 20:19:02 +03:00
Peter Doherty
4f0a708dfd Pass over empty lines in the arcstats
https://github.com/munin-monitoring/contrib/issues/680
2016-11-13 08:56:45 -05:00
Lee Clemens
caa2f4be18 Add comment for hardcoded hop_o value and configs 2016-11-12 15:20:24 -05:00
Lee Clemens
d9cce2160f Make whitespace consistent, converting tabs to 4 spaces and fixing indents 2016-11-12 14:29:05 -05:00
Lee Clemens
b3a486fa62 Use source hostname as first 'hop' value (removing it from graph title) 2016-11-12 13:48:09 -05:00
Lee Clemens
dc129c541b Add source HOST to graph_title 2016-11-12 12:56:06 -05:00
Lars Kruse
fb4a95730d [chrony] simplify field handling 2016-11-11 00:29:45 +01:00
Lars Kruse
89ddacb3c4 [chrony] fix whitespace issues 2016-11-10 23:54:57 +01:00
Lars Kruse
728b105318 [chrony] fix error status and message for 'autoconf' 2016-11-10 23:52:17 +01:00
Lars Kruse
cfd1612aa5 [chrony] determine path of "chronyc" via "which" 2016-11-10 23:50:31 +01:00
Lars Kruse
6fd9d9072b [chrony] format POD documentation 2016-11-10 23:39:45 +01:00
Lars Kruse
6cb29a3bf3 [chrony] switch from bash to sh; fix shell style issues 2016-11-10 23:19:38 +01:00
Diver
d85b1e4276 Plugin for monitoring EMC VNX5300 Datamover Basic stats 2016-11-09 00:04:00 +03:00
Diver
6506690ac8 Plugin for monitoring EMC VNX5300 NFSv3 Stats 2016-11-08 01:37:02 +03: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
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
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
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
Jonas Palm
c679de12ce code rewrite
removed bashisms and cleaned everything up
2016-10-24 23:03:18 +02:00
Wouter Verhelst
5800201da8 Configurable location of sge settings.sh script 2016-10-23 10:36:58 +02:00
Wouter Verhelst
8c9f0260f9 Use sh shebang
Don't need bash-specific features, after all
2016-10-23 10:36:35 +02: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
Lars Kruse
0f24fe00eb [monit_parser] fix whitespace issues 2016-10-23 00:56:39 +02:00
sumpfralle
207f801148 Merge pull request #718 from szepeviktor/munin-events
Added munin_events plugin
2016-10-22 23:30:50 +02:00
Viktor Szépe
e7bcfec037 Modify munin_events following intrustions from @sumpfralle 2016-10-22 18:44:20 +00:00
sumpfralle
ba7a7f6bbb Merge pull request #686 from benpro/master
fr24 - Plugin to monitor your flightradar24.com feeder.
2016-10-22 14:04:57 +02:00
Lars Kruse
09d9f32e71 [mpdstats_] allow unconfigured usage (all stats) 2016-10-22 13:43:31 +02:00
Lars Kruse
380c4a9ea5 [mpdstats_] use 'which' for finding 'nc' 2016-10-22 13:41:58 +02:00
Lars Kruse
d6ea0c926d [mpdstats_] remove "-q" from netcat call (Closes: 576) 2016-10-22 13:17:34 +02:00
Lars Kruse
2db4f2ca56 [cpubyuser] switch from bash to sh 2016-10-22 04:03:35 +02:00
Lars Kruse
85d91b50f4 [cpubyuser] fix whitespace 2016-10-22 04:02:49 +02:00
Lars Kruse
8280dbb0f5 [cpubyuser] improve parsing for long usernames (Closes: #757)
"ps" abbreviates long username - thus we prepare a separate mapping
2016-10-22 03:59:22 +02:00
Lars Kruse
5bec8ec6b5 [cpubyuser] improved top output without header 2016-10-22 03:55:45 +02:00
Lars Kruse
391a4bfa41 [cpubyuser] user constant for magic 'others' user 2016-10-22 03:52:05 +02:00
Lars Kruse
4b21d58195 [cpubyuser] expand magic 'ALL' user before config 2016-10-22 03:50:32 +02:00
Lars Kruse
6f7473b2a7 [cpubyuser] proper 'no' output for autoconf 2016-10-22 02:09:43 +02:00
Lars Kruse
002e8bbf99 [cpubyuser] clear variable names 2016-10-22 01:54:57 +02:00
Lars Kruse
a465880501 [cpubyuser] simplify AREASTACK usage 2016-10-22 01:54:24 +02:00
Lars Kruse
78f4e42d21 [cpubyuser] use 'clean_fieldname' instead of incomplete substitution (Closes: #757) 2016-10-22 01:48:36 +02:00
sumpfralle
54580bf7a9 Merge pull request #742 from asciiphil/senderbase
SenderBase Plugin
2016-10-22 01:10:36 +02:00
sumpfralle
40396dba7f Merge pull request #586 from lelutin/mysql_conn_per_user-system_user
mysql_connections_per_user: skip internal user "system user"
2016-10-21 01:53:44 +02:00
sumpfralle
78dea36c9c Merge pull request #648 from akorn/master
plugins/virtualization/vserver/vserver_jiffies: several enhancements (but zsh)
2016-10-21 01:45:00 +02:00
sumpfralle
6e6648b4ab Merge pull request #723 from sumpfralle/network-wifi-signal-noise
network: new wifi_signal_noise_ plugin for signal strength and noise
2016-10-21 01:32:30 +02:00
Lars Kruse
53135f5f5d network: new wifi_signal_noise_ plugin for signal strength and noise
This new plugin offers the following advantages compared to the existing wifi_signal plugin:
* support multiple wifi peers (e.g. mesh mode or master mode with multiple clients)
* use "iwinfo" or "iw" for information retrieval (instead of Linux's procfs)
2016-10-21 01:05:55 +02:00
sumpfralle
1e4e61941c Merge pull request #687 from smith153/master
Fix plugins:  QOS, modem-nvg510 and weather/temperature_
2016-10-21 01:00:42 +02:00