[ 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 15 F
n, 14 Feb 2011 15:56:58 +
> Von: Dave Shield
> An: normanrae...@gmx.de
> CC: net-snmp-users@lists.sourceforge.net
> Betreff: Re: initialize table problem
> On 14 February 2011 15:20, wrote:
> > i try to initialize some entries within a table,
> > but every time i
On 14 February 2011 15:20, wrote:
> i try to initialize some entries within a table,
> but every time i get only the last insrted entry from the table.
> It looks like an table iterator problem. I'm sure there are two entries.
Well, that's the first thing to check.
You've got a debug statement w
Hello,
i try to initialize some entries within a table,
but every time i get only the last insrted entry from the table.
It looks like an table iterator problem. I'm sure there are two entries.
The followed request should gives the specific table entries.
snmptable -v 2c -c public -Cf + localho
Wiadomość Oryginalna
Od: "Dave Shield" <[EMAIL PROTECTED]>
Do: maciej_golas <[EMAIL PROTECTED]>
Kopia do: net-snmp-users@lists.sourceforge.net
Data: 20 marca 2007 10:29
Temat: Re: Re: RE: Table problem with ASN_IPADDRESS index
> On 19/03/07, maciej_golas
On 19/03/07, maciej_golas <[EMAIL PROTECTED]> wrote:
> > What version of the Net-SNMP code are you working with?
>
> net-snmp version 5.2
If you do mean 5.2 (and not 5.2.3), then this release is well
over two years old by now, and a *LOT* has changed since
then. In particular, I'm pretty sure we'
Wiadomość Oryginalna
Od: Adam Bell <[EMAIL PROTECTED]>
Do: maciej_golas <[EMAIL PROTECTED]>
Kopia do: net-snmp-users@lists.sourceforge.net
Data: 19 marca 2007 17:05
Temat: RE: RE: Table problem with ASN_IPADDRESS index
> But is your host an Intel platform?
>
>
Wiadomość Oryginalna
Od: "Dave Shield" <[EMAIL PROTECTED]>
Do: maciej_golas <[EMAIL PROTECTED]>
Kopia do: net-snmp-users@lists.sourceforge.net
Data: 19 marca 2007 16:18
Temat: Re: RE: Table problem with ASN_IPADDRESS index
> Ideally, it shouldn't be necessa
Wiadomość Oryginalna
Od: Adam Bell <[EMAIL PROTECTED]>
Do: maciej_golas <[EMAIL PROTECTED]>
Kopia do: net-snmp-users@lists.sourceforge.net
Data: 19 marca 2007 17:05
Temat: RE: RE: Table problem with ASN_IPADDRESS index
> But is your host an Intel platform?
>
>
Wiadomość Oryginalna
Od: Patrick J Kobly <[EMAIL PROTECTED]>
Do: maciej_golas <[EMAIL PROTECTED]>
Kopia do: Adam Bell <[EMAIL PROTECTED]>, net-snmp-users@lists.sourceforge.net
Data: 19 marca 2007 16:11
Temat: Re: Table problem with ASN_IPADDRESS index
> Maciej,
&
:57 AM
To: Adam Bell
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: RE: Table problem with ASN_IPADDRESS index
Wiadomość Oryginalna
Od: Adam Bell <[EMAIL PROTECTED]>
Do: maciej_golas <[EMAIL PROTECTED]>, net-snmp-users@lists.sourceforge.net
Data: 19 marca 2007 14:17
Tema
On 19/03/07, maciej_golas <[EMAIL PROTECTED]> wrote:
> Od: Adam Bell <[EMAIL PROTECTED]>
>
> > Is the host or the agent running on a little endian machine?
> > You may have to byte swap at the appropriate location to get network order.
> >
> > Adam
> >
>
> My host runs on Lunux (x86 architecture).
Maciej,
Check out the man page for htonl(3).
PK
maciej_golas wrote:
> My host runs on Lunux (x86 architecture).
> But how to do "byte swap" under my agent? The code generated by mib2c allows
> that?
>
-
Take Surveys. Ea
Wiadomość Oryginalna
Od: Adam Bell <[EMAIL PROTECTED]>
Do: maciej_golas <[EMAIL PROTECTED]>, net-snmp-users@lists.sourceforge.net
Data: 19 marca 2007 14:17
Temat: RE: Table problem with ASN_IPADDRESS index
> Is the host or the agent running on a little endian machine?
&g
-users@lists.sourceforge.net
Subject: Table problem with ASN_IPADDRESS index
I'm new to snmp, so maybe my problem is trivial, but I couldn't find answer
to my problem.
For my MIB I created a C code using mib2c, I added a few lines to add a row
to my table to see if everything is OK.
And t
I'm new to snmp, so maybe my problem is trivial, but I couldn't find
answer to my problem.
For my MIB I created a C code using mib2c, I added a few lines to add a row
to my table to see if everything is OK.
And there is my problem, when i do snmpwalk:
$snmpwalk localhost .1.3.6.1.4.1.
I get:
Hi to all,
I am new to net-snmp and I have a problem accessing the data of a table.
I have already noticed the previous discussion indexed "table problems",
but I followed the rule init_FILENAME and I still have problem.
I ran mib2c.create-dataset.conf on my MIB file. The .c and .h files are
attac
On Wed, 2005-06-01 at 21:55, Greg L Robillard wrote:
> for (request = requests; request; request = request->next) {
[snip]
> What is happening is the request->next continues to move through
> the table
That's a misunderstanding.
"request->next" doesn't move through the table, from one
r
> On Wed, 01 Jun 2005 15:55:48 -0500, Greg L Robillard <[EMAIL PROTECTED]>
> said:
Greg> The walk begins with an index of 0, then a 1. For some reason,
Greg> the next occurrance triggers a request->processed = 1 with an
Greg> index of 0. The remaining indexes are 1,2,3,4,5,6. Normal.
Gr
I am executing the following command
snmpwalk -v2c -m /myMib.my -c public localhost enterprises
Here is a code snippet of my handler
for (request = requests; request; request = request->next) {
var = request->requestvb;
if (request->processed != 0)
{
dprintf("request->processed failed\
20 matches
Mail list logo