RE: installing net-snmp 5.4.1.2 on solaris is failing

2008-07-21 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mn kh Sent: Monday, July 21, 2008 3:00 AM I am trying to install the latest version of snmp on unix solaris and its failing, can I anyone help me Not if that's all we've got to go on, no. HTH, Mike

RE: windows service name

2008-07-21 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bernard Granier Sent: Monday, July 21, 2008 11:50 AM But we get a lot's customer and each one wants a service name different and we try to use open source as is otherwise each update may be a nightmare when you use

RE: Make-Error

2008-07-18 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phani Chand.Kolli Sent: Friday, July 18, 2008 6:15 AM please let me know if the file is enough. If not, I've converted it to gzip. HTH, Mike Makefile.gz Description: Makefile.gz

RE: make doesn't work on compiling snmpd

2008-07-18 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Reza Salehi After running ./configure whenever I run make,make clean or make install the result is the same and it goes through an infinite loop and prints a lot of lines and asks over and over the questions like

RE: snmp API: read_objid should not return an error in the case

2008-07-18 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Bubnov Sent: Friday, July 18, 2008 3:16 AM I guess the cause is not in path of mib because snmptranslate works fine with that name: The snmptranslate -IR randomizes access, whicvh allows system to be

RE: Make-Error

2008-07-18 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phani Chand.Kolli please guide me if i am doing any thing wrong Something's definitely wrong here, but it's not you. Apparently some tool on your machine is converting tabs to spaces (detabifying) when it shouldn't.

RE: V3 OIDs returned in different format than V1

2008-07-18 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bradley Navarro I am seeing a strange issue with returning the OID that I just walked using snprint_objid() When I do a GETNEXT using SNMP V1, the function returns the OID in a dotted number notation (with the exception

RE: Set operation failed ....

2008-07-16 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of deka aditia Sent: Tuesday, July 15, 2008 10:05 PM currently my agent development is got an obstacle ... i clearly have GET operation success ... but the SET operation always failed ... i dont know .. is there any one know

RE: Traps and frequency

2008-07-15 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of José Eduardo Martins Is it right to trust snmp-v2 informs to have a certain degree of trust that the message was received? Like so: if the inform succeeds, then the notification *was* delivered to the application,

RE: String to Hex-String conversion

2008-07-15 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Chatterjee Sent: Tuesday, July 15, 2008 4:17 AM I am querying a variable (OID) which has type/syntax as DisplayString (string) . When doing snmpwalk from Mib-Browser or from console i am getting few characters as

RE: SNMPD error (ASAP)

2008-07-14 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Umesh Kamath Sent: Monday, July 14, 2008 7:51 AM My assumption/intention of using snmpTrapdAddr is that, i would like to get trap messages from xyz machine. (means, get trap messages from xyz machine only).

RE: Starting net-snmp

2008-07-14 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wes Hardaker Sent: Monday, July 14, 2008 6:35 AM On Sat, 12 Jul 2008 23:09:23 +0200, Javier Nuñez [EMAIL PROTECTED] said: JN I install net-snmp from the source, in fedora 8, there in no problem but JN when i try to

RE: Windows CE and net-snmp

2008-07-14 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of vijay Sent: Monday, July 14, 2008 6:23 AM I am trying to find if it is suitable for a cross platform development where, the agent needs to run on multiple platforms (Linux, Windows XP and Windows CE) with little or not

RE: SNMPD error (ASAP)

2008-07-14 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Umesh Kamath Sent: Monday, July 14, 2008 12:04 PM 1) Please let me know the use of snmpTrapdAddr. My understanding on snmpTrapdAddr is that, it should always bind to localhost(loop back address(127.0.0.1)) No.

RE: SNMP expertise

2008-07-11 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2008 1:16 AM I understand and, I am going to use MIB to define the structure of my data. Excellent. It is strong damage that in PDU the syntax ASN1 already does not define this type of raw data.

RE: SNMP expertise

2008-07-10 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 1:35 AM I understand want you mean but this is my asn1 structure. In the vabind struct i have a choice for string that is - OCTET STRING. But as you see it doesn't mean what kind of octet string.

