Thanks David,
Are we using any Hash Table or tree implementation in this ? or only list.
Regards,
Manjit
Dave Shield wrote:
On 28 March 2011 08:29, Manjit wrote:
> How the handlers are registered for a particular oid.
This basically uses 'netsnmp_register_handler()'
(either dir
it quits with the same error
"initgroups failed: Operation not permitted."
even if I run with both options (-u and -g).
Thanks,
Ravi
On 3/29/11, Dave Shield wrote:
> On 28 March 2011 19:25, Ravi Kumar wrote:
>> Problem comes when I try to switch back to non-root user using -u
>> option. Afte
On 28 March 2011 19:25, Ravi Kumar wrote:
> Problem comes when I try to switch back to non-root user using -u
> option. After running snmpd using sudo. In this case snmpd quits with
> error "initgroups failed: Operation not permitted."
OK - that's useful information.
What happens if you try to
Den 25-03-2011 19:04, Eric Smith skrev:
> Is there an option that you provide during "make install" to control
> where the PERL SNMP modules are installed?
No, it is controlled by the perl that it detects during configure.
perl modules is tricky stuff :-) And parallel installs is not at all easy.
Hi Dave,
when I execute the snmpd command in root account rather than using
sudo it works perfectly fine and responses all queries.
[root@volga]# /home/ravi/net-snmp-5.5/agent/snmpd -c
/home/ravi/net-snmp-5.5/local/snmpd.conf,/var/net-snmp/snmpd.conf -C
-f -Le
Cannot find module (IP-MIB): At lin
Ok, well probably the next step is to turn on some debugging and/or look
around at system logs.
What else have you tried to try to figure this out yourself? If you run it
*without* -u ravi does it make any difference? Could it be that it's not
finding the libraries because sudo changes the path
snmpd quits. as soon as I execute it.
On 3/28/11, Steve Friedl wrote:
> What does "unable" mean? What happens when you try?
>
> -Original Message-
> From: Ravi Kumar [mailto:mynets...@gmail.com]
> Sent: Monday, March 28, 2011 9:22 AM
> To: net-snmp-coders
> Subject: unable to run snmpd a
What does "unable" mean? What happens when you try?
-Original Message-
From: Ravi Kumar [mailto:mynets...@gmail.com]
Sent: Monday, March 28, 2011 9:22 AM
To: net-snmp-coders
Subject: unable to run snmpd as non-root user
Hi,
Could any one tell me why the snmpd does not run with sudo as g
On 28 March 2011 17:22, Ravi Kumar wrote:
> Could any one tell me why the snmpd does not run with sudo as given below.
There's a problem somewhere.
Not a very helpful response, I know - but you haven't
exactly given us much information to work with.
If you want more meaningful assistance, it w
Hi,
Could any one tell me why the snmpd does not run with sudo as given below.
$ sudo /home/ravi/net-snmp-5.5/agent/snmpd -c
/home/ravi/net-snmp-5.5/local/snmpd.conf,/var/net-snmp/snmpd.conf -C
-u ravi
I am trying to run snmpd as root with sudo command on 161 port and
switch back to user ravi u
On 28 March 2011 08:29, Manjit wrote:
> > How the handlers are registered for a particular oid.
This basically uses 'netsnmp_register_handler()'
(either directly, or via another helper registration call,
which typically sets up the helper and handler chain information
and then calls 'netsnmp_
Hi All,
I am having some query about the netsnmp oid registration concept:
> Need to know in brief about the registration of a mib objects in the
mib-tree.
> How the tree is searched whenever a request arrives for a particular oid.
> How the handlers are registered for a particular oid.
What d
12 matches
Mail list logo