• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Nagios plugin for JavaMonitor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nagios plugin for JavaMonitor


  • Subject: Re: Nagios plugin for JavaMonitor
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 25 May 2010 10:28:49 -0700

Hi Pascal,

On May 24, 2010, at 5:14 PM, Pascal Robert wrote:

Hi everyone,

I'm working on a Nagios plugin that will use the /admin/info direct action that was added in the Wonder variant of JavaMonitor. Right now, the plugin is doing the doing the following :

- for the "state" key, if the state is DEAD, CRASHING or STOPPING, it sends a CRITICAL signal, if it's UNKNOWN or STARTING, it will send a WARNING signal, if the state is ALIVE, it will be OK.

I think that STOPPING would indicate a manual shutdown or a scheduled restart. Do you really want to send a notification in that case?


UNKNOWN probably represents a timeout talking to wotaskd which would indicate one:
- deadlocked / backlogged instance
- wotaskd stopped on some machine
- network problems reaching some machine


Those might warrant a CRITICAL signal.


- for the "deaths", "transactions", "activeSessions", "averageIdlePeriod" and "avgTransactionTime" keys, it will check against the warning and critical values, if the actual values are higher than the params, it will send the appropriate signals.

The last time I looked, these are not cleared when an application is unscheduled and stopped. If these values were outside of the limits when this happened, that could result in a lot of notifications.



- for refusingNewSessions, scheduled and autoRecover, it will send a WARNING signal if the response is "false"

I often (usually) have configured, but not scheduled instances for use when upgrading to a new version, handling server failover, higher loads etc. Is there a way to define only the instances that are expected to be scheduled?


Warning on refusingNewSessions is going to send notifications for scheduled restarts, probably not what you want.


Any opinions on this? The only thing that I need to work on is the help output, so if you want to try the plugin (it's a PERL script), send me a note. You need any version of Nagios and the Wonder variant of JavaMonitor.


Sounds like it could be  useful.

One other thing is that sending passwords on the URL is insecure and passwords that contain non-URL friendly characters are a problem (they don't seem to get decoded in JavaMonitor, not sure about that, I just changed the password).


Chuck


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Nagios plugin for JavaMonitor
      • From: Pascal Robert <email@hidden>
References: 
 >Nagios plugin for JavaMonitor (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: Styling question
  • Next by Date: Snow Leopard, Apache 2.2, Skewed Load Balancing?
  • Previous by thread: Nagios plugin for JavaMonitor
  • Next by thread: Re: Nagios plugin for JavaMonitor
  • Index(es):
    • Date
    • Thread