Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Stock check
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!
This bash script queries the Tradier API to retrieve stock quotes.
It requires an account(free) at https://developer.tradier.com.
Currently it will work with the last, change, change_percentage, volume, average_volume, last_volume, trade_date, open, high, low, close, prevclose, week_52_high, week_52_low, bid, bidsize, bid_date, ask, asksize, and ask_date fields returned by Tradier.
Usage:
./stock.sh [SYMBOL] [Tradier_ID] [FIELD] [WARNING RANGE] [CRITICAL RANGE]
Example to pull last ask for google:
./stock.sh GOOG 98767ly1z21JjHa5T4dyR5m12345 ask 1000:1100 900:1200
Thresholds follow http://nagios-plugins.org/doc/guidelines.html#THRESHOLDFORMAT
It requires an account(free) at https://developer.tradier.com.
Currently it will work with the last, change, change_percentage, volume, average_volume, last_volume, trade_date, open, high, low, close, prevclose, week_52_high, week_52_low, bid, bidsize, bid_date, ask, asksize, and ask_date fields returned by Tradier.
Usage:
./stock.sh [SYMBOL] [Tradier_ID] [FIELD] [WARNING RANGE] [CRITICAL RANGE]
Example to pull last ask for google:
./stock.sh GOOG 98767ly1z21JjHa5T4dyR5m12345 ask 1000:1100 900:1200
Thresholds follow http://nagios-plugins.org/doc/guidelines.html#THRESHOLDFORMAT
Reviews (0)
Be the first to review this listing!