|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Detecting ServiceMix via SNMPIs there a way to detect a running instance of ServiceMix using SNMP? I'm working on a task to write system-state monitoring code to detect the health of various components of my project's web service application, which is deployed as a series of JBI services running within ServiceMix. At this point, I would like to detect whether ServiceMix is up or down.
Does ServiceMix provide a published Management Information Base (MIB) exposing a set of OIDs that can be queried through an snmp poll? Please keep in mind that using FuseHQ (Hyperic HQ) is NOT an option for me. My customer has selected Nagios as our SNMP monitoring application. My current approach is to try to use the OpenDMK library to write an SNMP agent (basically using the SnmpAdapterServer to do the heavy lifting). Any advice and suggestions would be greatly appreciated. |
|
|
Re: Detecting ServiceMix via SNMPHi
there is nothing like this. But I read somewhere about a SNMP2JMX Bridge and ServiceMix provides useful information via JMX....so that would be a good start. Another way is to use something like Fuse HQ. Regards Lars 2009/9/23 tplizga <terence.a.plizga@...>: > > Is there a way to detect a running instance of ServiceMix using SNMP? I'm > working on a task to write system-state monitoring code to detect the health > of various components of my project's web service application, which is > deployed as a series of JBI services running within ServiceMix. At this > point, I would like to detect whether ServiceMix is up or down. > > Does ServiceMix provide a published Management Information Base (MIB) > exposing a set of OIDs that can be queried through an snmp poll? > > Please keep in mind that using FuseHQ (Hyperic HQ) is NOT an option for me. > My customer has selected Nagios as our SNMP monitoring application. My > current approach is to try to use the OpenDMK library to write an SNMP agent > (basically using the SnmpAdapterServer to do the heavy lifting). > > Any advice and suggestions would be greatly appreciated. > -- > View this message in context: http://www.nabble.com/Detecting-ServiceMix-via-SNMP-tp25530922p25530922.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- http://lhein.blogspot.com |
|
|
Re: Detecting ServiceMix via SNMPL.S.,
If you want to configure nagios to monitor the ServiceMix instance, you could also use something like http://code.google.com/p/jmxquery/ to connect to JMX directly from your nagios instance. If you can provide us with more details on what exactly you would like to monitor, we might even be able to write a custom nagios check command to look for servicemix-specific information. I know of a few other ServiceMix that are running in environments monitored by nagios, so that might be benefit the entire community. Another option would be to implement the http://www.eaipatterns.com/TestMessage.html pattern on your ESB, by adding some configuration to your current SA or by adding a specific test sa. You can then write a simple camel client or something to send a message to the test sa and assert it is still functioning properly. Regards, Gert Vanthienen ------------------------ Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ 2009/9/23 tplizga <terence.a.plizga@...>: > > Is there a way to detect a running instance of ServiceMix using SNMP? I'm > working on a task to write system-state monitoring code to detect the health > of various components of my project's web service application, which is > deployed as a series of JBI services running within ServiceMix. At this > point, I would like to detect whether ServiceMix is up or down. > > Does ServiceMix provide a published Management Information Base (MIB) > exposing a set of OIDs that can be queried through an snmp poll? > > Please keep in mind that using FuseHQ (Hyperic HQ) is NOT an option for me. > My customer has selected Nagios as our SNMP monitoring application. My > current approach is to try to use the OpenDMK library to write an SNMP agent > (basically using the SnmpAdapterServer to do the heavy lifting). > > Any advice and suggestions would be greatly appreciated. > -- > View this message in context: http://www.nabble.com/Detecting-ServiceMix-via-SNMP-tp25530922p25530922.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > |
|
|
Re: Detecting ServiceMix via SNMPhi Gert,
Can u kindly provide me the details on how to cnfigure jmx with nagios? Im looking for this info in net and was not able to find ?
|
|
|
Re: Detecting ServiceMix via SNMPHi satheeshsamiappan,
In order to configure jmx with nagios I did the following: After I got my Nagios running, I went to Configuration menu -> View Config Choose as Object Type commands and click continue, which will give you not only all available commands but also the command line. In the command line you'll find also the path in which the plugins reside: in my case it was /usr/lib/nagios/plugins I moved check_jmx and check_jmx.jar into this directory. In my case I made a directory commands into my nagios home dir and copied jmx.cfg into it. In my nagios.cfg file, added cfg_dir=/etc/nagios3/commands (If you build from source your nagios.cfg could be in for ex. /usr/local/nagios/etc/) I checked again in my Nagios, the Configuration menu -> View Config -> commands, Normally you would find something like check_jmx_HeapMemoryUsage_Used, check_jmx_PS_Perm_Gen_Used, check_jmx_SystemLoadAverage, check_jmx_ThreadCount Which are already defined in the copied jmx.cfg. Now the only thing to do is use the jmx command: I have a test Apache Servicemix running which i want to monitor: In my case I wanted a Thread Count on my localhost, so in my localhost.cfg I defined: define service{ use generic-service host_name localhost service_description JMX ThreadCount check_command check_jmx_ThreadCount!localhost!1099!smx!smx!4000!4000 } Et voila, Regards, Hans Couder 2009/10/22 satheeshsamiappan <cssatheesh@...>: > > hi Gert, > Can u kindly provide me the details on how to cnfigure jmx with nagios? > Im looking for this info in net and was not able to find ? > > > > Gert Vanthienen wrote: >> >> L.S., >> >> If you want to configure nagios to monitor the ServiceMix instance, >> you could also use something like http://code.google.com/p/jmxquery/ >> to connect to JMX directly from your nagios instance. If you can >> provide us with more details on what exactly you would like to >> monitor, we might even be able to write a custom nagios check command >> to look for servicemix-specific information. I know of a few other >> ServiceMix that are running in environments monitored by nagios, so >> that might be benefit the entire community. >> >> Another option would be to implement the >> http://www.eaipatterns.com/TestMessage.html pattern on your ESB, by >> adding some configuration to your current SA or by adding a specific >> test sa. You can then write a simple camel client or something to >> send a message to the test sa and assert it is still functioning >> properly. >> >> Regards, >> >> Gert Vanthienen >> ------------------------ >> Open Source SOA: http://fusesource.com >> Blog: http://gertvanthienen.blogspot.com/ >> >> >> >> 2009/9/23 tplizga <terence.a.plizga@...>: >>> >>> Is there a way to detect a running instance of ServiceMix using SNMP? >>> I'm >>> working on a task to write system-state monitoring code to detect the >>> health >>> of various components of my project's web service application, which is >>> deployed as a series of JBI services running within ServiceMix. At this >>> point, I would like to detect whether ServiceMix is up or down. >>> >>> Does ServiceMix provide a published Management Information Base (MIB) >>> exposing a set of OIDs that can be queried through an snmp poll? >>> >>> Please keep in mind that using FuseHQ (Hyperic HQ) is NOT an option for >>> me. >>> My customer has selected Nagios as our SNMP monitoring application. My >>> current approach is to try to use the OpenDMK library to write an SNMP >>> agent >>> (basically using the SnmpAdapterServer to do the heavy lifting). >>> >>> Any advice and suggestions would be greatly appreciated. >>> -- >>> View this message in context: >>> http://www.nabble.com/Detecting-ServiceMix-via-SNMP-tp25530922p25530922.html >>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>> >>> >> >> >> ----- >> --- >> Gert Vanthienen >> http://gertvanthienen.blogspot.com >> > > -- > View this message in context: http://www.nabble.com/Detecting-ServiceMix-via-SNMP-tp25530922p26014353.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > |
| Free embeddable forum powered by Nabble | Forum Help |