Hi All,
Kindly assist us how can we monitor the below Registry-key with SCOM for Azure server.
Server:Servername.com
Registry-key to check: HKLM:\SOFTWARE\XXXXXX\NumberOfErrorsToday\Number
Value >25
Resolver group: XYZ
Regards,
Ravi shankar
Hi All,
Kindly assist us how can we monitor the below Registry-key with SCOM for Azure server.
Server:Servername.com
Registry-key to check: HKLM:\SOFTWARE\XXXXXX\NumberOfErrorsToday\Number
Value >25
Resolver group: XYZ
Regards,
Ravi shankar
Deploy an agent to that server
Create a registry value monitor, using for example this MP : https://gallery.technet.microsoft.com/Sample-Management-Pack-11e4bbae , or following this technique : https://kevinholman.com/2010/08/01/how-to-create-a-monitor-to-inspect-the-value-of-a-registry-key/
Hi CyrilAzoulay,
Iam new to SCOM, i have gone through the first link about using the MP to monitor the registry i mentioned, iam not sure how exactly i can use this by implementing it for my request.
Can you explain me in detail, it will be really grateful.
Regards,
Ravi shankar
@shankar431-9012, To install SCOM agent on Azure VMs, Here is an article for the reference:
https://whyazure.in/manage-azure-vms-with-scom-server-2016/
Note Non-Microsoft link, just for the reference.
After that, we can import the MP which CyrilAzoulay provided. Then we can change registry value and desired value by changing the configuration of the monitor "Reg Value".
Hope it can help.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
@shankar431-9012, Hope things are going well. If there's anything else we can help, feel free to let us know.
Hi Crystal,
Thank you for supporting me as iam new to SCOM, But still iam confused, Do we need to change the path anywhere in the management pack file, as my monitoring requirement is to monitor the Registry-key: HKLM:\SOFTWARE\XXXXXX\NumberOfErrorsToday\Number .
And alert should trigger if the Value is greater than 25.
Kindly assist me on this.
Regards,
Ravi Shankar
@shankar431-9012, Thanks for the reply. From your description, I notice the trigger of the value is greater than 25. For the previous MP, it can only compare if the value is the same as the value we configured. So this may not meet our request.
I have a thought for this. Here is for the reference:
1. Create a script to query our Registry key value.
https://stackoverflow.com/questions/15511809/how-do-i-get-the-value-of-a-registry-key-and-only-the-value-using-powershell
Note: Non-microsoft link, just for the reference.
2. Create a custom monitor with the Powershell script and set the expression as great than 25. here is an article for the reference:
https://blog.ctglobalservices.com/powershell/clm/example-of-setting-up-a-custom-monitor-in-scom-with-a-powershell-script-monitor-nic-teams-in-scom/
Hope it can help.
7 people are following this question.