How to find existing SNMP Community string from a CI

Imran Akram
Tera Contributor

I am looking to find out how you can find the SNMP Community string from an existing CI record in CMDB.

I have an existing IP Switch for example but having trouble finding the SNMP community string which has been added.

2 ACCEPTED SOLUTIONS

See password and SNMP strings are stored but as encrypted . So you can not read it from Credential Table . 

 

You need to store it Locally in string for ur future reference . 

 

Regards

RP

View solution in original post

@Imran Akram no problem! happy to help.

Yes the name of the credential, also in the first line you can reuse the same script for retrieving passwords from other credential table discovery_credentials for example basic auth credentials etc. Let me know if you have any more question?

If my response helps to solve your issue, kindly click thumps up to mark it as helpful and accept solution.

View solution in original post

8 REPLIES 8

Thanks Prabu, really appreciate this script.

Sorry to be a pain , whats the difference between name and Mention name?

With snmp community string i imagine i replace the name with the name of the credential i am looking for the password.

Never used scripts before, sorry if this is a silly question 🙂

@Imran Akram no problem! happy to help.

Yes the name of the credential, also in the first line you can reuse the same script for retrieving passwords from other credential table discovery_credentials for example basic auth credentials etc. Let me know if you have any more question?

If my response helps to solve your issue, kindly click thumps up to mark it as helpful and accept solution.

Fantastic, got it working - thanks again for your help  😁

@Imran Akram great to know it worked!