Hi,
Yes, even I had faced such compiler errors , I had fixed them by doing
explicit casting.
After all compiler errors were fixed, during linking I was getting
undefined reference errors.
The net-snmp version is 5.1.2.
Will send you the linker error log soon,
Regards,
Madhavi
-Original Message
Hi Greeting:
When I did make install on 5.0.6 I got the following warning. Is it okay to ignore
this warning? List the warning in the following.
libtool: install: warning: remember to run `libtool --finish /usr/local/lib'
installing libnetsnmphelpers.la in /tmp/usr/local/lib
PATH="$PATH:
Counter64 is a standard type in SMIv2. Integer64 is non-standard.
You'll need to enable OPAQUE_SPECIAL_TYPES to use Integer64, and it
won't be interoperable with most snmp deployments. So what is it you're
trying to do, since you're violating the standards?
-Original Message-
From: [EMAI
I sent this question a couple of weeks ago but have since gotten no answer
(and was told to be patient when I tried to ask again.)
When I put an OID into a PDU with ASN_COUNTER64 using the counter64 struct,
everything works fine. But when I try ASN_INTEGER64 I get:
Unknown Error (Internal error i
Hi All,
I've been searching around for any document that explains what is necesary
to build an agent. I'm interested on general theory on how an agent works,
its architecture, etc. Is there someplace I can find any documentation? does
net-snmp have one?
Thanks
__
Hi all,
I need to implement the H.341 protocol. I have the MIB files which I
need to convert to source code files. mib2c converts object to object to
code but there's just too many objects to translate so I'd like to know
what you who need to do the same do about this. Does mib2c do the work
by
On Tue, 28 Sep 2004 19:01:04 +0800 Jim wrote:
JS> I encountered one small problem. I installed net-snmp5.1.1 on my target
JS> machine before. Now I created a tar ball for net-snmp5.0.6 and untar on the
JS> target machine. There is still many soft links to libx.5.1.1 in the
JS> /usr/local/lib.
On 28 Sep 2004 12:26:09 +0530 Sasikumar wrote:
SB> The code use to implement this 8 bit value is as follows(Thhis is not
SB> the complete code only the part which handles bits is shown).
SB>
SB> iVal = atoi(cVal);/*cVal is the value given by th server in string
SB>*form
SB>
On Tue, 28 Sep 2004 10:56:39 +0100 Dave wrote:
DS> > I'm compiling NetSNMP using g++ compiler instead of gcc.
DS> > When I do this , i get a number of undefined reference linker errors on
DS> > the base netSNMP code itself , even without any of the new code.
DS>
DS> Which version are you working w
Tuan Nguyen wrote:
Every time , I start snmpwalk , I get an return error
C:\SNMP\bin>snmpwalk -v 1 -c public -Oqs - 10.35.64.108 system
Table
What is the - between the -Oqs and ip address for? This should work:
snmpwalk -v 1 -c public -Oqs 10.35.64.108 system
Alex
C:/SNMP/etc/snmp/snmpapp.loc
Hi Robert:
Thanks!
Okay, finally I have the --with-install-prefix option added in net-snmp 5.0.6 version.
If any one ever has need to add this option in pre 5.1.x you have to modify the
Makefile.top, configure file in the top directory, and the Makefile.in in all the
subdirectories. It took me
On Tue, 28 Sep 2004 10:56:33 +0100 Dave wrote:
DS> Chris> I'm trying to use read_config_read_octet_string() (in 5.1.1)
DS> Chris> and I'm not getting the results I expect.
DS>
DS> Robert> No, the function is inconsistent in its use of the len parameter.
DS>
DS> I'm not sure I'd describe this beh
On Tue, 28 Sep 2004 08:54:57 -0700 Jeff wrote:
JJ> The bug report contains a code snippet that itself contains a bug. The
JJ> second code snippet:
JJ> len = sizeof(buf);
JJ> read_config_read_octet_string(str, (u_char**)&buf, &len);
JJ> snmp_log(LOG_INFO, "len:%d, buf:%s\n", len, buf);
JJ>
JJ> The
On Tue, 28 Sep 2004 13:26:18 +0100 Dave wrote:
DS> > I have cross-compiled my master agent with options
DS> > like "--prefix =/home/tina/snmpdbinary --enable-static --disable-shared"
DS> > given with configure. Due to this, my master agent does not make files
DS> > like libnetsnmpagent.so in the /h
Hi All,
I have a small question. I have cross-compiled my master agent with
options
like "--prefix =/home/tina/snmpdbinary --enable-static --disable-shared"
given with configure. Due to this, my master agent does not make files
like
libnetsnmpagent.so in the /home/tina/snmpdbinary/lib f
On Tue, 28 Sep 2004 12:42:02 +0100 Dave wrote:
DS> So if you've got a "trapsess" entry set up to use SNMPv3, then
DS> *all* traps sent by the agent will be SNMPv3 traps - regardless
DS> of the call that triggers sending it.
Just to clarify, all the traps sent to the host specified in the trapsess
Every time , I start snmpwalk , I get an return error
C:\SNMP\bin>snmpwalk -v 1 -c public -Oqs - 10.35.64.108 systemTableC:/SNMP/etc/snmp/snmpapp.local.conf: line 0: Warning: Unknown token: 10.35.64.108.snmpwalk: Unknown host (No such file or directory)
C:\SNMP\bin>
What should I need to do
Hello,
I'm newby in this. I'm trying to use mib2c to compile an MIB module, but I
don't know what the config file is for? or where can i get it from?
I'm trying to do this on Win32: mib2c -c mib2c.scalar.conf ...
It tells me that the configuration file can't be found, looked in
c:/usr/share/snmp
The bug report contains a code snippet that itself contains a bug. The
second code snippet:
len = sizeof(buf);
read_config_read_octet_string(str, (u_char**)&buf, &len);
snmp_log(LOG_INFO, "len:%d, buf:%s\n", len, buf);
The second param to read_config_read_octet_string should be a pointer to
a poi
Use -Le instead of -P
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> prashanth raghavan
> Sent: Tuesday, September 28, 2004 3:19 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Snmptrapd help
>
>
> I still get the same error message when I try out
> s
I still get the same error message when I try out
snmptrapd -m ALL -P. So can anyone tell me what
exactly is the problem.
Prashanth
--- Dave Shield <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED] net-snmp]# snmptrapd -P
> > /var/net-snmp/snmptrapd.conf: line 12: Error:
> > Bad trap OID
> I have cross-compiled my master agent with options
> like "--prefix =/home/tina/snmpdbinary --enable-static --disable-shared"
> given with configure. Due to this, my master agent does not make files like
> libnetsnmpagent.so in the /home/tina/snmpdbinary/lib folder. But when I try
> to cross comp
> ...
> I'd say that the basic problem here is that the behaviour is not
> documented properly. (Like so much else!)
> I'd suggest that:
>
> Robert> adding one line before the read will fix your problem:
> Robert> len = sizeof(value);
>
> this is the correct approach, and we just need to
> I encountered one snmpd crashed due to the snmpwalk timeout at the
> "IF-MIB::ifNumber.0 ". All the values before IF-MIB were returned. But
> there is time out on IF-MIB.
What are the access settings on this system?
What happens if you start the agent afresh, and then try the following
sin
MM> I am now looking forward to generate SNMPv3 trap from
MM> the agent code
RS> If you configured a 'trapsess',
RS> I'd expect that send_v2trap() would suffice.
That's correct.
The 'v2trap' refers to the structure of the request as it's passed to
the agent (i.e. an SNMPv2 inform-type PDU). Thi
[Probably a bit late now, but this
doesn't seem to have been answered yet ]
> I want to limit access to the net-snmp agent (snmpd) to only secure
> (encrypted) channels. In the simplest case, I can include rouser
> and rwuser in snmpd.conf and omit rocommunity and rwcommunity.
>
> I wonder if there is a
> table that compares arguments to the snmp-cmd commands, directives in
> the snmpd.conf file, and directives in the snmp.conf file?
Not really, no.
There are the three man pages 'snmpcmd', 'snmpd.conf' and 'snmp.conf'
but tha
Alex:
Thanks! The crash problem can be found in 5.2 and 5.0.9 too. I have feeling the
5.0.9 may be still okay because I manually tar the /usr/local to the target machine.
And there are some libxx.5.1.1 and soft link staff in /usr/local/lib. I suspect my
installation of 5.0.9 has mixed up wi
Hi All,
I have a small question. I have cross-compiled my master agent with options
like "--prefix =/home/tina/snmpdbinary --enable-static --disable-shared"
given with configure. Due to this, my master agent does not make files like
libnetsnmpagent.so in the /home/tina/snmpdbinary/lib folder. But
Hi Robert
Getting back to you after a long time. Actually the machine having the Sitenet
snmp agent was not available for some time so I could'nt debug the problem. The good
news is snmpget is working fine and nothing was wrong with it. I just had to give a
very big timeout value and it st
> Now i am implementing an table contain two rows, one present an internal
> net inteface and the other external net inteface. so i use 0 as index
> value of ixp0(external) and 1 as index of ixp1.
In general, it is perfectly legal to use '0' as the index value
for an integer-indexed table, as lon
Chris> I'm trying to use read_config_read_octet_string() (in 5.1.1)
Chris> and I'm not getting the results I expect.
Robert> No, the function is inconsistent in its use of the len parameter.
I'm not sure I'd describe this behaviour as "inconsistent".
It's not uncommon to use the same parameter
> I do see a need to be able to force the agent to save the
> persistent file *on request*, e.g. by a MIB setting.
You mean something like
UCD-SNMP-MIB::versionSavePersistentData
?
Dave
---
This SF.Net email is sponsored by: YOU BE T
> I'm compiling NetSNMP using g++ compiler instead of gcc.
> When I do this , i get a number of undefined reference linker errors on
> the base netSNMP code itself , even without any of the new code.
Which version are you working with?
What are the linker errors that you are seeing?
Dave
PS: Pl
> Hi,
>
> I wrote SNMP MIB as .so library. I`ve used netsnmp_create_table_data_set,
> netsnmp_table_set_add_indexes, netsnmp_table_set_multi_add_default_row
> and netsnmp_register_table_data_set functions.
So you've written the MIB using the 'table_dataset' helper - yes?
> How can I clean table
> In the process of attempting to set up mrtg, I am trying to set up snmp
> on a test box. I see that I need to create an snmpd.conf file
If you haven't got the 'snmpdconf' script, then the easiest approach
is probably just to use your favourite text editor to create this file.
As a basic startin
First of all - can you please *NOT* ask the same question more than once.
It's totally unnecessary, extremely irritating, and just serves to add
to the support load for this package.
> I've been testing the net-snmp Win32 version and it seems to work fine. But
> when I try to install a new MIB m
> When trying to build on an AIX machine as specified in
> dist/RELEASE-INSTRUCTIONS and modified in accordance with README.aix
> i end up in a loop or something in configure since the AIX grep
> doesn't support lines longer than 2048 characters.
Sorry there doesn't seem to have been a response
Robert Story (Users) wrote:
This is likely a shell issue.. try
Yup, it's a bash issue... I have to escape " character.
I've found the answer to my problem (by looking into snmpset source code :)
This function is called when using -Ir cmd-line option for string indexes:
netsnmp_ds_toggle_boolean(
Sorry for this delayed reply.
In my case all get/set request is passed via the server to the node
in this case server gives me the data(value ) for the respective request
is given as string. Take for example in H3223 mib there is an entry
called codec types which take 13 bits.
This is for 8 b
Hello, I am obviously new to the world of SNMP. I wonder if there is a
table that compares arguments to the snmp-cmd commands, directives in
the snmpd.conf file, and directives in the snmp.conf file?
Also, could somebody please explain to me the difference between the -A
and -X switches? I am
41 matches
Mail list logo