question on vacmSecurityToGroupTable

anand anand <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAJtbuGK+hyMpN7vcWxZbRDMfQ0Xmw9b+ATJurG6HvBL5uQjdcw@mail.gmail.com>
Hello all,

Below is the output of a snmpwalk on vacmSecurityToGroupTable. The question
is regarding *comm4*

[root@localhost ashish]# snmpwalk -v 2c -c private   localhost
SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupTable
SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.1."*comm4*" = STRING: grpcomm4
SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.2."*comm4*" = STRING: grpcomm4
SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.3."anand" = STRING: grpanand
SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.3."user2" = STRING: grpuser2
SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.3."anand1" = STRING: grpanand1
SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStorageType.1."*comm4*" =
INTEGER: permanent(4)
SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStorageType.2."*comm4*" =
INTEGER: permanent(4)
SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStorageType.3."anand" = INTEGER:
permanent(4)
SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStorageType.3."user2" = INTEGER:
permanent(4)
SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStorageType.3."anand1" =
INTEGER: permanent(4)
SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStatus.1."comm4" = INTEGER:
active(1)
SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStatus.2."comm4" = INTEGER:
active(1)
SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStatus.3."anand" = INTEGER:
active(1)
SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStatus.3."user2" = INTEGER:
active(1)
SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStatus.3."anand1" = INTEGER:
active(1)


It seems in function vacm_gen_com2sec ( mibgroup/mibII/vacm_conf.c)
*comm4*gets created when the parser  encounters rwcommunity private in
the
snmpd.conf file.

Can somebody tell why are  2 rows vacmGroupName.*1*."*comm4*"
and vacmGroupName.*2*."*comm4*" created and what does each of these rows
signify.


Below is the snip from the snmpd.conf

rwuser  anand1  noauth

# rouser: a SNMPv3 read-only user
#   arguments:  user [noauth|auth|priv] [restriction_oid]

 rouser  anand
 rwuser user2

# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
#   arguments:  community [default|hostname|network/bits] [oid]


rwcommunity private


Regard
-anand

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.