Hi,
I haven't made any changes to snmpd.conf file,
Also I never see documentation about which access setting to specify for it.
I invoked following snmpget command
snmpget -v 1 -c public localhost sysDescr.0
actually I tried all combination which are working with Microsoft agent but
not with
I am having problem running agentx subagent as a non-root user. I
went through some earlier discussion on this in the mailing list where
we talk about tweaking the permission of /var/agentx/master. Isn't there
a way to specify it in the config so that I can make it work as a
non-root user.
I
On Wed, 2006-03-01 at 15:09 -0500, Jean-Sebastien Morisset wrote:
On Wed, Mar 01, 2006 at 09:27:30AM +, Dave Shield wrote:
Can you try walking the UCD-SNMP-MIB:dskTable
Ah, of course, I didn't notice that dskTable in the error message. :-)
Here you go
dskErrorFlag.1 = INTEGER: 0
Hi everyone,
I seem to have a little problem. I have several Net-SNMP v5.3.0.1
clients on various Solaris servers, and I get the following trap from
several of them:
mteTriggerFired trap received from x: procTable
.1.3.6.1.4.1.2021.2.1.100.2 1 cron
This does NOT appear
On Thu, 2006-02-09 at 11:11 +0100, Thomas Kindermann/KRZN/DE wrote:
I've got a problem with my Oracle-Cluster:
The Read-/Write-Counters for my /dev/md-devices (linux-software-RAID)
and my /dev/vpath -devices (ESS Storage) in the UCD-DISKIO-MIB remain
on zero.
What does
cat
On Wed, 2006-02-01 at 17:48 +0200, Makavy, Erez (Erez) wrote:
I have a sub-agent running as a thread.
If I want to send a trap (using send_v2trap), I have to interupt the
sub-agents agent_check_and_process() in order to send the trap.
Is there some event mechanism in net-snmp to allow to
On Tue, 2006-02-28 at 17:07 +0530, V M Gadag wrote:
1) What is Baby step Interface in Net-SNMP?
It's a framework for implementing MIB modules, that breaks
the basic four-pass model (RESERVE1/RESERVE2/ACTION/COMMIT)
of the Net-SNMP agent into a large number of much smaller steps.
The idea is to
[Sorry for the delay in responding to this]
On Mon, 2006-01-02 at 23:00 -0500, John Rouillard wrote:
A tcpdump on S of the query from A is:
03:35:00.758456 IP (tos 0x0, ttl 64, id 469, offset 0, flags [DF], proto 17,
length: 117) S.snmp A.57133: [bad udp cksum 8a66!] {
Im having a bit of trouble with net-snmp-5.3.0.1.
When I run an snmpwalk, It starts the walk but kills snmpd.
I used the following snmpwalk command.
./snmpwalk -v 2c -c commuity_here localhost
This system is running Tru64 5.1
Net-snmp 5.3.0.1 was compiled with:
./configure
Pike, David wrote:
I'm having a bit of trouble with net-snmp-5.3.0.1. When I run an
snmpwalk, It starts the walk but kills snmpd.
Can you please run snmpd under gdb, type bt when it has crashed and
post the output?
./configure --with-cc=cc --prefix=/test_install_dir/test \
On Thu, Mar 02, 2006 at 01:08:49PM +, Dave Shield wrote:
On Wed, 2006-03-01 at 15:09 -0500, Jean-Sebastien Morisset wrote:
On Wed, Mar 01, 2006 at 09:27:30AM +, Dave Shield wrote:
Can you try walking the UCD-SNMP-MIB:dskTable
Ah, of course, I didn't notice that dskTable in the error
On Thu, 2006-02-02 at 18:55 +0100, Keller, Beat wrote:
Hi,
We have to implement the GET_NEXT from a table by our one. What
shall we return if there is no further row in the table?
Shall we set a special value in the varbind, a special OID, or
do we have to return an error?
How are you
On Thu, Mar 02, 2006 at 01:08:49PM +, Dave Shield wrote:
On Wed, 2006-03-01 at 15:09 -0500, Jean-Sebastien Morisset wrote:
On Wed, Mar 01, 2006 at 09:27:30AM +, Dave Shield wrote:
Can you try walking the UCD-SNMP-MIB:dskTable
Ah, of course, I didn't notice that dskTable in the error
On Thu, 2006-02-23 at 11:46 +0800, Wang Zheng wrote:
I plan proting partial code of net-snmp to my protocol, but
I am dizzy because the codes of the net-snmp are so large.
Is there anybody can give me some advice?
The best advice I can offer is that from the FAQ entry:
What happens if
On Thu, 2006-03-02 at 10:18 +0530, Ramachandrappa, Nataraju
Karidasarahalli wrote:
My customer is asking for library function instead of binaries. How do I
convert my sub agent binaries in to library functions.
All of the subagent functionality is basically provided by the
libnetsnmpagent
I'm working on the gdb but here are the changes I made to the source. One
was the patch for mib.c provided form the sourcefourge site. I'm not an
expert programmer but this did make it compile and run.
diff -c -r net-snmp-5.3.0.1/configure net-snmp-5.3.0.1.new/configure
***
On Thu, 2006-03-02 at 09:38 -0500, Jean-Sebastien Morisset wrote:
I was able to reproduce the problem. I copied a few gigs on the
filesystem and then removed it. Right after, I ran an snmpwalk. It stuck
for second half way through, and then gave me the following:
dskTotal.2 = INTEGER:
Pike, David wrote:
I'm working on the gdb but here are the changes I made to the source. One
was the patch for mib.c provided form the sourcefourge site. I'm not an
expert programmer but this did make it compile and run.
The obvious question then is: what if you do *not* apply your patch,
On Thu, 2006-03-02 at 15:19 +0200, Makavy, Erez (Erez) wrote:
Is there a proprietry Net-SNMP MIB to show internal com2sec table?
No.
There is an IETF standard Community-MIB, which we really ought
to implement. But it's not yet been done (and doesn't quite
match the functionality of com2sec,
On Fri, 2006-02-03 at 13:30 +, elias bou rahal wrote:
i need to know which function i have to call for getting
the indexes of a mib .
Can you give a bit more detail about exactly what you mean?
Are you talking about the indexes used when registering the
MIB table (within the init_xxx
On Fri, 2006-02-24 at 12:03 +0100, Palmentieri Nunzio wrote:
I wrote a MIB with several table objects.
How can I generate code for it?
I think I have to run mib2c on both the tables, and then compile the
code generated, as follows:
mib2c peProcessTable
mib2c peObjectTable
That's
On Thu, 2006-03-02 at 11:48 +0530, [EMAIL PROTECTED] wrote:
1) Is it possible to keep the mib2c generated .c .h files in some
other directory (other than agent/mibgroup) and force the configure
scripts to include those files while making snmpd ?
2) Is there any way to force
On Thu, Mar 02, 2006 at 02:53:04PM +, Dave Shield wrote:
On Thu, 2006-03-02 at 09:38 -0500, Jean-Sebastien Morisset wrote:
I was able to reproduce the problem. I copied a few gigs on the
filesystem and then removed it. Right after, I ran an snmpwalk. It stuck
for second half way through,
[ 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 Wed,
It still dies. I did catch this in the snmpd.log
nlist err: neither rhash_size nor _rhash_size found.
nlist err: neither rthost nor _rthost found.
nlist err: neither rtnet nor _rtnet found.
NET-SNMP version 5.3.0.1
Received SNMP packet(s) from UDP: [127.0.0.1]:3238
truncating integer value 32
Title: R: mib2c question.
Yes,
I did it manually, that is, I generated the modules:
peProcessTable.c peProcessTable.h
peObjectTable.c peObjectTable.h
I created a new file.c containing all functions coming from the two originated files
(peProcessTable.c and peObjectTable.c) and I included
Title: R: table_info-max_column
Thank you,
Now I understand well the meaning, and it works fine in any cases.
Thanks.
Nunzio Palmentieri
Web Care Solution
Atos Origin
Via Antiniana 2/a
80078 Pozzuoli (NA) - ITALY
Direct +39 081 6103 388
Mobile +39 335 1214 806
Fax +39 081 6103 200
On Thu, 2006-03-02 at 11:08 +0530, Manish wrote:
I haven't made any changes to snmpd.conf file,
The simplest approach is probably to have the single line
rocommunity public
(probably *instead* of whatever entries are currently there).
Also I never see documentation about which
On Mon, 2006-01-23 at 09:45 -0800, Stan Buyanov -C wrote:
I installed net-snmp v5.3.0.1 on my virtual machine...
and executed a Walk command on RFC-1213-MIB.
I got the following output:
sysDescr.0 Linux localhost.localdomain
:
.1.3.6.1.2.1.1.9.1.4.81
.1.3.6.1.2.1.25.1.1.0
On Mon, 2006-02-06 at 14:36 +, xuemei wrote:
I wonder does net-snmp agent support printer mib like rfc1759printer.mib
etc, if the functionalities are already there, but this has simply not
been configured in to the running version.
No.
Will use the configure option
Title: Messaggio
I
all,
is it possible to
generate a trap not from the Agent, but from a generic
process?
I did it on TRU64
(eSNMP).
Have someone some
simple example?
Thanks in
advance.
Nunzio
PalmentieriWeb Care
SolutionAtos OriginVia Antiniana 2/a 80078 Pozzuoli (NA) -
ITALY
Hi Dave,
Thanks alot for the input,
Thanks Regards,
Gadag
On Thu, 2006-03-02 at 19:05, Dave Shield wrote:
On Tue, 2006-02-28 at 17:07 +0530, V M Gadag wrote:
1) What is Baby step Interface in Net-SNMP?
It's a framework for implementing MIB modules, that breaks
the basic four-pass
On Thu, 2006-03-02 at 16:52 +0100, Palmentieri Nunzio wrote:
is it possible to generate a trap not from the Agent,
but from a generic process?
Yes. Have a look at 'snmptrap'
Dave
---
This SF.Net email is sponsored by xPML, a
On Sat, 2006-02-18 at 10:26 -0200, Wesley Naves de Faria wrote:
I´m using net-snmp 5.2.2 on a Red Hat AS.
In my snmpd.conf:
monitor -u phphomolog -r 100 UserYES ucdavis.20.1 2
pass .1.3.6.1.4.1.2021.20.1 /etc/snmpscripts/user.sh
Ok, When the amount of users exceeds 2, my server to
On Thu, 2006-03-02 at 15:56 +, elias bou rahal wrote:
i am talking about the indexes used when registering the MIB table
OK.
Then you should provide this information manually (by looking
at the MIB file yourself). The agent doesn't actually need the
MIB file at all, so it doesn't rely on
i am talking about the indexes used when registering the MIB table ( within
the init_xxx routing)
In other word:
when i call init_mib for parsing all new mibs , through this process i
need to read the indexes in each table in thie mibs and this is the aim
which i talking about.
From: Dave
On Thu, 2006-03-02 at 09:27 +0530, [EMAIL PROTECTED] wrote:
I have a problem with snmpset.
When I try to set this variable with value 10.10.10.10 or the
equivalent in hex 0A0A0A0A it sets the variable with a blank value.
/usr/local/bin/snmpset -v 1 -c public -t 60 -r 3 -Ont --
On Thu, 2006-01-12 at 03:06 -0800, vijendra agarwal wrote:
Can you please let me know if there is any plan to implement getbulk
of agentx protocol in near future?
There's no explicit timetable for implementing this functionality, no.
It is listed in the Feature Requests tracker (#1379500), but
On Tue, 2006-02-28 at 18:34 +0530, Rustagi, Sandeep (Sandeep) wrote:
When I am querying the snmpget on sysUpTime of linux machine using the
following command:
snmpget -c public 172.16.131.71 system.sysUpTime.0
I see the requests coming two times in the ethereal and responses
also two
On Thu, 2006-03-02 at 17:23 +0530, Sachin Mishra wrote:
Isn't there
a way to specify it in the config so that I can make [/var/agentx/master]
work as a non-root user.
See 'agentXPerms' in snmpd.conf(5)
I believe this is only documented in
On Tue, 2006-02-21 at 20:16 +0530, [EMAIL PROTECTED] wrote:
In case of snmpget with multi-varbind i am getting the response for
all the varbindes, but the problem is with getnext only the response
for forst varbind is displayed by the manager
Can you please post the exact command and
On Tue, 2006-01-31 at 23:21 +1100, Peter Thompson Leanne O'Meara
wrote:
Dear Sir/Madam,
I have a simple query about the snmp_synch_response function ...
Does this operate synchronously as the name suggests ?
Yes.
If you look at the code (in snmplib/snmp_client.c), it boils down
to the
On Wed, 2006-02-22 at 13:22 +0100, ange terrien wrote:
Wrinting a Perl script called by snmptrapd, I want to
receive a SNMP-v1 trap and parse it.
But I can't find how to get the generic and the
specific trap types.
snmptrapd passes notifications to the trap handlers
in SNMPv2 format,
On Wed, 2006-03-01 at 13:37 +0530, vishakha s wrote:
I am learning about traps in net-snmp .There is a problem related to
snmptrapd.conf file .When I issue the following command
./snmptrapd -m ALL -P
It gives the following error :
Cannot find module (IF-MIB): At line 0 in (none)
On Thu, 2006-03-02 at 10:25 -0500, Pike, David wrote:
The obvious question then is: what if you do *not* apply your patch,
rebuild without the host mib module and snmpwalk again? Does it
still crash?
It still dies.
What's the last value that it returns before dying?
What happens if you
On Wed, 2006-01-25 at 08:45 -0800, Hassan Noureddine wrote:
I am getting a system: Unknown Object Identifier in response to the
snmpwalk command:
#snmpwalk -v 1 -c private 127.0.0.1 system.
system: Unknown Object Identifier (Sub-id not found: (top) - system)
That looks as if the command
On Fri, 2006-02-10 at 15:12 +0530, Ajay Hotchandani wrote:
But with “net-snmp-5.2.1.2-fc4.1”, when I give command
“snmpwalk –v 2c –c public localhost .1.3.6.1.6”, I get
error as “Timeout: No Response from localhost”.
What happens if you try
snmpwalk -v 2c -t 60 -c public localhost
On Thu, 2006-03-02 at 12:22 +0530, vishakha s wrote:
I just want some guidance in how to handle Traps and
which file will handle trap .
The command 'snmptrapd' is used for handling traps.
It's impossible to be more precise without more details
about exactly what you want to do.
Dave
On Thu, 2006-03-02 at 08:10 -0500, Jean-Sebastien Morisset wrote:
I seem to have a little problem. I have several Net-SNMP v5.3.0.1
clients on various Solaris servers, and I get the following trap from
several of them:
mteTriggerFired trap received from x: procTable
On Thu, Mar 02, 2006 at 05:25:30PM +, Dave Shield wrote:
On Thu, 2006-03-02 at 08:10 -0500, Jean-Sebastien Morisset wrote:
I seem to have a little problem. I have several Net-SNMP v5.3.0.1
clients on various Solaris servers, and I get the following trap from
several of them:
On Thu, Mar 02, 2006 at 02:53:04PM +, Dave Shield wrote:
On Thu, 2006-03-02 at 09:38 -0500, Jean-Sebastien Morisset wrote:
I was able to reproduce the problem. I copied a few gigs on the
filesystem and then removed it. Right after, I ran an snmpwalk. It stuck
for second half way through,
Ok, here is what happens when I run it in gdb.
# gdb snmpd
GNU gdb 5.0-tru64-010710
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show
Ok I got a little more by specifying -a -f as options.
(gdb) bt
warning: (Internal error: pc 0x3ff800d6bf4 in read in psymtab, but not in
symtab.)
warning: (Internal error: pc 0x3ff800d6bf4 in read in psymtab, but not in
symtab.)
#0 0x3ff800d6bf4 in (=13) at snmpd.c:1238
warning: (Internal
Here is the last few lines of snmpwalk when it dies.
TCP-MIB::tcpCurrEstab.0 = Gauge32: 0
TCP-MIB::tcpInSegs.0 = Counter32: 5700389
TCP-MIB::tcpOutSegs.0 = Counter32: 8082775
TCP-MIB::tcpRetransSegs.0 = Counter32: 94
TCP-MIB::tcpConnState.0.0.0.0.0.0.0.0.0.0 = INTEGER: listen(2)
net-snmp agent 5.1.2
Manufacturer HP ProLiant DL385
G1
OS RedHat Application Server 3.x
While browsing the MIB with snmpwalk
we get the following error when we get to IP-MIB::ipAdEntAddr.127.0.0.1
= IpAddress: 127.0.0.1:
Timeout: No Response from localhost
The same error happens with IBM
Quoting Pike, David [EMAIL PROTECTED]:
Ok, here is what happens when I run it in gdb.
# gdb snmpd
(gdb) run -a
Starting program: /usr/users/dpike/test/sbin/snmpd -a
Hmmm In order to get anything useful from gdb, you probably
need to run the agent as a normal program, rather than a
57 matches
Mail list logo