Discussion:
Add OS Manufacturer and Model
tlkhorses
2012-04-10 23:26:20 UTC
Permalink
tlkhorses [http://community.zenoss.org/people/tlkhorses] created the discussion

"Add OS Manufacturer and Model"

To view the discussion, visit: http://community.zenoss.org/message/65805#65805

--------------------------------------------------------------
I use Mikrotik and Routerboards. Is there a way that when I move a "device" into Mikrotik or routerboard that it would detect the OS model such as RouterOS 5.14? Right now that in the overview is unknown . I have added the mikrotik zenpacks but that didn't make a different. I am using snmp.

Thanks,

tk
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65805#65805]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-04-10 23:35:24 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Add OS Manufacturer and Model"

To view the discussion, visit: http://community.zenoss.org/message/65794#65794

--------------------------------------------------------------
Yes that should be very doable with a custom modeler (assuming the device exposes it over SNMP). I can't seem to track down which ZenPack you are referring to that you have installed. Can you provide a link to which Packs you have installed and we can possible figure out what is going on?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65794#65794]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
tlkhorses
2012-04-10 23:45:33 UTC
Permalink
tlkhorses [http://community.zenoss.org/people/tlkhorses] created the discussion

"Re: Add OS Manufacturer and Model"

To view the discussion, visit: http://community.zenoss.org/message/65807#65807

--------------------------------------------------------------
Yep, the pack is here: http://community.zenoss.org/docs/DOC-8521 http://community.zenoss.org/docs/DOC-8521

tk
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65807#65807]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-04-10 23:51:03 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Add OS Manufacturer and Model"

To view the discussion, visit: http://community.zenoss.org/message/65796#65796

--------------------------------------------------------------
Thanks, not sure why, but I dont see this ZenPack listed in the zenpack index page: http://community.zenoss.org/community/zenpacks http://community.zenoss.org/community/zenpacks

Can you make sure that the "MKDeviceMap" modeler plugin is assigned to the device or device class?.

Also rather than dragging the device into the device class from somewhere else, what happens if you delete it, and then re-add it, adding directly into the device class without any intermediary classes?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65796#65796]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
tlkhorses
2012-04-11 00:08:57 UTC
Permalink
tlkhorses [http://community.zenoss.org/people/tlkhorses] created the discussion

"Re: Add OS Manufacturer and Model"

To view the discussion, visit: http://community.zenoss.org/message/65808#65808

--------------------------------------------------------------
Not sure why you don't see it. When I click on your link I see it though the spelling is off: http://community.zenoss.org/docs/DOC-8521 Microtick Router

I deleted one item and added it back in the device class and get Hardware Manufacturer and model as RouterBoard but nothing in OS Manufacturer or Model.

Modular plugins for that class is:
zenoss.snmp.NewDeviceMap
zenoss.snmp.DeviceMap
zenoss.snmp.InterfaceMap
zenoss.snmp.RouteMap

tk
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65808#65808]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-04-11 00:23:40 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Add OS Manufacturer and Model"

To view the discussion, visit: http://community.zenoss.org/message/65797#65797

--------------------------------------------------------------
Gotcha, was just copy/pasting for the find.

So it sounds like you need to add the MKDeviceMap modeler plugin to that device class, and then remodel the device.

The plugin has '.1.3.6.1.4.1.14988.1.1.4.4.0': 'setOSProductKey'
which if I recall is the attribute for what you are after. Once you get the plugin enabled, I think you will be in business.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65797#65797]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
tlkhorses
2012-04-11 00:33:44 UTC
Permalink
tlkhorses [http://community.zenoss.org/people/tlkhorses] created the discussion

"Re: Add OS Manufacturer and Model"

To view the discussion, visit: http://community.zenoss.org/message/65809#65809

--------------------------------------------------------------
Adding that did give me the version but not the Manufacturer. I am not to worried about that part since I know but that would be nice also.

Thanks,

tk
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65809#65809]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-04-11 00:37:01 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Add OS Manufacturer and Model"

To view the discussion, visit: http://community.zenoss.org/message/65798#65798

--------------------------------------------------------------
Yeah for some reason manufacturer is actually commented out in the modeler code:
https://github.com/zenoss/Community-Zenpacks/blob/master/ZenPacks.AndreaConsadori.Microtick/ZenPacks/AndreaConsadori/Microtick/modeler/plugins/MKDeviceMap.py https://github.com/zenoss/Community-Zenpacks/blob/master/ZenPacks.AndreaConsadori.Microtick/ZenPacks/AndreaConsadori/Microtick/modeler/plugins/MKDeviceMap.py
snmpGetMap = GetMap({
#  '.1.2.840.10036.3.1.2.1.2.2' : 'manufacturer',
'.1.3.6.1.4.1.14988.1.1.3.9.0' : 'setHWProductKey',
'.1.3.6.1.4.1.14988.1.1.4.1.0' : 'setHWSerialNumber',
'.1.3.6.1.4.1.14988.1.1.4.4.0': 'setOSProductKey',
})
You might get lucky enough to just uncomment that line in your file on your file system and restart, but who knows for sure :)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65798#65798]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
tlkhorses
2012-04-11 00:45:58 UTC
Permalink
tlkhorses [http://community.zenoss.org/people/tlkhorses] created the discussion

"Re: Add OS Manufacturer and Model"

To view the discussion, visit: http://community.zenoss.org/message/65810#65810

--------------------------------------------------------------
Yeah, nothing there at that OID. Closest I can find on the board is:
SNMPv2-MIB::sysDescr.0 = STRING: RouterOS RB450G
Which tells me the Board.

tk
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65810#65810]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...