Sending notification (SNMP v2 trap) by the SNMP agent using mib2c.notify.conf configuration file

2011-11-29 Thread prashant n
Now suggest me on following things > > 1) What is the actual difference between generating traps by using DisMan > Event MIB and by using 'mib2c.notify.conf' configuration file ? The code template generated by 'mib2c.notify.conf' will give you a routine that c

Re: Sending notification (SNMP v2 trap) by the SNMP agent using mib2c.notify.conf configuration file

2011-11-29 Thread Dave Shield
On 29 November 2011 10:22, prashant n wrote: > Now suggest me on following things > > 1)  What is the actual difference between  generating traps by using DisMan > Event MIB and by using 'mib2c.notify.conf' configuration file ? The code template generated by 'm

Sending notification (SNMP v2 trap) by the SNMP agent using mib2c.notify.conf configuration file

2011-11-29 Thread prashant n
actual difference between generating traps by using DisMan Event MIB and by using *'mib2c.notify.conf' configuration file *? * *Only these two methods are there in net-snmp for trap generation ? 2) Now i want to generate SNMPv2 trap by the SNMP agent using *'mib2c.notify.conf'

Re: Is there documentation on the tkmib configuration file?

2008-05-19 Thread Dave Shield
2008/5/19 Jeff Silverman <[EMAIL PROTECTED]>: > I have just discovered tkmib and I love it. One question: what goes in > the configuration file ~/.snmp/tkmibrc ? This file is used for saving the state of the browser configuration. Try setting the options you are interested in, and

Is there documentation on the tkmib configuration file?

2008-05-19 Thread Jeff Silverman
People, I have just discovered tkmib and I love it. One question: what goes in the configuration file ~/.snmp/tkmibrc ? Many thanks, Jeff -- Jeff Silverman Linux sysadmin To get my addresses: perl -wlpe 'y/a-zA-Z/n-za-mN-ZA-M/' << EOF 924 20gu NIR R Frnggyr, JN, 98112

Re: problem reguarding snmp v3 configuration file

2007-02-22 Thread Dave Shield
On 22/02/07, bhushan <[EMAIL PROTECTED]> wrote: > how should i set [SNMPCONFPATH] so as my snmpd will pick > main snmpd.conf & snmpv3 snmpd.conf from > different location that i want. export SNMPCONFPATH=/path/to/different/location:/second/different/location Dave ---

Re: problem reguarding snmp v3 configuration file

2007-02-21 Thread bhushan
how should i set it so as my snmpd will pick main snmpd.conf & snmpv3 snmpd.conf from different location that i want. On 2/22/07, Wes Hardaker <[EMAIL PROTECTED]> wrote: > "b" == bhushan <[EMAIL PROTECTED]> writes: b> I am using netsnmp 5.4, i want change path of persistent file b> i.e. i

Re: problem reguarding snmp v3 configuration file

2007-02-21 Thread Wes Hardaker
> "b" == bhushan <[EMAIL PROTECTED]> writes: b> I am using netsnmp 5.4, i want change path of persistent file b> i.e. i want to change path of /var/net-snmp/snmpd.conf, by default b> snmpd will pick file from /var /net-snmp how should i change this b> path, I tried by setting SNMP_PERSISTENT_

problem reguarding snmp v3 configuration file

2007-02-20 Thread bhushan
Hello Greetings, I am using netsnmp 5.4, i want change path of persistent file i.e. i want to change path of /var/net-snmp/snmpd.conf, by default snmpd will pick file from /var /net-snmp how should i change this path, I tried by setting SNMP_PERSISTENT_DIR environment variable but it didn't work P

Re: Data setting into the configuration file.

