Re: [PATCH] Avoiding dmalloc/glibc-free protection problem with snmp_shutdown() on Linux.

2005-04-02 Thread Robert Story
On Wed, 30 Mar 2005 17:55:47 +0900 Tsuyoshi wrote: TN> To avoid dmalloc/glibc-free protection problem with snmp_shutdown() on TN> Linux, TN> Use my patch. I think same problem is available in latest 5.2.1 with TN> agentx_register_callbacks(). While it may solve the problem during shutdown, I have

Re: MAXIMUN SIZE of a Display String

2005-04-02 Thread Robert Story
On Mon, 28 Mar 2005 09:50:50 +0200 Gemma wrote: GS> - I have read in the book "SNMP, SNMPv2, SNMPv3 and RMON 1 and 2" that the GS> theoretical maximum size of a OCTECT STRING is 64 KB. I need to know GS> if this limit is kept by net-snmp or if it imposes another one. It is the size limit of a UD

RE: weired compilation error

2005-04-02 Thread Jim Su
Hi Robert: Thanks for the reply. The source of this problem was found. It's the environment set up in my site. This incidence tells me how important it is to be careful in setting up the environment variables - especially the critical tools. The program/system itself may not

Re: problem in executing snmp queries of table type oids

2005-04-02 Thread Robert Story
On Fri, 25 Mar 2005 20:12:51 +0530 Mac wrote: M> I created the C and Headers files for table type oids using M> create_dataset.conf. I could able to execute snmpset and snmpget. But M> the values I set is not getting displayed when I reboot the PC. The M> values are not stored permanently. I am hav

Re: Need direction for perl module installation

2005-04-02 Thread Shane D
Thanks for the steps. I did see the src.rpm but was unsure how to go about using it. I built 5.1.2 by hand and it's working - even the Perl code although you already knew that. :) Maybe I'll uninstall it and build the src.rpm. Thanks for the pointers! Shane Robert Story wrote: On Thu,

Re: read_objid: Unknown Object Identifier (Sub-id not found: (top) -> system)

2005-04-02 Thread Robert Story
On Tue, 29 Mar 2005 05:24:37 -0800 (PST) Hamisi wrote: HOAM> I downloaded the example program asyncapp.c and I compile it with RedHat HOAM> Linux 8.0. When running it I get the error: HOAM> HOAM> read_objid: Unknown Object Identifier (Sub-id not found: (top) -> HOAM> system). Are the MIBs instal

Re: adding HP Procurve MIBS

2005-04-02 Thread Robert Story
On Thu, 24 Mar 2005 13:33:46 -0800 (PST) Richard wrote: RD> I am new at this and have many HP Procurve switches. RD> I know I need to add the appropriate MIBS if I have RD> this correct. I have downloaded both HP and CISCO RD> MIBS from the information I found. The FAQ on the web site covers ins

MIBs OID question

2005-04-02 Thread dil dila
dear all, can anyone help me regarding on: 1. poll specific OID of DELL server using snmp 2. if i already got the DELL MIBs, where should i put it? is it at /usr/share/snmp/mibs? 3. if already get the DELL MIBs but it is in the .bin format __ Do You

Re: exec script handling

2005-04-02 Thread Robert Story
On Mon, 21 Mar 2005 15:54:28 -0500 Keith wrote: KL> exec .1.3.6.1.4.1.11021.x.y.z TTVEntry KL> /usr/local/n2bb/snmpcatcher/bin/TTVEntry_script.pl KL> KL> The TTVEntry_script.pl returns about 15 metrics. KL> KL> It appears that using this syntax that the TTVEntry_script is run once KL> for each o

Re: Using SNMP for "Real-time" monitoring

2005-04-02 Thread Robert Story
On Fri, 18 Mar 2005 19:43:22 -0600 Joe wrote: JC> By realtime, I mean that I'd like to be JC> able to choose any normal MIB item (not just items defined as traps), and JC> have it sent on a periodic basis (not just when an expression evaluates to JC> true) to a manager node. I would assume such

Re: implementation of the CPU utilization and memory utilization

2005-04-02 Thread Robert Story
On Wed, 30 Mar 2005 23:03:16 +0800 Jim wrote: JS> I am looking for the examples of the implementation for monitoring JS> system CPU utilization and memory utilization. I am wondering if there JS> is such example in one of the net-snmp web site or other source. If you JS> happen to k

Re: When can I use ASN_IPADDRESS?

2005-04-02 Thread Robert Story
On Sun, 13 Mar 2005 17:42:07 -0300 jrussi wrote: J> Well, so when can I use ASN_IPADDRESS? With what kind of J> MIB type? Use of this type is discouraged because it can't represent IPv6 addresses. But in your own MIBs, you can do whatever you want. If you know you will never need IPv6 addresses (

Re: snmpget

2005-04-02 Thread TheBatchMan
Thanks, I figured it out, I was not using the entire number 1.3.6.1.4.1.23.2.98.1.2.3.1.1.5.1.2 Don Robert Story wrote: On Tue, 22 Mar 2005 13:05:16 -0500 TheBatchMan wrote: T> snmpget -v 1 -c xxx -m +edir-mib yyy.com 1.3.6.1.4.1.23.2.98.1.2.3.1.1.5 T> T> Error in packet T> Reason: (noSuchName) Th

Re: need primer on net-snmp security configuration

