Home Directory Plugins Hardware Others Google Weatherforecast

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

Google Weatherforecast

Rating
0 votes
Favoured:
0
Current Version
2.2
Last Release Date
2012-05-12
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
67381
Files:
FileDescription
check_weather.plcheck_weather.pl v2.2
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!
Perl plugin that checks Weather forecast via Google Weather API.
This Plugin is based on the original "check_weather.pl" by Ton Voon (http://www.nagioscommunity.org)
You will need Nagios::Plugin and Weather::Google.

Version 2.0 - Original Script by: Ton Voon, 2006
See http://www.nagioscommunity.org for more details

Version 2.1 by b.rosner@wurzelwerk.it on 10052012
Changed to use Weather::Google

Version 2.2 by b.rosner@wurzelwerk.it on 12052012
Added support for Weather condition checks

----------------------------------------------------

./check_weather.pl -m temp -l vienna -d 0 -w 20 -c 25
FORECAST WARNING - Temperature will be 25 degrees Celsius in 0 days in vienna | celsius=25;20;25

./check_weather.pl -m cond -l vienna -d 2
FORECAST OK - "Teils sonnig" in 2 days in vienna

./check_weather.pl -m cond -l vienna -d 0
FORECAST WARNING - "Vereinzelt Regen" in 0 days in vienna