Re: users to group association not working as expected

2025-01-30 Thread Lokesh Mogra
corrected typo: On Thu, Jan 30, 2025 at 2:56 PM Lokesh Mogra wrote: > Hi folks, > i am trying to create snmp groups and associating views with it. > and assign users to these groups. I see there is no explicit way to assign > user to group. > Am i missing some configuration?

users to group association not working as expected

2025-01-30 Thread Lokesh Mogra
Hi folks, i am trying to create snmp groups and associating views with it. and assign users to these groups. I see there is no explicit way to assign user to group. Am i missing some configuration? This is the configuration i am doing: # Define Views view view1 included .1.3.6.1.2.1 view view2

Can snmpd be configured, built and installed to run with specified user and group

2019-02-19 Thread Johnnyah McLean
I've solved my problem. snmpd provides the -u and -g command line switches. After startup, it will switch to the userid and groupid provided. It's dynamic config files will be created and accessed using this user and group. To enable remote configuration, I needed to be able to ru

Can snmpd be configured, built and installed to run with specified user and group

2019-02-14 Thread Johnnyah McLean
Is there a way to configure, build, install and run snmpd with a specific user and group? Something other than root:root, thx. ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change

Re: snmpd.conf : interface group

2016-06-09 Thread Zvi Vered
Hi Jeroen, My x86 is connected via PCIe to an Intel's device. This device(ASIC) is an ethernet switch (fm10k) Intel provides a linux library + device driver for managing the switch (e.g: read port status, set port speed). I want to run snmpd on the x86 and fill the TODO with the relevant Intel's A

Re: snmpd.conf : interface group

2016-06-09 Thread Jeroen van Ingen
Hi, What do you mean with "my x86 manages a switch" ? Are you running Linux on a hardware platform with x86 based main CPU, and does the hardware include some sort of on-board 16-port switch module? I don't have a solution for you, but if the above is roughly your situation, you may want to lo

snmpd.conf : interface group

2016-06-08 Thread Zvi Vered
Hello, Do you have a sample of list of interface I can put in snmpd.conf ? My x86 manages a switch. It runs snmpd. This x86 has few etherent devices. I think (not sure) that by default, ifNumber is the number of those devices. Am I right ? In my case the number of devices is 16 which are the n

Support for NOTIFY view in Group configuration

2013-09-04 Thread sarath azad
Hello, Could you please tell from which version of net-snmp will the support for NOTIFY-view in group configuration will be available? Also could you please suggest any work around for implementing NOTIFY-views? Thanks and regards S Sarath

Support for NOTIFY view in Group configuration

2013-08-30 Thread sarath azad
Hello, Could you please tell from which version of net-snmp will the support for NOTIFY-view in group configuration will be available? Also could you please suggest any work around for implementing NOTIFY-views? Thanks and regards S Sarath

RE: source IP filtering for a group of snmpv3 users

2012-01-26 Thread Frank Renwick
for a group of snmpv3 users On 26 January 2012 14:18, Frank Renwick wrote: > Using the VACM model in snmpd.conf, it is possible to restrict access > to v1 and/or v2c community strings based on source IP address of the > initiating NMS host (the host issuing snmpwalk, snmpget, etc)

Re: source IP filtering for a group of snmpv3 users

2012-01-26 Thread Dave Shield
On 26 January 2012 14:18, Frank Renwick wrote: > Using the VACM model in snmpd.conf, it is possible to restrict access to v1 > and/or v2c community strings based on source IP address of the initiating > NMS host (the host issuing snmpwalk, snmpget, etc) Strictly speaking - no, it's not. The Net-S

source IP filtering for a group of snmpv3 users

2012-01-26 Thread Frank Renwick
host issuing snmpwalk, snmpget, etc) Is it possible to use source IP filtering for groups of SNMPv3 users? To provide a concrete example, what configuration is required to create different source IP restrictions for the two groups below? Say one wants to limit the group 'if_group' to a

Re: would a single group with different access right to access different views?

2010-03-23 Thread Fatima Peter
Dave, Thanks so much. Will try it out. Thanks, Fatima On Tue, Mar 23, 2010 at 8:19 AM, Dave Shield wrote: > On 16 March 2010 09:49, Dave Shield wrote: >>> Could we configure: >>> >>> Group name   

Re: would a single group with different access right to access different views?

2010-03-23 Thread Dave Shield
On 16 March 2010 09:49, Dave Shield wrote: >> Could we configure: >> >> Group name    access right ReadView >> --- >> group1       noAuthNoPriv    none >> group1   AuthPriv    

