We are query'ing SNMP to an OID and we get a date returned. Now we want to compare that date with serverdate of KNM.
Is there a way to compare that returned date with the current KNM date?
Sander
Not currently.
---------------------------------------------------
Senior Software Engineer - KNM
Not sure what your trying to achieve, but I have a couple of scripts that may help. One compare the time of the system to time.windows.com.
The second script, calls the compare script, if it finds the time is out by more than 10 minutes, it sets the machine to sync it's time from time.windows.com, it then does a second compare and if the time is still out it sends an email alert.
I use policy management and schedule this script to run daily on domain controllers and hyper-v host servers
Eddy, let me explain.
We are reading an OID. That OID shows a date value.
We need that value to compare with today.
The value is: 20140308 WSo we need to compare that date with the current date. If there is less then 30 days we need te get an alarm.