1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00
Commit graph

39 commits

Author SHA1 Message Date
Olivier Mehani
38f3a4297e [wunderground_] Fix windChil and heatIndex in root graph
The data was incorrectly loaned from a `temp` subgraph, which should
have been `temperature`.

This led to errors during munin-graph, as follow

    [ERROR] Failed to find windChill source at temp.windChill, skipping field
    [ERROR] Failed to find heatIndex source at temp.heatIndex, skipping field
    [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Munin/Master/Utils.pm line 1149, <GEN1> line 1728.
    [ERROR] filename is empty for $VAR1 = {
      '#%#name' => 'windChill',
      'graph_data_size' => 'normal',
      'label' => 'Wind chill [°C]',
      'update_rate' => '300'
    };
    , temp.windChill
    [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Munin/Master/Utils.pm line 1149, <GEN1> line 1728.
    [ERROR] filename is empty for $VAR1 = {
      '#%#name' => 'heatIndex',
      'graph_data_size' => 'normal',
      'label' => 'Heat index [°C]',
      'update_rate' => '300'
    };
    , temp.heatIndex

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2022-01-06 21:47:29 +01:00
Olivier Mehani
35c403ed64 [wunderground_] Allow to disable alerts with env.alerts no
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-10-25 21:12:10 +02:00
Olivier Mehani
e612fbbd46 [wunderground_] loan from other graphs in root
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-07-19 13:26:35 +02: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
9500394695 Unify more author names with special characters
Additionally an ambiguous line in the "author" section of a plugin was
removed in order to avoid confusion for the Munin Plugin Gallery parser.
2020-10-19 21:25:19 +02:00
Lars Kruse
6a1a9c7c46 Fix wrong "example-directory" names 2020-08-30 00:54:53 +02:00
Olivier Mehani
a731424cf0 [plugins/weather/wunderground] Add plugin to query station data from Weather Underground
It's a bit backwards, but works a treat when you don't own the station
but want the data in a better format.

Includes warnings on UV and heat indices, and visible lines for wind
direction and indices.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-07-12 18:28:14 +02:00
Lars Kruse
8713eb3722 Fix spelling mistakes in comments and descriptions
Thanks, codespell!
2020-03-26 04:23:21 +01:00
Lars Kruse
86bee01637 Port some python2 plugins to python3 2019-12-18 00:27:02 +01:00
Lars Kruse
7063330e03 Fix python style issues reported by flake8
Additionally some python2-only "print" statements are now compatible
with python3.
2019-12-18 00:25:39 +01:00
Lars Kruse
ebdbf1a92c Plugins weather_*: specify regular expressions as raw strings
New versions of flake8 already complain about the non-raw nature of the
strings (respectively the improper escaping in the regular expression).
2019-08-13 23:03:07 +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
c81c20ab3b unify DIRTYCONFIG handling in shell and python plugins
The following issues were fixed:
* comparison too broad (e.g. "0" misinterpreted as "true")
* python: comparing string with number (is never equal in python)
* unwanted non-zero exitcode (compound command "&&" as last command in
  shell code block (e.g. "case" or "if" branch))
* access to unset variable (shell style issue)
2018-04-07 02:17:06 +02:00
Lars Kruse
417bebc316 Plugin weather_press_: fix style issues 2018-03-27 04:53:05 +02:00
Lars Kruse
e216f1be01 Plugin: weather_temp_: fix style issues 2018-03-27 04:21:46 +02:00
Lars Kruse
34840ad9db Plugin weather_: fixes style issues 2018-03-27 04:21:34 +02:00
kaliko
32d620ccf3 Revert switch to metric system 7e0a33e4 2017-05-31 11:25:16 +02:00
kaliko
782c813887 Avoid same multigraph and field name (prevent hitting munin-monitoring/munin#828) 2017-05-30 21:18:32 +02:00
kaliko
5212ed78ec Set upper/lower limit for humidity and wind direction 2017-05-30 21:16:43 +02:00
kaliko
7e0a33e40f Switch to metric system, get rid of kelvin offset
Improved readability
Revert env. var. name change
2017-05-30 12:38:45 +02:00
kaliko
8893cfa8a1 Add missing apiid in URL 2017-05-29 13:50:38 +02:00
dipohl
7fdb4741fe Plugin-Gallery: Get better 2nd level headings
Review of category "system"
2017-02-24 23:54:53 +01:00
dipohl
95de964ec9 Plugin-Gallery: Get better 2nd level headings
sensors, weather, snmp
2017-02-24 17:30:35 +01:00
obma
ef061fdd9e p: openweather_: typo 2017-01-08 21:39:40 +01:00
obma
f29c24554b p: fix openweather_: returned .label instead of .value for wind direction 2017-01-08 21:39:40 +01:00
obma
ae13ec95c4 p: fix openweather_: set correct name for multigraphs
Set 'plugin_name' with 'basename $0' and use this variable instead of $0 to avoid having the full path as name for the multigraphs.
2017-01-08 21:39:40 +01:00
obma
7d1ac56eae p: updating openweather_: replaced fgrep, tr, cut with expr
Use expr to extract values and names from the OpenWeather API xml instead of the - when using a city with spaces in its name not correctly working - fgrep | tr | cut construct.
2017-01-08 21:39:40 +01:00
Samuel Smith
2d95020da7 NOAA decommissioned weather.noaa.gov
Change weather.noaa.gov -> tgftp.nws.noaa.gov
2016-08-29 12:23:25 -05:00
obma
f07be516b7 p: openweather_: Add OpenWeather API Key
OpenWeather needs you to use an API key since Oct 9 2015. Therefore I added env.apikey.
To get a key just register at OpenWeather.
2015-10-13 17:48:04 +02: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
Steve Schnepp
2c5943e469 p: updating openweather_ to be multigraph
Now it graph all the values coming from the API
2015-01-01 14:09:08 +00:00
Steve Schnepp
c8f30b0956 p: adding openweather_ 2015-01-01 09:04:34 +00:00
Steve Schnepp
211ec3afdb temperature_: fix for F units
Closes #371
2013-09-04 18:18:15 +02:00
Diego Elio Pettenò
3bb2c5e2aa Move weather plugins where they belong. 2012-08-09 16:00:56 -07:00
Maxim Kravets
a160dea034 Proper shebang for flexibility 2012-04-11 16:08:02 +06:00
Steve Schnepp
08346aac58 - have some dirs 2012-02-13 18:24:46 +01:00