This post is more than 5 years old
2 Posts
0
429
December 10th, 2008 13:00
Trying to save a value across polls
I am using SMARTS IP to poll network devices and have sucessfully modified the example in the tutorial to poll a variety of mibs and generate events and do calculations and create events based on simple thresholds.
However I need to save a value across polls to compare; i.e. an interface might be erroring at 1.5%, and I don't want to generate an event based on a simple threshhold, but only if the error goes up by .1% on the next poll So I need the error rate from the previous poll saved on a per-network-element basis. How can I do this in a .mdl file?
Thanks for your help.
Andy
However I need to save a value across polls to compare; i.e. an interface might be erroring at 1.5%, and I don't want to generate an event based on a simple threshhold, but only if the error goes up by .1% on the next poll So I need the error rate from the previous poll saved on a per-network-element basis. How can I do this in a .mdl file?
Thanks for your help.
Andy
No Events found!
FredericMeunier_0588be
143 Posts
0
December 10th, 2008 15:00
using the "delta" operator should do what you need.
--Fred
== Monitor your Smarts environnment using APG ReportPack for Smarts health ==
Frederic Meunier
Solutions Watch4Net Inc
APG & Smarts InCharge integration
http://www.watch4net.com
Hemulll
2 Intern
•
138 Posts
1
December 10th, 2008 20:00
Don't forget to use #pragma WrapCounter before delta operator.
andygerber
2 Posts
0
December 16th, 2008 12:00
Andy
TCorcoran
53 Posts
0
December 26th, 2008 17:00