2006-10-13 Thread Dave Shield
[Sorry for the delay in responding to this] On 29/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: >When I say set, the value should set in to the structure as well as in >snmpd.conf, How can i do this. Processing a SET request is handled by the 'write_xxx' routine (for v4 API modul

Data setting into the configuration file.

2006-08-29 Thread Siva Prakash Reddy G
Title: Message    Hi!     When I say set, the value should set in to the structure as well as in snmpd.conf, How can i do this.

Re: configuration file

2006-08-07 Thread Dave Shield
On 04/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > How configuration file is generated or created? when configuration file is > created. Which configuration file(s) are you talking about? All the configuration is handled by simple text files. Most of these will be crea

configuration file

2006-08-07 Thread Siva Prakash Reddy G
Title: Message    Hi!   How configuration file is generated or created? when configuration file is created

Re: tkmib configuration file handling

2006-07-27 Thread Wes Hardaker
>>>>> On Tue, 25 Jul 2006 11:48:29 +0200, [EMAIL PROTECTED] said: julien> It seems there are some problems in the way tkmib handles it's julien> configuration file : Thanks for the patch. It's been applied for future releases. tkmib hasn't been tou

tkmib configuration file handling

2006-07-25 Thread julien . pinon
Hi, It seems there are some problems in the way tkmib handles it's configuration file : - The command line switch -C is used twice - the filename option value is sometimes called $opts{'C'}, and sometimes $opts{C} - the parameters read in the configu

Re: SNMP Daemon crashed on sending SIGHUP signal by deleting trap2sink entry from configuration file.

2006-06-08 Thread Thomas Anders
Guddenahalli Naganna, Jayaprakasha wrote: > The main problem is in real_init_master(), we free agentx_sockets which > is netsnmp_ds_strings[1][1] but we never reset netsnmp_ds_strings[1][1] > to 0. Later on, we calloc an slp which has the same ptr as > netsnmp_ds_strings[1][1] & add the slp to t

RE: SNMP Daemon crashed on sending SIGHUP signal by deleting trap2sink entry from configuration file.

2006-06-08 Thread Guddenahalli Naganna, Jayaprakasha
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guddenahalli Naganna, Jayaprakasha Sent: Wednesday, May 31, 2006 1:06 PM To: net-snmp-coders@lists.sourceforge.net Subject: SNMP Daemon crashed on sending SIGHUP signal by deleting trap2sink entry from configuration file.   Net-snmp ver

SNMP Daemon crashed on sending SIGHUP signal by deleting trap2sink entry from configuration file.

2006-05-31 Thread Guddenahalli Naganna, Jayaprakasha
same) master agentx agentxSocket localhost:705 agentaddress 161 trap2sink 192.168.33.2 public 2. Start master agent 3. Remove the trap2sink entry from configuration file.     Modified configuration file content looks like this,     master agentx agentxSocket localhost:705

SNMP Daemon crashed on sending SIGHUP signal by deleting trap2sink entry from configuration file.

2006-05-31 Thread Guddenahalli Naganna, Jayaprakasha
same) master agentx agentxSocket localhost:705 agentaddress 161 trap2sink 192.168.33.2 public 2. Start master agent 3. Remove the trap2sink entry from configuration file.     Modified configuration file content looks like this,     master agentx agentxSocket localhost:705

Re: Re-parsing configuration file (snmpd.conf) (versionUpdateConfig)

2006-02-16 Thread Dave Shield
s completed? Yes. See 'update_hook()' in agent/mibgroup/ucd-snmp/versioninfo.c > 3 a) What happens if the configuration file is corrupted, > is there a role-back? No - the agent is not that clever. >b) Does the response i

Re-parsing configuration file (snmpd.conf) (versionUpdateConfig)

2006-02-15 Thread Makavy, Erez (Erez)
mentioned Set,  indicate that the re-pasre was completed?   3  a) What happens if the configuration file is corrupted, is there a role-back? b)Does the response indicate an error?   Thanks, Erez Makavy  

Re: Cannot find an adquest mib2c configuration file for travesing large tables.

2005-10-07 Thread Robert Story
On Fri, 30 Sep 2005 16:06:10 -0400 shuki wrote: SS> Hi Robert, thanks for the answer. SS> Any idea when the pass-thru template is going to be available? As soon as someone gets motivated enough to write it! I'm willing the help, but don't have the time myself, at the moment. -- NOTE: messages se

Re: Cannot find an adequate mib2c configuration file for travers ing large tables.

2005-10-07 Thread Robert Story
On Mon, 03 Oct 2005 09:48:04 +0100 Dave wrote: DS> > This is exactly what the row_merge helper is for. It will call the table DS> > handler once for each index, instead of once per varbind. DS> DS> Errr... no - that's not true. (Sorry, Robert!) D'oh! I was thinking of the original iterator cod

