nv-l
[Top] [All Lists]

Re: [NV-L] CLI to list Community String for EACH node ???

To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Subject: Re: [NV-L] CLI to list Community String for EACH node ???
From: Pablo.Wolinski@police.govt.nz
Date: Wed, 21 Mar 2007 11:50:00 +1200
Cc:
Delivery-date: Tue, 20 Mar 2007 23:53:21 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OFBA402A0C.EAFB6AD0-ON852572A4.0053E657-852572A4.0053F384@us.ibm.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
Hello Michael,

You can also try this variation on Leslie comments...

xnmsnmpconf -export | awk -F: '{ print $2,$1 }' | sort -u

Will give you a list of the communitynames in use with the hostnames
associated to them.

For a list of communitynames only you can try...

xnmsnmpconf -export | awk -F: '{ print $2 }' | sort | uniq -c

And exclude the whitespaces and title lines from the count. :-)

hth, Cheers!

Pablito.



                                                                           
             Leslie Clark                                                  
             <lclark@us.ibm.co                                             
             m>                                                         To 
             Sent by:                  Tivoli NetView Discussions          
             nv-l-bounces@list         <nv-l@lists.ca.ibm.com>             
             s.ca.ibm.com                                               cc 
                                                                           
                                                                   Subject 
             21/03/2007 03:16          Re: [NV-L] CLI to list Community    
                                       String for EACH node ???            
                                                                           
             Please respond to                                             
              Tivoli NetView                                               
                Discussions                                                
             <nv-l@lists.ca.ib                                             
                  m.com>                                                   
                                                                           
                                                                           





Try xnmsnmpconf -resolve <selection name>

Cordially,

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


                                                                           
 Michael D Schleif                                                         
 <mds@helices.org>                                                         
 Sent by:                                                               To 
 nv-l-bounces@lists.ca.ibm.com             nv-l mailing list               
                                           <nv-l@lists.ca.ibm.com>         
                                                                        cc 
 03/20/2007 11:07 AM                                                       
                                                                   Subject 
                                           [NV-L] CLI to list Community    
         Please respond to                 String for EACH node ???        
     Tivoli NetView Discussions                                            
      <nv-l@lists.ca.ibm.com>                                              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





We need to create a report that lists the Community String(s) that
Netview uses for EACH node.

This site is quite odd; in that communitynames.conf contains fifteen
(15) strings ;>

What do you think?

--
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--
_______________________________________________
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)
(See attached file: signature.asc)
_______________________________________________
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)

Attachment: signature.asc
Description: Binary data

_______________________________________________
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