nv-l

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

2007-03-20 19:53:21
Subject: Re: [NV-L] CLI to list Community String for EACH node ???
From: Pablo.Wolinski AT police.govt DOT nz
To: Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>
Date: Wed, 21 Mar 2007 11:50:00 +1200
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 AT us.ibm DOT co                                           
  
             m>                                                         To 
             Sent by:                  Tivoli NetView Discussions          
             nv-l-bounces@list         <nv-l AT lists.ca.ibm DOT 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 AT lists.ca DOT 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 AT helices DOT org>                                                       
  
 Sent by:                                                               To 
 nv-l-bounces AT lists.ca.ibm DOT com             nv-l mailing list             
  
                                           <nv-l AT lists.ca.ibm DOT 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 AT lists.ca.ibm DOT 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 AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT 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 AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT 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 AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)