Re: SNMPD ended up in an endless loop processing GETNEXT

2007-07-26 Thread Raymond Pau
Thanks. I will get that. - Original Message - From: "Thomas Anders" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Friday, July 27, 2007 10:10 AM Subject: Re: SNMPD ended up in an endless loop processing GETNEXT > Raymond Pau wrote: >> No Luck with that. The stripped down agent is

Multiple warning cross-compiling Net-SNMP for mips-linux

2007-07-26 Thread Raymond Pau
I'm trying to cross-compile NetSNMP 5.4 for running on an embedded system. Size is really everything for us here. Lots of warning are reported during configure and make. *Initialization*:1: warning: this is the location of the previous definition ucd_snmp*Initialization*:1: warning: `linux' rede

Re: SNMPD ended up in an endless loop processing GETNEXT

2007-07-26 Thread Thomas Anders
Raymond Pau wrote: > No Luck with that. The stripped down agent is so bare it does not even > support/recognize createUser in snmpd.conf. > Management supports the idea of upgrading to the latest version 5.4 of > Net-SNMP. > That presented another set of problems that needs to be solved. Given tha

Re: SNMPD ended up in an endless loop processing GETNEXT

2007-07-26 Thread Raymond Pau
No Luck with that. The stripped down agent is so bare it does not even support/recognize createUser in snmpd.conf. Management supports the idea of upgrading to the latest version 5.4 of Net-SNMP. That presented another set of problems that needs to be solved. Raymond Pau - Original Message --

