Datastore usage for VMHost

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ohlssrog
Posts: 40
Joined: Tue Nov 24, 2015 6:44 am

Datastore usage for VMHost

Post 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
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Datastore usage for VMHost

Post by rkennedy »

What happens if you set $ARG3$ to --exclude=ams500_backup? It looks like the script has an exclude function built in.
Former Nagios Employee
ohlssrog
Posts: 40
Joined: Tue Nov 24, 2015 6:44 am

Re: Datastore usage for VMHost

Post by ohlssrog »

What happen is that this solved the problem :)

Close this topic
Locked