On 08/05/07, Makavy, Erez (Erez) <[EMAIL PROTECTED]> wrote:
> I tried adding this line to target.c:get_target_sessoin():
>
> netsnmp_ds_set_string(NETSNMP_DS_LIBRARY_ID,
> NETSNMP_DS_LIB_CLIENT_ADDR, "localhost:");
> I get an error, you can see in the debug logs:
>
On 10/05/07, Umesh Shivaswamy <[EMAIL PROTECTED]> wrote:
> I am trying to use the sample code
> but my snmp set action funcation is not at all
> reached.
> When i do normal snmp set command it reaches all the
> function it should.
What do you mean by "normal set command"?
What are the exact comman
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 13/05
This is the command I am executing to start my specialize agent (based on what
the tutorial recommends):
./ocStbHostAVInterfaceTable -f -L -DocStbHostAVInterfaceTable -M localhost:1161
The command line options for this agent are listed below. It seems the "-M"
option is to indicate to use a s
On 18/05/07, Wes Hardaker <[EMAIL PROTECTED]> wrote:
> > "DS" == Dave Shield <[EMAIL PROTECTED]> writes:
>
> DS> The revision that I submitted implemented support for these two
> DS> tokens, following the same model as the previous code. What's
> DS> the problem about that - as compared to swi
On 18/05/07, Need Help <[EMAIL PROTECTED]> wrote:
> Trying to learn NetSnmp, I was reading through the following tutorial:
>
> http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/if-mib/index.html
>
> This tutorial relates to the ifTable MIB
Actually, this tutorial really relates to the MfD fr
> "DS" == Dave Shield <[EMAIL PROTECTED]> writes:
DS> The revision that I submitted implemented support for these two
DS> tokens, following the same model as the previous code. What's
DS> the problem about that - as compared to switching to a completely
DS> different style of coding?
Sorry,
On 15/05/07, utpala m <[EMAIL PROTECTED]> wrote:
> We have changed the netsnmp 5.0.9 config files so that there is no
> difference, we are linking against the static libraries of netsnmp (to avoid
> dependencies on the target machines where it will be installed) . Now in
> that case we observe that
Yes, of course .
Trying to learn NetSnmp, I was reading through the following tutorial:
http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/if-mib/index.html
This tutorial relates to the ifTable MIB and explains how to update the code
accordingly with the goal of being able to perform
On 18/05/07, Need Help <[EMAIL PROTECTED]> wrote:
> I have no idea what the -M option does I was just following the
> tutorial.
You keep talking about "the tutorial".
It might be useful if you could be a bit more explicit about exactly
which tutorial you are following. There are several diff
On 18/05/07, Wes Hardaker <[EMAIL PROTECTED]> wrote:
> > "DS" == Dave Shield <[EMAIL PROTECTED]> writes:
>
> DS> I would question whether it is sensible to change the code style
> DS> so dramatically in a bug-fix-only branch.
>
> It was a fairly nasty bug, hence the need for a nasty change.
A
I have no idea what the -M option does I was just following the tutorial.
However, I tried your recommendation and got the following warning produced:
Warning: Failed to connect to the agentx master agent ([NIL])
It seems it is trying to do something with an AgentX agent now. I do not
Need Help wrote:
> If I update the "snmpd.conf" file (or "snmp.conf" file) then must I perform a
> "make install" (or perhaps any other command) before the changes take affect?
No, you need to restart snmpd or send it the SIGHUP signal.
+Thomas
-
On fre, 2007-05-18 at 10:16 -0700, Need Help wrote:
> The configuration file I created is located at the following location:
>
> /export/home/myname/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.conf
>
> and has only one line in it as follows:
>
> rocommunity mycommunity_ro
>
>
If I update the "snmpd.conf" file (or "snmp.conf" file) then must I perform a
"make install" (or perhaps any other command) before the changes take affect?
-
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.---
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes:
TA> The change to trunk/net-snmp/apps/snmpusm.c seems to be related to patch
TA> 1591355, not 1645698. It also breaks test #20. I assume it went in by
TA> accident. I've backed it out in r16384.
Thanks. My patme script wasn't doing a proper
> "DS" == Dave Shield <[EMAIL PROTECTED]> writes:
DS> I would question whether it is sensible to change the code style
DS> so dramatically in a bug-fix-only branch.
It was a fairly nasty bug, hence the need for a nasty change.
--
Wes Hardaker
Sparta, Inc.
---
The configuration file I created is located at the following location:
/export/home/myname/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.conf
and has only one line in it as follows:
rocommunity mycommunity_ro
I started the agent using the following:
./ocStbHostAVInterfaceTable
On 17/05/07, Wes Hardaker <[EMAIL PROTECTED]> wrote:
> I haven't compared what you did against the generated code, but the
> generated .xs file is a nasty state machine. I'm not sure you did
> something equivalently nasty.
I did something equivalent to the code immediately preceding the
patch tha
On 17/05/07, Newase Sagar Deepak <[EMAIL PROTECTED]> wrote:
> i have compiled Netsnmp agent and running.
> how to query snmpV3 from manager side and what changes to be made at
> snmpd.conf file
See the file README.snmpv3
Dave
---
On 16/05/07, Robert Story <[EMAIL PROTECTED]> wrote:
> didn't we already have '--with-ld'?
Doesn't look like it, no.
There's "--with-ldflags" but not "--with-ld".
On Tue, 15 May 2007 00:10:31 +0200 Thomas wrote:
> Looking at automake, however, the standard variable
> for this seems to be CCLD ins
On 18/05/07, Need Help <[EMAIL PROTECTED]> wrote:
> When I execute the "snmpwalk" command, it no longer has a problem with the
> syntax used (as was my original problem), but instead it now produces the
> following response after waiting two second or so:
>
> "Timeout: No Response from localhos
I've just read through the whole of this thread once again,
and am feeling somewhat confused as to exactly what you
are trying to do.
The impression that I get is that you are trying to hook up
the Net-SNMP (v5.4) agent together with some other SNMP
agent - presumably the native Solaris one. Is
I am performing the following three steps below (as recommended by the NetSnmp
tutorial) to be able to test whether the changes I made to the
"xxx_data_access.c" table file can be accessed via an "snmpwalk" request:
1) make -f ocStbHostAVInterfaceTable_Makefile
2) ./ocStbHostAVInterfaceTable -f
I am performing the following three steps below (as recommended by the NetSnmp
tutorial) to be able to test whether the changes I made to the
"xxx_data_access.c" table file can be accessed via an "snmpwalk" request:
1) make -f ocStbHostAVInterfaceTable_Makefile
2) ./ocStbHostAVInterfaceTable -f
Then what is the purpose of the "row_prep" procedure ? Basically, when would i
place code in the "row_prep" procedure?
Dave Shield <[EMAIL PROTECTED]> wrote: On 18/05/07, Need Help wrote:
> This is because the data can change so I can not simply load it
> one time when the "container_load"
On 18/05/07, Need Help <[EMAIL PROTECTED]> wrote:
> This is because the data can change so I can not simply load it
> one time when the "container_load" procedure is called at the start.
> ** I guess I am assuming that the "container_load" procedure only gets
> called one time at the start...
Thing is, the code I gave you was only my "test" code. My real implementation
(once I am convinced I know what I am doing) is going to require me to populate
the row context data (all the rows in the table) in the "row_prep" procedure
and "not" in the "container_load" procedure anymore. This
[EMAIL PROTECTED] wrote:
> Revision: 16373
> http://net-snmp.svn.sourceforge.net/net-snmp/?rev=16373&view=rev
> Author: hardaker
> Date: 2007-05-16 21:39:31 -0700 (Wed, 16 May 2007)
>
> Log Message:
> ---
> CHANGES: snmplib: patch: 1645698: fix 64-bit signed integer encodi
Hello everyone
I am using net-snmp(v5.4, FC4) to implement a trap sending utility in
our agent. Net-snmp dumps an error msg "No support for any checked
transport domain" when I invoke the method 'create_trap_session()' to
initialize trap sinks.
I resolved this issue by invoking 'netsnmp_tdomain
30 matches
Mail list logo