RE: Cannot find an adquest mib2c configuration file for travesing large tables. --- Does Net-SNMP fit to real time environment?

2005-10-07 Thread Dave Shield
> here is the code maybe something will ring a bell. H I'm not sure that really qualifies as the "trivial example" that I suggested you try. I'll look at it properly on Monday. But one thing strikes me immediately. The heart of the relevant processing is the call: > if(!extract_if

RE: Cannot find an adquest mib2c configuration file for travesing large tables. --- Does Net-SNMP fit to real time environment?

2005-10-07 Thread sasson, shuki
atus' value. * May need to use 'memcpy' */ table_entry->ifAdminStatus = table_entry->old_ifAdminStatus; break; } } break; case MODE_SET_COMMIT: break; #

RE: Cannot find an adquest mib2c configuration file for travesing large tables. --- Does Net-SNMP fit to real time environment?

2005-10-07 Thread Dave Shield
On Fri, 2005-10-07 at 11:56 -0400, sasson, shuki wrote: > I have tried snmpget to query a get request and snmpwalk for getNext. In which case I can't explain your results. However, as I said - I've just tried this with a simple table of my own, and it *does* work as expected. I suggest you try ag

RE: Cannot find an adquest mib2c configuration file for travesing large tables. --- Does Net-SNMP fit to real time environment?

2005-10-07 Thread sasson, shuki
configuration file for travesing large tables. --- Does Net-SNMP fit to real time environment? On Fri, 2005-10-07 at 11:23 -0400, sasson, shuki wrote: > I have tried to apply the netsnmp_register_table() as you suggested in > previous email. > However the table_handler was not called for any Ge

RE: Cannot find an adquest mib2c configuration file for travesing large tables. --- Does Net-SNMP fit to real time environment?

2005-10-07 Thread Dave Shield
On Fri, 2005-10-07 at 11:23 -0400, sasson, shuki wrote: > I have tried to apply the netsnmp_register_table() as you suggested in > previous email. > However the table_handler was not called for any Get Request for a table > entity I'll be thankful if you can > verif

RE: Cannot find an adquest mib2c configuration file for travesing large tables. --- Does Net-SNMP fit to real time environment?

2005-10-07 Thread sasson, shuki
appy to try it again. Thanks again, Shuki -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Friday, October 07, 2005 11:15 AM To: sasson, shuki Cc: net-snmp-coders@lists.sourceforge.net Subject: RE: Cannot find an adquest mib2c configuration file for travesing large table

RE: Cannot find an adquest mib2c configuration file for travesing large tables. --- Does Net-SNMP fit to real time environment?

2005-10-07 Thread Dave Shield
On Fri, 2005-10-07 at 10:48 -0400, sasson, shuki wrote: > Hi all, I managed to "create" myself a pass through interface to traverse > big tables. Basically it is based on table iterator template. > Even after applying this fix I see 35% degradation in performance > compares to another agent imple

RE: Cannot find an adquest mib2c configuration file for travesing large tables. --- Does Net-SNMP fit to real time environment?

2005-10-07 Thread sasson, shuki
ists.sourceforge.net Subject: Re: Cannot find an adquest mib2c configuration file for travesing large tables. On Wed, 28 Sep 2005 16:23:28 -0400 shuki wrote: SS> will be a single function all instead hundred of thousands as it is with SS> the MFD and the Iterator. Early versions of MFD defa

Re: Cannot find an adequate mib2c configuration file for travers ing large tables.

2005-10-03 Thread Dave Shield
On Fri, 2005-09-30 at 15:48 -0400, Robert Story wrote: > DS> This [interpreting indexes] > DS> is done for each varbind separately (since a single request may > DS> well refer to several different rows). That's the purpose of the loop > DS> through the 'requests' parameter - each entry in this li

Re: Cannot find an adequate mib2c configuration file for travers ing large tables.

2005-10-02 Thread Robert Story
On Fri, 30 Sep 2005 10:00:11 +0100 Dave wrote: DS> > I suspect that I have to look to the variable bindings to extract the DS> > tables indexes. DS> DS> No. DS> These indexes will already have been extracted by the 'table' helper. DS> You can use 'netsnmp_extract_table_info()' to retrieve the re

Re: Cannot find an adquate mib2c configuration file for travesing large tables.

2005-10-02 Thread Robert Story
On Fri, 30 Sep 2005 11:43:43 -0400 shuki wrote: SS> I have tried to look at things with a debugger and: SS> SS> a.) The ifEntry handler is not called for a GET it is called for a GETNEXT. When you are dealing with the indexes yourself, you have to deal with the GET and GETNEXT case. We can only d