2005-04-02 Thread Robert Story
On Tue, 15 Mar 2005 20:31:18 -0500 Chuck wrote: CC> The system mib also gives a timeout message. CC> CC> I have the net-snmp snmpd running, and an agentx subagent running. I am CC> able to query my mib (with snmpwalk) and get expected responses. But this CC> is on the localhost. I have my firew

Re: snmpget

2005-04-02 Thread Robert Story
On Tue, 22 Mar 2005 13:05:16 -0500 TheBatchMan wrote: T> snmpget -v 1 -c xxx -m +edir-mib yyy.com 1.3.6.1.4.1.23.2.98.1.2.3.1.1.5 T> T> Error in packet T> Reason: (noSuchName) There is no such variable name in this MIB. T> Failed object: EDIRECTORY-MIB::ndsProtoIfSimpleAuthBinds Try snmpwalk of t

Re: snmpd.conf in ipv6

2005-04-02 Thread dil dila
i've settle the problem by changing the source in my snmpd.conf from 3ffe:80d0:ff12:2::/64 to 3ffe:80d0:ff12:2::1(address of the server) __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resour

RE: extending the agent [on windows]

2005-04-02 Thread samrat.2.dutta
I am using Windows 2000.I tried executing the same by using Administrator as well as my LAN login.But still it does not work.But it has worked before. Thanks for your help. -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Sat 02/04/2005 0

RE: Missing Physical Address information with net-snmp 5.21 and FreeBSD 5.3

2005-04-02 Thread Andy Hall
Robert, The problem seems to exist as far back as FreeBSD 4.9 and 4.10. It may well be a FreeBSD issue - I can't tell.I am not familiar with how the net-snmp code obtains information (presumably from the kernel). So it's a bit hard to know whether the problem lies in net-snmp or FreeBSD. I

Re: Need direction for perl module installation

2005-04-02 Thread Robert Story
On Thu, 31 Mar 2005 15:30:54 -0500 Shane wrote: SD> But I'm back to the same problem - there is SD> only RH9 and FC2 RPMs available. Does anyone know what kind of dark SD> arts are required to create a local RPM? Is it safe to build and SD> install a package without an RPM? This is the first

Re: using net-snmp as a manager

2005-04-02 Thread Robert Story
On Fri, 25 Mar 2005 09:45:05 -0800 (PST) Mihir wrote: ML> I wan't to build a snmp manager application using the libraries of ML> net-snmp. I do not want any agent functionality, just be able to ML> receive traps, do gets/sets. ML> ML> I looked at the snmptrapd implementation in the "apps" directo

Re: Problem in net SNMP agent( complied with MY own MIB)..please help me

2005-04-02 Thread Robert Story
On Mon, 21 Mar 2005 18:33:01 +0100 [EMAIL PROTECTED] wrote: KSDC> snmpget -v 2c -m ALL -M KSDC> /home/kumar/projects_cc/common/mib_tools/mibs/ietf localhost -c private KSDC> 10.94.1.1.14.1.2."01" If "01" is supposed to be a string, you need to escape it, like so:

Re: Missing Physical Address information with net-snmp 5.21 and FreeBSD 5.3

2005-04-02 Thread Robert Story
On Sun, 27 Mar 2005 19:25:51 +0100 Andy wrote: AH> I have installed the net-snmp 5.21 port on FreeBSD 5.3 and am finding that AH> a query to the machine does not produce all of the expected variables. AH> AH> For example: AH> AH> snmpwalk -v 1 -c public localhost interface AH> AH> does not r

Re: AGENT EXT-SIT ON NAILS

2005-04-02 Thread Robert Story
On 28 Mar 2005 15:36:49 - Parthiban wrote: PN> to integrate my wmanIfMib MIB to the agent, i have generated the c template PN> code,using "mib2c tool" with the configuration file "mib2c.mfd.conf" If you are using the MFD conf file, I suggest you use the latest CVS, as I'm regularly making impr

RE: Missing Physical Address information with net-snmp 5.21 and FreeBSD 5.3

2005-04-02 Thread Andy Hall
I've tried combinations of Linux machines as clients and agents as well as FreeBSD, and for that matter Win2000 and WinXP. I found the following: - The problem seems to be independent of the client platform or software version - If Linux (distributions FC3, Mandrake) with 2.4 or 2.6 kernel is us

Re: weired compilation error

2005-04-02 Thread Robert Story
On Wed, 23 Mar 2005 14:56:37 +0800 Jim wrote: JS> I have encountered some weired compiling problem in building net-snmp. JS> I checked out the code of my agent (5.0.6) under a brand new path. The JS> build is successful on one machine but failed on another machine. Both JS> have the

net-snmp: paid consulting services

2005-04-02 Thread Chuck Cottrill
What are your rates? Details? Charles Cottrill [EMAIL PROTECTED] 770-614-6944 ext 363 -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 12:47 PM To: [EMAIL PROTECTED] Cc: net-snmp-users@lists.sourceforge.net Subject: Re: need primer on net-sn

Re: how to add a monitor dynamicly?

2005-04-02 Thread Robert Story
On Fri, 18 Mar 2005 18:45:59 -0800 (PST) Sim wrote: SW> but i don't know how to do still, call snmpset? or other function call? Yes, you would use snmpset to create new rows in the appropriate tables. You would probably need to be very familiar with the DISMAN event mibs. SW> by the way, i notice