Monitor multiple tomcat instances using Hyperic 4.2
Hi There, can anyone here please tell me how to Monitor multiple tomcat instances using Hyperic 4.2? I have tried Hyperic 4.5 same issue.
I am guessing I will have to change the ptql setting but no matter what I do it doesnt work it showed the availability 0.0%, since I have have three tomcat instances if I shutdown 2 out of 3 it does pick up one tomcat instance.
you will have to add the tomcat servers manually and yes you will have to change the PTQL setting for every single on. Also, You will have to modify the JMX URL for every single one. Please make sure you have different JMX ports set up for every Tomcat instance.
Thank again... I ran the sigar.jar and found the following :
13144 SYSTEM 10:49 348M 69M - R 2:14 java:org.tanukisoftware.wrapper.WrapperStartStopApp 2220 evil_evo 12:16 467M 22M - R 0:0 java:org.hyperic.sigar.cmd.Runner 16576 SYSTEM 12:19 861M 227M - R 0:20 java:org.tanukisoftware.wrapper.WrapperStartStopApp 18444 SYSTEM 12:19 860M 225M - R 0:20 java:org.tanukisoftware.wrapper.WrapperStartStopApp 9224 SYSTEM 12:19 873M 223M - R 0:20 java:org.tanukisoftware.wrapper.WrapperStartStopApp
So from above I can see there are 4 java process running excluding hyperic agent java process ... so how can use this info to construct PTQL ?? Please help ... im quite lost ...
Where it mentioned that ptql=Pid.Service.eq=%service_name% ... so my service name had space in between so 1st I tried the following :
ptql=Pid.Service.eq="service name" - didnt work but when I change service name to have no space i.e. ptql=Pid.Service.eq=servicename - it picked up both the tomcat instances however availability still not going up ... do you know why ?
I do have the green ticket instead of red ! mark as before ... any suggestion ?
Thanks I have restarted the server and agent, that resolved the issue..
Is there anyway you can help me with setting up email notification ? I have already setup application alerts, condition is if an app is unavailable for less then 5% it should fire up an email alert but it doesnt ... I have check the settings under Administration > HQ Server Settings that seems to be ok ... but it doesnt fire up any email ...