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

98 commits

Author SHA1 Message Date
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
Olivier Mehani
ef80db4bc1 [systemd] Remove half-baked suggest
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2016-10-25 21:21:24 +11:00
Olivier Mehani
dacc31d4b5 Merge pull request #1 from avian2/add-systemd
systemd: don't print out empty extinfo lines
2016-10-17 22:16:54 +11:00
Olivier Mehani
114016b461 [systemd] Warn on the first failed service
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2016-10-17 20:08:06 +11:00
Tomaz Solc
7f2ae83eb6 systemd: don't print out empty extinfo lines
This fixes warnings like this in munin-update.log:

[WARNING] 4 lines had errors while 8 lines were correct (33.
33%) in data from 'fetch systemd'
2016-10-03 18:29:40 +02:00
Olivier Mehani
160bd2f034 Add systemmd plugin counting units in each state
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2016-08-15 10:46:38 +10:00
Steve Schnepp
54becf68ca p/if1sec: initial add 2015-06-01 20:12:47 +00:00
Steve Schnepp
c5238dbc5f p/multicpu1sec-c: always exit(0) when successful 2015-05-30 08:43:22 +00:00
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
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
Steve Schnepp
308ba4757e multicpu1sec-c: use the env vars for tmp file paths 2015-03-08 18:58:49 +00: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
Pierre Schweitzer
772882eb57 Don't hardcode plugin state file location in auth plugin, use env variable defined by Munin instead 2014-12-11 13:27:03 +01:00
Stig Sandbeck Mathisen
632c24d0a9 Save with UNIX line breaks 2014-10-05 20:30:52 +02:00
Stig Sandbeck Mathisen
67470547f0 Use eval around hard-to-find perl modules 2014-10-05 01:28:29 +02:00
Stig Sandbeck Mathisen
8348cd2805 Use /bin/bash as interpreter for bash script
-  uses "echo -en" several places
2014-10-04 21:04:24 +02:00
Stig Sandbeck Mathisen
bebd78f74b Use /bin/bash as interpreter, and switch to UNIX line breaks 2014-10-04 21:03:22 +02:00
Steve Schnepp
ecbe89bd7a Merge pull request #517 from lwindolf/master
Fixes #470: emits warning: "bad ps syntax, perhaps a bogus
2014-08-26 14:18:03 +02:00
Lars Windolf
2741a6efc0 Fixes #470: emits warning: "bad ps syntax, perhaps a bogus 2014-08-18 22:56:41 +02:00
Steve Schnepp
ddc595889f Merge branch 'pull/469' 2014-03-22 13:43:54 +01:00
pascal
d824c7696f p/cpubyuser: get stats from top instead of ps
The top cpu statistics fit better to the other cpu statistics in munin.

The ps based statistics are calculated as average over the runtime of a
program, which does not neccessarily reflect the current situation.
2014-03-22 13:31:27 +01:00
Steve Schnepp
33c40d052a Merge remote branch 'pull/455' 2014-03-14 12:08:53 +01:00
Steve Schnepp
b7f5c3fd06 p/cpu_: fix test for guest_nice emptyness
The simple "=" is prefered to the "==" one, as we don't need to test numeric
values.
2014-03-14 11:58:19 +01:00
rkarlsba
67525b295f Update cpu_
some fixes for guest_nice
2014-03-09 19:45:54 +01:00
rkarlsba
a3d90c8fb0 Update cpu_
fixed /proc/stat parsing issues
2014-03-09 19:25:57 +01:00
Steve Schnepp
ff1c67d59c p/cpu_: adding the core Id in the graph titles 2014-03-06 15:42:55 +01:00
Steve Schnepp
fe253b1456 c/cpu_: setting +x 2014-03-06 15:40:37 +01:00
Steve Schnepp
149688a727 p/cpu_: add a multigraph multi-core cpu plugin 2014-03-06 12:35:28 +01:00
Andreas Geesen
6a12882b4a Enhanced used memory calculation for values displayed in G 2014-02-21 12:33:05 +01:00
Steve Schnepp
6d2da7ad27 p/cpu_linux_multi: remove the use of /proc/cpuinfo 2014-02-19 15:10:21 +01:00
Steve Schnepp
d38eda2838 p/cpu_linux_multi: suppress perl warning 2014-02-19 15:10:20 +01:00
wh6b
f84420f981 Update date format between auth.log and linux system date
I noticed a problem with date format on /var/log/auth.log (tested on debian and ubuntu)

$ date '+%b %d'
Jun 09

/var/log/auth.log
Jun  9 13:17:01

So    grep "`date '+%b %d'`"    can't works fine for day with 1 digit.

I suggest to factorize and change the grep's regex with my update.
2013-06-09 14:49:08 +03:00
Kenyon Ralph
4a7a0de134 hugepages: fixes from Mrten in issue #308 2013-06-02 14:12:44 -07:00