Re: Problem in Deleting the Row

2005-12-15 Thread Ravi Kumar
Hi, Thanks for the response. I have got few queries for the same.My MIB object for the particular table doen't have any row status. Following is the Tree Structure for which I am trying to delete the RowHere the index will be a non-zero value+--PlayerTable(1)   |   +--PlayerEntry(1)  |  Index:

net-snmp on irix6.5

2005-12-15 Thread Ganesh Wagh
Hi, I downloaded net-snmp5.2.1 and its working fine on linux machine. bue there are no guideline for loading net-snmp on IRIX 6.5 machine. Can anyone send me README.IRIX information or guidelines. How to load net-snmp on IRIX machine? IRIX 6.5 uses CC compiler. bye warm regards, Ganesh Best Re

Max length of string index.

2005-12-15 Thread Rasanth A.K.
All, What is the maximum possible length for a octet string index? is is possible to have a string with zero length for a octet string index ?   Thanks in Advance, Rasanth

RE: Frustration with Disk Monitoring

2005-12-15 Thread Darren Gamble
Good day, This is selinux complaining about access, not snmpd. You can either use selinux's audit2allow command to allow this access, or set the selinux policy to let snmpd access whatever it needs (I know there is a flag someplace just for the snmpd daemon). If you have any further questions

snmpd stops after walk

2005-12-15 Thread Cody Holland
I have several servers running Net-SNMP and have never had any problemsuntil now. I'm have a Sun Netra T1 105 server running OpenBSD 3.8. I've installed net-snmp-5.1.3p0 via the ports collection. Ran snmpconf and setup my snmpd.conf file and moved it to the appropriate location, /usr/local/sh

snmp set

2005-12-15 Thread gilles B
Hi, I don't understand how to create a snmp table. I'am trying to create a TrapDestinationEntry into TrapDestinationTable (see MIB below), but i don't succeed. Could you help me please ? Thank you very much Gil MIB architecture is: ipAgSNMP(1.3.6.1.4.1...2) | +--ipAgSNMPMIB(1) |

Frustration with Disk Monitoring

2005-12-15 Thread Palmadesso Jack IT743
Title: Frustration with Disk Monitoring Hello all,  I've been messing around with the RHEL 4 installation of Net-SNMP and after reading the docs ( man snmpd.conf ) I've tried to monitor the disks on my system.  Its been failing miserably with "token" errors.  I guessed that I need to compile

trap format confusion

2005-12-15 Thread Berge, Harry ten
Hi, I'm relatively new to SNMP, so forgive me if I'm asking for the obvious... Studying traps I'm a little confused about the difference in trap pdu's between v1 and v2c. In a v1 trap pdu I've got (among others) fields like 'enterprise oid', 'generic trap', 'enterprise trap' and so on. So I c

specifying the source IP of a trap

2005-12-15 Thread Michael P. Soulier
Hello, When a trap is sent, either via the net-snmp API or via the snmptrap command, is there a way to specify the source IP in the UDP datagram? Cheers, Mike -- Michael P. Soulier <[EMAIL PROTECTED]>, 613-592-2122 x2522 Linux applications development "...the word HACK is used as a verb to ind

Re: Sending different SNMP trap versions to different Managers

2005-12-15 Thread Dave Shield
On Thu, 2005-12-15 at 11:45 -0500, Yassin Hania-CHY002 wrote: > Can the Net-SNMP agent be configured easily to send SNMPv1 traps to > one Manager and SNMPv2 traps to another Manager? $ man snmpd.conf trapsink HOST [COMMUNITY [PORT]] trap2sink HOST [COMMUNITY [PORT]] > I guess

Sending different SNMP trap versions to different Managers

2005-12-15 Thread Yassin Hania-CHY002
Title: Message Can the Net-SNMP agent be configured easily to send SNMPv1 traps to one Manager and SNMPv2 traps to another Manager?   I guess one obvious way to do it is to configure snmptrapd with one command per each trap OID, each of which would execute a perl command to forward the trap

Snmptrapd: pre-parse fail

