Network:
Enterprise
Support
Library
Project
Exchange
Home
Directory
About
Home
Directory
Plugins
Operating Systems
* Virtual Environments
VMWare
check_vcsa_mon
Search Exchange
Advanced Search
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.
Register Now
Contact Us
Phone: 1-888-NAGIOS-1
Email:
sales@nagios.com
Login
Username
Password
Remember Me
Create an account
Forgot your username?
Forgot your password?
RSS Feeds
New Listings
Updated Listings
Directory Quicklinks
Home
All Categories
Add Listing
New Listings
Recently Updated Listings
Most Favoured Listings
Featured Listing
Most Popular Listings
Most Rated Listings
Top Rated Listings
Most Reviewed Listings
Directory Tree
check_vcsa_mon
Submit review
Recommend
Print
Rating
0 votes
Favoured:
0
Current Version
0.1.0
Compatible With
Nagios 4.x
Nagios XI
Owner
Sam N
Download URL
github.com/SNapier/Check_VCSA_Mon
License
GPL
Hits
6824
Based on the example in vcsa_monitor.sh this PHP flavored library extends the capabilities far beyond system status.
Usage: "check_vcsa_mon.php" -H "
" -f "/path/to/authfile" -a "
" -c "
" -o "
"
NOTE: -H, -f, -c must be specified
Options:
-h
Print this help and usage message
-H
Hostname to query
-f
the full path to the authentication file to used
-c
The critical value to be evaluted against
-a
The upper level api to check
1. health
2. networking
3. servicelist
4. service
5. monitoringlist
6. access
7. datastorelist
8. datastorefree
9. monitoring
-o
Some check have required/availble options that need to passed to the plugin
1. health options (required)
system
load
mem
cpu
storage
database-storage
2. networking options (required)
interfaces
3. service options
servicename
servicestate
4. access options
consolecli
dcui
shell
ssh
5. monitoring options
cpu
mem
eth
txpr = transfer packet rate, txa = transfer activity rate, rxpr = recieve packet rate, rxa = reveive activity
This plugin will check the condition of Access/Service/Health/Monitoring/Storage Indicators for a VCenter Appliance via the REST API.
Examples:
Health
$/usr/bin/php -q ".PROGRAM." -H "192.168.1.1" -f "/my/path/configs/192.168.1.1.cfg" -a "health" -c "yellow" -o "system"
Complete list of services
$/usr/bin/php -q ".PROGRAM." -H "192.168.1.1" -f "/my/path/configs/192.168.1.1.cfg" -a "servicelist"
Service status
$/usr/bin/php -q ".PROGRAM." -H "192.168.1.1" -f "/my/path/configs/192.168.1.1.cfg" -a "service" -c "up" -o "xinitd"
Access status
$/usr/bin/php -q ".PROGRAM." -H "192.168.1.1" -f "/my/path/configs/192.168.1.1.cfg" -a "access" -c "enabled" -o "ssh"
Datastore List
$/usr/bin/php -q ".PROGRAM." -H "192.168.1.1" -f "/my/path/configs/192.168.1.1.cfg" -a "datastorelist" -c "" -o ""
Datastore Free Space
$/usr/bin/php -q ".PROGRAM." -H "192.168.1.1" -f "/my/path/configs/192.168.1.1.cfg" -a "monitoring" -c "10" -u "B,MB,GB,TB" -o "datastore" -m "free"
CPU Load Monitoring
$/usr/bin/php -q ".PROGRAM." -H "192.168.1.1" -f "/my/path/configs/192.168.1.1.cfg" -a "monitoring" -c "15" -u "%" -o "cpu"
Memory Usage Monitoring
$/usr/bin/php -q ".PROGRAM." -H "192.168.1.1" -f "/my/path/configs/192.168.1.1.cfg" -a "monitoring" -c "95" -u "B,MB,GB,TB" -o "mem"
File System Usage Monitoring
$/usr/bin/php -q ".PROGRAM." -H "192.168.1.1" -f "/my/path/configs/192.168.1.1.cfg" -a "monitoring" -c "10" -u "MB" -o "fsystem" -m "root,log,boot"
$/usr/bin/php -q ".PROGRAM." -H "192.168.1.1" -f "/my/path/configs/192.168.1.1.cfg" -a "monitoring" -c "10" -u "KB" -o "fsystem" -m "imagebuilder"
"
Reviews (0)
Be the first to review this listing!