Re: Can We place Traps as part of Tables

2006-10-13 Thread Subrahmanya Hegde
Santosh  I don't think you can have 4*3 trap definitions. Also, you don't require a Trap table for this.   You can have one trap definition for this   For ex:   xxDslNotification NOTIFICATION-TYPE OBJECTS { ifName, ifAdminStatus, ifOperStatus } You can add ;xxAlarmStatus' object if yo

Re: Can We place Traps as part of Tables

2006-10-13 Thread Subrahmanya Hegde
Dave   Yes, it is valid to define the MIB this way.   xxxNotifOID Points to an AUTONOMOUS TYPE which can point to definition of NOTIFICATION-TYPE /TRAP-TYPE.   All the traps/notifications supported by multiple vendors can be recognized by this. Other wise, one can not distinguish between a t

Re: Embedded Perl Problem

2006-10-13 Thread Clement Hsu
Dear Thomas, Dave:  After I install net-snmp-5.4-pre3, the result of detection of perl problem is as below list:      checking for Perl cc... xscale_be-gcc   checking whether xscale_be-gcc is a GNU C compiler... yes   checking for Perl CFLAGS...  -fno-strict-aliasing  -I/usr/lib/perl/5.6.1/CORE   c

Re: SnmpEngineID

2006-10-13 Thread Dave Shield
On 13/10/06, Subrahmanya Hegde <[EMAIL PROTECTED]> wrote: > -e ENGINE-ID set security engine ID (e.g. 80020109840301) > -E ENGINE-ID set context engine ID (e.g. 80020109840301) > > - can we support same value for -e and -E? That's the typical configuration, yes. It wo

Re: About allowing all host to do snmpwalk from remote

2006-10-13 Thread Dave Shield
On 13/10/06, bhushan <[EMAIL PROTECTED]> wrote: > com2sec local 0.0.0.0/0 public > group MyGroup v1 local > view basic included .1.3.6.1.2.1.1 > access MyGroup "" any noauth exact basic none none > > so will this setting allow host(network reachable) to do snmpwalk & get info. It should do, yes.

Re: Subagentx : how to define the path where MIBS are installed

2006-10-13 Thread Dave Shield
On 13/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > How can I set the MIBS to ""?. Do I use setenv("MIBS", "", 1)? Yes. That should work. Dave - Using Tomcat but need to do more? Need to support web services, secur

Re: Can We place Traps as part of Tables