prErrFix not being set to 1 (Can't get procfix to restart httpd)

2007-07-26 Thread lists
By the way, if I do an snmpset and set prErrFix.1 = 1, httpd does restart. > Hi, > > I am running the following snmp packages on a Linux test server under RHEL > Enterprise 4 update 5: > net-snmp-utils-5.1.2-11.EL4.10 > net-snmp-devel-5.1.2-11.EL4.10 > net-snmp-libs-5.1.2-11.EL4.10 > net-snmp-5.

Fwd: Re: Sending SNMPV3 Trap from C code

2007-07-26 Thread Reza Salehi
Thank you so mush Dave. It worked. Note: forwarded message attached. - Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. --- Begin Message --- On 26/07/07, Reza Salehi <[EMAIL PROTECTED]> wrote:

prErrFix not being set to 1 (Can't get procfix to restart httpd)

2007-07-26 Thread Lists
Hi, I am running the following snmp packages on a Linux test server under RHEL Enterprise 4 update 5: net-snmp-utils-5.1.2-11.EL4.10 net-snmp-devel-5.1.2-11.EL4.10 net-snmp-libs-5.1.2-11.EL4.10 net-snmp-5.1.2-11.EL4.10 net-snmp-perl-5.1.2-11.EL4.10 I am trying to get active monitoring running on

Help with snmptrap

2007-07-26 Thread Mateus Interciso
Hello, I have this snmpd.conf configuration on one host (a lot more, but this is the relevant part) trapsink 10.0.0.4 test trap2sink 10.0.0.4 test informsink 10.0.0.4 test authtrapenable 1 This for the snmptraps part. On host 10.0.0.4, I have this snmptrapd.conf file traphandle 1.3.6.1.2.

RE: IPv6 with SNMPv3

2007-07-26 Thread Kleffman, Justin (Mission Systems)
Yes, I am only seeing a number of outgoing requests that repeat until it times out. The device is by design only able to respond to SNMPv3 requests. It can be configured to either IPv4 or IPv6 for SNMP communication, and I do have IPv4 working with SNMPv3. This led me to believe it's an issue

Re: Error compiling Net-SNMP 5.4 (und. ref. to chown and localtime_r)

2007-07-26 Thread [EMAIL PROTECTED]
Thank you very much, I compiled successfully the 5.4.1.rc4 version. But as a result I got huge .a libraries (from 10 MB to 30 MB each). Is this normal? I saw that the pre-compiled .lib libraries are a lot smaller. Ther is a way to compile the 5.4.1.rc4 with MingW version and get smmaller .a librar

Re: neeed help in snmptrap conf file

2007-07-26 Thread Dave Shield
On 24/07/07, manu kumar <[EMAIL PROTECTED]> wrote: > Now i have to gerate a snmptarp alrets when the varibles v1 and v2 > values incerases 100 (v1>100 i have to generate a snmptrap alret) > How to Generate snmptrap alrets . That is precisely the situation that the DisMan Event MIB was designed for

Re: Clarification : snmpd core dump every 30 mins (URGENT)

2007-07-26 Thread Dave Shield
[ 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 26/07

Re: SNMP get querry for table with display string as index

2007-07-26 Thread Dave Shield
On 25/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > snmpget -r 0 -t 1000 -v2c -c AdminAdmin 192.168.221.176 > maxAlarmDefReportMode.\"LOSS OF > SIGNAL\".1.3.6.1.4.1.637.74.1.1.5.1.1.1.4 > > But it is failing. Try escaping the spaces as well: snmpget maxAlarmDefReportMode.\"LOSS\

Re: SNMPD ended up in an endless loop processing GETNEXT

2007-07-26 Thread Dave Shield
On 26/07/07, Raymond Pau <[EMAIL PROTECTED]> wrote: > My next task now is to setup v3 user authentication. > >Encryption support not enabled. > > Should I start worrying about the above message now? No. Start with 'authNoPriv' requests, and get them working first. Worry about encryption ('aut

Re: IPv6 with SNMPv3

2007-07-26 Thread Dave Shield
On 11/07/07, Kleffman, Justin (Mission Systems) <[EMAIL PROTECTED]> wrote: > snmpwalk -u user -a SHA -x AES -A pass -X pass -l authpriv -n "" > udpv6:[FE80::204:75FF:0A01:0101] 1.3.6.1.4.1.8698.13 > > Sending 60 bytes to UDP/IPv6: [fe80::204:75ff:a01:101]:161 > : 30 3A 02 01 03 30 0F 02 02 4B

Re: Modify snmp.conf

2007-07-26 Thread Dave Shield
On 24/07/07, Stanley, Jeffrey A CIV DLA J6DIA <[EMAIL PROTECTED]> wrote: > How do I configure the snmp.conf file to load the Host-Resource-MIB? The > man page for the snmp.conf file states to use the "mibs" statement in > the snmp.conf file followed by the name of the MIB. What do I put for > the n

Re: Command to load Host-Resource MIB by default

2007-07-26 Thread Dave Shield
On 24/07/07, Stanley, Jeffrey A CIV DLA J6DIA <[EMAIL PROTECTED]> wrote: > When recompiling the Net-SNMP source code, what is the command that we need > to run in order for Net-SNMP to load the Host-Resource MIB by default? ./configure --with-mib-modules=host That ought to be part of the defa

Re: Clarification : snmpd core dump every 30 mins (URGENT)

2007-07-26 Thread Dave Shield
On 23/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > It looks like every 30 minutes, a SNMP manager in their network sends out a > SNMP request for a table (GET_NEXT), and during the handling of this > request, the SNMP daemon core dumped. What OID(s) are being requested as part of this que

Re: Processing of multiple varbinds in a SNMP PDU

2007-07-26 Thread Dave Shield
On 26/07/07, Mayank Maheshwari <[EMAIL PROTECTED]> wrote: > At my MID level agent if I get multiple varbinds in a single PDU I have pass > all these varbinds to device in a single PDU. > If I get varbinds say var1, var2,var3 in a single SNMP SET PDU, net-snmp > will make following function calls in

Re: Sending SNMPV3 Trap from C code

2007-07-26 Thread Dave Shield
On 26/07/07, Reza Salehi <[EMAIL PROTECTED]> wrote: > I am using send_v2trap(notification-var) for sending V2 trap inside my > C code. > I want to send Traps in V3 protocol. > > I would appreciate it if you could tell me what command I should use? Use the same code, but configure an SNMPv3 destin

Re: Re: Does SNMP 5.2.1 supports SNMPV3

2007-07-26 Thread Dave Shield
On 26/07/07, Reza Salehi <[EMAIL PROTECTED]> wrote: > I am using send_v2trap() func. is there any example or sample code or > document to how send a Trap using V3 protocol? If you are using 'send_v2trap', then presumably this is sending a trap from within the agent? You do not need to change th

Re: how to cleanly unregister a scalar (w/o memory leaks and such)?

2007-07-26 Thread Dave Shield
On 23/07/07, Dirk Süsserott <[EMAIL PROTECTED]> wrote: > So I called > - 8< --- > free( my_scalar ); > netsnmp_unregister_handler( reg ); > - 8< --- > > Works fine, the variable is no log

Re: Real time notifications?

2007-07-26 Thread Dave Shield
On 23/07/07, Thomas Anders <[EMAIL PROTECTED]> wrote: > Michael Leslie wrote: > > A little while back I implemented immediate trap reporting for link > > status specifically using the linux Netlink facilities. The patch is > > against an older version of net-snmp, but works well for our purposes. >

Processing of multiple varbinds in a SNMP PDU

2007-07-26 Thread Mayank Maheshwari
Hi, I am using net-snmp as a EMS agent (mid level agent). I get SNMP request from the higher layer manager for some device configuration. I have to pass this configuration to device by performing SNMP SET on the agent running on the device. At my MID level agent if I get multiple varbinds in a

Re: Error compiling Net-SNMP 5.4 (und. ref. to chown and localtime_r)

2007-07-26 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > I'm trying to compile NetSNMP 5.4 with MingW. > > I configure like this: > > ./configure --prefix=c:/NetSNMP --with-mibdirs=c:/NetSNMP/share/snmp/mibs > --with-mib-modules=agentx --disable-embedded-perl --without-perl-modules > > When I execute the 'make' command i ge

Error compiling Net-SNMP 5.4 (und. ref. to chown and localtime_r)

2007-07-26 Thread [EMAIL PROTECTED]
I'm trying to compile NetSNMP 5.4 with MingW. I configure like this: ./configure --prefix=c:/NetSNMP --with-mibdirs=c:/NetSNMP/share/snmp/mibs --with-mib-modules=agentx --disable-embedded-perl --without-perl-modules When I execute the 'make' command i get this errors: In function 'SnmpDaemonMa

create_trap_session

2007-07-26 Thread DI BACCO ANTONIO - technolabs
Calling create_trap_session from an AgentX subagent would work? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJA

Julien's script wanted

2007-07-26 Thread DI BACCO ANTONIO - technolabs
Anyone has Julien's script? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE