ContextEngineId in SNMPv3

2007-12-18 Thread girish
Hi,    I want to configure ContextEngineId and ContextName in SNMPv3. I read some articles that we can configure these in SNMPv3 but could not find any details on how to configure these. Can any one please help me in configuring the above things. It would be great help for me. Regards, Girish-

Re: [snmp agnet] Cannot find module (IP-MIB)

2007-12-18 Thread Tako Chang
2007/12/17, Dave Shield <[EMAIL PROTECTED]>: > > On 17/12/2007, Tako Chang <[EMAIL PROTECTED]> wrote: > > but when I import some private MIBs and write down my code > > something strange happened to me. > > > > Initialize STBMgnt MIB //these two are my private mib and > I > > Initia

Re: question regarding how to use mib2c

2007-12-18 Thread Xuan Pan
Thanks for your reply. That explains a lot. When programming a SNMP agent, normally how do we organize the source code. Assume we are still using my previous example. It has one module that consists of a number of scalars (I see all managed objects other than tables are scalars such as IpAddress,

RE: same read and community names

2007-12-18 Thread Mike Ayers
> From: Meilán García Antonio [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 18, 2007 12:06 PM > To: Mike Ayers > The question is that my communities names can be change remotly, > so you can to get this final configuration You should not change the *name* of the community, you sh

Re: same read and community names

2007-12-18 Thread Meilán García Antonio
The question is that my communities names can be change remotly, so you can to get this final configuration # sec.name source community com2sec public_sec default private com2sec private_sec default private # groupNamesecurityModelsecurityName group public_grp

Re: question regarding how to use mib2c

2007-12-18 Thread Wes Hardaker
> "XP" == Xuan Pan <[EMAIL PROTECTED]> writes: XP> The fact is the contents in my MIB file consist of not only tables but XP> also many other data types. Is it still possible that I can make use of XP> the template generation feature somehow and which conf file I should XP> use? There are onl

RE: same read and community names

2007-12-18 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Meilán García Antonio > I have a problem with de access control when read community > is equal to > write community, with this simple snmpd.conf There is no such thing as a "read community" or a "write community",

same read and community names

2007-12-18 Thread Meilán García Antonio
Hello, I have a problem with de access control when read community is equal to write community, with this simple snmpd.conf # sec.name source community com2sec public_sec default private com2sec private_sec default private # groupNamesecurityModelsecurityName group

RE: Couldn't open a master agentx socket to listen on(tcp:localhost:705)

2007-12-18 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of NetSnmp User > Sent: Monday, December 17, 2007 8:41 PM >I recofigured the kernel to handle IPv6. Now when I issue > this command "netstat -an | grep 705" its no result I got. > So I tried running master but its still sh

Re: snmpd creating dirty buffers on a D-Link DFE-580TX

2007-12-18 Thread richard lucassen
On Tue, 18 Dec 2007 14:39:07 +0100 Thomas Anders <[EMAIL PROTECTED]> wrote: > richard lucassen wrote: > >> I use a quad ethernet card D-Link DFE-580TX in my server. As soon > >as I > start snmpd I get this in syslog: > >> > >> kernel: 00 39d52000 (00) > >> [snip

question regarding how to use mib2c

2007-12-18 Thread Xuan Pan
Hi, I am quite new to here as well as to the SNMP protocol. I am implementing a snmp agent and I've spent some time reading the online tutuorial. A question is I can understand this library has implemented useful helper features like mib2c to generate template code when converting MIB files, but i

Re: snmpd creating dirty buffers on a D-Link DFE-580TX

2007-12-18 Thread Thomas Anders
richard lucassen wrote: >> I use a quad ethernet card D-Link DFE-580TX in my server. As soon as I >> start snmpd I get this in syslog: >> >> kernel: 00 39d52000 (00) >> [snip bunch of messages like above] >> kernel: TxListPtr=39d00150 netif_queue_stopped=0 >> kern

Re: snmpd creating dirty buffers on a D-Link DFE-580TX

2007-12-18 Thread richard lucassen
On Tue, 18 Dec 2007 11:02:54 +0100 richard lucassen <[EMAIL PROTECTED]> wrote: > I use a quad ethernet card D-Link DFE-580TX in my server. As soon as I > start snmpd I get this in syslog: > > kernel: 00 39d52000 (00) > [snip bunch of messages like above] > kerne

Re: Which SNMP module is needed

2007-12-18 Thread Dave Shield
On 18/12/2007, LICON, RAY (ATTPB) <[EMAIL PROTECTED]> wrote: > I want to do development work in Perl using SNMP gets and sets into > CISCO equipment. I started looking at the SNMP::Info module, which > specifically states not to install SNMP:: or Net::SNMP from CPAN. It > suggests source forge an

snmpd creating dirty buffers on a D-Link DFE-580TX

2007-12-18 Thread richard lucassen
Hello list, I use a quad ethernet card D-Link DFE-580TX in my server. As soon as I start snmpd I get this in syslog: kernel: 00 39d52000 (00) [snip bunch of messages like above] kernel: TxListPtr=39d00150 netif_queue_stopped=0 kernel: cur_tx=3126(16) dirty_tx=31

Which SNMP module is needed

2007-12-18 Thread LICON, RAY (ATTPB)
Hello, I want to do development work in Perl using SNMP gets and sets into CISCO equipment. I started looking at the SNMP::Info module, which specifically states not to install SNMP:: or Net::SNMP from CPAN. It suggests source forge and net-snmp, but after reading the docs for the CPAN Perl5 SNM

Re: timeticks in second and send a easy trap

2007-12-18 Thread Dave Shield
On 18/12/2007, Tako Chang <[EMAIL PROTECTED]> wrote: > > So this MIB is written in SMIv1? > > That's pretty much obsolete by now. You should really be looking at > > writing MIBs in SMIv2 (i.e. NOTIFICATION-TYPE definitions) > > Sorry, I will amend it! If you are going to switch to SMIv2, then ma