Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-20 Thread anand anand
Hi, In my snmpd.conf i have the following entry: trap2sink 10.10.10.112:162 public trap2sink nsn.nms.com:162 public Is this the correct syntax. I read the following in snmpd.conf man page .. "This mechanism is being deprecated, and the listening port should be specified via the transport spe

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-20 Thread Dave Shield
On 20 July 2011 14:20, anand anand wrote: > Please let me know if my understanding is correct : > > Application sends the trap to snmpd on the > NETSNMP_AGENTX_SOCKET which is /var/agentx/master. > >We configure trap2sink or trapsess in snmpd.conf so that > snmpd  forwards this trap/inform

Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-20 Thread anand anand
Hello all, We are using agentx protocol to communicate between net-snmp and our application. The GET/SET/GET NEXT functionality are working fine. My query/doubt is about traps. ( I am a very new to trap/inform forwarding ) Please let me know if my understanding is correct : - Application sen

Re: how to decrease the size of net-snmp lib

2011-07-20 Thread Dave Shield
On 20 July 2011 11:14, kumar undurthi wrote: > Please, I would like some help on how to configure the net-snmp in order to > get a smaller library I presume you have already tried the suggestions in the FAQ entries How can I reduce the memory footprint? and How can I reduce the i

how to decrease the size of net-snmp lib

2011-07-20 Thread kumar undurthi
I am using an embedded-linux and, as I needed a SNMP client on it, I have configured and built a snmp-library based on net-snmp package downloaded from www.net-snmp.org. Please, I would like some help on how to configure the net-snmp in order to get a smaller library, as for the moment the size of

Re: Avoid pressing 'Enter' when compiling net-snmp

2011-07-20 Thread Dave Shield
On 20 July 2011 10:56, Naama Bar Menachem wrote: > Besides that, what are the consequences of adding it in terms of > configuring snmpd? None. The purpose of this option is precisely to tell configure not to prompt for these five options. It will automatically use the default values you specify

Re: Avoid pressing 'Enter' when compiling net-snmp

2011-07-20 Thread Dave Shield
On 20 July 2011 10:48, Naama Bar Menachem wrote: > Do I still need to add "--with-defaults"? Yes > What are the consequences of adding it? It doesn't prompt you for these default values. Like Wot You Asked For ! Dave ---

RE: Avoid pressing 'Enter' when compiling net-snmp

2011-07-20 Thread Naama Bar Menachem
Besides that, what are the consequences of adding it in terms of configuring snmpd? Naama -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Wednesday, July 20, 2011 12:56 PM To: Naama Bar Menachem Cc: net-snmp-users@list

RE: Avoid pressing 'Enter' when compiling net-snmp

2011-07-20 Thread Naama Bar Menachem
I am already using all the following configure flags: --with-default-snmp-version=3\ --with-sys-contact=naa...@novelsat.com\ --with-sys-location=\ --with-logfile=/var/log/snmp/log/\ --with-persistent-directory=/data/etc/snmp/snmp_persist/\ And still see "press return to continue

Re: Avoid pressing 'Enter' when compiling net-snmp

2011-07-20 Thread Dave Shield
On 20 July 2011 09:12, Naama Bar Menachem wrote: > When compiling snmpd, in “configuration section" there are many prompt that > requires user’s actions. There are five such user-prompted settings: - the default version of SNMP to use - the system contact - the system location - the d

Avoid pressing 'Enter' when compiling net-snmp

2011-07-20 Thread Naama Bar Menachem
Hi When compiling snmpd, in "configuration section" there are many prompt that requires user's actions. I have removed all prompts but still see the "press return to continue" message that require me to press 'Enter' key in the middle of compilation. Is there a way of avoiding such prompt? Ho

Help with Table Iterator Fetching Indexes

2011-07-20 Thread Mohammad Waqas Athar
I am extending agent using mib2c iterate configuration.I want to fetch the index so that i can query mysql database for example using command snmpget -v2c -c public localhost SL-MIB::TEMP0.\"lab01\" I want to fetch lab01 . But i cannot understand how _get_first_data_point and _get_next_data_p

Re: Patching with a Diff file on windows

2011-07-20 Thread Dave Shield
On 19 July 2011 17:11, wrote: > Also can you tell me how I can become a member of net-snmp users group > so a moderator doesn't have to approve all of my posts? See the footer at the end of every message sent to the list: > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Ple

Re: Patching with a Diff file on windows

2011-07-20 Thread keith . abbott
Thanks for the response. I had originally installed net-snmp via OpenXtra (quite a while back) and had not directly installed a GNU4Windows. I have done so now and am working through the process of figuring out how to apply the patch Also can you tell me how I can become a member of net-snmp u

RE: Do pass-through scripts and snmptrap support IPv6 arguments?

2011-07-20 Thread Zack Little
> Actually, this might not require any work. Ipv6Address is > TEXTUAL-CONVENTION, which maps to OCTET_STR, which is 's' on the > command line. > Lo and behold, this works: > > $ sudo snmptrap -M +$PWD -m all -v2c -c public fallout '' > NOTIFICATION-TEST-MIB::demo-notif IF-MIB::linkUp s ::1 > $ ec

net-snmp ver. 5.1.1 for Solaris 9

2011-07-20 Thread Rob Brown
Can someone direct me to version 5.1.1 for Sparc Solaris 9 box. Which libraries/dependencies? Thank you. Rob Brown -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered in