回复: c64 32 bit check failed

2008-03-26 Thread lvronghai lvrongh
Hi, Mike, Thank you for replay. >>>I don't know this problem specifically, but I believe there have >>>beenrelatively recent fixes for 64 bit counters. If possible, pleaseupgrade >>>to net-snmp 5.4.1 and try again. I believe 64 bit >counterswork >>>relatively well now. It might not pos

Re: Net-SNMP (ASAP)

2008-03-26 Thread Pranesh Kulkarni
With snmpconf , we can configure snmp.conf , snmpd.conf and snmptrapd.conf Thanks, Pranesh On Thu, Mar 27, 2008 at 12:39 AM, Umesh Kamath <[EMAIL PROTECTED]> wrote: > > Dave, > > Is there any command like snmpconf to config snmptrapd.conf file . Or do > we need to manually create snmptrapd.co

RE: ignoring context in request?

2008-03-26 Thread Mike Ayers
For a more portable solution to supporting requests on multiple contexts, consider using the proxy mechanism, if you have a finite number of contexts: proxy -Cn legacy-context localhost .1.3 HTH, Mike -

RE: c64 32 bit check failed

2008-03-26 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of lvronghai lvrongh > Sent: Wednesday, March 26, 2008 1:02 AM > We are using net-snmp-5.3.1 version running on 64 bit Linux > environment. > > During our testing, there are error messages related to this > 32 bit counter chec

RE: No Response from localhost

2008-03-26 Thread Mike Ayers
The problem described by M Kulkarni would result in a noSuchName response in v1. The timeout indicates one of four things: 1) The snmp daemon is not running. 2) The snmp daemon is running on a non-default port. 3) A firewall or operating system security feat

Re: Net-SNMP (ASAP)

