SNMP: Terminal is "Unable to open Registry key"
Hi,
Terminal says "Unable to open Registry key 'SOFTWARE\Microsoft\Windows\CurrentVersion\CommonFilesDir.1" when I execute $$Register^SNMP().
For monitoring purposes I want to use SNMP in Ensemble. One of the steps I have to do is to use the method $$Register^SNMP() in the terminal "%SYS" namespace. This is mentioned in a Intersystems Docs page.
Monitoring Caché Using SNMP
Caché expects the SNMP service to be installed before you install Caché, so it can add iscsnmp.dll to the proper Registry keys. Once Caché is installed, the SNMP service must be restarted so that it properly loads iscsnmp.dll and will find and communicate with the new Caché instance.
Note:If Caché is installed before the SNMP service, iscsnmp.dll cannot be properly registered, and you must use the $$Register^SNMP() function to do this after the Windows SNMP service is installed. Once this is done the SNMP service must be restarted.
However I get the following error. When I execute " w $$Register^SNMP() " in the "%SYS" namespace.
"Unable to open Registry key 'SOFTWARE\Microsoft\Windows\CurrentVersion\CommonFilesDir.1"
Is there a way to run the terminal in administrative mode if it doesnt already? It sounds like a security issue to me.
Does anyone know what the problem may be?
Greetings,
Glenn