This is an asterisk plugin that collects environmental weather data.
API provided by http://worldweatheronline.com
- cloudcover.value
- humidity.value
- precipMM.value
- pressure.value
- temp_C.value or temp_F.value
- visibility.value
- windspeed Kmph or Miles
gem install json
Add configuration to the end of this file /etc/munin/plugin-conf.d/munin-node
[weather_*]
env.api_key cn5tkxfnwtkjtaccdccpu3ew
env.temperature_unit C # or F
env.speed_unit Kmph # or Miles
Get your free API key here: http://developer.worldweatheronline.com/
/usr/bin/env: ruby: No such file or directory
Quick fix:
which ruby
/usr/local/rvm/rubies/ruby-2.1.1/bin/ruby
vi weather_
replace first line #!/usr/bin/env ruby with #!/usr/local/rvm/rubies/ruby-2.1.1/bin/ruby (result of which ruby command)