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
Windows Registry plugin?
Re: Windows Registry plugin?
You may want to take a look at this link and see if one of them would work for you is if they could be modified for your needs.
https://exchange.nagios.org/index.php?o ... d=registry
https://exchange.nagios.org/index.php?o ... d=registry
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Windows Registry plugin?
Thanks, I downloaded the McAfee one and tweaked that. Working like a charm.
Re: Windows Registry plugin?
Awesome! Is it alright if we lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Windows Registry plugin?
Yep, close away!!