Re: would a single group with different access right to access different views?

2010-03-16 Thread Dave Shield
On 15 March 2010 23:34, Fatima Peter wrote: > Suppose we have > > 2 views: “all” and “none” > 1 group: “group1” > 3 access right: noAuthNoPriv, AuthNoPriv, and AuthPriv > > > > Could we configure: > > Group name

would a single group with different access right to access different views?

2010-03-15 Thread Fatima Peter
Hello All, I am posting this question for a colleague and would appreciate whether what he is asking is reasonable. It doesn't look like it is so in my opinion. Suppose we have 2 views: “all” and “none” 1 group: “group1” 3 access right: noAuthNoPriv, AuthNoPriv, and AuthPriv Cou

Re: The problem of allowing a cooomunity or usmUser to belong to multiple group

2010-03-15 Thread Dave Shield
On 15 March 2010 19:02, Fatima Peter wrote: > I have a question on vacm group and whether the same communitystring or > usmUser can belong to multiple groups. Probably not. Looking at the vacmSecurityToGroupTable (in SNMP-VIEW-BASED-ACM-MIB) the table is indexed by the pair (securit

The problem of allowing a cooomunity or usmUser to belong to multiple group

2010-03-15 Thread Fatima Peter
Hello All, I have a question on vacm group and whether the same communitystring or usmUser can belong to multiple groups. For example let us say we have a community string "public" which is configured to belong to 2 groups "v1Group1" and "v1Group2". com2sec te

Re: why com2sec group ... are unknown tokens

2009-06-13 Thread Dave Shield
2009/6/13 fei tan : > C:\usr\bin>snmpget -v 1 -c public localhost sysDescr.0 > C:/usr/etc/snmp/snmp.conf: line 61: Warning: Unknown token: com2sec. Please see the FAQ entry Applications complain about entries in your example 'snmp.conf' file. Why? http://net-snmp.sourceforge.net/wiki/

why com2sec group ... are unknown tokens

2009-06-13 Thread fei tan
get -v 1 -c public localhost sysDescr.0 C:/usr/etc/snmp/snmp.conf: line 61: Warning: Unknown token: com2sec. C:/usr/etc/snmp/snmp.conf: line 62: Warning: Unknown token: com2sec. C:/usr/etc/snmp/snmp.conf: line 68: Warning: Unknown token: group. C:/usr/etc/snmp/snmp.conf: line 69: Warning: Unknown to

Re: snmpd group rights/permissions

2007-08-07 Thread Dave Shield
On 07/08/07, Shaun Hofer <[EMAIL PROTECTED]> wrote: > I've worked out that for some reason the [snmpd] process is not inheriting > the group misc, even thou the user snmp is definly part of it. That's probably correct. There was a patch applied to the main development

snmpd group rights/permissions

2007-08-06 Thread Shaun Hofer
Hi, I have snmpd query size of the partitions, with some partitions/mount points in a restricted directory. I added snmp user to group(misc) that has access. drwxr-x--- 14 miscmisc /etc/group misc:x:1001:snmp When ever snmpd is queried, I get Permission denied for snmpd, and snmpd can&#

how to extract from OBJECTS-GROUP collection of objects ?

2006-08-17 Thread Vlad Shafransky
Hi all! I'm using loadmib() function in order to get tree of mib. I have definition in mib like this: Xxx OBJECTS-GROUP{ OBJECTS{ Object1, Object2, etc } } How can I extract Objects from my Xxx object group? Thanks ,

RE: Error during compilation without system group

2005-12-29 Thread sasikumar.bodathula
hula (WT01 - Broadband Networks) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Error during compilation without system group >>>>> On Thu, 29 Dec 2005 20:06:02 +0530, <[EMAIL PROTECTED]> said: sasikumar> ./configure --prefix=/home/sasb/testsystem/netsnmp sasiku

Re: Error during compilation without system group

2005-12-29 Thread Wes Hardaker
> On Thu, 29 Dec 2005 20:06:02 +0530, <[EMAIL PROTECTED]> said: sasikumar> ./configure --prefix=/home/sasb/testsystem/netsnmp sasikumar> --with-out-mib-modules="mibII/system_mib" Try: ./configure --prefix=/home/sasb/testsystem/netsnmp --with-out-mib-modules="mibII/system_mib agentx/client"

Error during compilation without system group

2005-12-29 Thread sasikumar.bodathula
Hi All, I am using net-snmp-5.2.1.2, I want to exclude system mib and I am planning to provide my own system group implementation. While configuring I used the following option to exclude system mib group. ./configure --prefix=/home/sasb/testsystem/netsnmp --with-out-mib-modules="

Subagent scalar group

2005-08-10 Thread Glenn MacGregor
Hi All, I am using register_scalar_group to register for some oids in my agentx subagent. I can do get's no problem. When I try to walk it works but the oid that is asked for (and returned) is not completly correct. snmpget -c public -v1 10.1.1.1 .1.3.6.1.4.1.2234.67.12.4.1.1.0 The above returns

Re: OID for processor group on HP-UX

2004-12-29 Thread Dave Shield
[ Sorry for the delay in responding to this ] > Can anybody please let me know what are the OIDs for the > Processor Group objects like numActive and numPresent etc. I don't believe that there are MIB objects for those particular values. You'd probably need to calculate

OID for processor group on HP-UX

2004-10-18 Thread Murali Bestha
Hi, Can anybody please let me know what are the OIDs for the Processor Group objects like numActive and numPresent etc. Please help me as I could not frame these OIDs. Thanks in advance Murali --- This SF.net email is sponsored by: IT

Re: Group

2004-10-08 Thread Dave Shield
[ Sorry for the delay in responding to this ] > a)I have created a snmp v2 group using the command:: > "snmpvacm -v2c -c public 10.254.24.227 createSec2Group 3 myGroup RWGroup" > which creates the group "myGroup". > > Is it the right method?? Does t