2005-12-15 Thread Jose Maria Gonzalez
Hi I'm trying to use the snmptrapd in a pc with two ethernet interfaces and I cannot see the traps sended by other pc. I'm sure that the traps arrive because I can see the raw message with the option snmptrapd -f -Le -d I also have turn on the debug and I see this line: trace: _sess_process_packet

Re: Snmptrapd: pre-parse fail

2005-12-15 Thread Jose Maria Gonzalez
Yes, that was the error! I have modified my hosts.allow and now it works!! Thank you. 2005/12/15, Dave Shield <[EMAIL PROTECTED]>: > > > 2005/12/15, Dave Shield <[EMAIL PROTECTED]>: > > > On Thu, 2005-12-15 at 11:03 +0100, Jose Maria Gonzalez wrote: > > > > What means pre-parse fail? It seems that

Traps fired with wrong OIDs

2005-12-15 Thread Andy Hawkins
Hi, We've just started using net-snmp to fire traps from an embedded device we're developing. However, when we fire a trap (using snmptrap) the OID that is received by the manager appears to have a couple of extra elements that we're not expecting. The relevant sections of the MIBs are below (I c

Re: Snmptrapd: pre-parse fail

2005-12-15 Thread Dave Shield
> 2005/12/15, Dave Shield <[EMAIL PROTECTED]>: > > On Thu, 2005-12-15 at 11:03 +0100, Jose Maria Gonzalez wrote: > > > What means pre-parse fail? It seems that it receive the packet but it > > > cannot parse it. > > > > Yes - that's correct. Actually, if I can make a minor correction to that sta

Re: Snmptrapd: pre-parse fail

2005-12-15 Thread Jose Maria Gonzalez
This is for a trap snmp v2 snmptrap -v 2c -c public localhost '' NOTIFICATION-TEST-MIB::demo-notif SNMPv2-MIB::sysLocation.0 s "just here" Received 96 bytes from 127.0.0.1 : 30 5E 02 01 01 04 06 70 75 62 6C 69 63 A7 51 020^.public§Q. 0016: 04 75 73 9F 52 02 01 00 02 01 00 30 43

Re: Snmptrapd: pre-parse fail

2005-12-15 Thread Dave Shield
On Thu, 2005-12-15 at 11:03 +0100, Jose Maria Gonzalez wrote: > What means pre-parse fail? It seems that it receive the packet but it > cannot parse it. Yes - that's correct. > I'm sure that the traps > arrive because I can see the raw message with the option > s

Snmptrapd: pre-parse fail

2005-12-15 Thread Jose Maria Gonzalez
Hi I'm trying to use the snmptrapd in a pc with two ethernet interfaces and I cannot see the traps sended by other pc. I'm sure that the traps arrive because I can see the raw message with the option snmptrapd -f -Le -d I also have turn on the debug and I see this line: trace: _sess_process_packet

Re: Linking error

2005-12-15 Thread Dave Shield
On Wed, 2005-12-14 at 23:31 -0800, Ganesh Wagh wrote: > hi, > > i have compiled my program with option > -L/usr/local/lib -lnetsnmp -lcrypto -lelf -lm > > I got error message like this > > Error while loading shared libraries: > libnetsnmp.so.5:cannot open shared object file:no such > file or d

Re: question on TRAP-TYPE MACRO in private MIB.

2005-12-15 Thread Dave Shield
On Wed, 2005-12-14 at 10:31 -0800, Ramji Chandramouli wrote: > On a related topic, when this TRAP-TYPE MIB object is sent in a trap, > is the manager (or agent) expected to perform validation that the > variable bindings in the trap conform to the MIB definition ? The agent (or other notification

Help ! Subagent crash! (undefined symbol hosts_ctl , libwrap , libnetsnmpagent.so.5)

2005-12-15 Thread Makavy, Erez (Erez)
hey,   I've encountered some problems running the net-snmp tutorial example.   The problem: -- - I have the Master agent running (with agentx enabled) - I run the subagent from the tutorial (example-demon) -  Wwhen I send a get request for the nstAgentSubagentObject, the sub