Re: Cannot find an adquest mib2c configuration file for travesing large tables.

2005-10-02 Thread Robert Story
On Wed, 28 Sep 2005 16:23:28 -0400 shuki wrote: SS> will be a single function all instead hundred of thousands as it is with SS> the MFD and the Iterator. Early versions of MFD defaulted to an iterator style wrapper, but the current code is based on the idea of caching the data, and a single routi

RE: Cannot find an adquest mib2c configuration file for travesing large tables.

2005-09-30 Thread sasson, shuki
: Cannot find an adquest mib2c configuration file for travesing large tables. On Wed, 28 Sep 2005 16:23:28 -0400 shuki wrote: SS> will be a single function all instead hundred of thousands as it is with SS> the MFD and the Iterator. Early versions of MFD defaulted to an iterator style wrappe

RE: Cannot find an adquate mib2c configuration file for travesing large tables.

2005-09-30 Thread sasson, shuki
To: sasson, shuki Cc: net-snmp-coders@lists.sourceforge.net Subject: RE: Cannot find an adquate mib2c configuration file for travesing large tables. On Thu, 2005-09-29 at 17:15 -0400, sasson, shuki wrote: > Hi David, I have tried to follow your instructions. > I found that the handler function..

RE: Cannot find an adquate mib2c configuration file for travesing large tables.

2005-09-30 Thread Dave Shield
On Thu, 2005-09-29 at 17:15 -0400, sasson, shuki wrote: > Hi David, I have tried to follow your instructions. > I found that the handler function > is called only by GETNEXT... It shouldn't be. This handler ought to be called for both GET and GETNEXT requests. Dave ---

RE: Cannot find an adequate mib2c configuration file for travers ing large tables.

2005-09-30 Thread Dave Shield
On Thu, 2005-09-29 at 14:54 -0400, sasson, shuki wrote: > You suggest I will change the following call: > netsnmp_extract_table_row_data(request); > > With a call to the external DB to retrieve the information. So this > means that the indexes for that call should be retrieved from request Correc

RE: Cannot find an adquate mib2c configuration file for travesing large tables.

2005-09-29 Thread sasson, shuki
mib2c configuration file for travesing lar ge tables. On Wed, 2005-09-28 at 16:23 -0400, sasson, shuki wrote: > I need a template that will supply me the required index as a > parameter for get_next. So for example if a getNext request for index > 3 is queried one should be able to retrieve

RE: Cannot find an adequate mib2c configuration file for travers ing large tables.

2005-09-29 Thread sasson, shuki
5:53 AM To: sasson, shuki Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: Cannot find an adquest mib2c configuration file for travesing lar ge tables. On Wed, 2005-09-28 at 16:23 -0400, sasson, shuki wrote: > I need a template that will supply me the required index as a > paramet

RE: Cannot find an adquate mib2c configuration file for travesing large tables.

2005-09-29 Thread sasson, shuki
hanks, Shuki -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, September 29, 2005 5:53 AM To: sasson, shuki Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: Cannot find an adquest mib2c configuration file for travesing lar ge tables. On Wed, 2005-09-28 at

Re: Cannot find an adquest mib2c configuration file for travesing lar ge tables.

2005-09-29 Thread Dave Shield
On Wed, 2005-09-28 at 16:23 -0400, sasson, shuki wrote: > I need a template that will supply me the required index as a > parameter for get_next. So for example if a getNext request for index > 3 is queried one should be able to retrieve the next data point from > the external DB. It will be a sin

Cannot find an adquest mib2c configuration file for travesing lar ge tables.

2005-09-28 Thread sasson, shuki
Title: Cannot find an adquest mib2c configuration file for travesing large tables. The problem: In production systems there are situations where huge MIB tables are to be traversed. Example: TCP table with hundreds of thousands of connections in it, each connection representing a row in the