Re: group creation and deletion

2004-09-09 Thread Tina Agarwal
gt; Sent: Thursday, September 09, 2004 7:24 PM Subject: Re: group creation and deletion > > I killed the agent process by "kill -9 pid" > > Argg!! > Then you deserve everything that happens to you! > > Never, never, NEVER use "kill -9"

RE: group creation and deletion

2004-09-09 Thread Andrews, Glenn J (Glenn)
A standard pkill -HUP pid would be nicer :) Glenn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Thursday, September 09, 2004 9:55 AM To: Tina Agarwal Cc: net-snmp-users Subject: Re: group creation and deletion > I killed

Re: group creation and deletion

2004-09-09 Thread Dave Shield
> I killed the agent process by "kill -9 pid" Argg!! Then you deserve everything that happens to you! Never, never, NEVER use "kill -9" unless you've tried absolutely *EVERYTHING* else first. This is telling the agent "Shut down now - don't bother trying to close tidily or save

Re: group creation and deletion

2004-09-09 Thread Tina Agarwal
Yes, it was created using "snmpvacm". I killed the agent process by "kill -9 pid" and restarted it "net-snmp-5.0.8/agent/snmpd". But Dave, This problem is not persistent. Sometimes it comes and sometimes it does not. Can you please tell me the proper steps of c

Re: group creation and deletion

2004-09-09 Thread Dave Shield
t; 4)Then I stop/start my agent and again do an >"snmpwalk -c public -v2c 10.254.24.227 1.3.6.1.6.3.16.1.2.1.3". > SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.3."mygroup" = STRING: RWGroup > > Question: Why is the group coming back after I stop/start my

group creation and deletion

2004-09-09 Thread Tina Agarwal
3 SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.2."anonymousSecName004" = STRING: anonymousGroupName004    SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.3."mygroup" = STRING: RWGroup 2)    I DELETE an already existing group in the running snmp agent using command "snmpva

Group

2004-08-18 Thread Tina Agarwal
Hi, a)I have created a snmp v2 group using the command:: "snmpvacm -v2c -c public 10.254.24.227 createSec2Group 3 myGroup RWGroup" which creates the group "myGroup". Is it the right method?? Does this only fulfills my requirement of creating a snmpv2 group?? Please sugges

Re: Interfaces group ifNumber handling

2004-06-09 Thread Wes Hardaker
ing fince except for the scalr Kurapati> ifNUmber in if group. What I observed is, even after Kurapati> starting the snmpd with the above option, when an snmpget on Kurapati> ifNumber is issued, var_interfaces() defined in interfaces.c Kurapati> is being called. For the ifTable,

Interfaces group ifNumber handling

2004-06-06 Thread Kurapati M-G19456
Hi, I wanted to provide my own implementation for the interfaces MIB. As suggested in the list I have used the -I -interface option and it seems to be working fince except for the scalr ifNUmber in if group. What I observed is, even after starting the snmpd with the above option, when an