Re: parsing error in Printer MIB

2006-02-02 Thread taner memet ali
hi, thanks for the advice Wes and Dave, it works now. I used the old Printer-MIB. The new one has no problems. thanks again --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new

Undefined identifier mib-2

2006-02-02 Thread taner memet ali
Hi, i got following error while trying to load the Printer-MIB. Unlinked OID in Printer-MIB: printmib ::= { mib-2 43 } Undefined identifier: mib-2 near line 10 of C:/usr/share/snmp/mibs/Printer-MIB.txt SNMPv2-SMI is loaded and implemented in net-snmp-config.h and acconfig.h #define Printmi

Re: snmp agent discovery via HP Web Jet Admin

2005-11-24 Thread taner memet ali
;Dave Shield" <[EMAIL PROTECTED]> To: "taner memet ali" <[EMAIL PROTECTED]> Cc: "net-snmp-users" Sent: Wednesday, November 23, 2005 10:31 AM Subject: Re: snmp agent discovery via HP Web Jet Admin On Tue, 2005-11-22 at 19:28 +0100, taner memet ali wrote: prtCover

Re: snmp agent discovery via HP Web Jet Admin

2005-11-22 Thread taner memet ali
Hi, I edited the HP Laserjet 2300 MIB a bit and made the prtCovertable writable to test the Web Jet admin discovery. the part i edited looks like this prtCoverTable OBJECT-TYPE SYNTAX SEQUENCE OF PrtCoverEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A tab

Re: snmp agent discovery via HP Web Jet Admin

2005-11-20 Thread taner memet ali
Hi , From Jarvis John Actually, the 'hrPrinterTable (1.3.6.1.2.1.25.3.5.) is part of the Host Yes. Resources MIB (1.3.6.1.2.1.25.). If you 'spoof' a >generic printer with values from the original Printer MIB (1.3.6.1.2.1.43.) [RFC-1759, obsolete], the HP Laserjet 2300 MIB has some parts

snmp agent discovery via HP Web Jet Admin

2005-11-17 Thread taner memet ali
Hi, does anyone know how to set up the net-snmp agent so it can be discovered as an printer device agent by HP Web Jet Admin. I have read that HP Web Jet Admin is able to discover any third party device that has an snmp agent. As requirement the agent should implement the printer mib. I have

Re: Mib2c /Win32

2005-11-09 Thread taner memet ali
- Original Message - From: "jdx" <[EMAIL PROTECTED]> To: "taner memet ali" <[EMAIL PROTECTED]>; "net-snmp-users" Sent: Tuesday, November 08, 2005 4:51 PM Subject: Re: Mib2c /Win32 Well, thank you for your first answer ; for I could not find

Re: Mib2c /Win32

2005-11-08 Thread taner memet ali
Hi, I've got more difficulties with Net-SNMP 5.x /WinXP 1°/ with Net-SNMP v5.1.3-1 (http://prdownloads.sourceforge.net/net-snmp/net->snmp-5.1.3-1.win32.exe?download ) No mib2c.*.conf in my installation the files are in C:\usr\share\snmp\mib2c-data.You can copy the mib2c.*.conf's from the s

problem with get/set scalar

2005-10-19 Thread taner memet ali
Hi, i solved the problem. I edited the mib include and init headers and the config headers manually and it runs like hell :-) --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, a

problem with get/set scalar

2005-10-19 Thread taner memet ali
Hi, i made some template code using mib2c filled the blanks and modified NET-SNMP-EXAMPLES-MIB like this: netSnmpExampleString OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-write STATUS current DESCRIPTION "This is a simple object which merely houses a writable String

unable to get/set variables

2005-10-18 Thread taner memet ali
Hi, I'm still trying to get the example code scalar_int.c to work. But i always get the following error: snmpget -v 1 -c psi 127.0.0.1 netSnmpExampleInteger.0 Error in packet Reason:(noSuchName) There is no such variable name in this MIB Failed object: NET-SNMP-EXAMPLES-MIB::netSnmpExampleInte

unable to get or set variables from the tutrial examples

2005-10-17 Thread taner memet ali
Hi, i compiled the example codes int_scalar.c and set_data.c into my agent but am unable to get the values every get and set commands returns a packet error i.e. snmpget -v 1 -c public 127.0.0.1 netSnmpExampleInteger.0 error in packet Reason: (noSuchName) There is no such variable in this MIB Fai

