I will be happy to share the Database structure, and related perl module with you - the Database is SQLServer, and the module handles the ODBC interface to a table named "ARP". I am not sure if this is appropriate for your environment.
There is anothere script which scans the WINS database and populates device Names.
Please /msg me with your e-mail address, so I can send it to you.
Here is the layout of the ARP table:
Table: dbo_ARP
+ Page: 1
Properties
Attributes: Linked Connect:
+ ODBC;DSN=
+ HardwareDB;
+ APP=Microso
+ ft Office
+ 2003;WSID=
DateCreated 11/17/2004 DefaultView:
+ Datasheet
GUID: {guid LastUpdate
+ 11/17/2004
{76707E89-
NameMap: Long binary OrderByOn:
+ False
Orientation: Left-to-Right RecordCoun
+ -1
SourceTabl dbo.ARP Updatable:
+ False
Columns
Name Type
+ Size
ID Long In
+teger 4
Mac Text
+ 12
IP Text
+ 15
User Text
+ 16
HostName Text
+ 25
SwitchName Text
+ 15
SwitchPortIdx Long In
+teger 4
SwitchPortName Text
+ 10
HostType Text
+ 25
Notes Text
+ 255
UpstreamID Long In
+teger
Earth first! (We'll rob the other planets later)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.