- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 05:43 AM
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.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 03:36 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 09:41 AM - edited 09-14-2023 09:42 AM
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 09:33 AM
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 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 09:41 AM - edited 09-14-2023 09:42 AM
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 11:39 AM
Fantastic, got it working - thanks again for your help 😁

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 11:42 AM
@Imran Akram great to know it worked!