This is something that I want to share with the community.
This may be a simple thing for some but . . . .
I recently had an issue with my environment, a set of firewalls was running out connections.
There are two UnDPs involved with this;
fwNumConn <- number of connections being used
fwConnTableLimit <- The Limit of the connections
The "need" was to create an alert when the Connection Table reached 90% of the Connection Table Limit
I tried for hours to set this up using the create alert environment.
Seemed simple to me
Trigger fwNumConn >= 90% of fwConnTableLimit
To get the alerting as soon as I "hardcoded" 90% of the fwConnTableLimit. Which worked.
But there should be a better way.
Note the connection table limit is different on different firewall models.
I did not want to "hardcoded" 90% for each model, When I had that number polled by a UnDP.
I gave in and called support and after about hour, we were able to figure it out
Solution:
Create a transform in UnDP and alert using the that transform
TRANSFORM (fwPercentUsed)
({fwNumConn}/{fwConnTableLimit})*100
Once that was created and polling it was easy to create the alert using the transform value as the trigger.
Now I can alert at any level that is needed.
Such as Table has reached between 75% and 90%, send a warning alert
Again this may seem obvious to some but, I hope it may help others. To think about maybe using the transform feature in UnDP.
I know that I will.
Thanks you for our on reading this