Looking for a way to identify if a running config isn't saved. I have all the information I need just need some assistance in making the sensor to monitor the following.
Cisco equipment records the time of configuration changes into the following SNMP variables:
ccmHistoryRunningLastSaved OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory DESCRIPTION
"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."
ccmHistoryStartupLastChanged OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory DESCRIPTION
"The value of sysUpTime when the startup configuration was last written to. In general this is the default configuration used when cold starting the system. It may have been changed by a save of the running configuration or by a copy from elsewhere."
With these variables, I am sure PRTG can check when the running configuration has not been saved. When the running configuration is newer than the saved configuration, there is the potential for configuration changes to be lost.
There is a potential false alarm with Cisco equipment because they don’t actually track whether you’ve made a configuration change between entering and exiting config mode. Even with the possibility of a false alarm, it is worth checking to make sure that the desired configuration is saved.