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

2909 Commits

Author SHA1 Message Date
Diver
337919b6d4 Added OE version 2017-01-19 22:22:01 +03:00
Diver
774793c004 Fixed spaces to tabs 2017-01-19 22:07:01 +03:00
Diver
a58ecbc002 member_elements to member_elements_by_line, element to elements_array 2017-01-19 21:59:15 +03:00
Diver
d18b942aad Preferring bash math instead of cdef 2017-01-19 21:47:49 +03:00
Diver
5d2c0cfb89 Documentation 2017-01-19 21:05:05 +03:00
Diver
9de5e7c974 Bugfixes after fixes 2017-01-19 20:25:10 +03:00
Diver
30d660096d 'value 0' comment 2017-01-19 03:33:44 +03:00
Diver
cc66cae131 get_answer_field 2017-01-19 03:32:27 +03:00
Diver
2e02ddc6c7 uniform indentation style for here-documents 2017-01-19 03:13:51 +03:00
Diver
f3cd750a41 Filtering LUNs 2017-01-19 03:10:26 +03:00
Diver
7afdf5dc71 Filtering LUNs 2017-01-19 03:10:03 +03:00
Diver
adc7b71e2a Indentation 2017-01-19 02:51:55 +03:00
Diver
51e003fe8f renamed ssh_check 2017-01-19 02:48:58 +03:00
Diver
9171751df6 Fixed documentation 2017-01-19 02:42:53 +03:00
Diver
d100d2409b More fixes 2017-01-19 02:27:39 +03:00
Diver
6e8b2b3fea clean_fieldname 2017-01-19 02:07:21 +03:00
Diver
b0123994ea graph_array from graphs2 2017-01-19 01:51:31 +03:00
Diver
45b310c539 Not using cdef for multiplying kilobyted to bytes 2017-01-19 01:38:40 +03:00
Diver
25c2f2c3e0 Stdout. run_remote 2017-01-19 01:26:18 +03:00
sumpfralle
b417a72020 Merge pull request #793 from null-git/patch-1
wordpress-multisite: wrong variable name
2017-01-14 13:28:14 +01:00
null-git
130466f129 changed variable name of network_size to match the documented networksize 2017-01-14 12:33:34 +01:00
sumpfralle
f211b0902d Merge pull request #694 from null-git/patch-1
wordpress-multisite
2017-01-14 03:59:32 +01:00
null-git
820ef5b009 better variable names, added option for length of blogid to sort multigraphs 2017-01-13 20:32:31 +01:00
null-git
d3de1a48de Fixed some syntax and perldoc 2017-01-12 15:10:54 +01:00
sumpfralle
6789469625 Merge pull request #751 from OPENevents/master
Add Chilli plugin for sessions state
2017-01-10 17:28:33 +01:00
Guillaume Marsay
5ee7111186 Fix typo 2017-01-10 08:50:08 +01:00
Guillaume Marsay
1ded68fc87 Update plugin 2017-01-10 08:48:19 +01:00
sumpfralle
ae9baed04a Merge pull request #651 from obma/p-fix-openweather_
p: fixing openweather_: replaced fgrep, tr, cut with expr
2017-01-08 23:57:26 +01:00
Lars Kruse
d8f12a6a81 removed "gitignore" files from various plugins
they were probably imported by mistake
2017-01-08 23:50:46 +01:00
obma
ef061fdd9e p: openweather_: typo 2017-01-08 21:39:40 +01:00
obma
f29c24554b p: fix openweather_: returned .label instead of .value for wind direction 2017-01-08 21:39:40 +01:00
obma
ae13ec95c4 p: fix openweather_: set correct name for multigraphs
Set 'plugin_name' with 'basename $0' and use this variable instead of $0 to avoid having the full path as name for the multigraphs.
2017-01-08 21:39:40 +01:00
obma
7d1ac56eae p: updating openweather_: replaced fgrep, tr, cut with expr
Use expr to extract values and names from the OpenWeather API xml instead of the - when using a city with spaces in its name not correctly working - fgrep | tr | cut construct.
2017-01-08 21:39:40 +01:00
sumpfralle
07428a0137 Merge pull request #792 from shtrom/http_load_-fix-long-domains
Http load  fix long domains
2017-01-08 02:44:09 +01:00
Olivier Mehani
ec0df0719d [http_load_] Fix issue with long domain name
Munin 1.0 supports fieldnames of at most 19 characters. For domain names
longer than that, this plugin simply truncate the names in its own cache
down to 19.

This creates an issue with the `response` graph, which appends the HTTP
status code to the hostname to make multiple variables. Truncating to
this string loses this information, leading to an empty graph.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-01-07 16:52:57 +11:00
sumpfralle
0519268272 Merge pull request #791 from staabm/patch-1
dont waste time by retrieving per script stats
2017-01-07 00:28:15 +01:00
sumpfralle
3f62a4b0f3 Merge pull request #674 from drzraf/change.org
change.org API: monitor signatures count for one (or various) petition(s) you own
2017-01-06 23:35:20 +01:00
Raphaël Droz
d47fc3adef renamed to changeorg_signature_count + generic name for cache file 2017-01-06 17:07:00 -03:00
Markus Staab
5b95369780 dont waste time by retrieving per script stats 2017-01-05 14:49:37 +01:00
Guillaume Marsay
7f3c3007a5 Update with "shellcheck -s dash" recommendations 2017-01-05 08:32:46 +01:00
Guillaume Marsay
cdd3955588 Update script 2017-01-05 08:26:00 +01:00
Raphaël Droz
97d4922ba7 fixed non-ascii characters inside petition title wheh running inside Munin 2017-01-05 03:11:29 -03:00
Raphaël Droz
4804aea0ec change.org API: monitor signatures count for one (or various) petition(s) you own 2017-01-05 02:30:46 -03:00
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