Hi,
I am trying to install unix command to monitor the Mount point usage using Generic DevOps MBean and getting below error.
Thank you.
All MBean attribute types are java.lang.String! At least one numeric attribute must be exist.
Getting "numeric attribute must be exist" error when defining new custom Devops MBean
Hi,
I am trying to install unix command to monitor the Mount point usage using Generic DevOps MBean and getting below error.
Thank you.
All MBean attribute types are java.lang.String! At least one numeric attribute must be exist.
Community Users Case Notes (Diary)
Hi,
The right side of equal char which is attributeValue must be only numeric values.Probably your script contains string and you need to trim string chars.
Also the first “/” should be replaced, too. Here is sample blog for your reference. One of our community user; used below script for doing it.
script→ df -H | grep -vE '^Filesystem|tmpfs|media' | awk '{ print $6"="$5}' | sed 's/%//' | sed '2s///ROOT/' | sed 's///_/g'
I recommend filter the result set; it does not make sense to use every result for “df –h” . i.e. you /etc, /dev, proc, system… Only consider the mount points which relevant with WebLogic JVM processes.
Regards…
WLSDM Community Support Team