Home Directory Plugins Others Weather Conditions and Forcast with Weather Underground

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Weather Conditions and Forcast with Weather Underground

Rating
0 votes
Favoured:
0
Current Version
201612061140
Last Release Date
2016-12-08
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
Hits
5813
Files:
FileDescription
check_weather_condition.shcheck_weather_condition.sh
check_weather_forecast.shcheck_weather_forecast.sh
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Nagios Plugin to check the current weather conditions with Weather Underground. Developed to work on Synagios (Synology Nagios Server)
Nagios Plugin to check the current weather conditions with Weather Underground. Developed to work on Synagios (Synology Nagios Server)

A personal Weather Underground API key is required in order to use this Plugin. For the Free DEV API, a maximum of 500 checks is allowed per day. Since I use Conditions as well as the Forecast, I've set it to a check period of 15 minutes to not exceed the limitation. To only use the request once per check, Temp-Files are required for both commands. In case the plugin doesn't receive the data, the temp-data is used.

Usage Conditions:
check_weather_condition.sh [API-Key] [Country Code] [Cityname] [Low Warn] [High Warn] [Wind Warn]

Usage Forecase:
check_weather_forecase.sh [API-Key] [Country Code] [Cityname] [Low Warn] [High Warn] [Wind Warn]


Usage in NAGIOS: ./check_weather_condition.sh $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$

Usage in NAGIOS: ./check_weather_forecast.sh $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$

ARG1: API-Key
ARG2: Country Code
ARG3: Cityname
ARG4: Low Warn
ARG5: High Warn
ARG6: Wind Warn

By Markus Walther