Re: snmptrap performance

2007-03-19 Thread Alfredo Dimaunahan
Thanks for the reply. Regarding the "snmptrap" (not snmptrapd, right?) startup time, should we consider this a bug? Or will it be improved in next versions? I also tried it in net-snmp version 5.1.2 and same behavior was noticed. Please note that I am only using SNMPv1. I will try to create a

RE: Table problem with ASN_IPADDRESS index

2007-03-19 Thread maciej_golas
Wiadomość Oryginalna Od: Adam Bell <[EMAIL PROTECTED]> Do: maciej_golas <[EMAIL PROTECTED]> Kopia do: net-snmp-users@lists.sourceforge.net Data: 19 marca 2007 17:05 Temat: RE: RE: Table problem with ASN_IPADDRESS index > But is your host an Intel platform? > > Look into the index settin

Re: Re: RE: Table problem with ASN_IPADD RESS index

2007-03-19 Thread maciej_golas
Wiadomość Oryginalna Od: "Dave Shield" <[EMAIL PROTECTED]> Do: maciej_golas <[EMAIL PROTECTED]> Kopia do: net-snmp-users@lists.sourceforge.net Data: 19 marca 2007 16:18 Temat: Re: RE: Table problem with ASN_IPADDRESS index > Ideally, it shouldn't be necessary for you to tweak > the code

RE: Table problem with ASN_IPADDRESS index

2007-03-19 Thread maciej_golas
Wiadomość Oryginalna Od: Adam Bell <[EMAIL PROTECTED]> Do: maciej_golas <[EMAIL PROTECTED]> Kopia do: net-snmp-users@lists.sourceforge.net Data: 19 marca 2007 17:05 Temat: RE: RE: Table problem with ASN_IPADDRESS index > But is your host an Intel platform? > > Look into the index settin

Re: Table problem with ASN_IPADDRESS index

2007-03-19 Thread maciej_golas
Wiadomość Oryginalna Od: Patrick J Kobly <[EMAIL PROTECTED]> Do: maciej_golas <[EMAIL PROTECTED]> Kopia do: Adam Bell <[EMAIL PROTECTED]>, net-snmp-users@lists.sourceforge.net Data: 19 marca 2007 16:11 Temat: Re: Table problem with ASN_IPADDRESS index > Maciej, > > Check out the man p

Disk information

2007-03-19 Thread Michael Lineback
I am not receiving any traps from my disk monitors. I am getting the error field populated by the Disk monitors. I do have the disk section of the snmd.conf file set to report the disks. disk /u01 50% monitor -i -r 30 -o dskPath.1 -o dskErrorMsg.1 "u01 file system" dskErrorFlag.1 !=0

RE: PROBLEM: snmpd not responding (request queued)

2007-03-19 Thread Makavy, Erez (Erez)
Maybe there should be a timeout for a state where (netsnmp_processing_set != NULL). Erez. _ From: Makavy, Erez (Erez) Sent: Monday, March 19, 2007 8:05 PM To: net-snmp-users@lists.sourceforge.net Subject: PROBLEM: snmpd not responding (request queued) Hi, Problem: - Som

PROBLEM: snmpd not responding (request queued)

2007-03-19 Thread Makavy, Erez (Erez)
Hi, Problem: - Sometimes the snmpd stops responding to any requests. Only a restart of the snmpd helps. Analysis: -- snmpd logs shows this message for every request: trace: netsnmp_handle_request(): snmp_agent.c, 3020: snmp_agent: request queued while processing set

Script Monitor

2007-03-19 Thread mohamed elhaouzi
Hi evry one, I wont to monitor the command shell result by netsnmp . netsnmp versvion : 5.0.10.2 OS versvion : OSF1 V4 (tru64) the command shell will execute every day at : 16h30. wehen i use cron derective in snmpd.conf it return error : snmpd.conf: line 33: Error: Blank line following cr

RE: RE: Table problem with ASN_IPADDRESS index

2007-03-19 Thread Adam Bell
But is your host an Intel platform? Look into the index setting code - there might a htons() or not. I had to add some octet swapping code in my MIB handler to get the bytes straight. Adam -Original Message- From: maciej_golas [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 10:5

Re: RE: Table problem with ASN_IPADDRESS index

2007-03-19 Thread Dave Shield
On 19/03/07, maciej_golas <[EMAIL PROTECTED]> wrote: > Od: Adam Bell <[EMAIL PROTECTED]> > > > Is the host or the agent running on a little endian machine? > > You may have to byte swap at the appropriate location to get network order. > > > > Adam > > > > My host runs on Lunux (x86 architecture).

Re: Table problem with ASN_IPADDRESS index

2007-03-19 Thread Patrick J Kobly
Maciej, Check out the man page for htonl(3). PK maciej_golas wrote: > My host runs on Lunux (x86 architecture). > But how to do "byte swap" under my agent? The code generated by mib2c allows > that? > - Take Surveys. Ea

Re: RE: Table problem with ASN_IPADDRESS index

2007-03-19 Thread maciej_golas
Wiadomość Oryginalna Od: Adam Bell <[EMAIL PROTECTED]> Do: maciej_golas <[EMAIL PROTECTED]>, net-snmp-users@lists.sourceforge.net Data: 19 marca 2007 14:17 Temat: RE: Table problem with ASN_IPADDRESS index > Is the host or the agent running on a little endian machine? > You may have to b

RE: Table problem with ASN_IPADDRESS index

2007-03-19 Thread Adam Bell
Is the host or the agent running on a little endian machine? You may have to byte swap at the appropriate location to get network order. Adam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of maciej_golas Sent: Monday, March 19, 2007 5:12 AM To: net-snmp-u

Unregister scalar variables

2007-03-19 Thread Jakob Lechner
Hello, I'm writing a SNMP agent that dynamically registers certain variables. For registration of these variables I have used exactly the same API functions as in "watcher.c" example (http://www.net- snmp.org/dev/agent/watched_8c-example.html): netsnmp_create_handler_registration netsnmp_create

Latest RPM for Centos 3.x x86_64?

2007-03-19 Thread Les Mikesell
I'm trying to use opennms to collect data from some CentOS3.x x86_64 boxes but I am getting an error "Integer too large: cannot decode" that http://bugzilla.opennms.org/cgi-bin/bugzilla/show_bug.cgi?id=1316 says is a bug in net-snmp that was fixed in a later version. However, when I try t

Table problem with ASN_IPADDRESS index

2007-03-19 Thread maciej_golas
I'm new to snmp, so maybe my problem is trivial, but I couldn't find answer to my problem. For my MIB I created a C code using mib2c, I added a few lines to add a row to my table to see if everything is OK. And there is my problem, when i do snmpwalk: $snmpwalk localhost .1.3.6.1.4.1. I get: