SNMP v3 - Discovery

poyntzj
Kilo Sage

Hi all

We are still using Calgary., but it looks like this is still an issue with Eureka too.

I am working on a process that will help us get at least something data and running - even if it is basic.

However, I am hoping that someone here may have written a probe / sensor or maybe able to assist me

My plan is to use SNMPWalk on a MID server to perform a scan of our v3 devices and then store the data into a file.

I will then look to manipulate that data into a more useable format.

Once done, I will then use the Remote File Importer ServiceNow Share and then import the CSV, using a Transform map to create / update the CMDB data

 

While I am planning at the moment to use CSV and a transform map, but I wonder if creating an XML file as a normal discovery returns would be better / easier.

However, if I do create an XML, it is then getting a probe / sensor to read that and import it and that is where I would need assistance.

 

Cheers

4 REPLIES 4

aleck_lin
ServiceNow Employee
ServiceNow Employee

Julian,



Personally I would probably get it into an XML format (or even JSON if it's possible) and write a sensor to process it. It just feels much cleaner. Also, SNMPv3 will be available in Fuji, so you should be able to convert it fairly easily then.



The only tricky part is that you'd have to learn how to write the sensors. I don't think you'll have much trouble with it.


steve_klopfer
ServiceNow Employee
ServiceNow Employee

Julian, I saw your question and wondered if you ever got this working?   I have a customer who needs the same capability on Eureka before they can upgrade to Geneva.   They are trying to determine an approach and a level of effort, or wait for Geneva.   If you did this, could you give me a rough estimate of what the level of effort was?   Also if you did it, is it something you can share?   Thanks.


Ref: Snmp v3 configurations - DocWiki    



+ Try to snmpwalk the device using snmp v3 as below :



snmpwalk -v3 -u [SNMPv3 user] -A [password] -l [set-security-level] deviceIP <OID> .


## -u : is the snmp v3 user.


## -A : is the password.


## -l : is the authentication mode [noAuthNoPriv|authNoPriv|authPriv].


## -a : is the authentication protocol (MD5|SHA).



+ example :



C:\>snmpwalk -v3 -u V3User -A MyPassword -l authNoPriv -a MD5 10.10.10.10. 1.3.6.1. 2.1.1.2 SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.928



The above document seems to point in the right direction. poyntzj any updates?


poyntzj
Kilo Sage

Afraid not - I left that company before they updated / migrated - take over / TUPE = messy = left.