-
Re: Complex Alert
Steven KlassenApr 5, 2012 9:22 PM (in response to satish.lx)
Hey Satish,
First, if the node is down you're going to have an unknown status for your application, so you needn't check for that. Second, you've already set the component name to 'Memory Heap Used (B)' so you then need to compare the status of that component to the 'Memory Heap Max Size (B)' value. It should read: field Component Status (or numeric status, if that's available - I'm drawing a blank) is greater than or equal to Memory Heap Max Size (B).
-
-
Re: Complex Alert
Steven KlassenApr 6, 2012 9:35 AM (in response to satish.lx)
Ah okay, I see what the challenge is - I'll think on it for a bit.
-
Re: Complex Alert
satish.lx Apr 6, 2012 10:16 AM (in response to Steven Klassen)Other work around is i can statically configure values but problem is we have different different heap memory configured of every server. so i thought it would be great if i have dynamic alert option which will figure out Max size and Used size and if its equal then send alert. I am sure its possible using SQL query but i am not expert . following is components output.
-
Re: Complex Alert
Steven KlassenApr 6, 2012 7:59 PM (in response to satish.lx)
Dynamic is the way to go for sure; at the very least you could have a scheduled task in the database copy the values from the component to a node custom property so you have the per-node maximum. I'll see if I can hack together some SQL for you when I get back into the customer site Monday morning.
-
-
-
-