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

290 Commits

Author SHA1 Message Date
Nye Liu
21572e11a5 Add the documentation in to the script. Should have gone with previous commit. 2016-11-16 18:25:53 -08: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
Nye Liu
49b79ca228 Embed tc_ pod documentation into the plugin itself 2016-11-05 21:08:01 -07: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
4d5e6564b3 Merge pull request #739 from RubenKelevra/patch-2
plugins: network/udp-statistics: added more fields
2016-10-29 05:05:41 +02:00
@RubenKelevra
50c13da584 [udp-statistics] rename 'errors' field, add more fields 2016-10-29 02:27:36 +02: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
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
sumpfralle
1fc1d7526d Merge pull request #590 from dgilman/master
vnstat_month: suppress warnings in perl 5.18+
2016-10-17 03:18:24 +02:00
sumpfralle
9d14b92df4 Merge pull request #662 from farrokhi/master
Fix fieldname matching and correctly draw inout graphs [pf_table_ plugin]
2016-10-17 00:45:21 +02:00
Steve Schnepp
7d7925e40f Merge pull request #664 from sumpfralle/network-olsrd
new network plugin added: olsrd
2016-10-08 13:52:06 +02:00
Steve Schnepp
6cf51e58f2 Merge pull request #663 from sumpfralle/network-wifi-occupation
new network plugin added: wireless_channel_occupation
2016-10-08 13:49:21 +02:00
Steve Schnepp
b44373a12f Merge pull request #668 from sumpfralle/network-wireless-ath9k
network: wireless ath9k
2016-10-08 13:49:03 +02:00
Steve Schnepp
163d209b8d Merge pull request #634 from darac/topic-zenus
zenus_: Handle "unlimited" accounts
2016-10-08 13:46:36 +02:00
Tomaz Solc
316a59e156 dhcp-pool: Fix off-by-one error in pool size.
"range" statement gives the lowest and highest IP addresses (both
inclusive) in a pool. dhcp-pool did not count the highest address
when calculating pool size.
2016-10-01 11:25:02 +02:00
Tomaz Solc
a582c4bae2 dhcp-pool: Ignore comments in conffile.
This prevents dhcp-pool from detecting commented-out "range"
statements.
2016-10-01 11:24:58 +02:00
Samuel Smith
6eeb457fc2 Use longer timeout. 2016-08-08 21:59:01 -05:00
Samuel Smith
0602fba8ac Replace digit regex.
Sometimes a digit column is blank and thus fails to be grabbed by the
old regex. Just grab all of them and index as such.
2016-08-08 21:56:15 -05:00
Samuel Smith
56aa139205 Merge remote-tracking branch 'upstream/master' 2016-08-08 21:52:51 -05:00
Tomas Mudrunka
717f083de7 autodetect ipset 2016-08-01 16:58:20 +02:00
Tomas Mudrunka
d4b97724e2 added graph for netfilter ipset 2016-07-29 17:57:43 +02:00
Kjetil Torgrim Homme
5ff3522ecc if1sec_: implement autostart, be more like if_
* look for already running acquire process, or start one
 * use CDEF to return bits/second (like if_)
 * increase lifetime to 450 days (like if_)
 * changed category to plain "network" (like if_)
 * report max interface speed (like if_)
 * small performance improvement: don't fork two cat(1) and one date(1) every second
   (this roughly halves the CPU time used on my system)
2016-07-18 17:30:39 +02:00
David Gilman
807ba302f6 vnstat_month: suppress warnings in perl 5.18+ 2016-05-28 00:24:53 -05:00
Samuel Smith
6b94ef0284 Change to DERIVE.
Values can return to 0 on service restart which COUNTER data store will not handle well.
2016-01-17 16:31:35 -06:00
Samuel Smith
b47505cef2 Correct graph_vlabel to data type. 2016-01-15 00:45:54 -06:00
Samuel Smith
74aa84d51a Remove unneeded sort
Parsed data is already sorted.
2016-01-14 22:59:15 -06:00
Samuel Smith
87efe7091b Ignore sfq child classes for configure. 2016-01-14 21:36:14 -06:00
Samuel Smith
999f43474e Ignore sfq child classes.
Normal rate monitoring should be preformed on parent HTB classes/queues.

