I have to make changes to some of the SNMP community strings and trap destinations in our environment. As far as I can see SNMP service settings are not collected. Is there a way to do this?
I am looking for:
HKLM\system\currentcontolset\services\snmp\parameters\vaildcommunities (I know how to read this as it is a regular registry key)
HKLM\system\currentcontolset\services\snmp\parameters\trapconfiguration
The "TrapConfiguration" key is a nested key where each subkey is name the same as a "ValidCommunities". Within that key there are values for the trap destinations. I do not know how to read this key.
If there is an easier way than building custom inventories?
Thanks for the help.