Thanks, so now in the
magazineTable_get_next_data_point(void **my_loop_context,
void **my_data_context,
netsnmp_variable_list *
put_index_data,
netsnmp_iterator_info *mydata)
How do I extract
On 20/09/06, Toth, Gregory S <[EMAIL PROTECTED]> wrote:
> How do I setup the indexes in the "get_first_data_point" method? Is it
> something like this:
[snip]
Right general idea, but a couple of problems:
> snmp_set_var_value(vptr, (u_char *) &this_name ,
>sizeof(t
So now that I got my single indexed (using a string) table working, I am
attempting to do a doubly indexed table using a unsigned and a string:
netsnmp_table_helper_add_indexes(table_info, ASN_UNSIGNED, /*
index: articlePage */
ASN_OCTET_STR, /* inde
On Wed, 20 Sep 2006 09:58:40 -0400 Robert wrote:
RS> On Wed, 20 Sep 2006 12:07:01 +0100 Steve wrote:
RS> SWS> When attempting to add an entry to ipAddressTable, I get debug/error
RS> SWS> messages:
RS>
RS> SWS> Before I wade in and start 'fixing' these 'problems', is there
RS> SWS> something I am
> "DS" == Dave Shield <[EMAIL PROTECTED]> writes:
>> I'd opt for 1.
DS> Seconded.
Since I voted for it to, that makes it +3 which sounds like a ball
rolling down hill so I'll make the change...
--
Wes Hardaker
Sparta, Inc.
---
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes:
TA> - 5.4 whenever we need a non-perl version *number*
Which is where?Do remember that 5.4.2 is not a *number* either.
--
Wes Hardaker
Sparta, Inc.
-
Take Surveys.
On 20/09/06, Toth, Gregory S <[EMAIL PROTECTED]> wrote:
> I got it to work finally. For some reason, doing the snprintf as
> described in my previous post did not always work:
>
> snprintf(this_index, strlen((char *)*my_loop_context),
>"%s",(const char*)*my_loop_context);
I doubt it's
Robert Story wrote:
> On Wed, 20 Sep 2006 07:40:33 -0700 Wes wrote:
> WH> Choices, IMHO:
> WH>
> WH> 1) make net-snmp-config use letters too (everything else does).
> WH>5.4.pre1 stays 5.4 instead of becoming 5.4.0.1 (which I always
> WH>thought was broken).
>
> I don't quite understand w
On Wed, 20 Sep 2006 15:59:20 +0100 Graeme wrote:
GW> Excellent thanks. That will be fine while waiting for the data to be
GW> updated.
GW> However once get_first/get_next has finished, the table_handler is
GW> called to return the data.
GW> Should I copy the required row of data found in get_first
On Wed, 20 Sep 2006 07:40:33 -0700 Wes wrote:
WH> Choices, IMHO:
WH>
WH> 1) make net-snmp-config use letters too (everything else does).
WH>5.4.pre1 stays 5.4 instead of becoming 5.4.0.1 (which I always
WH>thought was broken).
I don't quite understand what is being proposed. Some more exa
I got it to work finally. For some reason, doing the snprintf as
described in my previous post did not always work:
snprintf(this_index, strlen((char *)*my_loop_context),
"%s",(const char*)*my_loop_context);
So I tried using a c++ string rather than this_index for the temporary
vari
Hi,
RS> the get_first_data_point function is a good indication that a
RS> get is starting.
RS> You could block there till the data update finishes.
Excellent thanks. That will be fine while waiting for the data to be
updated.
However once get_first/get_next has finished, the table_handler is
Wes Hardaker wrote:
> Choices, IMHO:
>
> 1) make net-snmp-config use letters too (everything else does).
>5.4.pre1 stays 5.4 instead of becoming 5.4.0.1 (which I always
>thought was broken).
> 2) make 5.4.pre1 become 5.3.80 and rc1 become 5.3.90 (extrapolate from
>there). This is sort
On 20/09/06, Wes Hardaker <[EMAIL PROTECTED]> wrote:
> 1) make net-snmp-config use letters too (everything else does).
>5.4.pre1 stays 5.4 instead of becoming 5.4.0.1 (which I always
>thought was broken).
> 2) make 5.4.pre1 become 5.3.80 and rc1 become 5.3.90 (extrapolate from
>there).
> "WH" == Wes Hardaker <[EMAIL PROTECTED]> writes:
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes:
TA> 1) Stop translating 5.x.preX/5.x.rcX version numbers into 5.x.0.X in the
TA> first place, because it's the Wrong Thing To Do for any reasonable
TA> version arithmetics, IMHO.
WH> I w
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes:
TA> 1) Stop translating 5.x.preX/5.x.rcX version numbers into 5.x.0.X in the
TA> first place, because it's the Wrong Thing To Do for any reasonable
TA> version arithmetics, IMHO.
I was actually against that in the beginning so you'd get my v
On Thu, 14 Sep 2006 15:20:31 +0530 Jegan wrote:
J> I have extended the net-snmp as an agent. Now i am able to simulate
J> single device. How do i simulate multiple devices. How to make multiple
J> device respond differently
There are some ideas at
http://www.freesnmp.com/net-snmp/faqs/#mu
On Mon, 18 Sep 2006 18:44:44 +0530 Pradhap wrote:
PD> I am using snmpd (5.3.1) with agentx support . I have a subagent with
PD> sends continously send_v2trap() traps to the master agent. But the issue is
PD> snmpd hangs when send_v2trap is called continously . Below is the stack
PD> trace.
PD>
On Wed, 20 Sep 2006 13:41:07 +0100 Graeme wrote:
GW> I've used 'mib2c -c mib2c.iterate.conf' to generate some template code
GW> for my table.
GW> My data is not held by the agent its self - which was my reasoning for
GW> using the iterate config.
GW>
GW> The code all works fine, however, I need t
On Tue, 19 Sep 2006 20:35:59 +0530 Siva wrote:
SPRG> how to make net-snmp to support ath0 interface while using madwifi
SPRG> driver code.
SPRG> while running snmpd agent it is prompting message that "snmpd: ath0:
SPRG> Operation not supported"
What are you doing when you get that message?
-
On Tue, 19 Sep 2006 12:44:46 -0400 (EDT) Dominique wrote:
DB> the ifAdminStatus and the ifOperStatus are down.
do the interfaces appear in /proc/net/dev?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.
On Wed, 20 Sep 2006 12:07:01 +0100 Steve wrote:
SWS> When attempting to add an entry to ipAddressTable, I get debug/error
SWS> messages:
SWS> Before I wade in and start 'fixing' these 'problems', is there something
SWS> I am missing? I assume that someone has tested this code given that Linux
SWS>
Dear Coders,
When attempting to add an entry to ipAddressTable, I get debug/error messages:
Error 1:
Received SNMP packet(s) from UDP: [192.168.1.80]:1409
SET message
-- iso.3.6.1.2.1.4.34.1.3.1.4.192.168.1.83 [=2]
-- iso.3.6.1.2.1.4.34.1.4.1.4.192.168.1.83 [=unicast(1)]
-- iso.3.6
Hi,
I've used 'mib2c -c
mib2c.iterate.conf' to generate some template code for my
table.
My data is not held
by the agent its self - which was my reasoning for using the iterate
config.
The code all works
fine, however, I need to protect the data to prevent the agent performing reads
on
Wes Hardaker wrote:
> It's been a while since we've had a new release candidate with new
> features, and we're happy to start down the road toward the next major
> release of Net-SNMP. Version 5.4.pre1 is available at:
>
>
> http://sourceforge.net/project/showfiles.php?group_id=12694&package_i
Hello
We are porting an old application from the ucd-snmp to the net-snmp environment
and have problems with finding the function snmp_get_fd_for_session. This
function still exists in the snmp_api.h file, but we do not find it in the
snmp_api.c file or in the netsnmp library. Does that functio
On 19/09/06, Magnus Fromreide <[EMAIL PROTECTED]> wrote:
> Is find_prefix part of the public API?
Well, it's documented in 'netsnmp_library(3)"
> If that is the case then the question
> is what any external users might expect of it.
"Given two OIDs, determine the common prefix to them both.
On 20/09/06, Daniel Chuang <[EMAIL PROTECTED]> wrote:
> netsnmp_table_helper_add_indexes(table_info,
>ASN_OCTET_STR, /* index: ExampleDataName */
>0);
> How can you use 'IMPLIED" index without the len before it ?
ASN_PRIV_IMPLIED_OCTE
28 matches
Mail list logo