A user asked about using event alerts to monitor a specific registry key value. They were given a solution by another member to run a PowerShell script and write the result to ControlUp’s System Events log using the SIP EVENT pattern. This can be done by importing a sample script to write values to a custom data index. Further assistance can be reached out to the Account team.
Read the entire ‘Using Event Alerts to Monitor Registry Key Values with ControlUp’ thread below:
Hi all, I was wondering if it is possible to use event alerts to look for a specific registry key value. I have had a look through the documentation but could not find an example covering this. Any pointers would be really appreciated. Thanks
Hi Omar,
Thank you for reaching out
Your best bet would be running a script that collects this metric and writes it to a custom data index
Step 1 – Create a PowerShell script that reads your target registry key and writes the result into ControlUp’s System Events log using the SIP EVENT pattern:
powershell
“`$regPath = "HKLM:\SOFTWARE\YourApp\Settings"
$regName = "YourKeyName"
$regValue = (Get-ItemProperty -Path $regPath -Name $regName -ErrorAction SilentlyContinue).$regName
Write-Output "### SIP EVENT BEGINS ###"
Write-Output "RegistryKey: $regName"
Write-Output "RegistryValue: $regValue"
Write-Output "### SIP EVENT ENDS ###"“`
Then, you may want to import this sample script to write values to a custom data index

If further assistance may be required, please reach out to your Account team
Thank you, that is very helpful @member. We have got it working.
Continue reading and comment on the thread ‘Using Event Alerts to Monitor Registry Key Values with ControlUp’. Not a member? Join Here!
Categories: All Archives, ControlUp for Desktops, ControlUp Scripts & Triggers
