Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
5 replies Latest Post - ‏2012-11-07T03:00:58Z by devdp
devdp
devdp
37 Posts
ACCEPTED ANSWER

Pinned topic Check the memory usuage and notify

‏2012-11-05T09:03:32Z |
Hi All,

Could anyone please let me know how to notify when the DP memory Usuage is more than say 90%?

dev
Updated on 2012-11-07T03:00:58Z at 2012-11-07T03:00:58Z by devdp
  • HermannSW
    HermannSW
    4501 Posts
    ACCEPTED ANSWER

    Re: Check the memory usuage and notify

    ‏2012-11-05T12:36:36Z  in response to devdp
    Hi,
    >
    > Could anyone please let me know how to notify when the DP memory Usuage is more than say 90%?
    >
    best practice is to use the SNMP monitoring software of your choice to monitor DataPower appliance via SNMP interface.
    See chapter 4 of this redbook:
    http://www.redbooks.ibm.com/abstracts/sg247901.html?Open

     
    Alternatively you can query the XML management interface periodically by eg. crontab like mechanisms:
    $ doSoma admin MemoryStatus.xml dp3-l3:5550 | xpath++ "/*/*/*/*/*/Usage > 90" -
    Enter host password for user 'admin':
    false
    $ 
    $ cat MemoryStatus.xml 
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
      <env:Body>
        <dp:request xmlns:dp="http://www.datapower.com/schemas/management">
          <dp:get-status class="MemoryStatus"/>
        </dp:request>
      </env:Body>
    </env:Envelope>
    $
    


     
    Hermann <myXsltBlog/> <myXsltTweets/>
    Updated on 2014-03-25T02:46:20Z at 2014-03-25T02:46:20Z by iron-man
    • devdp
      devdp
      37 Posts
      ACCEPTED ANSWER

      Re: Check the memory usuage and notify

      ‏2012-11-06T03:33:34Z  in response to HermannSW
      Hi Herman,

      Thanks for the reply..
      I don't have admin access to do this configuration..
      Is there any other process that can be done in the Datapower it self..
      Can I have this SOMA query in the Datapower processing rule with Log Action..It is good way to do this?

      dev
      • devdp
        devdp
        37 Posts
        ACCEPTED ANSWER

        Re: Check the memory usuage and notify

        ‏2012-11-06T03:37:03Z  in response to devdp
        Discard my previous message
        Hi Herman,

        Thanks for the reply..
        I don't have admin access to do this configuration..
        Is there any other process that can be done in the Datapower it self..
        Can I have this SOMA query in the Datapower processing rule with Log Action..Is it a good way to do this?

        dev
        • HermannSW
          HermannSW
          4501 Posts
          ACCEPTED ANSWER

          Re: Check the memory usuage and notify

          ‏2012-11-06T17:56:11Z  in response to devdp
          Hi,

          > ...
          > I don't have admin access to do this configuration..
          >
          not sure where you need admin access.

          > Is there any other process that can be done in the Datapower it self..
          > Can I have this SOMA query in the Datapower processing rule with Log Action..Is it a good way to do this?
          >
          you can, but you need access to the XML Management interface.

          Again, it is best practice to do monitoring by external software via SNMP, please read chapter 4 of the redbook I pointed to.

           
          Hermann<myXsltBlog/> <myXsltTweets/>
          • devdp
            devdp
            37 Posts
            ACCEPTED ANSWER

            Re: Check the memory usuage and notify

            ‏2012-11-07T03:00:58Z  in response to HermannSW
            Hi Hermann,

            I had read the red book that you had specified and tried configure as per the instructions but I don't have access..

            I don't have access meant that I don't have access to configure the SNMP settings I have only read access.I am unable to add the Trap Event Subscriptions.

            I have access to the XML management interface and able to do the SOMA querries..