Navigation

    Best APM Solution for Oracle WebLogic Server & FMW Product Family
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Download

    Getting "numeric attribute must be exist" error when defining new custom Devops MBean

    General Support & Troubleshooting
    attribute weblogic wlsdm numeric
    2
    2
    1532
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wlcommunityusers
      wlcommunityusers last edited by wlcommunityusers

      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.

      numeric.png

      Community Users Case Notes (Diary)

      1 Reply Last reply Reply Quote 0
      • wlsdmsupport
        WLSDM Support last edited by

        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.

        http://mathiassalgado.blogspot.com/2017/06/add-metric-options-to-devops-mbean-with-wlsdm-weblogic-console.html

        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

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        WLSDM: Native WebLogic Monitoring & Diagnostics

        Copyright © 2021 WLSDM Community & Support Portal | WLSDM.COM | WLSDM Blog