2008-03-26 Thread Umesh Kamath
Dave, Is there any command like snmpconf to config snmptrapd.conf file . Or do we need to manually create snmptrapd.conf by using directives mentioned in snmpd.conf man page "Dave Shield" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 03/19/2008 11:39 To Umesh Kamath/India/[EMAIL PROTECT

Re: MSSql.MIB

2008-03-26 Thread snmp girl
2008/3/26, Dave Shield <[EMAIL PROTECTED]>: > > On 26/03/2008, snmp girl <[EMAIL PROTECTED]> wrote: > > > What other information does this MIB provide? > > > Is there an object that reports the size of each database? > > > > > > yes , I used the mib browser , and I can use all the mssql tables with

Re: MSSql.MIB

2008-03-26 Thread Dave Shield
On 26/03/2008, snmp girl <[EMAIL PROTECTED]> wrote: > > What other information does this MIB provide? > > Is there an object that reports the size of each database? > > > yes , I used the mib browser , and I can use all the mssql tables with their > oid and also with its details ( what's are for)

Re: MSSql.MIB

2008-03-26 Thread snmp girl
2008/3/26, Dave Shield <[EMAIL PROTECTED]>: > > On 26/03/2008, snmp girl <[EMAIL PROTECTED]> wrote: > > snmpwalk -c public -v1 localhost .1.3.6.1.4.1.311.1.4.1.1.5.1.2 > > and I get all the database name's > > > now I want to generate a trap if I use more than 6 Mo in ceatin > databases. > > What o

Re: MSSql.MIB

2008-03-26 Thread Dave Shield
On 26/03/2008, snmp girl <[EMAIL PROTECTED]> wrote: > snmpwalk -c public -v1 localhost .1.3.6.1.4.1.311.1.4.1.1.5.1.2 > and I get all the database name's > now I want to generate a trap if I use more than 6 Mo in ceatin databases. What other information does this MIB provide? Is there an object t

Re: MSSql.MIB

2008-03-26 Thread snmp girl
Hi again, I arrived to test the snmpwalk o the mssql mib for example: snmpwalk -c public -v1 localhost .1.3.6.1.4.1.311.1.4.1.1.5.1.2 and I get all the database name's now I want to generate a trap if I use more than 6 Mo in ceatin databases. I don't know how to create the event that make the trap

Re: ignoring context in request?

2008-03-26 Thread Mike Harless
Dave, Dave Shield <[EMAIL PROTECTED]> wrote: > On 25/03/2008, Mike Harless <[EMAIL PROTECTED]> wrote: > > Is it possible to ignore any context specified in a request? > > I'd like to be able to support where clients can specify a > > context, but snmpd just ignores the request and gives them

Re: Re: pass_persist solaris 9

2008-03-26 Thread olivier
> On 26/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> I just installed netSNMP 5.4.1 from sunfreeware but it show the exactly >> same behavior. > > OK - so it's either: > > a) something related to your environment > b) something about your script > c) a long-standing bug in the

Re: snmptrapd -- Cannot find TrapOID in TRAP2 PDU

2008-03-26 Thread Dave Shield
On 26/03/2008, Terry <[EMAIL PROTECTED]> wrote: [snip] > > Cannot find TrapOID in TRAP2 PDU Well, it's quite correct. The first two varbinds of a Trap2-PDU are meant to be 'sysUptime.0' followed by 'snmpTrapOID.0' The first two varbinds in this dump are 'enterprises.22096.1.1.1' and 'enterpr

Re: AIX 5.3 Net-SNMP post install issue

2008-03-26 Thread Brian A. Seklecki
On Tue, 2008-03-25 at 16:09 -0400, Hotz, Harry wrote: > I have completed a successful make install of the 5.4.1 version > of Net-SNMP. I ran the configuration tool and enabled the various parms Congratulations. Would you mind sharing your config.log and possibly mind making a binary package

Re: LEAF-SNMP

2008-03-26 Thread Joey Officer
yogesh marathe wrote: i'm trying to put snmpd in to LEAF(linux embedded appliance firewall). i put snmpd (/neatsnmp5.4.1/agent/snmpd) and snmpd.conf on floppy.. then booted through LEAF and mounted that floppy(containing above 2 files). i copied snmpd.conf to /etc/snmp and snmpd to temporar

Re: snmptrapd -- Cannot find TrapOID in TRAP2 PDU

2008-03-26 Thread Terry
Received 379 bytes from UDP: [207.97.221.101]:54821 : 30 82 01 77 02 01 01 04 07 70 75 62 6C 69 63 000..w.public. 0016: A7 82 01 67 02 04 2F 6C 52 6A 02 01 00 02 01 00...g../lRj.. 0032: 30 82 01 57 30 19 06 0B 2B 06 01 04 01 81 AC 500..W0...+..P 0048: 01 01 01 0

Re: Re: pass_persist solaris 9

2008-03-26 Thread Dave Shield
On 26/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I just installed netSNMP 5.4.1 from sunfreeware but it show the exactly > same behavior. OK - so it's either: a) something related to your environment b) something about your script c) a long-standing bug in the pass_persist

Re: Community string field in netsnmp-session structure getting corrupted.

2008-03-26 Thread Roy M. Silvernail
On Wed, Mar 26, 2008 at 05:57:54PM +0530, [EMAIL PROTECTED] wrote: > Hi all, > I am calling snmp_open(&session) in a C++ function. Before passing > session variable to snmp_open I have initialized it properly > with the value of peer name , version , community string. But if I print > it inside sn

Re: Re: pass_persist solaris 9

2008-03-26 Thread olivier
>> On 25/03/2008, Mike Ayers <[EMAIL PROTECTED]> wrote: >>> Please clarify - there is no "ping" in SNMP. What exactly are >>> you doing. >> >> Remember that Olivier is using the "pass_persist" mechanism. >> The initial handshake uses a "PING"/"PONG" request/response. >> (See snmpd.conf(5))

RE: Community string field in netsnmp-session structure gettingcorrupted.

2008-03-26 Thread singh.srajendra
Yes I did it . I also did a printing of the session variables before snmp_open and it was printing correctly but When I passed it to snmp_open and tried printing the variables there I got NULL for trap community string and 0 for trap community length. -Original Message- From: Roy M. Si

Re: pass_persist solaris 9

2008-03-26 Thread olivier
> On 25/03/2008, Mike Ayers <[EMAIL PROTECTED]> wrote: >> Please clarify - there is no "ping" in SNMP. What exactly are >> you doing. > > Remember that Olivier is using the "pass_persist" mechanism. > The initial handshake uses a "PING"/"PONG" request/response. > (See snmpd.conf(5)). > > I

Community string field in netsnmp-session structure getting corrupted.

2008-03-26 Thread singh.srajendra
Hi all, I am calling snmp_open(&session) in a C++ function. Before passing session variable to snmp_open I have initialized it properly with the value of peer name , version , community string. But if I print it inside snmp_open() I am getting NULL for community string field but for others ie ver

Re: AIX 5.3 Net-SNMP post install issue

2008-03-26 Thread Dave Shield
On 25/03/2008, Hotz, Harry <[EMAIL PROTECTED]> wrote: >when another Linux > host running Net-SNMP contacts this AIX server we see from traces that > the packets reach thru out firewall to the server but it simply fails to > respond to the p

Re: snmptrapd -- Cannot find TrapOID in TRAP2 PDU

2008-03-26 Thread Dave Shield
On 25/03/2008, Terry <[EMAIL PROTECTED]> wrote: > I am not sure how to get further information out of snmptrapd. I > thought I turned on more logging with these startup options: > -M /usr/share/snmp/mibs -m ALL -Lsdd -p /var/run/snmptrapd.pid > > I have traps being received successfully from o

RE: pass_persist solaris 9

2008-03-26 Thread olivier
> >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of [EMAIL PROTECTED] >> Sent: Tuesday, March 25, 2008 5:21 AM > >> When I launch the selfmonitor.pl script by hand I can send >> ping, get and >> getnext commands, they all work well and return the expected results. >> However,

Re: END OF MIB

2008-03-26 Thread snmp girl
thanks , now I see what does mean. 2008/3/26, Dave Shield <[EMAIL PROTECTED]>: > > On 25/03/2008, snmp girl <[EMAIL PROTECTED]> wrote: > > I want to know what that's mean "END OF MIB" because I get it while > testing > > a snmpwalk > > The "snmpwalk" command basically sends a sequence of GETNEXT r

Re: ignoring context in request?

2008-03-26 Thread Dave Shield
On 25/03/2008, Mike Harless <[EMAIL PROTECTED]> wrote: > Is it possible to ignore any context specified in a request? > I'd like to be able to support where clients can specify a > context, but snmpd just ignores the request and gives them > the default context instead. You'll almost certainly

Re: END OF MIB

2008-03-26 Thread Dave Shield
On 25/03/2008, snmp girl <[EMAIL PROTECTED]> wrote: > I want to know what that's mean "END OF MIB" because I get it while testing > a snmpwalk The "snmpwalk" command basically sends a sequence of GETNEXT requests, to step through the values one at a time. "End of MIB" means that the agent receive

Re: pass_persist solaris 9

2008-03-26 Thread Dave Shield
On 25/03/2008, Mike Ayers <[EMAIL PROTECTED]> wrote: > Please clarify - there is no "ping" in SNMP. What exactly are you > doing. Remember that Olivier is using the "pass_persist" mechanism. The initial handshake uses a "PING"/"PONG" request/response. (See snmpd.conf(5)). It sounds as i

Re: subagent not working

2008-03-26 Thread Dave Shield
On 20/03/2008, Joan Landry <[EMAIL PROTECTED]> wrote: > When I run ./example_demo& I get the > following errors and I am not able to do a get on the object in the mib. > > netsnmp_assert !"registration != duplicate" failed >agent_registry.c:535 netsnmp_subtree_load() > netsnmp_asse

AIX 5.3 Net-SNMP post install issue

2008-03-26 Thread Hotz, Harry
I have completed a successful make install of the 5.4.1 version of Net-SNMP. I ran the configuration tool and enabled the various parms and settings. I have the processes up and running but when another Linux host running Net-SNMP contacts this AIX server we see from traces that the packet

Re: MSSql.MIB

2008-03-26 Thread snmp girl
> hi , sorry instead of writting sql server , I wrote mysql > so , with using sqlserver what should I do after? > thanks > > > 2008/3/25, Mike Ayers <[EMAIL PROTECTED]>: > > > > > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On > > > Behalf Of snmp girl > > > Sent: Tuesday, March 25,

c64 32 bit check failed

2008-03-26 Thread lvronghai lvrongh
Hi, We are using net-snmp-5.3.1 version running on 64 bit Linux environment. During our testing, there are error messages related to this 32 bit counter checking. Can someone help to identify this problem? how to fix it ? Oct 23 17:02:46 err snmpd[10838]: c64 32 bit check failed Oct 23 17:02

Re: No Response from localhost

2008-03-26 Thread Pranesh Kulkarni
Please check once again the config file snmpd.conf The agent isn't configured to accept commands with the community "public" or for "localhost"(might be you have given address instead of localhost") Thanks, Pranesh On Wed, Mar 26, 2008 at 12:58 PM, komang adi <[EMAIL PROTECTED]> wrote: > I ha

No Response from localhost

2008-03-26 Thread komang adi
I have installed Net-SNMP 5.3.1 on Ubuntu 7.10. I also have configure the /etc/snmp/snmpd.conf. And after restart, and want to check snmp running it's shown : [EMAIL PROTECTED]:/usr/local# snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.1.1.0 Timeout: No Response from localhost What must is do? Pl