Commit Graph

16 Commits

Author SHA1 Message Date
Lars Kruse a7139bcaee Unify shebang for python scripts 2020-10-28 23:38:41 +01:00
Lars Kruse be192b5226 Fix multiple python code issues (detected by flake8) 2019-08-13 05:16:13 +02:00
Lars Kruse 7f3ce96632 Plugin monit_parser: fix style issues 2018-03-27 04:55:14 +02:00
dipohl f41b68619b Category Tree: Reduce number of categories
monit -> munin
nova -> cloud (nova)
powermta -> mail (powermta)
redis -> search (redis) and system (redis)
2017-02-23 00:15:13 +01:00
Gerald Turner 4fa3811c12
Add optional preemptive HTTP Basic Authentication to HTTP request in order to
support monit configuration like "set httpd port 2812 allow munin:s3cr3t
read-only"
2017-01-20 15:46:32 -08:00
Lars Kruse ef6cedf7a9 [monit_parser] change input format to XML; retrieve via URL (Closes: #558) 2016-10-23 05:08:07 +02:00
Lars Kruse b8f1b6c879 [monit_parser] implement memory alloaction unit parsing
Previously monit seems to have output memory usage in kilobytes without
a unit. Somewhen this seemed to have changed to an (optional?) suffix
(e.g. MB). Thus the new scaling may differ from the previous scaling,
which was probably broken for most users.
Additionally the units of the resulting values are clarified.
2016-10-23 03:49:45 +02:00
Lars Kruse e5fbbaea5f [monit_parser] improve code structure 2016-10-23 03:49:45 +02:00
Lars Kruse 8d78e459cd [monit_parser] add documentation (Closes: #548) 2016-10-23 03:49:24 +02:00
Lars Kruse dcd9434e0d [monit_parser] use python2/3 compatible 'print' style 2016-10-23 01:27:50 +02:00
Lars Kruse 9d62e55896 [monit_parser] replace 'commands' module with 'subprocess'
necessary for python3 support
2016-10-23 01:27:25 +02:00
Lars Kruse 0f24fe00eb [monit_parser] fix whitespace issues 2016-10-23 00:56:39 +02:00
Viktor Szépe 25a1a06a4a Missing condition 2015-06-08 17:10:04 +02:00
Viktor Szépe 7220fda4ad print statements need variables 2015-06-08 17:05:20 +02:00
Viktor Szépe c72251a7f9 Not using memory is a warning condition
When a daemon fails `-nan` is its memory usage.
2015-06-08 14:38:11 +02:00
Steve Schnepp 08346aac58 - have some dirs 2012-02-13 18:24:46 +01:00