Re: Exit status on bind error

2008-12-01 Thread Wes Hardaker
> On Tue, 11 Nov 2008 15:43:24 +0100, Jan Safranek <[EMAIL PROTECTED]> said: JS> I looked into the sources and I can see that the agent is deamonized JS> before the listening sockets are created. Is there any specific reason JS> for this? Wouldn't it be better to bind the listening ports and

Re: patches?

2008-12-01 Thread Wes Hardaker
> On Mon, 10 Nov 2008 14:05:44 -0800, "dan anderson" <[EMAIL PROTECTED]> > said: da> "Submit your ideas, questions, patches etc. to the net-snmp-coders da> mailing list as you come up with them." from da> http://www.net-snmp.org/dev/helpingout.html Ah ha! thanks! Page fixed (will propa

Re: How to use 'SNMP-NOTIFICATION-MIB' for trap & informs in net-snmp?

2008-12-01 Thread Wes Hardaker
> On Tue, 11 Nov 2008 03:47:40 -0600, "Dey, Rajnish" <[EMAIL PROTECTED]> > said: RD> Could anyone let me know, how could 'SNMP-NOTIFICATION-MIB' has been RD> used for trap or informs in net-SNMP? It can be used, yes. Our agent supports it. -- Wes Hardaker Sparta, Inc. ---

Re: Timeout for snmpget

2008-12-01 Thread Wes Hardaker
> On Sat, 15 Nov 2008 17:28:56 +0530, "Ambika Tripathy" <[EMAIL PROTECTED]> > said: AT> I am using net-snmp-5.4.2.1 version source to test AT> http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module example. But AT> when trying to execute the snmpget -v 1 -c public localhost AT> N

Re: Trying to communicate with different timeout ?

2008-12-01 Thread Wes Hardaker
> On Sun, 23 Nov 2008 23:56:59 +0900, "Hung Soo Park" <[EMAIL PROTECTED]> > said: HSP> Is there any way to implement it with one session? or HSP> Do I need to create 3 different sessions ? You need either 3 different sessions or to modify the session before each call (which is ok to do f

Re: A couple of agent extending questions

2008-12-01 Thread Wes Hardaker
> On Mon, 24 Nov 2008 16:40:12 +0200, Shachar Shemesh <[EMAIL PROTECTED]> > said: SS> I also tried to prevent the default handler for this OID from being SS> compiled into the agent, but I'm not sure how to do that. Try with --with-out-mib-modules="mibII/system_mib" SS> The other thing

Re: net-snmp agent support for SNMP proxying

2008-12-01 Thread Wes Hardaker
> On Wed, 26 Nov 2008 01:55:30 -0600, "Dey, Rajnish" <[EMAIL PROTECTED]> > said: RD> 1. Does net-SNMP provide same 'SNMP proxy' support? RD> 2. If yes, then, how to configure master and subagent relationship using RD> 'SNMP proxy' protocol? Yes, see the snmpd.conf manual page about th

Re: net-snmp agent API document is lacking

2008-12-01 Thread Wes Hardaker
> On Fri, 21 Nov 2008 13:58:55 -0800, "dan anderson" <[EMAIL PROTECTED]> > said: da> It depends - some of it is generated from comments in the code; for da> that, I suppose submit patches. For the website I'm not sure, but I'm da> dead certain that if you mailed this list with useful upda

Re: snmpd can't run.

2008-12-01 Thread Wes Hardaker
> On Wed, 26 Nov 2008 16:19:37 +0800, "SHI Yufeng" <[EMAIL PROTECTED]> said: SY> I finished compiling and generated "snmpd". But i failed to run snmpd. SY> It indicate that i should configue snmpd.conf again. In snmpd.conf, SY> there is access control information. I don't why. Can you help me?

Re: Storage size consolidation

2008-12-01 Thread Wes Hardaker
> On Wed, 26 Nov 2008 17:44:30 +0100, Jan Safranek <[EMAIL PROTECTED]> said: JS> hrStorageUsed - Integer32 (0..2147483647) JS> The amount of the storage represented by this entry JS> that is allocated, in units of hrStorageAllocationUnits. JS> We cannot influence hrStorageAllocationUnits and

Re: SNMPv3 Traps(Inform Requests)

2008-12-01 Thread Wes Hardaker
> On Thu, 27 Nov 2008 18:46:23 +0530, "Dency Stephen (destephe)" <[EMAIL > PROTECTED]> said: DS> What are the commands to be executed to receive SNMPv3 traps(inform DS> requests)? There is a fairly extensive tutorial on the subject: http://www.net-snmp.org/wiki/index.php/TUT:Configuring

Re: Can not set Values...

2008-12-01 Thread Wes Hardaker
> On Mon, 1 Dec 2008 10:57:51 +0600, maksud <[EMAIL PROTECTED]> said: m> I guess it is something to deal with snmpd access. But I could not find what m> I should add/delete from snmpd.conf You should probably remove the "rocommunity public" line since it'll conflict with the full VACM tokens

Query regd. fetching integer variable in sub-agent coding (generated thru mib2c)

2008-12-01 Thread bhuvaneswar.lalith
Hi, I have a query regarding fetching integer values - I wrote a sub agent and it is working fine for string values. But for a specific part of MIB tree, I have to update the integer values. For that I used "mib2c" and generated the sample code. I used this option - "If you want to magical