Grouping and Metadata
In this lab we will learn how we can group devices and object together and how we can tag devices and objects to make it easier to group
Create Groups
- Log into the NMS
- Go to Devices -> Grouping -> Device Groups
- Click Add Device Group
- a. Name: YOURNAME
- Save
- Click Add Rule a. Device Name: YOURNAME
- Save
- Click Apply Rules
- Go to Devices -> Grouping -> Object Groups
- a. Click ‘Add’ -> Class
- Name: YOURNAME
- Save
- Click Add -> Group
- a. Name: YOURNAME - CPU
- Save
- Click Add Rule
- a. Device Group: YOURNAME
- b. Object Name: ^CPU\d+$
- c. Plugin: SNMP -d. Object Type: CPU
- Sav
- Click Add -> Group
- a. Name: YOURNAME – Important Disks
- Save
- Click Add Rule
- a. Object Name: .*
- b. Plugin: SNMP
- c. Object Type: Disk
- Save
Create Metadata
- Log into the NMS
- Go to Administration -> Metadata Schema
- Click on Add Namespace
- a. Name: YOURNAME
- Save
- Select your namespace and click Add Attribute
- a. Target: object
- b. Type: text
- c. Name: Priority
- Save
- Go to Devices -> Object Manager
- Click Clear Filter
- Search ‘1/1/0/0’
- Find these two objects
- For each of them
- a. Click on the metadata icon
- b. Find your namespace and your attribute
- c. Value: Yes
- Update and save
- Search for Fa0/2/2
- a. Select any two interfaces that you want and change the metadata namespace value to Yes, like on the step above
- Go to Devices -> Grouping -> Object Groups
- Select your class
- Click Add -> Group
- a. Name: YOURNAME – Priority Interfaces
- Save
- Click Add Rule
- a. Plugin: Any
- b. Object Type: All Object Types
- c. Metadata Namespace: YOURNAME
- d. Metadata Attribute: Priority
- e. Metadata Value: Yes
- Save
- Click Apply Rules
Review These groups will be used for a later lab, therefore there is nothing to review on this stage.