|
From: Josh J. <jj...@gc...> - 2007-03-23 18:33:58
|
Hello,
I just recently installed Hyperic today and I already love it. I took a few minutes to look around but I couldn't find information on monitoring an application so I thought I'd try here.
My company relies on a mission critical web app that runs on an instance of java.exe in the Task Manager. We had a recent issue with that process dying (which made our mission critical app unavailable until someone called to complain) and my CTO was all ready to pay over $4600 for a monitoring solution that would check to ensure that java.exe was still running. Is there any way to get Hyperic to monitor current processes for a specific entry and alert you when it doesn't find it?
I'll keep searching but any assistance would be appreciated.
Thanks,
Josh
|
|
From: Noah S. <noa...@hy...> - 2007-03-23 20:11:26
|
Hi Josh, Very glad to hear you are enjoying your Hyperic experience. Re: how to monitor your mission critical process, check this out: http://support.hyperic.com/confluence/display/DOCSHQ30/Process+Monitor+Plugin Once you create your own custom process and collecting metrics for it then you can create an alert for the availability of that process or any of the metrics associated with it. --Noah-- |
|
From: Noah S. <noa...@hy...> - 2007-03-23 20:29:56
|
Hey! There's an even easier way that doesn't require a custom plugin: 1. Browse to the Platform in question 2. Select "New Platform Service" from the Tools menu 3. Choose "Process" from the Service Type menu 4. Click the Configuration Properties section in Inventory The default PTQL entry is "State.Name.eq=java". If you want a more specific identification of your process you can add more queries separated by commas. The PTQL docs and examples are here: http://support.hyperic.com/confluence/display/SIGAR/PTQL --Noah-- |
|
From: Noah S. <noa...@hy...> - 2007-03-23 20:30:57
|
Looks like Ryan won the race. ;-) |
|
From: Josh J. <jj...@gc...> - 2007-03-23 21:53:29
|
Thanks for the help guys, that got me started in the correct direction. I think that it's working but now I see a different issue. The server that Java.exe is running on isn't connecting to the HQ server correctly I don't think so my java.exe alert just keeps going off. The server is showing unavailable. I installed the agent the same way that I did on the other 5 srevers and all are working fine except this one. It is WIndows 2003 Server. I just ran the hq-agent.exe from the command prompt, answered all the questions, waited for it to say that it was running. THen I closed the agent, ran hq-agent.exe -i to install it as a service, started the service, and all of them are working fine except this one. Can someone tell me what command line parameters I need to use to reinstall the agent and have it ask me all of the questions again in case I answered one incorrectly? I'll just paste in all my info regarding the Java monitor so far if someone wants to help me out that would be wonderful. I started looking at the link provided for the query information and it didn't make any sense to me. The server that the item is running on is WEBSTAG02, the Process I want to monitor is JAVA.EXE in Task Manager. I don't need any advanced information other than whether or not the process is running. General Properties Host Platform: webstag02.mydomain.com Resource Type: Process Configuration Properties Shared process.query State.Name.eq=java Monitoring service.log_track.enable false service.log_track.level Error service.log_track.include service.log_track.exclude service.log_track.files service.config_track.enable false service.config_track.files service.log_track.enable false service.log_track.level Error service.log_track.include service.log_track.exclude service.log_track.files service.config_track.enable false service.config_track.files THANKS!!! |
|
From: Jon T. <jt...@hy...> - 2007-03-23 22:14:10
|
Does 'hq-agent.exe setup' do what you need? The agent setup will not complete unless you've answered the questions correctly and it has confirmed that a round-trip connection can be made. -- Jon On Mar 23, 2007, at 2:52 PM, Josh Jondle wrote: > Thanks for the help guys, that got me started in the correct > direction. I think that it's working but now I see a different > issue. The server that Java.exe is running on isn't connecting to > the HQ server correctly I don't think so my java.exe alert just > keeps going off. The server is showing unavailable. I installed > the agent the same way that I did on the other 5 srevers and all > are working fine except this one. It is WIndows 2003 Server. I > just ran the hq-agent.exe from the command prompt, answered all the > questions, waited for it to say that it was running. THen I closed > the agent, ran hq-agent.exe -i to install it as a service, started > the service, and all of them are working fine except this one. > > Can someone tell me what command line parameters I need to use to > reinstall the agent and have it ask me all of the questions again > in case I answered one incorrectly? > > > > > > I'll just paste in all my info regarding the Java monitor so far if > someone wants to help me out that would be wonderful. I started > looking at the link provided for the query information and it > didn't make any sense to me. > > The server that the item is running on is WEBSTAG02, the Process I > want to monitor is JAVA.EXE in Task Manager. I don't need any > advanced information other than whether or not the process is running. > > > General Properties > Host Platform: webstag02.mydomain.com > Resource Type: Process > > > Configuration Properties > Shared > process.query State.Name.eq=java > Monitoring > service.log_track.enable false service.log_track.level Error > service.log_track.include service.log_track.exclude > service.log_track.files service.config_track.enable false > service.config_track.files > > service.log_track.enable false service.log_track.level Error > service.log_track.include service.log_track.exclude > service.log_track.files service.config_track.enable false > service.config_track.files > > > THANKS!!! > |
|
From: Josh J. <jj...@gc...> - 2007-03-24 01:24:14
|
Actually yes, now that you mention it, everything went fine. I got a token and a big long token and all of that. After looking further into it I find that the Big availability exclamation point wasn't referring to the entire platform, just 2 out of the 4 servers on it, Tomcat and IIS, which look like they just need further configuration. After further testing I see that if I kill the java app the alarm goes off and vice versa. The only thing left is to find where I reduce the polling cycle from 10 minutes down to something more frequent, but I should be able to find that. Thanks again for all the help, this has been the most useful community I have ever dealt with. |
|
From: Stacey S. <sta...@hy...> - 2007-03-27 00:00:11
|
Hi Josh, thanks for trying Hyperic and using the forums - we're glad you're enjoying the experience so far! Don't forget to mark the question as answered and award points when you feel your question has been fully answered. It helps everyone know what works, and who still needs help! And thanks for awarding helpful points so far. Its great to give the community feedback on the answers! -Hyperic Team |
|
From: Josh J. <jj...@gc...> - 2007-03-28 16:01:30
|
I just found something out. I was trying to click on the Platform that the service ran on. Since it wasn't listed I assumed I had to add it (noob assumption). If you go to Browse Resources, click on the Service sub heading, and do a search for the service name I found it just fine and was able to set my alert without adding a manual process. |
|
From: Ryan M. <rm...@hy...> - 2007-03-23 20:19:00
|
Hi Josh, Monitoring a process can be done using the Process service. You can create a process service by selecting 'New Platform Service' from the tools menu on the upper right hand corner of the page while viewing the platform page in HQ. From there select 'Process' for the new service type. Details on this service can be found in our docs: http://support.hyperic.com/confluence/display/DOCSHQ30/Process+service If your app server is in our list of supported products, you can also get more in depth statistics. http://support.hyperic.com/confluence/display/DOCSHQ30/Managed+Products Hope that helps, -Ryan |