Home Directory Plugins Business Management and Logic check_platfora_stats.pl (Advanced Nagios Plugins Collection)

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_platfora_stats.pl (Advanced Nagios Plugins Collection)

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Hits
3267
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks Platfora stats via the Rest API
Part of the Advanced Nagios Plugins Collection

Download it here:

https://github.com/harisekhon/nagios-plugins

check_platfora_stats.pl

Nagios Plugin to check Platfora stats via the Rest API

Must check a single stat on each call due to the way the API is structured it might be too slow to issue multiple calls in a single plugin run.

Tested on Platfora 4.5.3

usage: check_platfora_stats.pl [ options ]

-H --host Platfora host ($PLATFORA_HOST, $HOST)
-P --port Platfora port ($PLATFORA_PORT, $PORT, default: 8080)
-u --user Platfora user ($PLATFORA_USERNAME, $PLATFORA_USER, $USERNAME, $USER)
-p --password Platfora password ($PLATFORA_PASSWORD, $PASSWORD)
-T --type Type of Platfora stat to query, Required, must be one of: users, groups, datasources, datasets, lenses, vizboards, workflows, permissions, renderjobs
-w --warning Warning threshold or ran:ge (inclusive)
-c --critical Critical threshold or ran:ge (inclusive)
-S --ssl Use SSL connection
--ssl-CA-path Path to CA certificate directory for validating SSL certificate (automatically enables --ssl)
--ssl-noverify Do not verify SSL certificate (automatically enables --ssl)
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode (-v, -vv, -vvv ...)
-h --help Print description and usage options
-V --version Print version and exit