This is possible, but the subject has caused confusion before,
so please forgive me for explaining something no one asked about.
It really is a chicken/egg problem. To use smartsets to assign
community strings, you must be able to define membership in the smartet
without snmp access. To know a router is a router, you probably need
snmp access. It is possible, if membership can be defined based on name
or address, but this is usually not the case.
The reason for adding support for smartsets to the SNMP configuration
dialog was primarily to allow you to make other settings, like timeouts and
retries and polling cycles based on membership in groups.
The best bet is to use the /usr/OV/conf/communitynames.conf file,
or, if you have a good addressing scheme, use the IP wildcard
capability in the SNMP configuration dialog.
Cordially,
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit
Michel.Grossenbacher@coop.ch@tkg.com on 05/02/2001 03:49:49 AM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: nv-l@tkg.com
cc:
Subject: AW: [NV-L] Multiple SNMP community string
Hello Brad
Why dont you make 2 Smartsets, one for the routers and the other one for
the
Servers? You can give each Smartset a differend community string in the
SNMP
Configuration. Just place into Target the smartset name and you have your 2
different strings, so NetView knows which string for what node is and goes
directly for them.
Greetings
Michel Grossenbacher
Coop
-----Ursprüngliche Nachricht-----
Von: Brad Martin [mailto:bmartin@MetLife.com]
Gesendet am: Dienstag, 1. Mai 2001 01:03
An: IBM NetView Discussion
Betreff: [NV-L] Multiple SNMP community string
We're trying to discover a subsidary that has multiple community strings in
the same IP subnet. The routers use "stringA" and the servers use
"stringB".
In the dialog window for configuring SNMP polling, I would like to say try
"stringA" and if that fails try "stringB". Is there away to do this? If
not, does anyone have any recommendations?
Brad Martin
MetLife
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|