Windows Registry plugin?
Posted: Tue Aug 09, 2016 12:21 pm
I am trying to see how much data I currently have for a particular application. There is a registry key that tells me the extent of the data. So for key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Service\Epg the endTime value, shows 2016-08-21T17:00:00-05:00.
This basically tells me that it has TV Guide data thru 8/21/2016.
And obviously this value will change daily/hourly. I want to be able to query this registry value and return if the current date, and the date in the endTime value are 8 days apart, and if so warn, and if 3 days apart go critical. Any idea how to accomplish this?
Saw a plugin to query the registry but it expected status values for warning and critical.
Thanks.
JR
This basically tells me that it has TV Guide data thru 8/21/2016.
And obviously this value will change daily/hourly. I want to be able to query this registry value and return if the current date, and the date in the endTime value are 8 days apart, and if so warn, and if 3 days apart go critical. Any idea how to accomplish this?
Saw a plugin to query the registry but it expected status values for warning and critical.
Thanks.
JR