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

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
64010
Files:
FileDescription
check_weather.plcheck_weather.pl v2.2

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

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