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

2446 Commits

Author SHA1 Message Date
Steve Schnepp
9901e00140 p/multicpu1sec-c: keep the files open 2015-05-26 20:56:57 +00:00
Steve Schnepp
2db160e268 p/multicpu1sec-c: use posix IO instead of stdlib 2015-05-26 20:50:26 +00:00
Michel Albert
d6465721f3 Stack postfix mailqueues instead of overlapping.
It is very hard to see the real values in the postfix queue when they
are overlapping. Having a stacked graph eleviates this whil still
retaining all the necessary data.
2015-05-26 16:01:48 +02:00
Michel Albert
a8e524449d Plugin runs, even if no access to list DBs.
If the user as whom "munin" connects has no rights to list existing DBs,
the plugin crashes. Even though the rest of the code is OK. Listing DBs
is only necessary in the case of auto-configuring the plugin. Not for
running it.

This removes the line which causes the bug. The variable which is set in
this line is anyway not used.
2015-05-26 15:52:44 +02:00
Stig Sandbeck Mathisen
a52f8e49c9 Merge pull request #619 from smith153/master
Add modem-nvg510
2015-05-26 11:01:03 +02:00
Samuel Smith
ab215a5436 Add autoconf support 2015-05-25 16:08:34 -05:00
Stig Sandbeck Mathisen
4f6929be39 Merge pull request #617 from HeisSpiter/master
cyrus-imapd:
2015-05-23 21:12:42 +02:00
Samuel Smith
98afc91e34 Add modem-nvg510
Tracks most stats reported from NVG510 DSL modems
2015-05-23 12:19:47 -05:00
Stanislav Kopp
5715bb2408 fixed regex for "vm_name" resolv, so VMs with dash in the name will be
displayed correctly
2015-05-21 15:40:11 +02:00
Pierre Schweitzer
888d91f4e6 cyrus-imapd:
First, try to look for proc_path: config parameter.
If it doesn't exist, fallback to old method, and extrapolate the configdirectory: config parameter
2015-05-20 15:24:30 +02:00
amichel
c147534385 Change interpreter to bash, [[ is just better 2015-05-16 01:59:27 -07:00
Adam Michel
26cac8f856 Forgot to use abstracted variables for stat files 2015-05-15 17:36:57 -07:00
Adam Michel
940fe45145 Refactor of variable assignment method 2015-05-15 17:28:14 -07:00
amichel
7f928fb5fb Re-submit zfsonlinux_stats_ 2015-05-15 10:16:14 -07:00
Stig Sandbeck Mathisen
1a3bfee654 Merge pull request #595 from Zumata/master
Fixed typo in rabbitmq_queue_memory
2015-05-05 13:49:12 +02:00
Stig Sandbeck Mathisen
2fa45511c6 Merge pull request #563 from elfurbe/zfs_list
Zfs list
2015-05-05 13:48:36 +02:00
Stig Sandbeck Mathisen
c39ff9fe6d Merge pull request #562 from elfurbe/zfsonlinux_stats_
Added zfsonlinux_stats plugin
2015-05-05 13:48:16 +02:00
Stig Sandbeck Mathisen
4df8dcdba8 Merge pull request #549 from roobre/master
Fixed sent/received count and replaced wc -l with -c
2015-05-05 13:47:54 +02:00
Stig Sandbeck Mathisen
387652afa5 Merge pull request #597 from sugamasao/sugamasao-patch-1
unicorn_ "unicorn_rails" process not working
2015-05-05 13:43:36 +02:00
Stig Sandbeck Mathisen
f5e4c2d36c Merge pull request #606 from leeclemens/fix_php_apc_grammar
Make capitalization and grammar consistent
2015-05-05 13:42:59 +02:00
Stig Sandbeck Mathisen
d32dbf230a Merge pull request #612 from googley/master
fix old wrong variable
2015-05-05 13:41:41 +02:00
Stig Sandbeck Mathisen
b6bec53396 Merge pull request #613 from mittyorz/disk/raid/refactor
refactoring, bugfix and enhancement for disk/raid plugin
2015-05-05 13:38:08 +02:00
Ken-ichi Mito
48d0a2e2b0 fix - remove error message, fetch correct count source
* redirect error message of `ls` to /dev/null
* fetch mismatch_cnt to get correct count

* https://www.kernel.org/doc/Documentation/md.txt
  * sync_completed: the number of sectors that have been completed
  * mismatch_cnt: the number of errors that are found
2015-05-05 01:02:49 +09:00
Ken-ichi Mito
6284302ae1 enhancement - fetch remaining time of array rebuilding and show them on config
* add info about remaining time, read-only status
 * change label to follow b39d26e
2015-05-04 18:47:10 +09:00
Ken-ichi Mito
760b14f554 enhancement - use only /proc/mdstat, stop using /sbin/mdadm
* mdadm needs super-user privileges, but /proc/mdstat is readable for nobody
 * fetch an array state from mdstat 'reshape|check|resync|recovery'
  * reshape, recovery: rebuilding array -> set percent to _rebuild.value
  * check, resync: data scrubbing or mirror rebuilding => set percent to _check.value
   * resync=DELAYED|PENDING => set both to zero, because details are unknown even if using mdadm

 * more info about /proc/mdstat => kernel src:/drivers/md/md.c, md_seq_show()
2015-05-04 18:45:46 +09:00
Ken-ichi Mito
9845279a30 fix - mdadm has '--readonly' option to make the array 'active (read-only)' 2015-05-04 18:11:13 +09:00
Ken-ichi Mito
2670e4dc26 refactoring - split a single regex matching to three matchings
* one line regular expression matching to multiline text is a bit hard to picture
 * apply regular expressions to each line
  * first line should like "active raid1 sda1[0] sdc1[2] sdb1[1]"
  * second line should like "123456 blocks super 1.2 [2/2] [UU]"
  * third line will appear when the array is in action
2015-05-04 18:09:13 +09:00
Ken-ichi Mito
2e0acaca2b refactoring - replace TAB with 8 spaces, use lexical variable for file handle
* reduce indentation of local($/)
2015-05-04 14:56:30 +09:00
Élie
2848fee19d fix old wrong variable 2015-04-29 11:28:38 +02:00
Foxlik
22621b6a8b mongo_collection_ to track per-database statistics
Modified version of plugins from https://github.com/pcdummy/mongomon that composes all the plugins into one script.
It works fine, but still leaves a room for future improvement if anyone is interested.
2015-04-17 12:50:25 +02:00
Wouter Verhelst
9fd750dfc4 zfs-filesystem-graph: remove --upper-limit
Providing a --upper-limit parameter is only useful if the size of the
filesystem never changes. On ZFS, this assumption is only true for the
zpool; for all other filesystems, the available space is shared, and the
totalled values will vary. When this is the case, the --upper-limit
parameter will obscure peaks in the graph.
2015-04-15 23:53:38 +02:00
Lee Clemens
edff2bdc5c Make capitalization and grammar consistent 2015-04-15 12:14:52 -04:00
Steve Schnepp
7d88587fb6 multicpu1sec-c: use plain POSIX instead of stdlib
As it will be used every second, we should limit the overhead
2015-03-31 22:17:16 +00:00
Steve Schnepp
6ed404cbc9 multicpu1sec-c: ignoring generated files 2015-03-31 20:33:54 +00:00
Stig Sandbeck Mathisen
4a6b17b7bd Merge pull request #594 from rrzefox/new_allnet_plugin
new plugin for monitoring allnet ip sensoric devices (e.g. ALL4500)
2015-03-26 21:01:51 +01:00
Mikel Olasagasti Uranga
ec4951b732 Add wasted memory to the graph, now the sum is always the total assigned memory 2015-03-26 19:03:11 +01:00
Mikel Olasagasti Uranga
2ad552cb04 Normalize php's plugin categories 2015-03-25 15:13:27 +01:00
Jason Woods
8fef176a3e Add TITLE_PREFIX to redis_ 2015-03-16 12:54:21 +00:00
Steve Schnepp
c10abbef57 Merge pull request #602 from AronNovak/backup
General purpose backup monitoring plugin
2015-03-15 10:05:50 +01:00
Stig Sandbeck Mathisen
f05e3897d5 Merge pull request #601 from sugamasao/feature-unicorn-change-pid-name
unicorn_memory_status/unicorn_status change pid name
2015-03-14 21:03:45 +01:00
Stig Sandbeck Mathisen
3aec3d5d3d Merge pull request #600 from driskell/feature/vsftpd_improvements
Improve vsftpd plugin
2015-03-14 19:46:36 +01:00
Steve Schnepp
1c9ed0d94b Merge pull request #598 from dotdoom/upstream
Update jabber/network plugins
2015-03-12 22:11:29 +01:00
Jason Woods
b315a1c8c2 Improve vsftpd plugin
- Allow log file path to be configured via plugin-conf.d env.logfile
- Add counters for successful and failed renames
- Switch to use DERIVE and min 0 to fix problems during rotation and show request counts per period
- Improve performance for large log files by using awk
2015-03-12 16:16:04 +00:00
Aron Novak
6e714d7286 General purpose backup monitoring plugin
If you have a directory where daily, weekly, monthly you generate
backups of files, SQL databases, etc, you might want to be informed
if the backup generation process is gone or the behavior changes
greatly. This monitoring plugin watches the number of young files
in a certain directory. Relies on find command to do the job.
2015-03-11 16:34:59 -04:00
Mike O'Driscoll
78bb6f750b Removing erroneous line from mtr output.
Newer versions of mtr outputs a "Start: <date here>" line which would be
picked up and incorrectly graphed in munin. Adding an additional inverse grep
field to remove this extra line if it is present. Also added case insensitive
flag to the grep.
2015-03-11 11:10:01 -04:00
Artem Sheremet
01ae710b24 Fix logic of ping plugin default behavior (-w 2) 2015-03-11 12:25:20 +01:00
Artem Sheremet
b518af0f69 ejabberd_resources: add mnesia table info support 2015-03-11 12:25:20 +01:00
Artem Sheremet
85072bf99d Update ejabberd_resources_* to use erl_call 2015-03-11 12:25:20 +01:00
Ingo Oppermann
50cb217cfe Set order for objects and expunge 2015-03-10 16:30:33 +00:00
Ingo Oppermann
7041db3964 Fix hit rate calculation
In varnish4, purges are counted as client_req but not as hit or miss anymore.
This fix recalculates client_req based on cache_(hit|miss|hitpass).
2015-03-10 16:30:33 +00:00
Ingo Oppermann
de86866b02 Fix typos in installation instruction 2015-03-10 16:30:33 +00:00
Léo POIROUX
47a99e02ee Quotes error
syntax error at /etc/munin/plugins/varnish_bans line 925, near """ defined"
2015-03-10 16:27:39 +00:00
Léo POIROUX
cc15e33453 Bugfix warning messages
Odd number of elements in hash assignment at /etc/munin/plugins/varnish_bans line 884.
Use of uninitialized value $ident in hash element at /etc/munin/plugins/varnish_bans line 927.
2015-03-10 16:27:39 +00:00
Léo POIROUX
d658c583e8 Quotes error
syntax error at /etc/munin/plugins/varnish_bans line 925, near """ defined"
2015-03-10 16:22:54 +00:00
Léo POIROUX
ed8a615e55 Bugfix warning messages
Odd number of elements in hash assignment at /etc/munin/plugins/varnish_bans line 884.
Use of uninitialized value $ident in hash element at /etc/munin/plugins/varnish_bans line 927.
2015-03-10 16:22:54 +00:00
sugamasao
d2529b0cb4 unicorn_memory_status/unicorn_status change pid name
User to be able to change the pid name
fixed at “unicorn.pid, but can be changed
use `env.pid_name my_unicorn.pid`
2015-03-10 09:52:45 +09:00
sugamasao
9b36f418fa unicorn_ "unicorn_rails" process not working
`grep "unicorn worker` is unicorn_rails process not match.

I want to match the `unicorn` or 'unicorn_rails'
2015-03-09 17:21:32 +09:00
Steve Schnepp
acad90146d Merge pull request #596 from steveschnepp/multicpu1sec-c
Multicpu1sec c
2015-03-08 20:35:47 +01:00
Steve Schnepp
308ba4757e multicpu1sec-c: use the env vars for tmp file paths 2015-03-08 18:58:49 +00:00
Stig Sandbeck Mathisen
cb9544f409 Merge pull request #566 from laserb/master
modified data_url for firmware >= 6.20
2015-03-06 11:16:04 +01:00
Vladimir Ryazanov
d60ad39762 fixed default values for rabbitmq_queue_memory 2015-03-05 18:42:20 +08:00
Vladimir Ryazanov
c18c1863cf relatively more reasonable default values for rabbitmq_queue_memory 2015-03-05 18:27:34 +08:00
Vladimir Ryazanov
c4220bde5f Fixed typo in rabbitmq_queue_memory 2015-03-05 17:22:09 +08:00
Michael 'PoempelFox' Meier
23f3138c8e new plugin for monitoring allnet ip sensoric devices (e.g. ALL4500) 2015-03-04 15:58:48 +01:00
Michael 'PoempelFox' Meier
b3ac512550 fix naming of lustre plugins.
- in one case there was a typo in the filename (inDodes instead of inodes)
- in the other two cases, make the naming consistent.
2015-03-04 11:02:22 +01:00
Steve Schnepp
99d3a42627 multicpu1sec-c: fix the /proc/stat parsing 2015-03-04 00:00:05 +00:00
Steve Schnepp
79f72b87fb multicpu1sec-c: fix value (remove idle) 2015-03-03 23:17:23 +00:00
Steve Schnepp
16b017fcd7 multicpu1sec-c: handle fork 2015-03-03 23:16:41 +00:00
Steve Schnepp
b0e8dcea39 multicpu1sec-c: using DERIVE
We just delegate the whole CPU % computing to RRD
2015-03-03 22:48:20 +00:00
Steve Schnepp
4a9b0e4796 multicpu1sec-c: remove debugging statements 2015-03-03 22:43:39 +00:00
Steve Schnepp
339bfec68f multicpu1sec-c: adding locking to avoid races 2015-03-03 22:40:37 +00:00
Steve Schnepp
6dec8c3357 multicpu1sec-c: opening the file r/w to truncate it 2015-03-03 22:35:46 +00:00
Steve Schnepp
c86e4ab2fd multicpu1sec-c: implement the "fetch" cmd 2015-03-03 22:29:41 +00:00
Steve Schnepp
9ac74f8d9b multicpu1sec-c: implement the "acquire" cmd 2015-03-03 22:28:37 +00:00
Steve Schnepp
81e9ffca94 plugins: adding C version of multicpu1sec 2015-03-03 18:24:14 +00:00
Stig Sandbeck Mathisen
a70f7e48b2 Merge pull request #553 from vlajos/typofixes-vlajos-20141204
typofixes - https://github.com/vlajos/misspell_fixer
2015-03-02 23:11:18 +01:00
Veres Lajos
fba800ae52 typofixes - https://github.com/vlajos/misspell_fixer
Suspicious sections:
plugins/mail/postfix_mail_stats		recieved.label
plugins/nginx/nginx_vhost_traffic
2015-03-02 11:51:38 +00:00
Stig Sandbeck Mathisen
6be526dba5 Merge pull request #577 from ercpe/fix-firebird-gstat-path
Fixed firebird plugin:
2015-03-02 12:49:41 +01:00
Stig Sandbeck Mathisen
6cfc863d4a Move to plugins/other 2015-03-01 23:27:53 +01:00
Arran Cudbard-Bell
31ad4788f4 Add freeradius packet queue plugin 2015-03-01 23:25:12 +01:00
Stig Sandbeck Mathisen
6e867cad87 Move to plugins/security 2015-03-01 23:14:50 +01:00
Stig Sandbeck Mathisen
0e73a06465 Use #!/usr/bin/env python 2015-03-01 23:10:16 +01:00
Lee Clemens
7028ede47f Add example-graphs for fail2ban_ 2015-03-01 23:07:48 +01:00
Lee Clemens
c91df8ccc9 Include graph_total as current fail2ban plugin does 2015-03-01 23:07:48 +01:00
Lee Clemens
a11e32ff40 Add fail2ban_ wildcard plugin for extended status 2015-03-01 23:07:48 +01:00
Steve Schnepp
eeaf47c6b2 Merge pull request #584 from rrzefox/updatesnmpupsplugin
overhaul of snmp__ups_ plugin.
2015-02-27 17:49:50 +01:00
Steve Schnepp
983d37a2a1 Merge pull request #585 from rrzefox/newsnmprms2
new plugin for monitoring Knuerr RMS Compact II rack monitoring units
2015-02-27 17:48:53 +01:00
Kenyon Ralph
578652fc1c Merge pull request #583 from caseycs/mysql_slave_alerts
add mysql slave alerts
2015-02-24 12:17:10 -08:00
sokai
c4e1760c5a small update of README.md
* reflects changes of @ssm (commit c4c0a9872c, 5 Oct 2014)
* added path and command examples for installation
2015-02-22 14:40:21 +01:00
Michael 'PoempelFox' Meier
94438298d1 new plugin for monitoring Knuerr RMS Compact II rack monitoring units 2015-02-13 17:18:36 +01:00
Michael 'PoempelFox' Meier
7a306e6223 overhaul of snmp__ups_ plugin.
Changes:
- More queries supported (inputpower, batterycurrent, batteryruntime (how long
  have we been running on battery), batterypercent (percent remaining),
  inputlinebads (how often was input bad))
- fix a few wrong units (e.g. current is measured in amp, not in watt)
- some UPSes violate RFC 1628 by not returning the number of input-/
  output-lines they have. In this case assume 3 lines instead of 0
  (and just printing nothing at all).
- Make mode parameters all lowercase instead of camelcase - camelcase
  just looks retarded in the plugin-symlink-names.
- some more smaller fixes
2015-02-13 16:58:26 +01:00
Ilia Kondrashov
11971e9f39 add mysql slave alerts 2015-02-11 16:06:28 +01:00
Steve Schnepp
323b4a7937 Merge pull request #582 from bashgeek/master
Enhance nginx_error plugin
2015-02-05 11:13:04 +01:00
Daniel Schmitz
2338b83eb3 Changed log split counter back to default value 2015-02-05 13:54:24 +08:00
Daniel Schmitz
37a7317c1d Read file one time and sort counts into array instead of reading log file for each status code again 2015-02-05 13:44:53 +08:00
Christian Beer
c098ee86fa update the ossec plugin
- harmonize the coding style of the three scripts
- harmonize the label names and file names with other popular plugins
- fix active_response script to use correct date format
2015-02-04 17:24:37 +01:00
Steve Schnepp
375621b4ba Merge pull request #569 from leeclemens/revert-534-master
Revert "Avoid bashism"
2015-02-03 13:16:01 +01:00
Steve Schnepp
0115be09d0 Merge pull request #575 from HeisSpiter/master
Fix a typo in IPv6 handling which was actually leading to totally ignore...
2015-02-03 13:15:29 +01:00
Steve Schnepp
4466215669 Merge pull request #578 from letompouce/master
mpdstats_: fix example documentation.
2015-02-03 13:15:06 +01:00
Thor77
0ec85268c4 add readme 2015-02-02 13:48:46 +01:00