Send Netdot-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-users digest..."


Today's Topics:

   1. Re: Asset Product keeps changing (Justin Miller)


----------------------------------------------------------------------

Message: 1
Date: Tue, 22 Apr 2014 16:15:06 -0400
From: Justin Miller <[email protected]>
Subject: Re: [Netdot-users] Asset Product keeps changing
To: Carlos Vicente <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"

Carlos,

I check out the SNMP:Info list and found the patches. It hasn't been rolled 
into the latest version. I applied them manually to version 3.13. I also 
updated the mikrotik mib file.

I'm using a test perl file to make sure the SNMP::Info Mikrotik.pm file work. 
Here is the output:

Device 1
SNMP::Info::_global layers : SNMPv2-MIB::sysServices.0 : .1.3.6.1.2.1.1.7.0
SNMP::Info::_global description : SNMPv2-MIB::sysDescr.0 : .1.3.6.1.2.1.1.1.0
SNMP::Info::_global id : SNMPv2-MIB::sysObjectID.0 : .1.3.6.1.2.1.1.2.0
SNMP::Info 3.13
SNMP::Info::device_type() layers:01001110 id:14988 sysDescr:"RouterOS 
RB1100AHx2"
SNMP::Info::specify() - Changed Class to SNMP::Info::Layer3::Mikrotik.
SNMP::Info::_global name : SNMPv2-MIB::sysName.0 : .1.3.6.1.2.1.1.5.0
SNMP::Info name : BRS-NAS
SNMP::Info is using this device class : SNMP::Info::Layer3::Mikrotik
SNMP::Info vendor : mikrotik
SNMP::Info::_global serial1 : MIKROTIK-MIB::mtxrSerialNumber.0 : 
.1.3.6.1.4.1.14988.1.1.7.3.0
SNMP::Info serial : 3AD202FCB435
SNMP::Info::_global description : SNMPv2-MIB::sysDescr.0 : .1.3.6.1.2.1.1.1.0
SNMP::Info model : RB1100AHx2
SNMP::Info os : routeros
SNMP::Info::_global mtxrHlTemperature : MIKROTIK-MIB::mtxrHlTemperature.0 : 
.1.3.6.1.4.1.14988.1.1.3.10.0
SNMP::Info board_temp : 
SNMP::Info::_global mtxrHlProcessorTemperature : 
MIKROTIK-MIB::mtxrHlProcessorTemperature.0 : .1.3.6.1.4.1.14988.1.1.3.11.0
SNMP::Info cpu_temp : 35

Device 2
SNMP::Info::_global layers : SNMPv2-MIB::sysServices.0 : .1.3.6.1.2.1.1.7.0
SNMP::Info::_global description : SNMPv2-MIB::sysDescr.0 : .1.3.6.1.2.1.1.1.0
SNMP::Info::_global id : SNMPv2-MIB::sysObjectID.0 : .1.3.6.1.2.1.1.2.0
SNMP::Info 3.13
SNMP::Info::device_type() layers:01001110 id:14988 sysDescr:"RouterOS RB1100"
SNMP::Info::specify() - Changed Class to SNMP::Info::Layer3::Mikrotik.
SNMP::Info::_global name : SNMPv2-MIB::sysName.0 : .1.3.6.1.2.1.1.5.0
SNMP::Info name : lab-unp-core
SNMP::Info is using this device class : SNMP::Info::Layer3::Mikrotik
SNMP::Info vendor : mikrotik
SNMP::Info::_global serial1 : MIKROTIK-MIB::mtxrSerialNumber.0 : 
.1.3.6.1.4.1.14988.1.1.7.3.0
SNMP::Info serial : 24E6019747AD
SNMP::Info::_global description : SNMPv2-MIB::sysDescr.0 : .1.3.6.1.2.1.1.1.0
SNMP::Info model : RB1100
SNMP::Info os : routeros
SNMP::Info::_global mtxrHlTemperature : MIKROTIK-MIB::mtxrHlTemperature.0 : 
.1.3.6.1.4.1.14988.1.1.3.10.0
SNMP::Info board_temp : 
SNMP::Info::_global mtxrHlProcessorTemperature : 
MIKROTIK-MIB::mtxrHlProcessorTemperature.0 : .1.3.6.1.4.1.14988.1.1.3.11.0
SNMP::Info cpu_temp : 53

Asset table
S/N,Base MAC,Product,Inventory,Maint Start,Maint End,Reserved For 
24E6019747AD,000C424A1F1F,mikrotik RB1100AHx2,,,, 
3AD202FCB435,D4CA6D42085C,mikrotik RB1100AHx2,,,, 

Product Table
Name,Type,Description,Manufacturer 
Generic Net-SNMP Agent,Module,,Net-SNMP 
RB1100AHx2,Server,RouterOS 6.12 on RB1100AHx2,mikrotik 
Unknown,Wireless Controller,,Unknown 
Windows Server,Module,,Microsoft 

Device Table
Name,Asset,Site,SNMP Target Address 
brs-nas.vaskywire.com,mikrotik RB1100AHx2 3AD202FCB435 
D4CA6D42085C,,10.231.9.32 
lab-unp-core.vaskywire.com,mikrotik RB1100AHx2 24E6019747AD 
000C424A1F1F,,10.231.9.44 

The odd behavior still persists in the assets. It looks like now the asset's 
product always stays the same stuck at "mikrotik RB1100AHx2". A new product 
isn't created each time a new device is found. I can delete the product and add 
a different device and have a new product but that name then gets stuck. The 
system descriptions are correct under device.
Which function in the SNMP:Info file is responsible for creating a new product? 
 Is the System ID OID under product the issue?

What other information do you need?


Justin



On Apr 21, 2014, at 5:34 PM, Carlos Vicente <[email protected]> wrote:

> Hi Justin,
> 
> There is definitely something wrong with how SNMP::Info presents the mikrotik 
> information to Netdot. Otherwise, it would not assume that it?s discovering 
> the same device. 
> 
> I saw some activity on the Microtik class of SNMP::Info recently. I would try 
> updating and see if that helps. If not, you?ll have to provide some debugging 
> output to try and find the exact issue.
> 
> Best,
> 
> cv
> 
> On Apr 17, 2014, at 4:10 PM, Justin Miller <[email protected]> wrote:
> 
>> I've just installed 1.0.6 on wheezy. 
>> 
>> When I discover the first piece of hardware, the product shows up as 
>> "mikrotik x86".  The next piece of hardware that is discovered shows up as 
>> "mikrotik RB493AH" which is correct, but the previous device now also has 
>> it's product changed to "mikrotik RB493AH". The next one is "mikrotik 
>> RB433AH" and all the previous are also changed to this.   Which ever device 
>> I discover changes all previous devices to that new product type.
>> 
>> MikroTik is the manufacture and RB493AH is the product or model.
>> 
>> Am I doing something wrong, is this a bug, or is this an issue with 
>> SNMP:info translations for mikrotik device types?
>> 
>> Justin
>> _______________________________________________
>> Netdot-users mailing list
>> [email protected]
>> https://osl.uoregon.edu/mailman/listinfo/netdot-users
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20140422/0b67f018/attachment-0001.html
 

------------------------------

_______________________________________________
Netdot-users mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-users


End of Netdot-users Digest, Vol 65, Issue 10
********************************************

Reply via email to