Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_vmfs_https.sh - Check vmfs datastores through https
Based on check_vmfs.sh - Check vmfs datastores.
But don't need VCLI install just use wget!
Warning and critical levels can be set, and plugin gives us perfdata output too, so it can be graphed with graphical tools as pnp4nagios, besides the usual Nagios states (OK, WARNING and CRITICAL).
In commands.cfg you can add, by example:
define command{
command_name check_vmfs
command_line $USER1$/check_vmfs.sh -V $ARG1$ -w $ARG2$ -c $ARG3$ -u $ARG4$
}
And in services.cfg by example:
define service{
use generic-service
host_name svrvirtual
service_description Espacio Sauron
check_command check_vmfs!/vmfs/volumes/Sauron!80!90!Gb
}
./check_vmfs_https.sh -C vmware_esxi_conf.txt -S server -V datastore1 -w 10 -c 20 -u Gb
CRITICAL - datastore1 - total: 460.75 Gb - used: 229.70 Gb (49%)- free: 231.04 Gb (51%) | datastore1=229.70Gb;46.07;92.15;;460.75
define command{
command_name check_vmfs
command_line $USER1$/check_vmfs.sh -V $ARG1$ -w $ARG2$ -c $ARG3$ -u $ARG4$
}
And in services.cfg by example:
define service{
use generic-service
host_name svrvirtual
service_description Espacio Sauron
check_command check_vmfs!/vmfs/volumes/Sauron!80!90!Gb
}
./check_vmfs_https.sh -C vmware_esxi_conf.txt -S server -V datastore1 -w 10 -c 20 -u Gb
CRITICAL - datastore1 - total: 460.75 Gb - used: 229.70 Gb (49%)- free: 231.04 Gb (51%) | datastore1=229.70Gb;46.07;92.15;;460.75
Reviews (0)
Be the first to review this listing!