Re: --with-cc

2004-08-17 Thread Narinder Soni
I read the solution from FAQwe have to delete the configure.cache file before doing ./configure with a different compilerBut now I face different problems while doing make. It shows the errors like: g++ -g -O2 -Dlinux -I. -I.. -I. -I./.. -c snmp_client.c -fPIC -DPIC -o

SNMP trap address uses eth0 as source address by default

2004-08-17 Thread Nandhini GanapathyRaman
Iam currently using net-snmp 5.0.8 and found that the SNMPtrap application uses the eth0 address as default even though that address may not actually be reachable. I believe this is a known limitation? Or has this been fixed inthe new releases? Any help/input would be greatly appreciated Thnx

SNMP Network Card Bonding

2004-08-17 Thread Hudson, Mark
Hi, Can anyone please help me. I have a HP DL360 server running Red Hat 8.0. I have all the HP agents installed and am trying to get the Network card Bonding working. However on boot up the interface seems to come up but cannot be pinged unless I restart the network services. According to the

Re: mailing list suggestion

2004-08-17 Thread Dave Shield
I don't suppose that the list exploder can make this a per-subscription option, in deference to the many, MANY subscribers who will find the prefix annoying and wholly unnecessary. I've just checked the list admin interface, and (unsurprisingly) this doesn't seem to be an option. Any

Re: Enabling authentication traps

2004-08-17 Thread Dave Shield
Late last week, I asked by SNMPv2-MIB::snmpEnableAuthenTraps wasn't writable when the spec says it should be. I'm seeing: $ snmpget -v 2c -c public mynode SNMPv2-MIB::snmpEnableAuthenTraps.0 RFC1213-MIB::snmpEnableAuthenTraps.0 = INTEGER: disabled(2) $ snmpset -v 2c -c public mynode

Re: no response

2004-08-17 Thread Dave Shield
I know this makes no sense, but your suggestion didn't just debug the problem, it solved it. Then, I rebooted the machine and the daemon started up again on reboot. When I issued the snmpget command, I still got a good result. I am no longer getting a timeout error. Can you make any

Re: where should I place the private file for the installation

2004-08-17 Thread Dave Shield
There is mibs directory under net-snmp root directory. Can I place my private MIB file there? Will the 'make install' copy my private MIB file to the /usr/local/share/snmp/mibs? Only if you adjust the Makefile to add this to the list of MIBs to install. The install works with a named list,

Re: How to populate snmp_pdu structure?

2004-08-17 Thread Dave Shield
It's really hard to find doc or example on this issue. How do I populate the snmp_pdu structure for version 1 and version 2 SNMP traps? See apps/snmptrap.c Dave PS: Please - no HTML mail. Thanks --- SF.Net email is sponsored by

What is bandwidth?

2004-08-17 Thread cnelson
RFC 2233 says ifHighSpeed is: An estimate of the interface's current bandwidth in units of 1,000,000 bits per second. ... Which suggests to me that a 10Mbps half-duplex port has ifHighSpeed = 10 and a 10Mbps full-duplex port (which has twice the _bandwidth_) has ifHighSpeed = 20. I

SNMP EngineID

2004-08-17 Thread Sanjay Madan
Hi Dave, I have a requirement to provide cli command "snmp-server engineID" and "Nosnmp-server engineID" for setting and removing engineID configurations.Idon't know how to do this ?Please help me.ThanksSanjay Madan

Re: What is bandwidth?

2004-08-17 Thread Shane D.
I'm rather certain that RFC 2233 is referring to layer-1 (physical interface) speed. This is going to be the 802.3* specification speed to which the ethernet interface adhears. Full duplex just means that you can talk in both directions concurrently, but each direction is still running at

Re: where should I place the private file for the installation

2004-08-17 Thread Chuck Yerkes
Quoting Jim Su ([EMAIL PROTECTED]): Hi Greeting: I have a similar question. I have the private MIB file. Where should I place this file for the install? There is mibs directory under net-snmp root directory. Can I place my private MIB file there? Will the 'make install' copy my private