SFQ classes are dynamically allocated (as queues fill) and given random names and this messes up charts.
2016-01-14 21:20:07 -06:00
Samuel Smith
0553d6c2d0 Fix undef string compare.
Guard against $type not defined.
2016-01-14 21:18:59 -06:00
Samuel Smith
381101d222 Ignore sfq child classes.
Normal rate monitoring should be preformed on parent HTB classes/queues.

SFQ classes are dynamically allocated (as queues fill) and given random names and this messes up charts.
2016-01-14 21:14:40 -06:00
Lars Kruse
612ebf5ae9 safely hide the python code part from shell parsers
This works around a syntax warning emitted by the continuous integration
tool.
This commit encloses the python part of the hybrid shell / python script
within a "here" document.
2015-10-30 05:57:24 +01:00
Lars Kruse
14ff36a31c hide the python code part from shell parsers
This works around a syntax warning of the continuous integration system.
The cause of this warning could have never triggered anyway.
This commit encloses the whole python code safely in a "here" document.
2015-10-30 05:23:46 +01:00
Lars Kruse
3509d2a6ed remove python 2 compatibility due to widespread use of "yield from" 2015-10-30 05:23:16 +01:00
Lars Kruse
ec55d6cce2 new network plugin added: ath9k
Collect information related to ath9k wireless events and states.
 * rate control statistics ("rc_stats")
 * events (dropped, transmitted, beacon loss, ...)
 * traffic (packets, bytes)

All data is collected for each separate station (in case of multiple
connected peers). Combined graphs are provided as a summary.
2015-10-30 05:21:10 +01:00
Lars Kruse
1c281c61d9 new network plugin added: olsrd
Collect basic information about the neighbours of an OLSR node:
 * link quality
 * neighbour link quality
 * number of nodes reachable behind each neighbour
 * ping times of direct neighbours

