Commit Graph

1092 Commits

Author SHA1 Message Date
Lars Kruse 398a3ab289 Plugin pacman_pending_updates: switch to simple shell
The plugin did not use any bash-specific features.
2021-08-08 15:55:41 +02:00
Lars Kruse c2aa56531c Plugin pacman_pending_updates: handle absence of available updates properly
"checkupdates" returns the exit code 2, if no updates are pending.
Previously the plugin did not output anything in this case.

Closes: #1233
2021-08-08 15:55:41 +02:00
lifeofguenter 58c7801fd2 beanstalkd python3 2021-03-10 12:42:29 +01:00
Lars Kruse 4a6d44a42c Update shebang of Python3-compatible plugins to Python3 2020-11-26 02:38:34 +01:00
Lars Kruse a7139bcaee Unify shebang for python scripts 2020-10-28 23:38:41 +01:00
Lars Kruse 09b88141b3 Improve documantion of many plugins
Specifically the configuration examples are now indented properly.
2020-10-24 17:29:08 +02:00
Lars Kruse df47073323 Fix special character for author name (Kristian Lyngstøl)
Otherwise this author shows up with different spellings in the plugin
gallery.
2020-10-04 05:31:15 +02:00
Lars Kruse 0ff03ad469 Remove dummy plugins containing only references to external repositories 2020-09-23 05:06:01 +02:00
Lars Kruse 809639ab65 Ruby plugins: apply code changes as suggested by "rubocop --auto-correct" 2020-08-25 17:44:17 +02:00
Lars Kruse b0b39b018e Ruby plugins: apply style changes as suggested by "rubocop --fix-layout" 2020-08-25 17:44:17 +02:00
Lars Kruse 8713eb3722 Fix spelling mistakes in comments and descriptions
Thanks, codespell!
2020-03-26 04:23:21 +01:00
Steve Schnepp b526aee0c0 Revert "Plugin pacman_pending_updates: switch to /bin/sh; update version"
This reverts commit c9cc2f27f6.

Actually, it depends on a bashism at line 53:
  if hash checkupdates >/dev/null 2>&1; then
2019-07-31 20:48:00 +02:00
Steve Schnepp a975706fff plugins: another round of defined(@array) fixing 2019-07-31 20:46:42 +02:00
Lars Kruse c9cc2f27f6 Plugin pacman_pending_updates: switch to /bin/sh; update version
The plugin does not use any bash-specific features.  Thus it is not
necessary to depend on bash.
2019-07-31 03:36:39 +02:00
Lars Kruse 72f0546b04 Plugin pacman_pending_updates: fix and clarify conditionals
The "checkupdates" compound statement (" ... || ... && ...") did not
work due to the equal precendence of both operators (introduced in
6cb5c9e104).

Closes: #1004

Thanks to Ken-ichi Mito for reporting this issue.
2019-07-31 03:33:13 +02:00
Bert Peters 6cb5c9e104 Properly report unknowns 2019-06-10 16:55:12 +02:00
Bert Peters d272622bb0 Exit when retrieving updates fails. 2019-03-19 12:50:28 +01:00
Lars Kruse 2ec4e4c1f7 Improve incorrect or unspecific output for "autoconf"
Some plugins emit wrongly formatted "no" messages or lack the "yes"
message on success.
2018-09-16 15:13:38 +02:00
Lars Kruse e4cd049b01 Fix trivial instances of wrong autoconf exitcodes 2018-09-16 04:03:31 +02:00
Lars Kruse 17f784270a Whitespace cleanup
* remove trailing whitespace
* remove empty lines at the end of files
2018-08-02 02:33:25 +02:00
Lars Kruse 33e95e6ff9 Review and unify category assignments of plugins 2018-08-01 23:56:56 +02:00
Lars Kruse 2f5a2a7913 Plugin radwho_cnt: fix shellcheck issues 2018-08-01 23:09:37 +02:00
Lars Kruse c6c9e5b41e Move 'update' plugin to munin directory 2018-08-01 23:05:51 +02:00
Lars Kruse ade3b205bc Move 'qstatcod4and5_' to quake directory 2018-08-01 23:05:10 +02:00
Lars Kruse 57367ce98c Plugin qstatcod4and5_: fix shellcheck issues 2018-08-01 23:04:43 +02:00
Lars Kruse 7a37bfb1d8 Plugins: unify shebang for ruby scripts 2018-07-11 19:35:32 +02:00
Lars Kruse 95e2c12485 plugin categories: fixed emc_vnx_file_ and opentracker_ 2018-03-29 02:54:31 +02:00
Lars Kruse 2449118cb7 plugin multiping_async: move to 'network'; fix filename 2018-03-29 02:14:50 +02:00
Lars Kruse 8e3f1d8865 plugin ksm_: various improvements
* category can be parsed by plugin gallery
* python3 compatible
* more precise autoconf messages
* PEP8 clean
2018-03-28 05:47:36 +02:00
Bert Peters b5e31b6612 Clean up pacman_pending_updates.
No more environment variables since those can easily be configured with
regular munin settings.