Re: Enabling authentication traps

2004-08-17 Thread cnelson
... $ snmpget -v 2c -c public mynode SNMPv2- MIB::snmpEnableAuthenTraps.0 RFC1213- MIB::snmpEnableAuthenTraps.0 = INTEGER: disabled(2) $ snmpset -v 2c -c public mynode SNMPv2- MIB::snmpEnableAuthenTraps.0 i 1 Error in packet. Reason: notWritable (that object does not support

[net-snmp send on august 17 by someone seated] Re: mailing list suggestion

2004-08-17 Thread Chuck Yerkes
Quoting Dave Shield ([EMAIL PROTECTED]): I don't suppose that the list exploder can make this a per-subscription option, in deference to the many, MANY subscribers who will find the prefix annoying and wholly unnecessary. I've just checked the list admin interface, and (unsurprisingly)

Re: Sending traps from GNU/Linux server to NMS

2004-08-17 Thread Dave Shield
Is there no way to send traps through the snmpd agent, Yes. Please see the FAQ entries What traps are sent by the agent? Where are these traps sent to? Im trying to send the following traps from my GNU/Linux Box: - Coldstart - Warmstart A coldstart trap will be sent

Re: mailing list suggestion

2004-08-17 Thread Andreas Vinsander
Mark H. Wood wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I don't suppose that the list exploder can make this a per-subscription option, in deference to the many, MANY subscribers who will find the prefix annoying and wholly unnecessary. What happens when you filter on any of the many

Persistent values in/from a table

2004-08-17 Thread cnelson
I've found read_config.c and read the comments there about callbacks and read_config_store() and I've looked at how the net-snmp distribution deals with snmpEnableAuthenTraps but I'm having trouble applying those concepts to my problem. I'm implementing ifXTable and want to make the per-port

Re: Problems with ./configure

2004-08-17 Thread Dave Shield
So, my questions: 2. What is the point of providing the ./configure tool if it does not yield altered Makefiles? 4. Is not ./configure the preferred mechanism for altering the Makefiles, Yes - configure is the preferred mechanism for altering Makefiles, and the point of providing it is that

Re: Sending Traps

2004-08-17 Thread Dave Shield
hi all, do anybody know how to sent traps via snmp. How to configure our agent to sent traps for our oid? Have a look at using mib2c with the 'mib2c.notify.conf' file. That will generate a suitable template routine for generating a given trap. Then you just need to call this routine

RE: where should I place the private file for the installation

2004-08-17 Thread Jim Su
Thanks a lot! Good to know there are several options. -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield Sent: Tuesday, August 17, 2004 7:47 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: where should I place the private file for the

containers

2004-08-17 Thread valley
I can not understand the use of global variable containers. Is it used to contain all the tables' information? Does anyone explain it for me? thanks a lot! --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic

RE: Linking a .c file to an OID

2004-08-17 Thread William R. Buckley
Rana A few quick points regarding the etiquette of the net-snmp-users list. It is preferred that postings not be in the form of HTML. Please post only in plain text. It is also expected that you will first read all documentation, particularly the FAQ, the INSTALL file, and view the tutorials

Re: Example in implementing an array table

2004-08-17 Thread P M
Vicky, Take a look at this site http://openhpi.sourceforge.net/subagent-manual/book1.html Cheers, PMvicky liang [EMAIL PROTECTED] wrote: I am using "mib2c -c mib2c.array-user.conf myTable" to generate an array table that my agent maintain. However I couldn't find an example on exactly

Re: Linking a .c file to an OID

2004-08-17 Thread Rana
Hi, I have already Net-SNMP v5.0.8 (which comes with the OS by default) installed in my machine which is already used by other programs. If on the top of that i install Net-SNMP v 5.1, will it create any problems to the existing application. If i uninstall Net-SNMP v5.0.8 and install Net-SNMP