Re: Net-SNMP Error on Win08 r2

2011-03-15 Thread Bart Van Assche
On Tue, Mar 15, 2011 at 5:09 AM, Eric Orate wrote: > I would like to seek help in making the net-snmp work to my win08r2 system. > I am not sure if I am really getting the correct download file for Windows > server 2008 r2 environment as I am always receiving an "appcrash" error when > I'm regist

Re: Capturing BGP State Changes

2011-03-15 Thread Scott Baker
On 03/15/2011 02:26 AM, Dave Shield wrote: >> >From what I can tell it's sending six OIDs in that trap? Can I catch any >> > of them, or does it have to be a specific one (first/last?). > The varbind list of an SNMPv2 notification will *always* contain the > following: > > sysUpTime.0 varbind

Re: reduce snmpusm/snmpvacm size

2011-03-15 Thread Dave Shield
2011/3/15 Naama Bar Menachem : > The "server" is indeed a different process that communicate with the snmpd. > The product has other user-interfaces (such as cli, web, front-panel and snmp) > and all must use the same users definition, therefore if one adds a user > through > one of the GUIs, I ne

RE: reduce snmpusm/snmpvacm size

2011-03-15 Thread Naama Bar Menachem
The "server" is indeed a different process that communicate with the snmpd. The product has other user-interfaces (such as cli, web, front-panel and snmp) and all must use the same users definition, therefore if one adds a user through one of the GUIs, I need to update snmp as well. What kind of

Re: reduce snmpusm/snmpvacm size

2011-03-15 Thread Dave Shield
On 15 March 2011 13:36, Naama Bar Menachem wrote: > Dave:  Though I would question why you need to install >        client applications onto an embedded system. > > Answer: to perform user actions from product (server). >          If a new user need to be add to snmp > I call snmpusm through "syst

RE: reduce snmpusm/snmpvacm size

2011-03-15 Thread Naama Bar Menachem
Dave: Though I would question why you need to install client applications onto an embedded system. Answer: to perform user actions from product (server). If a new user need to be add to snmp- I call snmpusm through "system" call. Is there a better way to do that? ---

Re: reduce snmpusm/snmpvacm size

2011-03-15 Thread Dave Shield
On 15 March 2011 13:27, Naama Bar Menachem wrote: > Do you refer to "How can I reduce the memory footprint" Both that, and "How can I reduce the installation footprint" > I have tried it when trying to reduce snmpd size. > Does it also affect applications? Some of the options are specific to

RE: reduce snmpusm/snmpvacm size

2011-03-15 Thread Naama Bar Menachem
Do you refer to "How can I reduce the memory footprint", such as using " --disable-debugging"? I have tried it when trying to reduce snmpd size. Does it also affect applications? Is there a way to add flags for the application compilation but not to snmpd? -Original Message- From: dave.sh

Re: reduce snmpusm/snmpvacm size

2011-03-15 Thread Dave Shield
On 15 March 2011 12:58, Naama Bar Menachem wrote: > I am working on an embedded product, in which every byte counts. > Is there a way to reduce the applications size? Have you tried the suggestions in the FAQ? Dave -- C

RE: reduce snmpusm/snmpvacm size

2011-03-15 Thread Naama Bar Menachem
Not quite sure what do you mean by using dynamic link Thank you Naama From: rakesh zingade [mailto:rakeshzing...@gmail.com] Sent: Tuesday, March 15, 2011 3:23 PM To: Naama Bar Menachem Cc: Net-SNMP users Subject: Re: reduce snmpusm/snmpvacm size On Tue, Mar 15, 2011 at 6:28 PM, Naa

Re: reduce snmpusm/snmpvacm size

2011-03-15 Thread rakesh zingade
On Tue, Mar 15, 2011 at 6:28 PM, Naama Bar Menachem < naama.barmenac...@novelsat.com> wrote: > Hi > > > > I am working on an embedded product, in which every byte counts. > > Is there a way to reduce the applications size? > > snmpget, snmpset, snmpvacm, snmpusm – are all of size ~6.4 Mbyte > > >