Properly quote all strings.

No longer use temp files for holding update information; instead hold it
all in a variable.
2017-10-05 11:28:15 +02:00
Bert Peters e9150b1892 Add specific updates to extinfo field. 2017-10-03 11:08:25 +02:00
dipohl 1f5ef0938c Plugin-Gallery: Include images (rename example-graphs) 2017-02-25 01:15:47 +01:00
dipohl e10e386b02 Plugin-Gallery: Better 2nd level headings 2017-02-24 03:40:55 +01:00
dipohl ae4e85ab60 Plugin-Gallery: Better 2nd level headings 2017-02-24 03:13:08 +01:00
dipohl 63351ab535 Reduce number of categories
riak -> other (riak)
smf -> forum (smf)
reddit -> other (reddit)
sge -> htc (sge)
netscaler -> loadbalancer (netscaler)
nutcracker -> other (twemproxy)
requesttracker -> other (requesttracker)
passenger -> webserver (passenger)
gearman -> other (gearman)
2017-02-23 23:12:19 +01:00
dipohl c0568802bf Reduce number of categories, move "other" plugins 2017-02-23 21:14:01 +01:00
dipohl 99542938b1 Reduce number of categories 2017-02-23 20:45:01 +01:00
dipohl 7e56247745 Category Tree: Reduce number of categories
ceph -> fs
added category for some plugins from "other" section
2017-02-23 18:54:28 +01:00
dipohl 6aa977b250 Category Tree: Reduce number of categories
rackspace -> cloud (rackspace)
openvpn -> network (openvpn)
rethinkdb -> db (rethinkdb)
glance -> cloud (glance)
2017-02-23 17:08:02 +01:00
dipohl 7042351e74 Category Tree: Reduce number of categories
and mv some from "others" to specific category
2017-02-22 19:09:05 +01:00
dipohl c4b2d9a8e3 Category Tree: reduce number of categories 2017-02-22 04:48:52 +01:00
dipohl 84c28707eb Category Tree: reduce number of categories 2017-02-22 04:04:04 +01:00
dipohl 3c98d06933 Category Tree: Reduce number of categories 2017-02-21 17:11:23 +01:00
Bert Peters 39bd69e87c Clean up plugin. 2017-02-17 15:14:51 +01:00
Bert Peters f9c9074d26 Add a plugin for the pacman package manager.
This plugin tracks the number of updates currently available to the
system.
2017-02-15 14:06:41 +01:00
null-git 130466f129 changed variable name of network_size to match the documented networksize 2017-01-14 12:33:34 +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
Jonas Palm c679de12ce code rewrite
removed bashisms and cleaned everything up
2016-10-24 23:03:18 +02:00
Jonas Palm feb54309ca Added Option Description for env.DB_PORT 2016-02-07 16:15:02 +01:00