2006-10-13 Thread Dave Shield
On 13/10/06, Subrahmanya Hegde <[EMAIL PROTECTED]> wrote: > It is possible to define a TABLE of TRAPs(more appropriately Notifications > as per SMIv2) OIDs.. > > for ex: > xxxNotificationTable > .. > INDEX { someIndex } > > SEQUENCE > someIndex > xxxNotifOID OBJECT IDENTIFIER(AutonomousTy

Re: Can We place Traps as part of Tables

2006-10-13 Thread Dave Shield
On 13/10/06, santhosh <[EMAIL PROTECTED]> wrote: > how to I implement the above idea Firstly, can you please show a little patience, You are not contributing anything towards this project, nor paying for the support you are receiving. So it feels a little unnecessary to resend a reminder barely a

Re: Facing "too few arguments to function" error when do "make" on my privateMIB

2006-10-13 Thread Dave Shield
On 13/10/06, Balamurugan V <[EMAIL PROTECTED]> wrote: > privateMIB.c: In function `privPortTable_handler': > privateMIB.c:1375: error: too few arguments to > function `privPortTable_create_data_context' > > privateMIB.c: In function `privGwTable_handler': > privateMIB.c:2126: error: too few argumen

Re: Can We place Traps as part of Tables

2006-10-13 Thread santhosh
Dear Mr DaveMistakenly I sent with out checking "CC" and I will take care that issue from nowMy system is having 3 xDSL Interfaces, when ever an Alarm is genetratedduring the working of the xDSL Interface I should notify the manager with atrap message that an alarm had occuredThese are the

Re: Problems on AIX 5.3

2006-10-13 Thread Arnaud BODENAN
At the moment, I'm trying to test my sample with purify to see what's going on >From: Thomas Anders <[EMAIL PROTECTED]> >To: Arnaud BODENAN <[EMAIL PROTECTED]> >Subject: Re: Problems on AIX 5.3 >Date: Thu, 12 Oct 2006 22:57:55 +0200 > >Arnaud BODENAN wrote: > > When I try to launch snmpd on AIX

Facing "too few arguments to function" error when do "make" on my privateMIB

2006-10-13 Thread Balamurugan V
Hello, I am trying the add my private MIB to Net-Snmp agent. I compiled my MIB with mib2c, and then configured my MIB with "--with-mib-module" option, thereafter trying "make" causing "too few arguments to function" error on all the MIB tables, it would great if somebody guide me to get rid of thi

David Blair/UK/IBM is out of the office on vacation

2006-10-13 Thread David Blair
I will be out of the office starting 13/10/2006 and will not return until 23/10/2006. I will have no access to mail and will only respond on my return. - Using Tomcat but need to do more? Need to support web services, secu

Re: Can We place Traps as part of Tables

2006-10-13 Thread Subrahmanya Hegde
Santosh   - Interface is defined in IF-MIB:   Q: are you saying you have 4 different type of interfaces? and you need 6 different seperate traps for each?   It is possible to define a TABLE of TRAPs(more appropriately Notifications as per SMIv2) OIDs..   for ex:   xxxNotificationTable   .

SnmpEngineID

2006-10-13 Thread Subrahmanya Hegde
Hi  SNMPWalk supports -e and -E options for v3.   SNMP Version 3 specific  -a PROTOCOL   set authentication protocol (MD5|SHA)  -A PASSPHRASE set authentication protocol pass phrase  -e ENGINE-ID  set security engine ID (e.g. 80020109840301)  -E ENGINE-ID  set

About allowing all host to do snmpwalk from remote

2006-10-13 Thread bhushan
Hello Friends,I am facing some small problem reguarding snmpd.conf please help me.i configured snmpd.conf as followscom2sec  local  0.0.0.0/0 publicgroup MyGroup v1 local view basic included .1.3.6.1.2.1.1access MyGroup "" any noauth exact basic none noneso will this setting allow host(network rea

snmpd/agentx return error and multi varbind

2006-10-13 Thread Naylor, Mark
Hello, I have been developing a net-snmp based AgentX application recently for some enterprise MIBS. While testing the AgentX subagent the following feature was discovered. It appears not to conform to the snmp standards. I will explain further below. Take a simple snmpset command to set SNMPv2-M

Re: Subagentx : how to define the path where MIBS are installed

2006-10-13 Thread Arnaud BODENAN
>From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]> >CC: net-snmp-users@lists.sourceforge.net >Subject: Re: Subagentx : how to define the path where MIBS are installed >Date: Fri, 13 Oct 2006 10:36:51 +0100 > >On 13/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > >

Re: Can We place Traps as part of Tables

2006-10-13 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 13/10

Re: About mib2c

2006-10-13 Thread Dave Shield
On 13/10/06, Clement Hsu <[EMAIL PROTECTED]> wrote: > export MIBS=ALL > mib2c netSnmpExamples Try mib2c NET-SNMP-EXAMPLES-MIB::netSnmpExamples What does that say? > Snmptranslate –IR netSnmpExamples > The result is >NET-SNMP-EXAMPLES-MIB::netSnmpExamples > That means, the agent

Re: Subagentx : how to define the path where MIBS are installed

2006-10-13 Thread Dave Shield
On 13/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > Is it useful for an agent to know the path where the MIBS are installed? Depends on whether it needs to use them, or not. If it loads the MIB files, this slighty increases the startup time and memory usage. If it doesn't load the MIB files,

Re: Subagentx : how to define the path where MIBS are installed

2006-10-13 Thread Arnaud BODENAN
I have another question... Is it useful for an agent to know the path where the MIBS are installed? Does the agent behave differently if it loads the MIBS or not? >From: "Arnaud BODENAN" <[EMAIL PROTECTED]> >To: net-snmp-users@lists.sourceforge.net >Subject: Re: Subagentx : how to define the pa

Re:About mib2c

2006-10-13 Thread Clement Hsu
Dear Dave:  The detail serial instructions is following:export MIBS=ALLmib2c netSnmpExamples then the message show   .  ..not having a "valid OID". so I try to use snmptranslate to make sure i can get correct OID, then i give the instruction:     Snmptranslate –IR netSnmpExamples  The result

Re: Subagentx : how to define the path where MIBS are installed

2006-10-13 Thread Arnaud BODENAN
Yes, you're right! Sorry, I should have understood that. Thank you. >From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]> >CC: net-snmp-users@lists.sourceforge.net >Subject: Re: Subagentx : how to define the path where MIBS are installed >Date: Fri, 13 Oct 2006 09:46:

Re: Subagentx : how to define the path where MIBS are installed

2006-10-13 Thread Dave Shield
On 13/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > But I'm still in trouble with my test. I run my sample subagentX with a > directory where no MIBS exist, and I try the command: > > snmpwalk -Oa -c public -v 2c localhost:1400 system > > I think I would have an error as system is not known, b

Re: Subagentx : how to define the path where MIBS are installed

2006-10-13 Thread Arnaud BODENAN
OK, now I understand. But I'm still in trouble with my test. I run my sample subagentX with a directory where no MIBS exist, and I try the command: snmpwalk -Oa -c public -v 2c localhost:1400 system I think I would have an error as system is not known, but I get no error and snmpwalk displays

Re: Subagentx : how to define the path where MIBS are installed

2006-10-13 Thread Dave Shield
On 13/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > I debug with the token "parse-mibs" and I get the following output: > > registered debug token parse-mibs, 1 > parse-mibs: Module SNMPv2-SMI not found > parse-mibs: Module RFC1155-SMI not found > parse-mibs: Module RFC1213-MIB not found > par

Re: Can We place Traps as part of Tables

2006-10-13 Thread Dave Shield
On 13/10/06, santhosh <[EMAIL PROTECTED]> wrote: > now the clarification I need is can I keep traps as part of table ? No. Notification definitions are a completely separate thing from OBJECT-TYPE definitions, and don't really belong to the overall OID structure in the same way. Walking a subtree

Re: Subagentx : how to define the path where MIBS are installed

2006-10-13 Thread Arnaud BODENAN
I debug with the token "parse-mibs" and I get the following output: registered debug token parse-mibs, 1 parse-mibs: Module SNMPv2-SMI not found parse-mibs: Module RFC1155-SMI not found parse-mibs: Module RFC1213-MIB not found parse-mibs: Scanning directory /home/arnboden/testMonitoring/etc parse-

Re: About mib2c

2006-10-13 Thread Dave Shield
On 13/10/06, Clement Hsu <[EMAIL PROTECTED]> wrote: > when I try to translate netSnmpExamples(from NET-SNMP-EXAMPLES-MIB) > into .c and .h , the error message is > showen as following: > > ..not having a "valid OID". What is the exact command that you are using? > so , i modified the re

Re: About Install in xscale

2006-10-13 Thread Dave Shield
On 13/10/06, Clement Hsu <[EMAIL PROTECTED]> wrote: > The approach is still not work. My system indeed have a problem of time > setting. >Do there exist any good way to make "make " work? Yes - correct the local notion of current time. Make relies heavily on comparing timestamps. If this can'