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
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
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'
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
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
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
---
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
> "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_
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
[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
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.
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
Title: Message
Hi!
How configuration file is generated or created? when configuration
file is created
>>>>> 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
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
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
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
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
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
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
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
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
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
> 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
atus' value.
* May need to use 'memcpy'
*/
table_entry->ifAdminStatus =
table_entry->old_ifAdminStatus;
break;
}
}
break;
case MODE_SET_COMMIT:
break;
#
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
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
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
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
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
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
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
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
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
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
: 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
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..
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
---
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
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
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
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
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
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
44 matches
Mail list logo