Problem with python bindings and cygwin

2007-12-19 Thread Jack G Atkinson Jr
Hello, I successfully got the python bindings working on one windows xp machine and cygwin. However, on another machine where I freshly installed cygwin, python, and netsnmp(compiled & installed), I get an error message about not being able to find MIBs. Cannot find module (IP-MIB): At line 0 in

Re :Re: Urgent: Unable to generate code for notification object having table objects in var bind

2007-12-19 Thread vishal_nitr
Hi Dave,  Sorry to say but I didn't get what exactly you are trying to say. Can you explain more on it. Or if possible can you explain with some sample code or example.   thank You. On Thu, 6 Dec 2007 09:41:11 + "Dave Shield" wroteOn 6 Dec 2007 05:47:19 -, vishal_nitr wrote:> Hi

Re: snmpd

2007-12-19 Thread jordan liu
If you compile it dynamicly, the snmpd would be found in 'agent/.libs/', and if use static method to compile, then this program will locate in agent directory. 2007/12/14, Dave Shield <[EMAIL PROTECTED]>: > On 14/12/2007, Nikolett C <[EMAIL PROTECTED]> wrote: > > Could someone please tell me, wher

Re: Net Snmp on MVL

2007-12-19 Thread jordan liu
Would you tell me what platform you are using? Cross compiling is concerned about the platform only, in which the software would be running. 2007/12/11, Mohan Rao <[EMAIL PROTECTED]>: > > > > > Hello Friends, > > > > I am trying to build Net SNMP 5.0 on Montavista Linux. > > Is it really necessar

Getbulk maximum message size: any update?

2007-12-19 Thread Andreas Jellinghaus
I saw the problem with getbulk and maximum size message was reported back in june. I tried several versions of netsnmp including 5.4.1 and they all have this issue: when the package create is too big, not a smaller one is created but instead nothing is send at all. I tried to use HP openview in sn

RE: 5.4.1 Compile issues on Solaris 9

2007-12-19 Thread Czerak, Jason
This corrected the problem. Thank you. -Original Message- From: Thomas Anders [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 19, 2007 3:17 AM To: Czerak, Jason Cc: net-snmp-users@lists.sourceforge.net Subject: Re: 5.4.1 Compile issues on Solaris 9 Czerak, Jason schrieb: > Can someon

BITS (UNIVERSAL) variable

2007-12-19 Thread Meilán García Antonio
I would like to set bits (wich indicate alert statues) with a BITS variable. mib2c give me a OCTECT_STRING variable charmuxAlarmStatus[NNN]; size_t muxAlarmStatus_len; and if I would like to set these bits '001010010001'b (0x2901) Is it correct? (NNN=2 because my alarm

Re: timeticks in second and send a easy trap

2007-12-19 Thread Tako Chang
2007/12/19, Dave Shield <[EMAIL PROTECTED]>: > > On 19/12/2007, Tako Chang <[EMAIL PROTECTED]> wrote: > > myMibTrap ::= { enterprise 920 999} > > myMibTrap0 ::= { myMibTrap 0 } > > demoTrap NOTIFICATION-TYPE ... ::= { myMibTrap0 1 } > > > > (assume 920 is my organization oid) > > I pres

Re: timeticks in second and send a easy trap

2007-12-19 Thread Dave Shield
On 19/12/2007, Tako Chang <[EMAIL PROTECTED]> wrote: > myMibTrap ::= { enterprise 920 999} > myMibTrap0 ::= { myMibTrap 0 } > demoTrap NOTIFICATION-TYPE ... ::= { myMibTrap0 1 } > > (assume 920 is my organization oid) I presume you are actually using a different number? (920 is actuall

Re: timeticks in second and send a easy trap

2007-12-19 Thread Tako Chang
> > "send_easy_trap" isn't really sufficient for your requirements here. > > > You should probably look at using 'send_enterprise_trap_vars()' > > > in order to specify your Enterprise OID value. > > > > > > Dave > > > > > > > [MIB] > > myMibTrap ::= { enterprise 920 } > > > > demoTrap NOTIF

Re: 5.4.1 Compile issues on Solaris 9

2007-12-19 Thread Thomas Anders
Czerak, Jason schrieb: > Can someone please help me out with this rather non-existent error message? > > /opt/net-snmp-5.4.1 # make [...] > false cru .libs/libnetsnmp.a snmp_client.o mib.o parse.o snmp_api.o Please make sure you have "ar" (usually /usr/ccs/bin/ar) in your PATH before running c

Re: Multivarbind request processing

2007-12-19 Thread Dave Shield
On 19/12/2007, Karthick Babu <[EMAIL PROTECTED]> wrote: > For a table, I want to create a new row and i want to set the values for > some of the columnar nodes for the newly creating row. > > case 1 : If i have the row creation request as a first varbind and the > set requests as the next then the

Re: Bad operator (♥): At line 1 in /o pt/emc/dist/local/usr/share/snmp/mibs

2007-12-19 Thread Dave Shield
On 18/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > setting MIBS=/opt/emc/dist/local/usr/share/snmp/mibs > I get the following strange error: > >Bad operator (♥): At line 1 in /opt/emc/dist/local/usr/share/snmp/mibs > > 'mibs' is actually a directory, not a file! That's exactly the

Multivarbind request processing

2007-12-19 Thread Karthick Babu
Hi, I have some clarification on the multi varbind request processing. For a table, I want to create a new row and i want to set the values for some of the columnar nodes for the newly creating row. case 1 : If i have the row creation request as a first varbind and the set requests as the next t

5.4.1 Compile issues on Solaris 9

2007-12-19 Thread Czerak, Jason
Can someone please help me out with this rather non-existent error message? /opt/net-snmp-5.4.1 # make making all in /opt/net-snmp-5.4.1/snmplib make[1]: Entering directory `/opt/net-snmp-5.4.1/snmplib' /bin/sh ../libtool --mode=link gcc -g -O2 -Usolaris2 -Dsolaris2=solaris2 -rpath /opt/ne

Bad operator (♥): At line 1 in /o pt/emc/dist/local/usr/share/snmp/mibs

2007-12-19 Thread Smith_Randy
Upon installing netsnmp (as I did today because I needed to compile with a different compiler), and firing up snmpd, setting MIBS=/opt/emc/dist/local/usr/share/snmp/mibs and then peforming the following test: ./snmpget -v 1 -c whatever localhost sysUpTime.0 (from prefix/bin ) I get t