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

check_pvoutput.org

Current Version
1
Last Release Date
2014-07-28
Compatible With
  • Nagios 3.x
Owner
License
Other
Hits
15145
Files:
FileDescription
check_pvoutput.shcheck_pvoutput.sh

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

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.