Page 1 of 1

Datastore usage for VMHost

Posted: Tue Feb 16, 2016 12:46 pm
by ohlssrog
Hi.
Nagios XI 5.2.3
Centos 6.4

Have critical alerts like below, i think its trigger on the "ams500_backup is not accessible" disk because its inactive in the vsphere, how can i set this disk as excluded in this checker so its check all other disk in this command but not this inactive disk?

Critical
CHECK_ESX3-0.5.PL CRITICAL - Storages : datastore1=155443.00 MB (27.46%), Install_media=94293.00 MB (92.31%), Prod_DS3=356196.00 MB (43.49%), Prod_DS2=177842.00 MB (21.72%), ams500_backup is not accessible, Prod_DS1=102937.00 MB (50.33%), Prod_DS5=442598.

Command

$USER1$/check_esx3-0.5.pl -H "$HOSTADDRESS$" -f "$ARG1$" -l "$ARG2$" $ARG3$

ARG1$ = /usr/local/nagiosxi/etc/components/vmware/SLesx1_prod_auth.txt

Re: Datastore usage for VMHost

Posted: Tue Feb 16, 2016 3:32 pm
by rkennedy
What happens if you set $ARG3$ to --exclude=ams500_backup? It looks like the script has an exclude function built in.

Re: Datastore usage for VMHost

Posted: Wed Feb 17, 2016 7:16 am
by ohlssrog
What happen is that this solved the problem :)

Close this topic