reduce snmpusm/snmpvacm size

2011-03-15 Thread Naama Bar Menachem
Hi I am working on an embedded product, in which every byte counts. Is there a way to reduce the applications size? snmpget, snmpset, snmpvacm, snmpusm - are all of size ~6.4 Mbyte Best Regards, Naama Bar Menachem SW Eng. --

Re: How to add user without showing non-encrypted password in conf file

2011-03-15 Thread Dave Shield
On 15 March 2011 10:14, Naama Bar Menachem wrote: > when using the following usage, sending the request with encrypted > password (according to what shown in snmpd.conf file) - I get a > "Authentication failure (incorrect password, community or key)" error > snmpusm  -v 3 -u initial -n "" -l auth

Re: Scalar and tabular objects accessing external data?

2011-03-15 Thread Dave Shield
On 11 March 2011 02:41, sunaina mangla wrote: > 1. What mib2c configuration file to use with scalar and tabular. ( > given the fact they are with other process). The scalar objects should be generated using 'mib2c.scalar.conf' This is really the only template designed for handling scalar objects.

RE: How to add user without showing non-encrypted password in conf file

2011-03-15 Thread Naama Bar Menachem
[First- this was a mistake, using "reply" instead of "reply to all"] My product has many GUIs, which all use the same users set. When someone add user in one of the interfaces, I need to update all relevant systems. One of them is the snmpd. I wanted to make sure that I got my options correctly, a

Re: How to add user without showing non-encrypted password in conf file

2011-03-15 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 15 M

need help manage users on server side

2011-03-15 Thread Naama Bar Menachem
Hi I know of 2 ways to manage users in snmp (add, delete, change password). 1) nmpusm + snmpvacm 2) manually edit snmpd.conf file I have security issues with both ways (on server side): 1) I am planning to call these applications from server code, using system call. Each

Re: how to fetch scalar object from external process

2011-03-15 Thread Dave Shield
On 14 March 2011 21:11, anant garg wrote: > I have some scalar objects. The data for these objects is with external > process ( not with SNMP Agent). > Which mib2c configuration file to use so that on SNMP user request  I can > fetch the data from other process ( API interface) and send back to us

Re: Get Table Object based on Object name (not OID or index)

2011-03-15 Thread Dave Shield
On 15 March 2011 02:17, David Taylor wrote: >  have created a table and am trying to get an object from this table. Which object? In particular - which row of the table? > I need to obtain this object based on name within this object. I don't > want to traverse the table or use a table index to

Re: Capturing BGP State Changes

2011-03-15 Thread Dave Shield
On 14 March 2011 21:05, Scott Baker wrote: > >From what I can tell it's sending six OIDs in that trap? Can I catch any > of them, or does it have to be a specific one (first/last?). The varbind list of an SNMPv2 notification will *always* contain the following: sysUpTime.0 varbind snmpTr

Net-SNMP Error on Win08 r2

2011-03-15 Thread Eric Orate
Hi Experts, I would like to seek help in making the net-snmp work to my win08r2 system. I am not sure if I am really getting the correct download file for Windows server 2008 r2 environment as I am always receiving an "appcrash" error when I'm registering the daemon as a windows service. An e

how to fetch scalar object from external process

2011-03-15 Thread anant garg
Hi, I am using net-snmp-5.6.1. I have some scalar objects. The data for these objects is with external process ( not with SNMP Agent). Which mib2c configuration file to use so that on SNMP user request I can fetch the data from other process ( API interface) and send back to user ? Should I go

mibs

2011-03-15 Thread geetha ramani
i am getting the below error when i compiled net-snmp collect2: ld returned 1 exit status make[1]: *** [libnetsnmpagent.la] Error 1 make[1]: Leaving directory `/home/shivakumar/net-snmp-5.6.1/agent' make: *** [subdirs] Error 1 --