2 Replies Latest reply on Sep 1, 2016 3:24 PM by adubois

    Comparing Output of Two Variables

    adubois

      We have several Cisco Switches and Routers in production environment that often need config changes on different ports.  The has been a couple instances in which the device rebooted and running-config was lost because it had not been saved.  We have NPM 12.0 and I was thinking we could use this to poll each Cisco device and compare the two MIBs responsible for letting us know

       

      Is there a way to compare two variables and make a calculation to return a YES/NO or TRUE/FALSE depending on calculated value?

       

      In this particular example, I'd like to know if there is a way to get NPM to calculate the diffence between the two MIB's

      1.) ccmHistoryRunningLastChanged - The value of sysUpTime when the running configuration was last changed. If the value of ccmHistoryRunningLastChanged is greater than ccmHistoryRunningLastSaved, the configuration has been changed but not saved.

      2.) ccmHistoryRunningLastSaved - The value of sysUpTime when the running configuration was last saved (written). If the value of ccmHistoryRunningLastChanged is greater than ccmHistoryRunningLastSaved, the configuration has been changed but not saved. What constitutes a safe saving of the running configuration is a management policy issue beyond the scope of this MIB. For some installations, writing the running configuration to a terminal may be a way of capturing and saving it. Others may use local or remote storage. Thus ANY write is considered saving for the purposes of the MIB.

       

      Has anyone dealt with this, or something similar?  Did you do this through Report Writer, Alerts, or via the Orion GUI somehow?