Hello,
I setup a check_esx_host_vmfs plugin for monitoring datastore status on ESXi server. But on configuring this plugin, this is working fine but it displays "WARNING" status on UI of Nagios every time.
Currently my datastore size is
926.50 GB and right now free space available is
570.60 GB but still it showing warning on UI.
In
command.cfg i mentioned the below one for this plugin.
PHP Code:
define command{
command_name check_esx_host_vmfs
command_line $USER1$/check_esx3 -H $HOSTADDRESS$ -u $USER11$ -p $USER12$ -l vmfs -w $ARG2$ -c $ARG3$
}
In my services.cfg file i defined the below lines to check the status of datastore using the above mentioned command.
PHP Code:
# check for datasource usage
define service{
use generic-service
action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$' onMouseOver='showGraphPopup(this)' onMouseOut='hi deGraphPopup()' rel='/nagiosgraph/cgi-bin/showgraph.cgi?host=$HOSTNAME$&service=$SERVICEDESC$
host_name ESXiserver
service_description ESXi Datasource Usage
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
contact_groups vmwareadmins
notification_interval 120
notification_period 24x7
notification_options u,c,r
check_command check_esx_host_vmfs!90!98
}
Warning message is 90% and Critical is 98%, but right now its 61% but shows a warning on Nagios UI.
Is i am define something wrong here to setup this plugin or this is a bug in this.