linkage error while compiling the scalar_int.c

2005-10-16 Thread taner memet ali
Hi, i haved compiled it by copying the file to the "snmpdsdk" project. I will test it tomorrow in my network. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://s

linkage error while compiling the scalar_int.c

2005-10-16 Thread taner memet ali
Hi, i forgot that this code is working when it is compiled into the agent. Well perhaps this causes the linkage error. but i still dont know How to compile this code to integrate it into the agent? should i follow the readme file for win32? thanks in advance for any hints

linkage error while compiling the scalar_int.c

2005-10-16 Thread taner memet ali
Hi all, I wanted to test the scalar_int.c with VS.NET and have following linkage errors: unresolved external Symbol _main, referenced in Function _mainCRTStartup unresolved external Symbol _netsnmp_register_int_instance, referenced in Function _init_scalar_int I use the winsdk.dsw project

RE: help wanted using net-snmp package with windows and VS.NET

2005-10-11 Thread taner memet ali
Hi, i have finally compiled the demo application with VS.NET. Here is the walktrough:) 1. open the winsdk.dsw (if you have installed the plattformsdk) in the win32 folder 2. then compile all core executables and libs as it is described on the readme file for win32. 3. create a new project (i

RE: help wanted using net-snmp package with windows and VS.NET

2005-10-11 Thread taner memet ali
Hi, Dave thanks for your understanding. I will try to make my question more precise. As you know i tried to compile the net-snmp package using cygwin but failed to do this. I followed the suggestions that Alex and Andy made (included all the patches) but the compilation did not succeed and th

RE: help wanted using net-snmp package with windowsand VS.NET

2005-10-11 Thread taner memet ali
hi dave, im sorry that you have misunderstood me. Perhaps i was a little impatiently because i'm testing this package for my thesis and when time passes without success (you know time is gold in a thesis phase) it makes one despair. I can't pay any consultant because i'm only a student. I will

help wanted using net-snmp package with windows and VS.NET

2005-10-10 Thread taner memet ali
Hello, i try to use net-snmp with windows and VS.NET since two months and i have several problems on getting started with it. I do not get any answers to many questions related with my problems in this mailing list. I guess that the majority is using net-snmp with unix or linux. I dont know an

Unresolved external Symbol error with MSVC.Net (MSVC7.1) while compiling snmpdemoapp.c

2005-10-09 Thread taner memet ali
Hi, i try to compile the simple demo application with MSVC.NET. I get following errors: test error LNK2019: unresolved external Symbol _init_snmp, in function _main test error LNK2019: unresolved external Symbol _netsnmp_free, in function _main test error LNK2019: unresolved external Symbol _n

Unresolved external Symbol error with MSVC.Net (MSVC7.1) while compiling snmpdemoapp.c

2005-10-06 Thread taner memet ali
Hi, i try to compile the simple demo application with MSVC.NET. I get following errors: test error LNK2019: unresolved external Symbol _init_snmp, in function _main test error LNK2019: unresolved external Symbol _netsnmp_free, in function _main test error LNK2019: unresolved external Symbol

Re: timeout problem in windows a bug?

2005-10-05 Thread taner memet ali
i guess i did. any other suggestions are welcome - Original Message - From: "Dave Shield" <[EMAIL PROTECTED]> To: "taner memet ali" <[EMAIL PROTECTED]> Cc: "net-snmp-users" Sent: Wednesday, October 05, 2005 3:18 PM Subject: Re: timeout probl

Re: timeout problem in windows a bug?

2005-10-05 Thread taner memet ali
that are the correct adresses --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___

RE: timeout problem in windows a bug?

2005-10-05 Thread taner memet ali
i have installed the net-snmp binary on two windows pc's and have deactivated the original snmp agents on both machines. The machines are connected in a simple LAN with each other (only network cable). I have configured the snmpd.conf files on each machine with the "snmpconf -g basic_setup" comman

compile error with cygwin on net-snmp 5.1.3.1

2005-08-10 Thread taner memet ali
hi, i'm a complete newbie to net-snmp. i try to compile it since yesterday but there is always the same error: make: *** No rule to make target 'winservicerc.lo', needed by 'libnetsnmp.la' . Stop. make[1]: Leavingdirectory '/cygdrive/d/net-snmp/snmplib' make: *** [subdirs] Error 1 I use win