cancel
Showing results for 
Search instead for 
Did you mean: 

Determining The Templates that would be Auto-Detected with NCM

Determining The Templates that would be Auto-Detected with NCM

This script first gathers all the NCM nodes, and then the templates enabled within NCM. For each node it compares the SysOID with each template until it finds a match. If a match isn't found, it moves up the tree, and repeats until one is.

As it, when it runs it will display verbose output, with write-host used to flag when a match is found. Simply remove the "-verbose" switch if needed

AutodetectedNCMTemplates.jpg

And the final output in this example is piped to "Out-Gridview", but again, update as needed if it needs to be output to CSV, HTML, etc.

AutodetectedNCMTemplates - Out-GridView.jpg

Attachments
Comments

Great work there! I'm sure this will help people troubleshoot NCM connectivity problems, where SNMP nodes fail with 'Auto Detect' templates.

Version history
Revision #:
1 of 1
Last update:
‎08-02-2017 03:23 AM
Updated by:
 
Contributors