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
14852
Files:
FileDescription
check_pvoutput.shcheck_pvoutput.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.