Re: Trap related query

2006-11-22 Thread Mike Schmidt
Hi, The varbinds are passed via stdin. This is documented in the man pages for snmptrapd.conf and an exmaple is in the traptoemail script provided with net-snmp Mike Srivastava, Namburi (IE10) wrote: Hi, Please provide inputs to resolve this I’m able to capture snmp trap using snmptrapd

Trap related query

2006-11-22 Thread Srivastava, Namburi (IE10)
Hi, Please provide inputs to resolve this I'm able to capture snmp trap using snmptrapd at the console with proper payload (varbind). But now my requirement is to pass this varbind at the traphandle directive in snmptrapd.conf file. e.g. traphandle c:\handle.bat Here, how to pass va

exec deprecated

2006-11-22 Thread Enzo Arlati
In my /usr/local/share/snmp/snmpd.conf I have some directive exec, like the one show below exec .1.3.6.1.4.1.17377.35.13 diskusage /bin/df -a The command is executed but inside the log I see a warning about deprecated exec the warning is like this: /usr/local/share/snmp/snmpd.conf: line 17

Re: Configure trap port

2006-11-22 Thread Dave Shield
On 22/11/06, Stephen Yu <[EMAIL PROTECTED]> wrote: > The problem exists for the 5.3.1 as well. Basically, if you want to > receive v3 trap at default port 162 at the recipient, you have to > specify the port in the 'trapsess' OK - it's possible that this has been fixed in the 5.3.x development cod

RE: Configure trap port

2006-11-22 Thread Stephen Yu
The problem exists for the 5.3.1 as well. Basically, if you want to receive v3 trap at default port 162 at the recipient, you have to specify the port in the 'trapsess' like the following: trapsess [v1/v2/v3 options] ipaddr:162 Otherwise, the traps are sent to udp port 161 of the recipient (use e

Re: How to Load ENTITY-MIB

2006-11-22 Thread Subrahmanya Hegde
Hi Do you know whether agent supports(Implemented) this MIB? then you can send the request with 'snmpwalk' utility and look at the output. OR are you trying to implement a MIB? thx Subra Balaganesh <[EMAIL PROTECTED]> wrote: Hello Everyone, I have require

Re: versionRestartAgent restarts the agent only once.

2006-11-22 Thread Dave Shield
On 22/11/06, Loic Domaigne <[EMAIL PROTECTED]> wrote: > Good news! I found out where the problem is, and I have a remedy. Good catch. > I shall post the corresponding patch on SourceForge. It applies to net-snmp > version > 5.3.1, but this may also apply to the upcoming 5.4. Almost certainly. B

Re: Net-SNMP basic questions

2006-11-22 Thread Dave Shield
> (1) Using mib2c utility of Net-SNMP , when I convert my MIB into a C > program which I would certainly compile and load it in my agent. Then > will it be able to respond to any custom parameter values ? That code would then be able to respond to requests for the objects defined in that MIB, yes.

Re: versionRestartAgent restarts the agent only once.

2006-11-22 Thread Loic Domaigne
Hello everybody, > > As we're currently concentrating on getting a new major release (5.4) > > out of the door, please file a bug on http://www.net-snmp.org/bugs so > > the issue won't get lost. > > Thanks for your reply. I have filled a new bug, it's request Id 1600432. Good news! I found out

Re: Net-SNMP basic questions

2006-11-22 Thread Sagar Shukla
Hi Dave, Thanks for your prompt response and informative details. Just a few questions more - (1) Using mib2c utility of Net-SNMP , when I convert my MIB into a C program which I would certainly compile and load it in my agent. Then will it be able to respond to any custom parameter values ?

Re: Net-SNMP basic questions

2006-11-22 Thread Dave Shield
On 22/11/06, Sagar Shukla <[EMAIL PROTECTED]> wrote: > (1) when we do getRequest, from where the information is pulled ? > Is this from the MIBs ? No. The MIB is best thought of as a "specification document". It describes what information is potentially available - how to refer to it, and how

Net-SNMP basic questions

2006-11-22 Thread Sagar Shukla
Hi, I am new to SNMP world and had some basic questions which are confusing me at times. Some questions might appear useless to you experts, but they help me clarify my understanding. I couldnot find any documentation which clearly specifies Roles of each of the terms used in SNMP. Any help cla

Re: How to Load ENTITY-MIB

2006-11-22 Thread Dave Shield
On 22/11/06, Balaganesh <[EMAIL PROTECTED]> wrote: > I have requirement to load ENTITY-MIB and get the output from it. Do you know whether the agent you are querying implements this MIB or not? If it does, then you simply need to load this MIB on the client side (so that the tools will display the

How to Load ENTITY-MIB

2006-11-22 Thread Balaganesh
Hello Everyone, I have requirement to load ENTITY-MIB and get the output from it.I basically need FRU listed in the MIB.Is ther any easier way to acheive. Thanks & Regards, Balaganesh.J ~~~ CONFIDENTIALITY NOTICE~~ The information contained in this e-mail may be proprieta