Changing the Host Resource XML file

Changing the Host Resource XML file

Hi Team

I am working on a few solaris systems and in the HOST Resource file, we saw the command we use for disk usage is

/usr/bin/df -F ufs -k | awk '{x+=$2}{y+=$3}{z+=$4}END{print x,y,z}'

curValue - line 2 & Token 1
used - line 2 & Token 2

But from the screenshot below, the output comes in like this




So it comes in Line 1 - Token 1 and 2.

Do we change the line to 1 and will it work ? Because, currently we are getting 0% as disk usage.

Kindly advise.

Thanks
Isaac
ME Tech






















                  New to ADSelfService Plus?