I can use snmpget on another system to read, for example,
system.sysDescr.0 but on-node, when I try to use the config
community to get values, snmp_get() times out.
What if you try with snmpget on that same node (not from a remote system)?
If you run essentially the same command locally:
OK - so can you query the agent using that new user?
snmpget -v 3 -u redtest1
No, when I try to execute that command it doesn't work.
What rouser or rwuser entries do you have?
I have created the user redtest1 from user initial, defined in the
snmpd.conf file like this:
#
I had rolled back the net-snmp from 5.1.1 to 5.0.6. After the change the
size of the every file under /usr/local/bin has been increased 10 times
bigger
*** Size of the files built in 5.1.1 *
-rwxr-xr-x 1 root root58318 Sep 23 15:53 snmpbulkget*
-rwxr-xr-x
I can use snmpget on another system to read, for example,
system.sysDescr.0 but on-node, when I try to use the config
community to get values, snmp_get() times out.
What if you try with snmpget on that same node (not from a remote
system)?If you run essentially the same command
Hello,
I managed to build my agent and run it. It still dies but I am tracking it
down exactly why.
Use:
./configure --enable-static=yes --enable-dynamic=no --with-mib_modules=psb
It appears to be ok for one of the tables initialisation etc. I will find
out in the next hour whats going on.
No
On Tue, 26 Oct 2004 08:15:44 -0400 [EMAIL PROTECTED] wrote:
CRC The local system is an embedded system with few resources.
Does it have dns services? eg, can it look up localhost to get 127.0.0.1? Try
putting the actual IP address in the com2sec line, instead of localhost.
--
Robert Story;
On Mon, 25 Oct 2004 21:20:11 -0400 Doug wrote:
DM Trying to build 5.2-rc1 on FreeBSD 4.7 box.
DM /usr/libexec/elf/ld: cannot find -ldl
This has been fixed in cvs. The quick fix is to edit agent/Makefile and remove
-ldl from the libraries (just search on -ldl and delete it).
--
Robert Story;
Marco Waller wrote:
calling the 5.1.2 agent on my Linux PC with attached snmp.conf results
in a very strange log message Optional File does not exist.
That's bug 1040686:
http://sourceforge.net/tracker/index.php?func=detailaid=1040686group_id=12694atid=112694
It's fixed in 5.2.rc1 (by applying
On Tue, 26 Oct 2004 10:40:38 -0400 [EMAIL PROTECTED] wrote:
CRC Since snmp_synch_response() is giving me a timeout, I'm guessing that it's
CRC something about my connection setup that's broken: that I'm not finding
CRC the agent or the timeout is too short for the agent to respond or... Does
CRC
Thanks, Thomas and Robert.
Thomas Anders wrote:
Marco Waller wrote:
calling the 5.1.2 agent on my Linux PC with attached snmp.conf results
in a very strange log message Optional File does not exist.
That's bug 1040686:
... you should be able to
see if a packet goes out, if the agent receives it, if the agent sends a
response and if the app receives it.
Thanks.
My client logs:
Sending 93 bytes to UDP: [127.0.0.1]:161
: 30 5B 02 01 01 04 00 A0 54 02 04 77 0B 12 D2 020[..T..w
0016: 01 00
Hello,
I am having a problem I just can not figure out with snmptrapd. I simply
wrote traphandler script to echo Hello World out to the screen when a
certain trap is detected. To set this up I configured
/usr/local/share/snmp/snmptrapd.conf with the following lines
Well, I've come full circle. I think I've confirmed that I have an authorization
problem.
- snmpget on the local host times out just as my client application does
- When the client times out, there's a note in the log that it tried (and failed, but
that's another issue) to send an
On Tue, 26 Oct 2004 12:07:10 -0400 [EMAIL PROTECTED] wrote:
CRC ... you should be able to
CRC see if a packet goes out, if the agent receives it, if the agent sends a
CRC response and if the app receives it.
CRC
CRC Thanks.
CRC My client logs:
CRC
CRC
CRC Sending 93 bytes to UDP:
[EMAIL PROTECTED] wrote:
I was using net-snmp 5.1.1 but then prayed and hoped that if I compiled and
installed 5.1.2 the problem would go away, so now I am using net-snmp 5.1.2
and still having this problem.
Do you have the chance to check if you also see this problem with
5.2.rc1?
Also, a few
HI Thomas,
I have some more information on the problem as I have been working on this
all day today. To anwser some of your questions first:
1) No this displays the same result
2) I have checked with ps and the process is missing after I receive a
trap it dies
3) I have performed an
Hi,
saw the link named IRC in the www.net-snmp.org website. But, I am not sure whether i
am able to join in this discussion or not. If possible, can anyone let me know the
steps to register with this IRC??
Thanks,
Karthik. N
--
__
IndiaInfo Mail
Hey guys.
I've downloaded the latest sources for net-snmp-5.2.pre3.
I'm using this to configure it on XP Pro/Cygwin:
./configure --with-mib-modules=host agentx disman/event-mib examples/example
--with-out-mib-modules=host/hr_network --with-openssl=/usr
I then run make and it appears to build
My environment is net-snmp-5.1.2
Step 1 First make sure the snmpget command workable for ifTable
%snmpget localhost ifTable.ifEntry.ifDescr.1
#get the result IF-MIB::ifDescr.1 = STRING :lo
%snmpget localhost ifTable.ifEntry.ifDescr.2
#get the result IF-MIB::ifDescr.1 = STRING :eth0
Step 2
I believe this is related to a bug reported to the
archive:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg01291.html
I was
wondering if there is alreadyplan to fix the bug without me having to
implement the workaround (reference count on allocated
data_context)?
Thanks,
Trang
From:
Hi,
is it possible to change port for snmptrad to listen not on 162 by default
?
I have found token defauldport, but is seems to be just for snmpd.
Daniel Dane
EO Network Management Center
Phone : +420 2 6701 4118
Mobil : +420 602 607 064
E-mail: [EMAIL PROTECTED]
Eurotel Praha, spol.
[EMAIL PROTECTED] wrote:
Hello,
I am having a problem I just can not figure out with snmptrapd. I simply
wrote traphandler script to echo Hello World out to the screen when a
certain trap is detected. To set this up I configured
/usr/local/share/snmp/snmptrapd.conf with the following lines
snip
Hi.
Have all your tests been with the same trap? If so, can you try a
different trap such as a coldStart?
Try configuring snmpd on the machine with:
trapsink 127.0.0.1 public
and then restart snmpd. You should get a coldStart trap.
Another thing to try is to DELETE your snmptrapd.conf file
No need to register. Sorry I can't join you today but my IRC client box is
in a million pieces all over the floor.
Bring up your favourite IRC client for whatever platform you have available.
Use the server niven.freenode.net - it works for me. Then /join #net-snmp
and you should see
Thanks Dave.
The file snmpbulkwalk (created in 5.0.6) is -
snmpbulkwalk: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux
2.0.0, dynamically linked (uses shared libs), not stripped
The ldd snmpbulkwalk (created in 5.0.6) is -
libcrypto.so.0 =
So, to summarize Gary's work.
- The result of 'configure --with-ldflags=-Bstatic' still contains shared libraries.
- The result of './configure --enable-static=yes --enable-dynamic=no' contains no
shared libraries. Is it due to the two options or just one of the two options? The
options are
26 matches
Mail list logo