<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 11/19/2014 7:21 PM, Jake Secrist
wrote:<br>
</div>
<blockquote
cite="mid:0511B800-24B3-462B-B45A-5F0EA5725C53@secristconsulting.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div>I had thought about this a while back but never did anything
with it.<br>
<br>
I think you would either have to go back over the previous saved
version of the config and compare the desired values. Then
maybe show the line as something like:</div>
<div><br>
</div>
<div>! External Temperature............................. +28 C
(+/- 10 C)</div>
<div><br>
</div>
<div>OR - pull out the values and store them in a file to be
compared to the next RANCID run.</div>
<div><br>
</div>
<div>The problem is where to define the starting point. I think
using the value from the first RANCID a run would work well.
Then all future runs would be compared with that value. If a
future RANCID run finds a value that is not within the
'variance' then the new value would become the 'default' value
and subsequent RANCID runs would compare to the new value. And
so on.</div>
<div><br>
</div>
<div>I will try some things and get back to you.</div>
<div><br>
</div>
</blockquote>
Another alternative is to use some of the tools from rancid to poll
for just these values. par and clogin can be used independently to
grab variables from everywhere, and because you aren't doing a full
rancid run you can decrease the time between collections to 5-10
minutes.<br>
<br>
Then you write a simple script to do the comparison and send email
if the threshold triggers.<br>
<br>
I still recommend doing this with a true NMS, and polling the values
with SNMP. Logging into the router has some unneeded overhead, and
rolling your own script could be buggy and hard to maintain when you
could have something dedicated to doing this that is maintained by
others.<br>
</body>
</html>