![]() Now when adding the device, we can see that it's correctly discovered :Īn existing device's OS can be rediscovered by using the command. Here we're identifying the device by sysDescr, matching anything that starts with "CISCO SPA" by regular expression. Here we're identifying the device by sysObjectID since all SPAs seem to have the same OID in the ciscoSB table. Some OSes have their own icons, and sometimes we use historical icons to help visually identify things like with Cisco's older CatOS. If it's not the same as the vendor in lower case, it'll need to be defined separately. If the vendor already exists, use the exact same string, otherwise use the vendor name. This is a string identifying the vendor of the device. This is mostly used in the UI for search and grouping purposes. This is used to automatically classify the type of the device. It's used in the UI in place of the OS identifier. We recommend that you include elements to identify both the vendor and the OS or product family here. Lets break this down line by line, even though a lot of this is pretty obvious! Multiple sysObjectID and sysDescr match lines can be included in the definition, and only one is required to match. sysDescr entries are matched as regular expressions. Often you can identify an OS, model and version from this alone. The sysDescr is a text string set by the vendor which usually has the vendor name, the os name, versions, model numbers and that sort of thing in. ![]() sysObjectID entries are matched against the beginning of the string, for example. ![]() Often if you look at the Ids of a number of devices you'll see a pattern which will make it easy to identify them. The sysObjectID is (should be) an OID which identifies the type of device, some vendors have per-model Ids, some per-family, some per-OS, some have a single id for all of their products and some ship with the default id of the SNMP stack they used. # snmpget -v2c -c public localhost sysDescr.0 sysObjectID.0 -On Migrating to a system with a different architecture ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |