Re: Problems on a double indexed table

2007-12-07 Thread [EMAIL PROTECTED]
If2BsSsPkmAuthMacAddress[6]; size_t wmanIf2BsSsPkmAuthMacAddress_len; } wmanIf2BsSsPkmAuthTable_mib_index; ... ... Also the source code generated seems to have two indexes. Regards -- Initial Header ------- >From : "Magnus Fromreide" [EMAIL PROTECTED

Problems on a double indexed table

2007-12-06 Thread [EMAIL PROTECTED]
Hi, I am a novice in net-snmp. I have a problem in a table with the following attributes: ifIndex: foreign key (ifTable) MacAddress: primary key. other attributes... I have generated the source code with mib2c command in MFD mode. I have tryed to put the table data in a two dimensional array in the

Getting "cannot shift" when starting Emanate snmp

2007-10-26 Thread [EMAIL PROTECTED]
Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change othe

Re: Setting fdset for select without snmp_select_info

2007-09-06 Thread [EMAIL PROTECTED]
was placed here fds = select(fds, &fdset, 0, 0, &timeout); I've never seen a beahvior of that kind and I don't have a clue about what's causing it. ------ Initial Header --- >From : [EMAIL PROTECTED] To : net-snmp-coders@lists.sourceforge.net

Setting fdset for select without snmp_select_info

2007-09-05 Thread [EMAIL PROTECTED]
I'm triying to write an application that start a session and listen for traps on port 162. I'd like the application to be able to create several successive sessions. Having some problem with closing the previous session I'd like to set myself (without using snmp_select_info) the fdset and fds pa

Error in closing a session

2007-09-05 Thread [EMAIL PROTECTED]
In my application I open a session (in wich I want to listen for traps on port 162) like this: SOCK_STARTUP; init_snmp("snmpapp"); netsnmp_session session, *ss; netsnmp_transport *transport = NULL; transport = netsnmp_tdomain_transport("udp:162",1,"udp"); if (transport ==

Problem with snmp_select_info on successive sessions

2007-08-29 Thread [EMAIL PROTECTED]
I'm writing a GUI application that listen for traps from a specified IP address. The application works like this: I set the IP of the peer and then I open a SNMP session with it. Once the session is open the application periodically checks for traps (with snmp_select_info and select). I can close

Problem linking netsnmptrapd.lib with MingW

2007-07-20 Thread [EMAIL PROTECTED]
I'd like to use NetSNMP with wxDevC++. I created a DevPack with the precompiled libraries and the include directories i got from the binaries of the Net-SNMP 5.4 release (the file net-snmp-5.4.0-1.win32.exe that can be downloaded here: http://net-snmp.sourceforge.net/download.html ). After a lit

DOUBT IN MIBS -URGENT

2007-01-19 Thread [EMAIL PROTECTED]
HI, THIS IS KARTHIKEYAN. I WANT TO COMPILE MY MIBFILE USING MIB2C COMMAND..BUT I ALREADY ADD MY MIB.TXT FILE IN TO USR/SHARE/SNMP/MIBSAFTER THAT I GAVE THIS COMMAND LIKE ./CONFIGURE --WITH-MIB-MODULES=2E=2E BUT I GOT SOME ERROR WARNING: mib module error configure: error: module files WMAN-IF-MI

Adding MIB in enterprise node problem Thomas Anders

2006-03-24 Thread [EMAIL PROTECTED]
data = lpdata | tmp; else { tmp = 1 << 7; lpdata = lpdata & (~tmp); } outb(lpdata, lp_base); break; case MODE_SET_COMMIT: /* * XXX: delete temporary storage */ break; case MODE

Receving a value from the MIB of a access point: the implementation in c language and with linux

2006-03-23 Thread [EMAIL PROTECTED]
Goodmorning, i must receving a value from the MIB of a access point (exactely the value of OID 1.3.6.1.2.1.2.2.1.19). I must to copile this interrogation in c language. The operative system that i'll use is linux. I'm no many expert of c language and linux. What do i do? Thanks! Franco --

Re: size of 5.2 snmpd in CVS seems wrong

2005-10-26 Thread [EMAIL PROTECTED]
> The difference in size is almost certainly due to dynamic vs > static libraries. Thank you. I was thrown by the file command reporting the exe as dynamically linked when, in fact, it was just 'crypto' and one or two others that were dynamically linked. Duh. Sorry for the noise. -

using MRTG monitor CPU load

2005-08-18 Thread [EMAIL PROTECTED]
esinterval: 5LoadMIBs: c:\usr\share\snmp\mibs\UCD-SNMP-MIB.txtTarget[nami.cpu]: ssCpuRawUser.0&ssCpuRawIdle.0:[EMAIL PROTECTED]RouterUptime[nami.cpu]: [EMAIL PROTECTED]MaxBytes[nami.cpu]: 100Title[nami.cpu]: CPU LOADPageTop[nami.cpu]: User CPU Load %Unscaled[nami.cpu]: ymwdSh

how to get OIDs to MRTG

2005-08-16 Thread [EMAIL PROTECTED]
esinterval: 5LoadMIBs: c:\usr\share\snmp\mibs\UCD-SNMP-MIB.txtTarget[nami.cpu]: ssCpuRawUser.0&ssCpuRawIdle.0:[EMAIL PROTECTED]RouterUptime[nami.cpu]: [EMAIL PROTECTED]MaxBytes[nami.cpu]: 100Title[nami.cpu]: CPU LOA DPageTop[nami.cpu]: User CPU Load %Unscaled[nami.cpu]: ymwdShortLegend[nami.cpu]

how to open endpoint"udp:161"

2005-08-03 Thread [EMAIL PROTECTED]
Hi :   When i tested  this command: snmpd -f -L -Dread_config , the output  was  interrupted by an error: Error opening specified endpoint "udp:161"  server exiting  with code 1 The line above this error is :read_config :c:/usr/ etc/snmp/snmp.local.conf   :No such file or  directory.I wonder ho

about snmpset

2005-08-03 Thread [EMAIL PROTECTED]
When i used the snmpset command to set  the value of syscontact.0 , i always got an error :not writtable.my command is :snmpset -v 2c -c public localhost syscontact.0 s "south 1,4th floor"I failed to use snmpset command ,i wanna know how should i configure the snmpd.conf to run snmpset? ~~~

RE:RE:about snmpset

2005-08-01 Thread [EMAIL PROTECTED]
Thanks Dave  and manili very much !  Kiss!   Now i can set   localhosts'  OIDs . And i have a question ,why snmpd.conf could not contain this line: sysContact  i am nami ? If i want to set another host's OID,what should he do?  Need  my snmp.conf  modify? and how?I hope you can give me an example.H

re:about snmpset

2005-08-01 Thread [EMAIL PROTECTED]
Thanks for malini's  reply。I tried by your tips: net-snmp-config --create-snmpv3-user snmpuser -A [ Enter a pass phase when asked]c:\usr: net-snmp-config不是内部或外部命令,也不是可运行的程序或批处理文件。That means system can't find the net-snmp-config command.(i just want to find out whether sourceforge.net could display

about snmpset

2005-07-31 Thread [EMAIL PROTECTED]
When i used the snmpset command to set  the value of syscontact.0 , i always got an error :not writtable.my command is :snmpset -v 2c -c public localhost syscontact.0 s "south 1,4th floor"I failed to use snmpset command ,i wanna know how should i configure the snmpd.conf to run snmpset?  I hope you

about snmpset

2005-07-31 Thread [EMAIL PROTECTED]
When i used the snmpset command to set  the value of syscontact.0 , i always got an error :not writtable.my command is :snmpset -v 2c -c public localhost syscontact.0 s "south 1,4th floor"I failed to use snmpset command ,i wanna know how should i configure the snmpd.conf to run snmpset?  I hope you

Re: make perl error on winxp , need your help! thx

2005-07-25 Thread [EMAIL PROTECTED]
u all the same!  --- 07/24/2005 16:26:20 from Alex: -------> [EMAIL PROTECTED] wrote:> > Thank u very much,Alex!> > > > Yeah,i'm trying to compile net-

Re: make perl error on winxp , need your help! thx

2005-07-25 Thread [EMAIL PROTECTED]
with the error?--- 07/22/2005 23:05:45 [EMAIL PROTECTED] wrote: ---> Hi.> > Are you trying to compile Net-SNMP 5.1.2?&g t; > Alex> > [EMAIL PROTECTED] wrote:> > > > hi all,> > glad to see u!

make perl error on winxp , need your help! thx

2005-07-22 Thread [EMAIL PROTECTED]
hi all,glad to see u! i'm new here.i have finished building win32.dsw and libsdll.dsw in \win32,and then use \win32\nmakeperl.bat to make perl modules,the error came as:"Nmake : fatal error U1077:'link':return code '0x460',stop.Nmake : fatal error U1077:'cd':return code '0x2',stop"the error output

net-snmp warnings

2005-07-18 Thread [EMAIL PROTECTED]
i get like 10 of those warnings wasn't fast enough to copy them all but .. hell that many might want u to do a check ur self .. hecking net/if_types.h presence... yes checking for net/if_types.h... yes checking net/if_var.h usability... no checking net/if_var.h presence... yes configure: WARNING

Error while Configure on win32

2005-04-18 Thread [EMAIL PROTECTED]
Hello I am trying to compile the example mib module from the net-snmp toolkit section into the Master Agent on Windows. But while running the Configure script i.e. ‘perl Configure –with-mib-modules )’ I get an error saying “Can't exec /bin/sh at Configure line 1.” I get this error even on runnin

AgentX problem on Win32 - MinGW

2005-02-21 Thread [EMAIL PROTECTED]
transport type and port(s) that you # want the agent to listen on. Multiple definitions of this token # are concatenated together (using ':'s). # arguments: [transport:[EMAIL PROTECTED]/address],... agentaddress 161 # # #---

publication of tutorial of iterator for creating dynamic variables

2005-01-21 Thread [EMAIL PROTECTED]
Hello, My name is Alfredo Grasso, I live in Caracas, Venezuela, I have more than one year using net-snmp, I received a good help of Wes Hardaker, Dave Shield and Robert Story to finish my project in my current Job, But I would like to share this information with others (developers or users) of net-

API Call to Get Target and Source IP Address?

2004-11-24 Thread [EMAIL PROTECTED]
Hi,   I have a Linux box controlling a few serial devices; and will like to write a SNMP agent to manage these serial devices from a SNMP manager over a LAN. One way is to assign multiple IP addresses to the Linux box network card; such that each IP address represent a serial device. When th