Unregistering table_containers

2008-03-24 Thread Magnus Fromreide
It seems as if netsnmp_container_table_unregister due to a mishap fails to undo the actions of netsnmp_container_table_register. The sequence leading up to the leak is as follows: 1. In the _register function netsnmp_container_table_handler_get is called. 2. In the _get function

Re: Can I subagent obtain the Host Resources MIB table index from the master agent?

2008-03-24 Thread Magnus Fromreide
First some general netiquette: please do not send HTML emails to mailing lists. On mån, 2008-03-24 at 05:52 -0700, Need Help wrote: > [How do I get hold of the index of a disk from HostRes-table for > augumentation from a subagent?] There is no way save for SNMP queries to get hold of the inde

Re: SNMP.pm doesn`t resolve integers to enums when using gettable()

2008-03-24 Thread G. S. Marzot
[EMAIL PROTECTED] wrote: > Hi > > I`m having problems with the SNMP.pm Perl module for Net-SNMP. I`m > trying to use the gettable() function to retrieve a table using the > following perl code: This should work but here is one thing to try. Leave out the: UseSprintValue => 1

RE: snmpd must be root?

2008-03-24 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Isaac Eliassi > Sent: Sunday, March 23, 2008 3:05 AM > I am creating an agent and I noticed that when I run it as > root everything seems to be ok, > > When I execute it as another user I get the following error : > > Erro

Can I subagent obtain the Host Resources MIB table index from the master agent?

2008-03-24 Thread Need Help
I am using Net-SNMP version 5.4.1The master agent already implements the Host Resources MIB to provide information relating to each of the disk drives which exist on the system.   Each disk drive is assigned a specific table index within the Host Resources table of course. Now, I have a new MIB fil

Re: snmpd must be root?

2008-03-24 Thread Sun Le
the snmpd,and if you run snmpd as a normal user,there might be some files that snmpd can not access.You should make them change also. Isaac Eliassi 写道: > chmod to which file? > > -Original Message- > From: Sun Le [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 23, 2008 3:10 PM > To: Isaa

Re: snmpd must be root?

2008-03-24 Thread Sun Le
What kinda user do you want? - To anyone: chmod command - To some specified user: chown command Isaac Eliassi wrote: Hi I am creating an agent and I noticed that when I run it as root everything seems to be ok, When I execute it as another user I get the following error : Error openin

How can i get data using IPv6?

2008-03-24 Thread KyungHoon Kang
To get a data using IPv4, we just set dotted ip address to 'peername' field like below. session.peername = "xx.xx.xx.xx" Detailed example is net-snmp site. http://www.net-snmp.org/wiki/index.php/TUT:Simple_Applicationhttp://www.net-snmp.org/wiki/index.php/TUT:Simple_Application> If I wan