Re: Sorry :(

2005-07-19 Thread Dave Shield
On Mon, 2005-07-18 at 09:39 -0700, Alaios wrote: .. i have written a small c programe that reads the IPDiscards value. First question - what MIB object are you actually talking about? ipInDiscards, ipOutDiscards, or ipRoutingDiscards ? There's no such MIB object as IPDiscards

Re: A question about snmpget! ^^

2005-07-19 Thread Dave Shield
On Thu, 2005-07-14 at 18:42 +0800, 有一撮小毛終於快要畢業ㄌ~ wrote: What the command I typed is snmpget -c public localhost system.sysDescr.0 However, it always shows me snmpget: No securityName specified. You need to specify the version of SNMP that you wish to use. Either snmpget -v 1 -c

Net-snmp for 64bit Linux

2005-07-19 Thread Nithin k prakash
Hello all, I would like to know,whether any using net-snmp for 64-bit linux AMD platform.i m using net-snmp ver 5.1 in 64-bit linux,while giving snmpd command its showing some errors. If any one using new version of net-snmp,could you plz provid the version number. Thanks nithin

Manually cache flush with mibs-for-dummies

2005-07-19 Thread Jon Neerup Lassen
Hi I've posted the same question in a answer in another thread but is has nohting to do with the subject of that thread so I hope its ok I start a new thread... I'm trying to implement an agantx subagent using mib2c with mibs-for-dummies. I'd like to control when the cache is flushed. If I set

Re: link error for g++ net-snmp

2005-07-19 Thread Robert Story
On Tue, 12 Jul 2005 18:33:20 -0400 Deepak wrote: DA thanks for your reply. here is my lib include and when i made few INLINE DA function to non-inline i didn't get the link error for those function. If you think INLINE is causing you problems, add -DNETSNMP_NO_INLINE to your CFLAGS and

Can I change the default port of a net-snmp agent?

2005-07-19 Thread raviraj
Hi All, Can I change the default port of net-snmp agent? I changed the default port number from 161 to 116 by inserting the text agentaddress udp hostname:116 in snmpd.conf file. I executed snmpget, but the response is No response from hostname. Please help me in getting the response with other

Re: Extending the agent with MFD - cache reload problem

2005-07-19 Thread Robert Story
On Fri, 15 Jul 2005 15:37:10 +0200 Jon wrote: JNL I have another question: I'd like to control when the cache is flushed. JNL If I set the following cache flags the cache will never be flushed, right? JNL JNL NETSNMP_CACHE_DONT_FREE_BEFORE_LOAD JNL NETSNMP_CACHE_DONT_FREE_EXPIRED

Re: net-snmp warnings

2005-07-19 Thread Robert Story
On Thu, 14 Jul 2005 12:00:04 +0200 [EMAIL PROTECTED] wrote: NO i get like 10 of those warnings wasn't fast enough to copy them all but NO .. hell that many might want u to do a check ur self .. NO NO configure: WARNING: net/if_var.h: present but cannot be compiled Yes, we are aware of these.

Re: Memory Leaks

2005-07-19 Thread Robert Story
On Sun, 17 Jul 2005 21:51:51 +1000 Laurie wrote: LG Both show what appear to be the same details and that's a lot of leaks LG and for this single run about 1200 bytes leak. LG Looks like there are some calls missing like snmp_shutdown(snmpwalk) LG just before the exit maybe? We aren't too

Re: proxy and snmpdx - does it works in solaris 2.8 ?

2005-07-19 Thread Robert Story
On Mon, 18 Jul 2005 04:18:15 -0700 (PDT) mahua wrote: MD is proxy works with snmpdx in solaris 2.8/2.9? MD I have edited /etc/snmp/conf/snmpd.conf by providing MD proxy -v 1 -c public solo:1611 oidroot. MD MD The non net-snmp sub agent is running 1611 port. MD solo is the machine name. MD using

Re: help

2005-07-19 Thread Robert Story
On Mon, 18 Jul 2005 12:28:59 +0300 [EMAIL PROTECTED] wrote: ECC I deal with file like XdslType-MIB , which define new types in MIB. and i ECC work with mib2c, for management application not for agent. How are you using mib2c for a management application? mib2c is mostly for generating agent code.

Re: Context name in SNMP Proxy

2005-07-19 Thread Robert Story
On Mon, 18 Jul 2005 17:46:39 +0530 Ravi, wrote: RRS I came across a proxy configuration in Net-Snmp's snmpd.conf file and it RRS reads as RRS RRS proxy [-Cn CONTEXTNAME] [SNMPCMD ARGS] HOST OID [REMOTEOID] RRS RRS What is this CONTEXTNAME and how it is configured. Can somebody explain RRS

Re: Calling SOAP calls while Extending mibs using mib2c code giving ./.libs/libnetsnmpmibs.so: undefined reference ...

2005-07-19 Thread Robert Story
On Mon, 18 Jul 2005 20:20:04 +0530 [EMAIL PROTECTED] wrote: KSC /bin/sh ../libtool --mode=link gcc -g -O2 -Dlinux -o snmpd snmpd.lo KSC libnetsnmpmibs.la libnetsnmpagent.la helpers/libnetsnmphelpers.la KSC ../snmplib/libnetsnmp.la -ldl -lcrypto -lm gcc -g -O2 -Dlinux -o KSC .libs/snmpd

Re: Manually cache flush with mibs-for-dummies

2005-07-19 Thread Robert Story
On Tue, 19 Jul 2005 11:52:08 +0200 Jon wrote: JNL I've posted the same question in a answer in another thread but is has JNL nohting to do with the subject of that thread so I hope its ok I start JNL a new thread... I answered in the thread.. JNL But how do I flush the cache manually? Take a

Re: Can I change the default port of a net-snmp agent?

2005-07-19 Thread Patrick Welche
On Tue, Jul 19, 2005 at 07:13:32PM +0530, [EMAIL PROTECTED] wrote: Hi All, Can I change the default port of net-snmp agent? I changed the default port number from 161 to 116 by inserting the text agentaddress udp hostname:116 in snmpd.conf file. I executed snmpget, but the response is No

Re: SNMP for ISP Link Monitoring for Dual Homing ??????

2005-07-19 Thread Robert Story
On Wed, 15 Jun 2005 08:54:31 -0700 (PDT) Shantanu wrote: SK I have successfully configured 2 linux boxes for HA SK using heartbeat drbd. Now this cluster is provided SK with 2 ISP links... Now to implement dual homing in SK this I need to monitor the links to these ISPs SK switch to the services

no response from snmpget after changing the default port number

2005-07-19 Thread raviraj
Hi All, Can I change the default port of net-snmp agent? I changed the default port number from 161 to 116 by changing the agentaddress in snmpd.conf file. I executed snmpget, but the response is No response from hostname. Please help me in getting the response with other port numbers but not

Re: no response from snmpget after changing the default port number

2005-07-19 Thread Dave Shield
On Tue, 2005-07-19 at 19:08 +0530, [EMAIL PROTECTED] wrote: I changed the default port number from 161 to 116 by changing the agentaddress in snmpd.conf file. I executed snmpget, but the response is No response from hostname. What was the *exact* command that you ran? The other possibility to

how to drop simple table

2005-07-19 Thread Torben Surmer
Hallo, I have built a simple table like explained in the data_set example. My problem is, I do not understand how to reassign the MIB values. For example after the creation of the table (netsnmp_create_table_data_set(), netsnmp_table_dataset_add_index() ,