SevOne

SevOne

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Collect ENTITY-MIB device metadata and write to CSV file 

Thu January 16, 2025 11:51 AM

Description: Retrieve ENTITY-MIB metadata fields and write them to the NMS as a "test.csv" file.   

Rapid Infrastructure Automation Version: 2022.8 or later

Integrations required: SevOne minimum version 1.0.20

Authentication(s) needed: SevOne, SSH (needed for the NMS SSH server)

Infrastructure requirements: SevOne NMS SSH access

SevOne User Role: The user must be part of the administrator's group

NOTE:  SNMPv2C support only in this version.

Related Blog:  https://community.ibm.com/community/user/aiops/blogs/tim-greenside/2025/01/16/adding-useful-device-asset-metadata-from-the-entit 

Setup:

  • You must modify the SevOne block in the script, using your $NMSCredentials SevOne AuthKey information.
  • You must modify the variable $SSHCredentials in the start block to your current SFTP SSH authentication name
  • You must modify the variable $csv_filename in the start block to your current file path/name of the csv file.
  • You must add your $ro_community variable to match your SNMP RO community string.

Example start block -- adjust for your environment:

Example CSV data:


#GeneralAutomation

Statistics
0 Favorited
20 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
Entity-MIB Metadata Collection_2025-01-16_16_45_05.zip   1 KB   1 version
Uploaded - Thu May 08, 2025