1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 10:39:53 +00:00
Commit graph

33 commits

Author SHA1 Message Date
Gabriel Filion
daba178eef relayd: permit commas between hosts in tables
relayd.conf(5) mentions the following:

  Each table must contain at least one host address; multiple hosts are
  separated by newline, comma, or whitespace.

So the addition of commas as separators should now cover all possible
cases.

Without this, hosts separated by commas in a table will show up with a
trailing comma in their host name and will probably not get their stats
correctly assigned when grabbing information from relayctl.
2020-02-02 05:16:53 +01:00
Gabriel Filion
065d4f129c relayd: avoid matching table defs within comments
if a table is commented out, you currently get an entry for the hosts
that the entry contains but you'll get NaN for those hosts all the time
if they are not defined elsewhere.

to avoid that we anchor our match to the beginning of lines and permit
leading spaces since some folks might like to indent lines.
2020-02-02 05:16:53 +01:00
Lars Kruse
63748dc665 plugin relayd: fix category spelling 2018-03-29 02:14:50 +02:00
Antoine Beaupré
256709738d fix backup value usage that broke when using clean values 2012-03-21 15:42:33 -04:00
Antoine Beaupré
678f3ed8a9 refactor: avoid repeating clean_field_name() code 2012-03-21 15:42:11 -04:00
Antoine Beaupré
acd97175b6 fix both display of incidents and usage of existing stats
we were not using the right key
2012-03-21 15:32:03 -04:00
Antoine Beaupré
03302b38aa do not set a lower limit for percentages, but a higher limit 2012-03-21 15:31:07 -04:00
Antoine Beaupré
6871dd842d remove non-instanced variable 2012-03-09 19:35:32 -05:00
Antoine Beaupré
849e68a858 explain how to configure logs 2012-03-09 19:32:38 -05:00
Antoine Beaupré
e2a069517f document the configuration file 2012-03-09 19:28:15 -05:00
Antoine Beaupré
10f90b04c3 explain why we read data we then discard 2012-03-09 19:27:29 -05:00
Antoine Beaupré
20191c2b0c proper yes 2012-03-09 19:25:48 -05:00
Antoine Beaupré
468d26f34f discard config file 2012-03-09 19:25:42 -05:00
Antoine Beaupré
b1c0367027 distinguish between open and close for pipe error messages 2012-03-09 19:24:50 -05:00
Antoine Beaupré
7fdf0482fa fix debug printing 2012-03-09 19:19:48 -05:00
Antoine Beaupré
70a119e8e5 add autoconf capability 2012-03-09 19:18:39 -05:00
Antoine Beaupré
e5ffe76311 stronger regex 2012-03-09 19:09:32 -05:00
Antoine Beaupré
93155c82ab remove warning 2012-03-09 19:09:15 -05:00
Antoine Beaupré
2275fef141 fixup: more parse error 2012-03-09 19:09:00 -05:00
Antoine Beaupré
1b3a25741b fix more syntax errors 2012-03-09 18:59:55 -05:00
Antoine Beaupré
9791e32178 fixup: remove the right stuff 2012-03-09 18:58:59 -05:00
Antoine Beaupré
9962245e93 remove dependency on logtail 2012-03-09 18:51:40 -05:00
Antoine Beaupré
dc02d80000 call need_multigraph() on top as this is what the module says 2012-03-09 18:48:05 -05:00
Antoine Beaupré
03b11d9257 use proper DEBUG variable from module 2012-03-09 18:46:53 -05:00
Antoine Beaupré
f3eca64eda move our plugin in a subdir, like the others 2012-03-09 18:42:38 -05:00
Antoine Beaupré
9f8061ff98 reindent with spaces 2012-03-09 03:43:01 -05:00
Antoine Beaupré
e8da2ee518 fix syntax 2012-03-09 02:57:20 -05:00
Antoine Beaupré
f6f1b07a92 properly escape value output 2012-03-09 02:57:19 -05:00
Antoine Beaupré
2fae403dd2 update todo 2012-03-09 02:25:40 -05:00
Antoine Beaupré
a3f989a9f2 get missing availability values from relayctl, if necessary 2012-03-09 02:25:39 -05:00
Antoine Beaupré
cd70960d1e prefix fieldnames in config too 2012-03-09 02:25:38 -05:00
Antoine Beaupré
99df8a0ed1 use parsed hosts all the time 2012-03-09 02:25:37 -05:00
Antoine Beaupré
97fd896837 relayd statistics support for munin 2012-03-09 02:25:35 -05:00