WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Nagios plugin for was, standalone

    Posted 03/23/11 02:07 AM

    Hello all,

    I share this  nagios  script  to  check  websphere  application server  healt, and  another internal variables,  this  script needs  for work install perfservlet application on  each websphere  profile  to check

    i hope this be will usefull
    exchange.nagios.org/directory/Plugins/Ja...


     


    update:


    Now the  same  script  works  for websphere application server network deployment or standalone,  I appreciate your comments and suggestions


    regards
    Dario Garcia



  • 2.  Nagios plugin for was, standalone

    Posted 03/23/11 09:30 AM

    Ruben,


    Unfortunately your script didn't post to the forum.  Can you please repost it.


    I, too, run the perfServlet and Nagios for monitoring the internals of my applciation servers.  I've never  found a need to deploy the servlet to each cluster / profile in a cell though. 


    If you're running ND, perhaps you'll find this useful... I created a dedicated JVM in my cell and deployed the perfServlet to it.  Being that the JVM is part of the ND Cell, it did aggregated all of the enabled PMI information into the output xml that the servlet returns.  Thus, I only have a single servlet deployed and am able to monitor all of the JVMs.


    If possible, please post your script when you have a moment.  I'm very interested.


    Also, are you running WebSphere Base or ND?


    Erik



  • 3.  Nagios plugin for was, standalone

    Posted 03/23/11 12:43 PM

    I start  with  websphere standalone,   because  i    have  only one installation  on websphere  network deployment, i hope can be  extend  to  network  deployment too


     


    regards



  • 4.  Nagios plugin for was, standalone

    Posted 03/23/11 05:50 PM

    I downloaded and looked at your code.  You're on a good start (take it from someone who wrote a PERL script to integrate with Nagios & WebSphere a year or two ago.)


    You might want to conside looking at the perfServlet help page:  ..../wasPerfTool/servlet/perfservlet&


    This will give you a list of v6 (perfServlet v6) commands you might find useful. 


     


    For example ../wasPerfTool/servlet/perfservlet?node=REPLACEMEWITHYOURNODENAME&module=threadPoolModule


    This gives you immediate access to the specific node's thread pool module.  It might be a much better solution than trying to traverse the XML that's returned.  Again, just a suggestion of what to consider if you're thinking of expanding this to work in ND (with minimal changes.)


    Unfortunately, I spent a week or two coding my solution before we found an issue in our system and decided to go a slightly different route.  While I had a majority of the core code authored, I never made it adhere to the Nagios development standard, so it was never released.


    Congrats on releasing your code!



  • 5.  Nagios plugin for was, standalone

    Posted 03/24/11 02:04 AM

    Looks like a good start.  I'm going to take a look at it too.



  • 6.  Nagios plugin for was, standalone

    Posted 03/29/11 11:13 AM

    Ruben,


    I was wondering if you continued to work on your script and if so, how's it coming along?


    Erik



  • 7.  Nagios plugin for was, standalone

    Posted 03/31/11 01:52 PM

    Hello, the original script, added the option for read statis  from websphere application server network deployment, i added to flags to make  handling easier parameters.

    I was working on the use of a better xml parser, but in my first tests I do not see a significant improvement in performance.

    I hope  your sugestions