nv-l
[Top] [All Lists]

Re: [NV-L] Discovery questions

To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Subject: Re: [NV-L] Discovery questions
From: Leslie Clark <lclark@us.ibm.com>
Date: Mon, 30 Apr 2007 17:02:14 -0400
Delivery-date: Mon, 30 Apr 2007 22:03:21 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <4B7EE6C5FCFF304D9A1880844C82AE4602151715@na1fcm08.dearborn.ford.com>
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com

Try
    nvUtil e '(isInterface=True)' '%IP Address%,%Selection Name%,%SNMP ifPhysAddr%'

For the sample interface below, that would give
172.16.5.20,thisnode.mydomaincom:eth1,0x001321AF82F5

# ovobjprint -s thisnode.mydomain.com:eth1
                OBJECTID                SELECTION NAME

OBJECT: 6054

        FIELD ID        FIELD NAME                      FIELD VALUE
        10              Selection Name                  "thisnode.mydomaincom:eth1"
        14              OVW Maps Exists                 1
        15              OVW Maps Managed                1
        24              SNMP ifType                     Ethernet CSMACD(6)
        25              SNMP ifPhysAddr                 "0x001321AF82F5"
        26              SNMP ifDescr                    "eth1"
        27              SNMP ifSpeed                    100000000
        37              IP Address                      "172.16.5.20"
        39              IP Subnet Mask                  "255.255.255.0"
        40              IP Status                       Normal(2)
        83              isCard                          TRUE
        84              isInterface                     TRUE
        89              isHSRP                          FALSE
        95              isIP                            TRUE
        173             XXMAP Protocol List             "IP"
        174             XXMAP SAPs Used List            0
        202             TopM Network ID                 6058
        203             TopM Segment ID                 6059
        204             TopM Node ID                    6055
        1520            default IP Symbol List          10376
#


See also that tool script 'macem.sh' I left there that looks up the mac in Netview for a list of IP addresses.

Cordially,

Leslie A. Clark
IT Services Specialist, Network Mgmt
Information Technology Services Americas
IBM Global Services
(248) 552-4968 Voicemail, Fax, Pager



"Kain, Becki \(B.\)" <bkain1@ford.com>
Sent by: nv-l-bounces@lists.ca.ibm.com

04/30/2007 04:15 PM
Please respond to
Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>

To
"Tivoli NetView Discussions" <nv-l@lists.ca.ibm.com>
cc
Subject
[NV-L] Discovery questions





Oh gentle learned people, I have some questions for a discovery that we are doing:

1.  i'm scanning by lists of whole ranges of ip's, listed ip by ip in the seedfile.  Some things may not be in dns and I'm looking for all things on that network segment, be them servers, routers, switches, etc..  They may or may not have snmp enabled.  I was teasing this data out of the database with "nvUtil e isNode=TRUE" but is there a better way?

2.  if snmp is enabled, is there an easy way to get all the mac addresses of all of the interfaces of a device?  

Thank you in advance

-Becki Kain _______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)

_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web