OLSR is a routing protocol (layer 3).
2015-10-29 04:04:59 +01:00
Lars Kruse
4de0ceb073 new network plugin added: wireless_channel_occupation
This plugin tracks the occupation of the shared medium (wifi channel).
It uses the "iw" tool for extracting the time slices spent by
the wireless driver receiving, transmitting or ignoring (noise) on the
current channel. This ratio is a good indication for the remaining
capacity of the shared communication medium.
2015-10-29 04:03:52 +01:00
Babak Farrokhi
1724ae2504 - Fix matching table names that include "-" charachter
- Fix drawing graph for inout graphs
2015-10-28 14:42:10 +03:30
Kenyon Ralph
09f85f64a1 Merge pull request #650 from lduchosal/master
pf_tables : Munin plugin to monitor pf tables.
2015-10-27 11:09:59 -07:00
lduchosal
51b962245a Wildcard-plugin to monitor arp on interfaces on BSD 2015-09-24 08:35:44 +02:00
lduchosal
d153fc8a4f pf_tables : Munin plugin to monitor pf tables.
Inout: bandwidth usage for table
Addresses: number of entries in table
2015-09-24 08:07:18 +02:00
stimpy23
12ee36319e Updated to v0.2
Updated to match the outputs of current ice- and shoutcast versions...
2015-09-22 12:33:13 +02:00
Paul Saunders
5c671ba157 zenus_: Let's try fixing that compilation error again 2015-07-20 11:03:25 +01:00
Paul Saunders
73c0ad7797 zenus_: Correct compilation errors when Logger not available 2015-07-20 10:46:58 +01:00
Paul Saunders
fe2707654f zenus_: Handle "unlimited" accounts 2015-07-20 10:35:43 +01:00
Samuel Smith
ab215a5436 Add autoconf support 2015-05-25 16:08:34 -05:00
Samuel Smith
98afc91e34 Add modem-nvg510
Tracks most stats reported from NVG510 DSL modems
2015-05-23 12:19:47 -05:00
Steve Schnepp
1c9ed0d94b Merge pull request #598 from dotdoom/upstream
Update jabber/network plugins
2015-03-12 22:11:29 +01: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
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
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
Pierre Schweitzer
14d5c7ef72 Fix percent graph generation for weekly & monthly views 2015-01-26 17:23:36 +01:00
Pierre Schweitzer
ee35f9be36 Fix a typo in IPv6 handling which was actually leading to totally ignore IPv4 traffic. 2015-01-26 10:17:12 +01:00
Pierre Schweitzer
acb1dfb0a4 Use MUNIN_STATEFILE env variable to support multiple masters instead of own made.
Suggested by Steve Schnepp
2015-01-22 10:46:21 +01:00
Pierre Schweitzer
be7d3f8249 Fix regexp in case iptables returns huge numbers. It may not have spaces at the begin of the line.
Make use of state file so that the plugin doesn't show an increasing jauge, but a current network usage
2015-01-21 18:16:27 +01:00
Raphael Freudiger
d0b57b8f9f modified data_url for firmware >= 6.20 2015-01-02 16:26:49 +01:00
Stig Sandbeck Mathisen
ff4c91acb8 Place "use threads" within "eval" to make it pass syntax checks on travis-ci 2014-10-05 20:38:16 +02:00
Stig Sandbeck Mathisen
cd6dafa842 Rewrite hard-to-read shell oneliner 2014-10-05 14:41:16 +02:00
Stig Sandbeck Mathisen
6281364b67 use "trap" to remove temporary file 2014-10-05 14:40:19 +02:00
Stig Sandbeck Mathisen
e586cd5cb4 remove "-rauto_gem" from hashbang 2014-10-05 12:56:45 +02:00
Stig Sandbeck Mathisen
abe9f3b6ee Use UNIX line breaks 2014-10-04 21:45:45 +02:00
Stig Sandbeck Mathisen
977d987f35 Use /bin/bash as interpreter, and store with UNIX line breaks 2014-10-04 21:44:29 +02:00
Stig Sandbeck Mathisen
0463ac1060 Set /bin/bash as interpreter for bash script 2014-10-04 20:03:03 +02:00
Stig Sandbeck Mathisen
047358a0bc Use sh "=" comparison, instead of bash "==" 2014-10-04 20:02:19 +02:00
Stig Sandbeck Mathisen
ae84b39f3b Use /bin/bash for bash script
("echo -en" is a bash feature)
2014-10-04 20:01:25 +02:00
Stig Sandbeck Mathisen
41fedbb267 Use /bin/bash for bash script, and save with UNIX line breaks 2014-10-04 19:59:02 +02:00
Stig Sandbeck Mathisen
685a58d863 Use /bin/bash on bash script 2014-10-04 19:57:39 +02:00
Stig Sandbeck Mathisen
b8d75e80e8 Use UNIX line breaks 2014-10-04 19:56:19 +02:00
Stig Sandbeck Mathisen
614b043a32 Set /bin/bash as interpreter on bash script 2014-10-04 19:54:23 +02:00
Kenyon Ralph
450925ad07 Merge pull request #523 from someuser89/master
network – arp_
2014-09-24 14:01:22 -07:00
Martin Ness
3f0845af2b arp_ well-sorted 2014-09-24 05:03:30 +02:00
Steve Schnepp
4ebcba78a2 Merge pull request #506 from McKay1717/master
Add Bandwidth Test whith a file on a reference server in OVH network
2014-09-17 09:46:33 +02:00
Steve Schnepp
9720e93db0 Merge pull request #501 from tdumitrescu/proc-netstat
proc/net/netstat plugin
2014-09-17 09:26:14 +02:00
Steve Schnepp
3868b54696 Merge pull request #500 from tdumitrescu/ethtool
ethtool_ plugin
2014-09-17 09:25:54 +02:00
Martin Ness
0d718aadc3 arp_ less processes 2014-09-13 22:26:10 +02:00
Martin Ness
2d0c82de81 arp_ wspace fix 2014-09-13 22:10:22 +02:00
Martin Ness
36dbfa1b28 arp_ sh lint 2014-09-13 22:03:45 +02:00
Steve Schnepp
24e77a2624 Merge pull request #522 from zarnovican/linux_if
Initial commit of linux_if plugin
2014-09-09 15:06:28 +02:00
Gabriele Pohl
81db94e2d3 Reduce number of categories 2014-09-07 14:20:12 +02:00