Home Directory Addons Monitoring Agents check_pvoutput.org

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

check_pvoutput.org

Current Version
1
Last Release Date
2014-07-28
Compatible With
  • Nagios 3.x
Owner
License
Other
Hits
18923
Files:
FileDescription
check_pvoutput.shcheck_pvoutput.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!
Here is a script for Nagios that will detect if data is missing for your system on pvoutput.org.

If there is no data, the script will return a CRITICAL status that Nagios know how to work with. if there is data available, the script returns an OK status.
This script for Nagios detects if data is missing for your system on pvoutput.org.

If there is no data, the script will return a CRITICAL status that Nagios know how to work with. if there is data available, the script returns an OK status.

You can call the script without using Nagios, in order to check if it works.
The syntax goes like this:
./check_pvoutput.sh APIKEY SYSTEMID
For instance
./check_pvoutput.sh 87654 12345
This would check the system with ID 12345. The APIKEY (87654 in the example) is a key that is needed in order to be allowed to use the pvoutput.org API.
Both the APIKEY and SYSTEMID are values you get from your pvoutput.org account.

There is a third, optional, parameter that controls which day you want to check for data. If you leave it out, the check will be for today. If you put a number in the third parameter, the number will be the number of days to subtract from today.
So for instance if you use this command
./check_pvoutput.sh 87654 12345 1
you will bee checking if pvoutput.org has data for yesterday.