RE: net-snmp under ais control

2008-07-10 Thread Mike Ayers
OK, I haven't gotten terribly far through the AIS specs, but it seems that one would use SNMP to control AIS, not vice versa. Generally speaking, SNMP is a not a clustering application of the type managed by AIS, but AIS is a managed application of the type managed by SNMP. There are

RE: snmpwalk is sending an exact request when walking a tree

2008-07-09 Thread Mike Ayers
. How, exactly, are you implementing these, from a coding standpoint? Thanks, Mike -Original Message- From: mn kh [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 11:45 PM To: Mike Ayers Subject: Re: snmpwalk is sending an exact request when walking a tree I just

No perl?

2008-07-09 Thread Mike Ayers
I seem to have forgotten how to make net-snmp without any perl available, and the wiki appears to be down. A quick reminder, please? Thanks, Mike - Sponsored by: SourceForge.net Community Choice Awards:

RE: No perl?

2008-07-09 Thread Mike Ayers
From: Michael Musenbrock [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2008 11:50 AM Mike Ayers schrieb: ...net-snmp without any perl available... A quick reminder, please? I'm not sure, if these are all flags do disable perl, but maybe as reminder enough :) - --without-perl

RE: No perl?

2008-07-09 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Anders Sent: Wednesday, July 09, 2008 12:59 PM Mike Ayers wrote: - --without-perl-modules --disable-embedded-perl Not enough, I'm afraid, and I don't see any more flags that look promising:L That ought

RE: snmpwalk is sending an exact request when walking a tree

2008-07-08 Thread Mike Ayers
From: mn kh [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 11:25 PM 1-all of my MIB object instances are of Counter type, shouldn't I return NULL? Never! Counter32 ::= [APPLICATION 1] IMPLICIT INTEGER (0..4294967295) You must define an initial value

RE: snmpwalk is sending an exact request when walking a tree

2008-07-07 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mn kh Sent: Thursday, July 03, 2008 11:42 PM Following is my mib as printed by print_mib function: Children of mmsc(8): The printout appears to be counting down..? when i run the subagent and the snmpd and i try to

RE: net-snmp debug problem

2008-07-07 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of xiao ren Sent: Monday, July 07, 2008 4:21 AM I'm using Eclipse3.2 + CDT 3.1 as IDE to develop snmp application(under linux ubuntu 7.10), and ran into an error when I debug the simple 'snmpdemoapp' program. While step to

RE: SNMP expertise

2008-07-07 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, July 07, 2008 8:55 AM As far as basic SNMP is concerned - a string is a string is a string. ...is, pedantically, a sequence of octets. HTH, Mike

RE: net-snmp under ais control

2008-07-07 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zhouhuai Shen Sent: Monday, July 07, 2008 4:59 PM I am trying to add some codes to let ais manage the net-snmp daemon. Does anyone know if it's a good/bad idea? How difficult will it be? Care to point us to some

RE: coredump in the function netsnmp_add_varbind_to_cache()

2008-07-01 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zhouhuai Shen Sent: Monday, June 30, 2008 5:25 PM I had a coredump when I run net-snmp 5.3.1. Does anyone know about this issue and any possible patch has been done to fix this? My coredump is as the following: If

RE: Running master agent and subagent not as root

2008-07-01 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joan Landry Sent: Tuesday, July 01, 2008 4:12 PM Can anyone tell me how to run the master agent and the subagent not as root? I tried adding the following to snmpd.conf master agentx agentXSocket /tmp/agentx/master

RE: Listening the snmptrapd

2008-06-25 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, June 25, 2008 7:09 AM 2008/6/25 Murilo Fujita [EMAIL PROTECTED]: What machine should listen the traps to receive the traps? NMS or the agent? Traps will be received by a NMS, not an

RE: Re: Re: sourceforge tutorial sample code problem

2008-06-24 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of xiao ren Sent: Tuesday, June 24, 2008 2:07 AM And yes, I do install net-snmp lib from source, so I guess I have installed the MIB files already. Part of installed involves locatability. This is usually done by

RE: Re: Is there a way to query multiple variable at the same time?

2008-06-24 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, June 24, 2008 2:19 AM 2008/6/24 xiao ren [EMAIL PROTECTED]: Is there any way I can put in the expression directly by net-snmp api, or do I have to code seperately to identify algebra

RE: Configuring MAC address through snmpset

2008-06-17 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bhaskararao vakamullu Sent: Tuesday, June 17, 2008 7:05 AM Which should be used in the snmpset for configuring MAC address?. I mean 'i' for interger and 'a' for IP address like that what should be for MAC address.

RE: Permanent storage for ifXTable

2008-06-17 Thread Mike Ayers
[Always respond to the list, please.] From: Cristián [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2008 9:15 AM To: Mike Ayers Subject: Re: Permanent storage for ifXTable 2008/6/16 Mike Ayers [EMAIL PROTECTED]: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

RE: get table

2008-06-17 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joy Sent: Tuesday, June 17, 2008 2:00 PM I'm a new, I want to write a program to get the connection topology on the IP layer, so I must get the 'ipRouteTable' and wrap it in a struct. OK. since I couldn't

RE: IP redirection

2008-06-17 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Rader Sent: Tuesday, June 17, 2008 2:39 PM From: dan anderson [mailto:[EMAIL PROTECTED] On a somewhat related note, is there a way to force link up/downs to occur on Linux, to test these traps? If you actually

RE: Permanent storage for ifXTable

2008-06-16 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cristián Sent: Thursday, June 12, 2008 5:52 PM I wrote a master agent which sends custom traps over two ppp interfaces. I think you mean that you wrote a subagent, and that net-snmp is your master agent. If that is

RE: Doubt on configuring ipNetToMediaTable from the IP MIB (RFC 4293)through netsnmp

2008-06-16 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bhaskararao vakamullu Sent: Friday, June 13, 2008 7:48 AM I am using net snmp for my router for managing.I am trying to configure ipNetToMedia Table entries using snmpset command. You may be able to create

RE: Support for include files in snmpd.conf?

2008-06-16 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Sunday, June 15, 2008 11:58 AM To: Davin 2008/6/14 Davin [EMAIL PROTECTED]: Is there any particular reason why it would be a bad idea for snmpd.conf to support an include directive? No - I can't see

RE: Working a whole device with Net::SNMP with Perl

2008-06-10 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Bonham Sent: Tuesday, June 10, 2008 10:17 AM Wes Hardaker wrote: On Tue, 10 Jun 2008 05:08:11 -0700, Thomas Bonham [EMAIL PROTECTED] said: TB I'm trying to figure out how to walk a whole device

RE: Inform PDU Spooler

2008-06-06 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antonio Grassi Sent: Friday, June 06, 2008 1:01 AM reliable dispatch of the notifications. Define this term. What you will need to do, and how complex it will be, depends entirely on the definition of reliable.

RE: Inform PDU Spooler

2008-06-05 Thread Mike Ayers
Yes and no. Informs can still fail if the target host is down. The generalized solution for reliable traps is to combine an NMS with strategically placed DISMAN notification log MIB instances (supported by Net-SNMP) and acknowledge that there will still be cases where notifications

RE: ./configure bug

2008-06-02 Thread Mike Ayers
Could you post console logs of the configure and make sessions, please? There may be clues you're not poassing along because you don't see them as unusual. The easy way to get a log is to append the text ' 21 | tee ~/configure.log' to each command - don't put 'em both in the same

RE: snmptrapd with attached perl script eats all memory

2008-06-02 Thread Mike Ayers
It is a common misconception that memory usage reports can be relied upon to report the amount of memory currently in use by an application. This is not necessarily the case, as lazy garbage collection by the OS can result in it appearing that a process is using dramatically more

RE: snmptranslate rfc1155

2008-06-02 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of scott wheeler Sent: Friday, May 30, 2008 11:51 AM I'm a new user to the net-snmp app. When I run snmptranslate I get the following errors. -bash-2.05b# snmptranslate No log handling enabled - turning on stderr logging

RE: Printers in the Network

2008-06-02 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of pakala babji Sent: Monday, June 02, 2008 5:11 AM How to find the IP addresses of the printers connected to my network. Is there any OID which can get me the printers connected to my network. No. IP does not

RE: A flurry of notifications at startup

2008-05-30 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dan anderson If you unplug the cable, the message will not be relayed to NMS unless you're using wireless. Or, I suppose, the Pigeon Protocol. SNMP was designed for exactly this. Well, not necessarily pigeons,

RE: Compilation error

2008-05-30 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rabindra Paikaray I am new to this group and started using net-snmp recently . I am configuring it for a cross-compiler , but while running make I am getting an error like : mibII/at.c: In function `ARP_Scan_Next':

No trips on MIPS (was: RE: IP redirection)

2008-05-30 Thread Mike Ayers
[Please change the subject line when using reply to start a new thread.] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rabindra Paikaray Sent: Wednesday, May 28, 2008 10:31 PM I have configured net-snmp with disman/event and notification for linkup and down

RE: How to add mib file in net-snmp to perform SET operation.

2008-05-28 Thread Mike Ayers
From: rajesh [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 6:15 AM How to enable the logs and where the logs are written . Consult the LOGGING OPTIONS section of the snmpcmd(1) manpage for a complete explanation. I have added nstAgentModuleObject_c.c in Agent directory

RE: IP redirection

2008-05-27 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of k_simplydev Sent: Monday, May 26, 2008 8:39 AM No when i make redirection only on this private MIB, .21 site respondes that is it an unknown OID. And if i do requests from .21 to 20 about private MIB, i had correct

RE: How to add mib file in net-snmp to perform SET operation.

2008-05-27 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of rajesh Sent: Tuesday, May 27, 2008 6:24 AM This is my first mail to this group. We have defined owr own mib file . Now we want to develop on Application using net-snmp library that will be capable of performing SET/GET

RE: Reg the ppc compilation.

2008-05-25 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Syed Shamim Ahamed A S M I was trying to compile for PPC the netSNMP5.4.1 by giving the below command line ./configure --build=i386-linux --host=powerpc-linux --target=powerpc-linux --with-endianness=big ,

RE: snmptrpd.conf format help

2008-05-19 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meza, Frank Sent: Saturday, May 17, 2008 8:03 PM I am new to net-snmp configuration and firing up a trap receiver. The receiver is up processing and logging snmp v2 traps only but I cant seem to get the v1 traps to log.

RE: Retrieving AIX interface information from Net-SNMP

2008-05-19 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Osburn Sent: Monday, May 19, 2008 3:25 PM I am going to try compiling a clean version of net-snmp when I get in tomorrow as I was not the one who started this process and they are unavailable to ask what options

RE: ./configure bug

2008-05-16 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Raghavendra Prasad Sent: Friday, May 16, 2008 9:16 AM If I change from ./configure settings to a completely different ./configure setting Did you `make distclean` before running configure again? Thanks,

RE: How to determine whether a discovered device is a PC?

2008-05-15 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amarnath T Sent: Thursday, May 15, 2008 2:39 AM How can one determine whether the discovered device is a PC or not? First, you'll need to define what it means to be a PC. Essentially, what are the characteristics

RE: Getiing Error In Installing net-snmp-5.3.1

2008-05-14 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of arif hussain Sent: Tuesday, May 13, 2008 10:28 PM Getiing Error In Installing net-snmp-5.3.1 ( during make ), i want to install perl so i tried ./configure --with-perl-modules make If you mean, it built

RE: SNMP_ERR_TOOBIG

2008-05-14 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roy M. Silvernail Sent: Wednesday, May 14, 2008 7:44 AM On Wed, May 14, 2008 at 05:47:05PM +0400, Sergey Matveychuk wrote: Hello. How can I find out how many oids can I get from a device? The best source is from the

RE: Is it necessary to be root to install Net-SNMP

2008-05-12 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Raghavendra Prasad Sent: Friday, May 09, 2008 6:08 AM Being root is nessary for an automatic install of the Net-SNMP perl modules (and hence for running anything that relies on these, like mib2c). It is not necessary for a

RE: specific trap

2008-05-12 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian A. Seklecki Sent: Thursday, May 08, 2008 3:56 PM There's probably a General Error OID in one of the stock MIBs you can recycle. But I would recommend not doing this, as it almost invariably turns out that

RE: about the snmpagent example

2008-05-12 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Sunday, May 11, 2008 4:52 AM Oh,the below is my operate. #ps -aux|grep snmpd Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ root 14960 0.0 0.5 79816 6056 ?

RE: HOST-RESOURCES-MIB

2008-05-09 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of diogo vargas marcos Sent: Thursday, May 08, 2008 6:36 AM How can I get the HOST-RESOURCES-MIB::hrSystemUpt ime.0 value from net-snmp-5.4.1-3.win32 ? snmpget -v 1 -c public localhost

RE: Problems monitoring HP-UX with Orion Networks Performance Monitor

2008-05-09 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guillermo Bonilla Castano Sent: Thursday, May 08, 2008 8:34 AM This is HP-UX 11.31 (11v3), not HP-UX 11.23 (11v2). What I suspect is that the agent doesn't support the MIBs needed by Orion. Find the answers below..

Huh?!

2008-05-06 Thread Mike Ayers
What am I missing here? SNIP machine$ echo $MIBDIRS /c/mike/wrk/net-snmp-1/iroot/share/snmp/mibs machine$ echo $MIBS all machine$ snmptranslate .1.3.6.1.4.1 SNMPv2-SMI::enterprises machine$ snmptranslate -Ts .1.3.6.1.4.1 SNMPv2-SMI::enterprises machine$ snmptranslate -IR -Ts .1.3.6.1.4.1

RE: some problem : timeout / burst get multi-oid

2008-04-29 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, April 29, 2008 6:56 AM 2008/4/28 JAW-Woei MAA [EMAIL PROTECTED]: In our knowledge, timeout means the period of responsive time after we set the packet out. In reality, when we work it within

RE: End of MIB

2008-04-29 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sathasivam, Elayaraja Sent: Tuesday, April 29, 2008 9:18 PM 1) But its working fine with remote host. $ snmpwalk -v 1 -c public remote ip versiontag Output: UCD-SNMP-MIB::versionTag.0 = STRING: 5.0.9

RE: End of MIB

2008-04-29 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sathasivam, Elayaraja Sent: Tuesday, April 29, 2008 9:40 PM 1) $snmpgetnext -v 1 -c public localhost .1.3 Outpu: Timeout: No Response from localhost. You forgot to start the server, I think. Need to install

RE: running snmpd

2008-04-25 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jelena Savic I have a script which starts up snmpd and then another process which talks to snmpd I have traced the snmpd, and the parent process forks and exits before the socket is ready.. Is there a way that i can

RE: help?No Such Object available on this agent at this OID

2008-04-24 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ?? Sent: Wednesday, April 23, 2008 9:52 PM Oh,i'm sorry , i spellworry, i install the 5.1.4 release. 5.1.4 or 5.4.1? I follow the FAQ text file in the release package , I've added my code to this template and it

RE: tablesnmpwalk on table not working via subagent - need help please

2008-04-24 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Thursday, April 24, 2008 1:48 AM It's been said before, and I wouldn't disagree Net-SNMP documentation sucks Compared to most projects I've seen, I think that's too harsh. There is room for

RE: tablesnmpwalk on table not working via subagent - need help please

2008-04-23 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joan Landry Sent: Tuesday, April 22, 2008 6:16 AM The documentation indicates that the following is obsolete: table_dataset - Helps you implement a table with automatted storage. This helper is obsolete. If you are writing a

RE: tablesnmpwalk on table not working via subagent - need help please

2008-04-23 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, April 23, 2008 2:33 PM 2008/4/23 Mike Ayers [EMAIL PROTECTED]: The table_dataset/group_tdata functions are for datamatted [sic] tables those for which you store the data and forget. That's

RE: Timeout: No Response from localhost

2008-04-23 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sathasivam, Elayaraja Sent: Tuesday, April 22, 2008 8:01 AM $ rpm -q -f `which snmpd` file /usr/local/sbin/snmpd is not owned by any package SNIP cmd=./configure By default, `make install' will install all the files in

RE: getting values for ver 5.4.1 but not for 5.3.1

2008-04-22 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pranesh Kulkarni Sent: Friday, April 18, 2008 7:18 AM I used net-snmp-5.4.1 and was able to get the values for command snmpget and snmpwalk with master/subagent . Now I am using net-snmp-5.3.1 for some reasons, but I am

RE: snmpd agent crashing after SIGHUP sent

2008-04-22 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Simon Sent: Friday, April 18, 2008 4:40 PM I believe it as to do with registering the MIBs more than once. SNIP/ Are you perhaps using the -c flag without the -C flag? You should not need to unregister MIBs,

RE: Table in mib

2008-04-22 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of yogesh marathe Sent: Friday, April 18, 2008 10:59 PM i've loaded my new mib to net-snmp-5.4.1 it is working properly.. Obviously not, or you would not have needed to write this. eh? When i wrote table in my my MIB

RE: 5.4.1 on solaris sparc

2008-04-21 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Bowden Sent: Friday, April 18, 2008 5:28 AM I compiled 5.4.1 on Solaris Sparc. I walk the tree for disk space and /tmp is not being reporting? Has anyone else seen this problem? Any solution? It worked in the version

RE: problem getting table values - net-snmp-5.4.1

2008-04-18 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Farooq Maniar Sent: Thursday, April 17, 2008 2:44 PM I am facing a strange problem, I am not sure if any body has faced this before or not. I am trying to get table values by using snmpgetnext command. My problem is that

RE: SNMP Proxy Behaviour

2008-04-17 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of B Venkat S.R Swamy Sent: Wednesday, April 16, 2008 11:49 PM While going through the RFC 3413 and RFC 3584 for Proxy Forward application, there are certain procedures that are not clearly defined for proxy. Can some one

RE: Changing IP address of net-snmp agent

2008-04-16 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Simon Sent: Tuesday, April 15, 2008 10:06 PM What is the typical way of dynamically changing the ip address of an agent? There is none. I have a linux embedded system with a CLI interface to change the IP

RE: net-snmp

2008-04-16 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sathasivam, Elayaraja Sent: Tuesday, April 15, 2008 9:13 PM 3) ps auxwww | grep snmpd | grep -v grep Output: No output How to restart the snmp agent ? I believe: $ /etc/rc.d/init.d/snmpd restart

RE: Sending trap from source code

2008-04-15 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, April 14, 2008 9:35 PM The system is something like whenever the subagent sees a change on a watched variable it triggers synchronization between available data with it and its

RE: Sending trap from source code

2008-04-14 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, April 14, 2008 2:07 AM I have a situation where I have to deny write access to my specific from external entities(except from the localhost) for a certain amount of time. I am using

RE: How to find the completion of OID registrations by subagent withSNMPD.?

2008-04-11 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pamidipati Suresh-G20238 Sent: Friday, April 11, 2008 7:52 AM Our subagent registers OIDs with SNMPD using helper functions in table.c and scalar.c. After subagent has established Agentx session with SNMPD and registered

RE: reloading configuration into an snmpd daemon

2008-04-11 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grant mills Sent: Friday, April 11, 2008 8:28 AM I am running NET-SNMP version 5.3.0.1 on a NetBSD (virtual machine) system. I am attempting to cause the daemon to reload its configuration (from the conf files) without

RE: reloading configuration into an snmpd daemon

2008-04-11 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grant mills Sent: Friday, April 11, 2008 8:28 AM I am running NET-SNMP version 5.3.0.1 on a NetBSD (virtual machine) system. I am attempting to cause the daemon to reload its configuration (from the conf files) without

RE: SnmpTargetAddress

2008-04-10 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joan Landry Sent: Tuesday, April 08, 2008 1:48 PM Does net-snmp support the ability to add entries to the snmpTargetAddress for means of limiting v2 access to a v3 box. If so how would this be configured via snmpd.conf?

RE: Net-SNMP error

2008-04-10 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of komang adi Sent: Tuesday, April 08, 2008 6:10 PM I Have installed Net-SNMP on Ubuntu 7.10. When i restart the snmp, there is an error like this : Restarting network management services:/usr/sbin/snmpd: symbol lookup

RE: problem with notification sending from inside agent

2008-04-10 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Suyash Pratap Singh Sent: Wednesday, April 09, 2008 1:05 AM I compiled snmpd version 5.4.1 with –with-mid-modules=examples/notification option. Now this compiles fine and snmptrapd receives the coldstart trap from snmpd

RE: Net-SNMP (ASAP)

2008-04-10 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roy M. Silvernail Sent: Wednesday, April 09, 2008 10:18 AM On Wed, Apr 09, 2008 at 11:26:57AM -0500, Umesh Kamath wrote: Dave, We need SNMP ping monitor tool to check whether a node is SNMP enabled or not and also to

RE: test scripts for subagent

2008-04-10 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pranesh Kulkarni Sent: Thursday, April 10, 2008 5:39 AM I have written the subagent which communicates with master agent through AgentX protocol . Now I want to test the subagent. Will running over

RE: snmpwalk snmpget

2008-04-10 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of snmp girl that's what I do , I test with the snmpwalk -c public -v1 localhost .1.3.6.1.4.1.311.1.4.1.1.5.1.2 and it's give me SNMPv2-SMI::entreprises.311.1.4.1.1.5.1.2.1.0 = STRING: master

RE: Old OIDs

2008-04-10 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jelena Savic Sent: Thursday, April 10, 2008 9:05 AM What is the difference between obsolete and deprecated status in the Mib? Which do you use when? In a nutshell, deprecated means It still works, but you shouldn't

RE: SnmpTargetAddress

2008-04-10 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joan Landry Sent: Thursday, April 10, 2008 10:40 AM It does not, as that would be contrary to the intent of the snmpTargetAddrTable. I think that this is not true. The snmpTargetAddrTable defines a tagList that can be

RE: Dynamic Addition and Remove of trap destination

2008-04-09 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eli Zarka I am using create_v2_trap_session routine to dynamically add a trap destination. How can I dynamically remove a trap destination that was added by this routine. I do not believe that such destinations

RE: Windows default MIBS

2008-04-09 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stegmann Patricio Sent: Wednesday, April 09, 2008 5:15 AM Sorry for the people on the mailing list, I am attaching the complete output of the tests suggested by Dave, where you may notice it doesnt return any value for

RE: Configuring a new vacmContextName

2008-04-09 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joan Landry Sent: Wednesday, April 09, 2008 1:17 PM If you are using com2sec, then this relates to SNMPv1/2. What should I use for SNMPv3? I created the following 2 users one has a context name defined the other one

RE: V3 Informs

2008-04-09 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joan Landry Sent: Wednesday, April 09, 2008 1:33 PM Is there a place where I could find these kind of commands documented? http://www.net-snmp.org/docs/man/snmpd.conf.html HTH, Mike

RE: Unknown token: smux

2008-04-08 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of lanas Sent: Monday, April 07, 2008 4:28 PM Yes, it was, after installing openSSL. But I'm still getting the same darn communication failure error with ospfd although I have the two smuxpeer and 'smux peer' lines in both

RE: error when trying to run ifTable mib mfd tutorial example withnet-snmp version 5.4.1

2008-04-04 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johns Victor Sent: Friday, April 04, 2008 12:52 PM No log handling enabled - turning on stderr logging The -L flag should be -Le, I think. registered debug token ifTable, 1 netsnmp_assert !registration !=

<    1   2   3   4   5   6   7   >