Re: MAC address not retrieved by Win32 client

2004-06-21 Thread Alex Burger
Vic Berdin wrote: Hi David, everyone, Btw, what other FREE Win32 client tools that you guys use, in order to get/set information to your net-snmp servers? Have you tried Net-SNMP under Windows? A Windows binary is available for 5.1.2pre2 on the Net-SNMP download page. Alex

Re: perl issues with pre2

2004-06-25 Thread Alex Burger
Hi Mike. Mike Lindsey wrote: Hey, having a couple problems with pre2 and perl. I'm running perl 5.8.4 on a freebsd 4.5 box. make test in the perl directory runs fine exept for: ok 17 PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.4 "-MExtUtils::Command::MM" "-e" "test_harness(0,'../blib/lib', '../blib/ar

Re: formatting of snmptrapd output

2004-07-08 Thread Alex Burger
Eckhard Ruediger wrote: Hello, is there a possibility to format the output of snmptrapd for Hex strings in such a way, that they are not broken up after 16 bytes? I'd like to see the complete variable in one line. Example: snmptrap -OnQ results into 2004-07-08 13:50:16 localhost.localdomain [127.

Re: win 32 error

2004-07-14 Thread Alex Burger
Miguel Barreiros wrote: Hi When I do: snmpwalk -c READ 172.25.7.8 (172.25.7.8 is a switch with community string READ) in my linux works good, when I do it on a windows machine I get an error: No securityName specified What do I have to do to solve it ? It looks like it is defaulting to S

Re: HP Health Agents for Proliant on Linux

2004-07-21 Thread Alex Burger
All the current Compaq Proliant mibs are in SP24993 which can be downloaded from the HP site. I think the newer Management CDs no longer contain the MIB files. Alex Rule, Ted wrote: At one time, at least HP/Compaq's src.rpm contained all the MIB trees they used. Have you double checked for such

Re: Is it appropriate to compile on the production machine?

2004-08-11 Thread Alex Burger
Hi Jeff. Jeff Tuttle - Allison Royce wrote: Newbie Q: W2K3 is the production machine for Radiator and will be running net-snmp to check the NAS for users online. XP Pro is my wksta where I work/hack/learn. Do I compile on XP then copy / install as a service to the server or compile and install on t

Re: mailing list suggestion

2004-08-13 Thread Alex Burger
Jeff Tuttle - Allison Royce wrote: Would it be possible to prefix the subject line with an identifier such as [NET SNMP USERS] ? I (and probably most of us) get numerous messages a day and this would help to differentiate messages from junk & spam. Thanks---Jeff You could also create a message filt

Re: mailing list suggestion

2004-08-13 Thread Alex Burger
Bruce Shaw wrote: We've had less than perfect success (read it doesn't fscking work half the time) using filters in outlook, although it did occur to me that it might be nice (ie. have a hope in hell of working) if it was something like [net-snmp][users] so you could capture ALL net-snmp stuff and

Re: snmptrapd traphandle error

2004-09-22 Thread Alex Burger
Hi David. Fernández Piñas, David wrote: Hi all, I am running a compiled version of snmptrapd (NetSNMP 5.1) on a Windows 2000 PC. I get the next error when I specify a traphandle directive at snmptrapd.conf file: make_tempfile: error creating file /tmp/snmpda01896 Make sure you define a temporary p

Re: win32 5.2.pre1 snmpwalk times out

2004-09-24 Thread Alex Burger
debug the net-snmp agent, you will find the "hang" somewhere in a call to the IP Helper Library. Have you tried a debugging build to produce symbol map, etc. ? Best Regards, -Mike From: Alex Burger <[EMAIL PROTECTED]> Date: 2004/09/22 Wed PM 10:41:17 EDT To: [EMAIL PROTECTED

Re: Please help with snmpwalk

2004-09-28 Thread Alex Burger
Tuan Nguyen wrote: Every time , I start snmpwalk , I get an return error C:\SNMP\bin>snmpwalk -v 1 -c public -Oqs - 10.35.64.108 system Table What is the - between the -Oqs and ip address for? This should work: snmpwalk -v 1 -c public -Oqs 10.35.64.108 system Alex C:/SNMP/etc/snmp/snmpapp.loc

Re: Something else - compiling

2004-09-29 Thread Alex Burger
Andres C wrote: Hi, Forgot to ask why do I get an error after executing the mib2c: I get: indent is not recognized as an internal or external command ... all that. I guess it's because I don't have that program somwhere. Is it needed? where can I get it? is it available for windows? is it import

Re: Win 32 compiling error

2004-10-04 Thread Alex Burger
Andres C wrote: Hello, The file win32.dsw generates a fully functional agent after building it (with my extended part of the agent)? What is the difference in running time with win32sdk.dsw? which one is better to use? Because I've been trying to build in win32sdk.dsw and I get some errors with

Re: Snmptrapd help

2004-10-08 Thread Alex Burger
prashanth raghavan wrote: Can someone please tell me what the contents of the snmptrapd.conf file should be? I tried creating a new file at /usr/local/etc with just the traphandle as its contents. And then I used the -c option and supplied the above file as the configuration. But it still doesnt wo

Re: snmptrapd traphandle problem please help

2004-10-26 Thread Alex Burger
[EMAIL PROTECTED] wrote: Hello, I am having a problem I just can not figure out with snmptrapd. I simply wrote traphandler script to echo Hello World out to the screen when a certain trap is detected. To set this up I configured /usr/local/share/snmp/snmptrapd.conf with the following lines trapha

Re: snmptrapd traphandle problem please help

2004-10-26 Thread Alex Burger
Hi. Have all your tests been with the same trap? If so, can you try a different trap such as a coldStart? Try configuring snmpd on the machine with: trapsink 127.0.0.1 public and then restart snmpd. You should get a coldStart trap. Another thing to try is to DELETE your snmptrapd.conf file and

Re: Error compiling net-snmp 5.1.2

2004-11-17 Thread Alex Burger
Hi Sergio. If you remove 'My Documents' from the path, it should work. I just tried under Mandrake in a folder called 'test folder' and I got the exact same error. The space is what is causing the problem. Alex Sergio Afonso Coderch wrote: Hi all, When I compile the net-snmp 5.1.2 (make senten

Re: v2c trap / perl

2004-11-22 Thread Alex Burger
Hi Jean-Michel. Can you provide a Perl script that works in 5.1.2 but not in 5.2? Alex Snmp Portal wrote: Hi, I switched to RC4 and now I am not any more able to send v2c traps from code written in perl. It was working fine in 5.1.2. Has somebody gor an idea ? thanks Jean-Michel -

Re: Win32 binaries with v3

2004-12-05 Thread Alex Burger
Brendan Simon wrote: Hi, I've downloaded the recent win32 binaries but can't get them to work with v3. I can run the same commands on Linux and they work perfectly. On Win32 I get: USM authentication failure (incorrect password or key) Is v3 support included in the Win32 binaries? Do I need

Re: Net-Snmp 5.2 Build Error

2004-12-09 Thread Alex Burger
Gutemberg Santos de Medeiros wrote: Hi there Recently, I´ve downloaded the Net-Snmp 5.2 and I´m trying to compile using the build.bat file, but same error occurs. I´m using WinXP SP2, Microsoft Visual C++ 6.0 SP3, and already Platform SDK installed. The error you are getting usually happens when

Re: Net-Snmp 5.2 Build Error

2004-12-09 Thread Alex Burger
read the message linked below and try the attached patch. http://sourceforge.net/mailarchive/message.php?msg_id=10184488 Alex thank you for helping -Original Message- From: Alex Burger [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 9 de dezembro de 2004 11:18 To: Gutemberg Santos de

Re: Cannot Process SNMP Traps

2004-12-16 Thread Alex Burger
Russ Woodman wrote: Hi, When I run snmptrapd with the options specified below, I get: read_config:traphandle: registering handler for: default 2004-12-15 13:20:19 NET-SNMP version 5.1.2 Started. When I send a trap, either from a Cisco device or by using the following command: snmptrap -v 1 - c publ

Re: Cannot Process SNMP Traps

2004-12-16 Thread Alex Burger
t 0xbc70 set 0) trace: snmp_sess_select_info(): snmp_api.c, 5622: sess_select: for all sessions: 9 6 5 3 And nothing is recorded in the /tmp/snmptrapd.log file. I'm cutting and pasting things directly from the tutorial and using the traphandle.sh you outlined below. Any ideas? Russ Alex Burge

Re: Cannot Process SNMP Traps

2004-12-16 Thread Alex Burger
Hi Russ. Russ Woodman wrote: Hi, I am attempting to receive traps from various devices on my network (Copper Mountain DSLAMs, Cisco routers, etc.) so that I can then funnel the traps into Nagios for network monitoring. However, nothing I have tried for the last three or more months has allowed

Re: New front end for the Net-SNMP website.

2004-12-20 Thread Alex Burger
[EMAIL PROTECTED] wrote: Now, that is some facelift for the index page of the Net-SNMP website. Generally, I like it. There are two errors of which the webpage designer should be made aware. They begin with the mention at the bottom of the index page (alright, home page), where the users mailing

Re: New front end for the Net-SNMP website.

2004-12-21 Thread Alex Burger
Dave Shield wrote: When I first clicked on the [footnote] link, I expected to be presented with a compose window.. The wording there (at the bottom of the page) could use some adjustment. We didn't want have a mailto, as it would add spam to the list which is why I just linked it to the mail

Re: New front end for the Net-SNMP website.

2004-12-21 Thread Alex Burger
Dave Shield wrote: Suggestion: Why not simply drop the link markup altogether? Retain the present text, but leave it all as plain text. I would rather have a link. I find it annoying when a web site says 'please do this to help us' but then expects the user to search the site to figure out how

Re: New front end for the Net-SNMP website.

2004-12-21 Thread Alex Burger
[EMAIL PROTECTED] wrote: Quite nice overall but several nits, if I may. Curiously, all in: Net-SNMP is available for many Unix and Unix like operating systems and also for Windows. I've often been corrected that as a TM of Bell Labs (or whoever), "UNIX" is all capitals. (I've generally sai

Re: Net-snmp windows version building help

2004-12-22 Thread Alex Burger
Hi Sasikumar. Detailed steps on how the win32 binary is created are available in win32/dist/README.build.win32.txt. Alex Sasikumar Bodathula wrote: Hi, In my project some changes were made in the master and rpm build was made using rpmbuild command in the linux. Now we are porting the same appl

Re: Net-snmp windows version building help

2005-01-02 Thread Alex Burger
Hi Sasikumar. It looks like the Platform SDK is not registered correctly with MSVC which is why you are getting the 'socklen_t' undeclared identifier error. To register it, click Start - Programs - Microsoft Platform SDK February 2003 - Visual Studio Registration - Register PSDK Directories with

Re: Net-snmp windows version building help

2005-01-03 Thread Alex Burger
Behalf Of Alex Burger Sent: Sunday, January 02, 2005 8:46 PM To: Sasikumar Bodathula Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Net-snmp windows version building help Hi Sasikumar. It looks like the Platform SDK is not registered correctly with MSVC which is why you are getting the

Re: Net-snmp setup

2005-01-04 Thread Alex Burger
Jubert Didier wrote: hi I am trying to install net snmp on windows xp platform (net-snmp-5.2-1.win32.exe) but when i try to compile and run the given exemple (using dev cpp), it makes errors saying header files are missing... Indeed, they aren't in the directory (c:\usr\...). Is it normal ? where c

Re: mib2c

2005-01-04 Thread Alex Burger
Subodh Bansal wrote: Why 'mib2c' does not work with SuSE Linux? It should work fine. Are you getting an error when you run it? A (text) screen shot of the command you ran and the output would help. Alex Thanks in advance Subodh --- The SF.N

Re: Net-snmp setup

2005-01-04 Thread Alex Burger
Robert Story (Users) wrote: On Tue, 04 Jan 2005 10:47:34 -0500 Alex wrote: AB> You need to download the source file net-snmp-5.2.tar.gz. The Windows AB> binary does not have any of the header files. Sounds like maybe we need a devel package. Does the existing binary install libraries? The curren

Re: New front end for the Net-SNMP website.

2005-01-04 Thread Alex Burger
Hi Tony. [EMAIL PROTECTED] wrote: The new design for the website looks great. Access to the MIB docs and man pages are much more straightforward. I particularly liked readying the History section - a lot of stuff in there I didn't know about the project. However... What happened to the logos ar

Re: problems with tutorial

2005-01-12 Thread Alex Burger
Hi Mike. Mike Thatcher wrote: I have been trying to work thru the tutorial found at http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mib_module/index.html and am getting a number of 404 errors like for the following It

Re: problems with tutorial

2005-01-13 Thread Alex Burger
Mike Thatcher wrote: You did find all the instances. I have 404 for the following The requested URL /tutorial/toolkit/mib_module/ was not found on this server. This is reference from http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mib_module/index.htm l in the paragraph "...older (and thus ba

Re: Net-Snmp5.2 Crashing on Win NT4

2005-01-18 Thread Alex Burger
Hi Gutemberg. Are you still having problems running Net-SNMP under NT4? I just tried on NT4 SP4 server, and the applications worked fine. If you are still getting the error, try this: snmptranslate -Dall -IR -Td linkDown 2> c:\snmptranslate-debug.txt It would be good to see how far it goes befor

Re: Perl module parsing MIB structure -- barking up the wrong tree?

2005-01-28 Thread Alex Burger
Hi Tom. Tom O'Brien wrote: Hi all: I'm trying to write a Perl module (for my own use) based on the SNMP module distributed with Net-SNMP. What I'd like to do is based on a trap number and OID, look up a TRAP-TYPE (v1) definition, and determine what OIDs, data-types, and values that the trap req

Re: Host-Resources MIB (Was Feeding the UCD-SNMP MIB on Windows 2000)

2005-02-21 Thread Alex Burger
Hi Jim. Mohr James wrote: I have found that there are some peformance metrics in the Host-Resources MIB. The wierd thing is that when I tried to read from it a Windows 2000 machine running net-snmp 5.2.1 I come up empty. However, on another Windows machine uisng the default Windows SNMP agent, I ca

Re: how to configure snmptrapd

2005-02-22 Thread Alex Burger
Paul Chen (QD/LJC) wrote: > Hi, > > I want to use a scipt to handle the trap messages that trapd received. So I > configured the snmptrapd.conf as following: > > ### > # > # snmptrapd.conf > # > # - created by the snmpco

Re: Sharing port 162 under windows

2005-02-23 Thread Alex Burger
Hi Laurie. Laurie Gellatly wrote: Hi, Can someone confirm that the current version does not allow SNMP traps to be handled both by net-snmp and the windows snmptrap.exe service? From what I've seen it appears that which ever process stars first opens port 162 exclusively. Is that what the 'pass

Re: public accessible snmp devices?

2005-03-10 Thread Alex Burger
Hi Vicky. I just tried the command provided by Robert, and it worked fine. Are you behind a firewall? Alex Vicky Rode wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I can't seem to query this device, either with snmpwalk/snmpget? It times out with no response from test.net-snmp.org. Di

Re: public accessible snmp devices?

2005-03-11 Thread Alex Burger
nd getif w/ same results :( Says "No snmp response from 158.69.82.8 regards, /vicky Alex Burger wrote: | Hi Vicky. | | I just tried the command provided by Robert, and it worked fine. Are | you behind a firewall? | | Alex | | | Vicky Rode wrote: | | Hi, | | I can't seem to query this

Re: Setting Destination Trap Port on windows

2005-03-11 Thread Alex Burger
It looks like setting the value for snmptrap / snmp-trap in the services file SHOULD work, but on my Windows 2000 Professional machine it does not. Based on this old MS tech note, Windows should be reading the services file for the destination port since NT 3.5: http://support.microsoft.com/de

Re: Trying to setup SNMP

2005-03-15 Thread Alex Burger
Hi Timothy. If you are using Linux, you probably need to store the snmpd.conf file in /usr/local/share/snmp/snmpd.conf, not /etc/snmpd.conf. Try running snmpconf. The first thing it will do is tell you where any existing configuration files are. Alex Timothy Horie wrote: I created a /etc/snmpd

Re: Net-SNMP support for Windows XP

2005-03-17 Thread Alex Burger
Hi Mark. [EMAIL PROTECTED] wrote: I'm seeking information for Windows XP support for the net-snmp agent. I have used the agent quite a bit for Unix servers, but have very little Windows experience. I searched the archives and doc at a high-level, but didn't find many specifics. I did find a s

Re: snmp.conf

2005-03-18 Thread Alex Burger
Vijay Krishna wrote: Does somebody have a sample snmp.conf file? If you are not sure what you should be configuring in snmp.conf, you should try using the snmpconf script. It allows you to set options using a menu system. You may not even need anything in your snnmp.conf file. You may not ev

Re: Need direction for perl module installation

2005-03-31 Thread Alex Burger
Hi Shane. I did some digging also and found the following message from Dave which says that the patch was not applied to the 5.0 line: http://sourceforge.net/mailarchive/message.php?msg_id=9074365 You could try the patch yourself by modifying the SNMP.xs file and changing the line that contains: (v

Re: extending the agent [on windows]

2005-04-03 Thread Alex Burger
[EMAIL PROTECTED] wrote: I am using Windows 2000.I tried executing the same by using Administrator as well as my LAN login.But still it does not work.But it has worked before. If you extract a fresh copy of the 5.2.1 source and try to compile it without any modifications, does it compile? You men

Re: traphandler for v1 enterprise trap

2005-04-03 Thread Alex Burger
Hi Tadashi. (B (BTadashi Abe wrote: (B> Hi, (B> (B> I'm using ucd-snmp 4.2.6 and want to handle a v1 trap (B> which is enterprise-specific OID. (B> I can handle v2 trap with no problem, but as with v1 I (B> can't. Although I've read man/tutorial (and even (B> RFC...) and tried some, I can

Re: MIBs OID question

2005-04-03 Thread Alex Burger
Wes Hardaker wrote: On Fri, 1 Apr 2005 19:44:17 -0800 (PST), dil dila <[EMAIL PROTECTED]> said: dil> 3. if already get the DELL MIBs but it is in the .bin format Um, I've never heard of a MIB coming in .bin format?? I just checked the Dell site, and they offer the mibs as a self extracting Windows

Re: dell MIBs and OID question

2005-04-04 Thread Alex Burger
dil dila wrote: dear all, i have a situation here like having my Dell PowerEdge Server acting as a router by having 2 network card. FYI, i'm not the one who responsible for buying the server, and the cd is not at me.(maybe missing i thought, by misplace or something) so, i go to dell sites and down

Re: problem in snmpd(agent)

2005-04-04 Thread Alex Burger
Hi. I'm confused as to what you are trying to do. Is the following correct? -you have a server behind a firewall running snmpd. The server IP address is 10.10.10.134 -on your client on the other side of the firewall you run snmpget -c public -v 2c 10.10.10.134:161 system.sysUpTime.0 but you ge

Re: traphandler for v1 enterprise trap

2005-04-04 Thread Alex Burger
command. (B (BAlex (B (B (B> (B> I'm wondering if there is any neccesary configuration for (B> snmptrapd in addtion to snmptrapd.conf, compared with (B> catching SNMPv2 trap? (B> (B> Regards, (B> Tadashi (B> (B> (B> ---From Alex Burger <[EMAIL PRO

Re: Problem Compiling

2005-04-05 Thread Alex Burger
Miguel Gómez wrote: Hello, It's me, again. The thing is that when I run: ./configure --with-perl-modules And then: make Everything works fine!!! , but I'm not really sure if I need the perl support un modules, or if I need to have it embedded. What I want to do is: Once I've received the "trap", ho

Re: Problem Compiling

2005-04-06 Thread Alex Burger
(I moved this from snmptt-users to net-snmp-users) Miguel Gómez wrote: You are right, Dave. Traps are done to report changes in variables we are interested in. But, how could I do to send a trap periodically no matter its value changes or not? I have to monitor values like CPU load and send traps w

Re: Support.

2005-04-06 Thread Alex Burger
Hi. Fady Naffah wrote: Dear sirs, I'm an engineering student in the Lebanese University, doing my Diploma project using your snmptrapd tool to log translated snmp directly to another program in a special format. I want to ask if you could point me to the variables used in the logging facility. ie,

Re: MY-MIB problem!!!!!!!!!!!!!!

2005-04-07 Thread Alex Burger
Jonathan Halpern wrote: the first line is : MIB DEFINITIONS ::= BEGIN It should be changed to: MY-MIB DEFINITIONS ::= BEGIN Alex >On Wed, 06 Apr 2005 20:12:15 + Jonathan wrote: >JH> so i have created MY-MIB , i have pasted it in >JH> /usr/local/share/snmtp/mibs... >JH> and i have added the mi

Re: [Snmptt-users] Re: Problem Compiling

2005-04-11 Thread Alex Burger
Hi Miguel. Miguel Gómez wrote: I created this line in my NOTIFICATION-PROPIO-MIB.txt (I really cared that this file were loaded when agent started): exim4queue OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "Número de mensajes en la

Re: Configuring Windows agent

2005-04-13 Thread Alex Burger
Matthews, Lloyd (Mission Systems) wrote: I am using the latest Net-SNMP pre-built Windows executable. How do I configure the Windows Net-SNMP Agent (for example, setting the RW and RO users and communities)? I couldn't find anything about this in the documentation. Changing the \Net-SNMP\etc\sn

Re: snmpd and community issue

2005-04-15 Thread Alex Burger
Sasikumar Bodathula wrote: Hi, What i want to say is when i do get on the sysDescr with the community name empty or wrong name (This name is not present in the snmpd.conf) snmpd is responding for this get request with correct value. Please correct me if i am wrong i thought that if any request co

Re: NET-SNMP 5.2.1 make error.

2005-04-15 Thread Alex Burger
Hi Glenn. Andrews, Glenn J (Glenn) wrote: After quite awhile... At the very end.. cc: default_store.o: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `../blib/arch/auto/NetSNMP/default_store/default_store.so' Current working directory /tmp/net-snmp-5.2.1/pe

Re: net-snmp-includes.h missing on Windows version

2005-04-22 Thread Alex Burger
[EMAIL PROTECTED] wrote: On Fri, 2005-04-22 at 10:28, [EMAIL PROTECTED] wrote: I've checked net-snmp-config.h (both Linux & Windows) but nothing about my net-snmp-includes.hI don't know why there isn't any net-snmp-includes.h on my net-snmp Windows repertory and I don't understand why should net-s

Re: Net-snmp winsock build errors on Cygwin

2005-04-26 Thread Alex Burger
Roberts, Allison R. wrote: Greetings, I am compiling the net-snmp 5.2.1 package on Cygwin under XP (sp2) and have run into errors due to winsock.h. I used the recommended win32 configure: sh configure --with-mib-modules="host agentx disman/event-mib examples/example" --with-out-mib-modules=host/h

Re: SNMP PROXY HELP!

2005-04-26 Thread Alex Burger
Rustagi, Sandeep (Sandeep) wrote: Hi All, Still not able to resove. Is there any examples available somewhere which I can see how to use proxy token words? They are full SNMP subagents in their own right. If i do snmpget/snmpwalk directly they give the response. There are examples in the snmpd.conf

Re: Newbie - MIB Building

2005-04-26 Thread Alex Burger
Hi. [EMAIL PROTECTED] wrote: Hello everyone, I'm a new member of this mailing list and I write from Italy. I'm learning SNMP and right now I'm trying to add a variable to an existing MIB. I've been told that this is impossible unless I use an extensible agent that supports sub-agents and this is

Re: traphandle not execute the good job

2005-05-04 Thread Alex Burger
Hi Nicolas. Nicolas Schubhan wrote: Hello, this is my snmptrapd.conf file : traphandle .1.3.6.1.4.1.17962.5.1 /bin/touch /reussi traphandle .1.3.6.1.4.1.17962 /bin/touch /zdn traphandle default /bin/touch /rater this is my log file : 2005-05-04 18:18:07 NET-SNMP version 5.2.1 Started. 2005

Re: perl setup

2005-05-04 Thread Alex Burger
Dwight A wrote: Hello, Forgive me if this is in the wrong location.. I'm incredibly green. anyways i am attempting to setup a system to use the snmp functions of perl. i have installed perl and net-snmp along with basic perl libraries, the Net::SNMP and SNMP_Session libraries The Net::SNMP Perl

Re: snmptrapd v2c and v3 no output

2005-05-09 Thread Alex Burger
Colliton, Terry (Terry)** CTR ** wrote: I am interested in using snmptrapd just to print received traps for development work, I installed net-snmp 5.2.1 on Win2K Pro. At a DOS command line I run "snmptrapd -Lo" in order to monitor incoming LINK UP/DOWN traps. When the agent sends v1 traps, they

Re: multiple box stats (mrtg) OK - but win32 ??

2005-05-10 Thread Alex Burger
[EMAIL PROTECTED] wrote: Now I recently installed the net-snmp win32 build on a Win2003 server (installed snmpd as a service) so I can use snmpget and mrtg from a linux box to get info from the win32 box. But I can't seem to get any cpu information from this box?? Nor much of anything else useful?

Re: multiple box stats (mrtg) OK - but win32 ??

2005-05-11 Thread Alex Burger
Hi Mark [EMAIL PROTECTED] wrote: Beantwoorden Alex Burger <[EMAIL PROTECTED]>: The host resources mib has not been implemented for Net-SNMP on Windows yet. Your best bet is to use the built-in Windows SNMP agent for querying this information. Can I use the net-snmp tools like snmp-get (i

Re: current time

2005-05-13 Thread Alex Burger
> Dear all: > I want to know current time of the snmpd agent at any moment. Is there a > mib like sysUpTime.0 to let me know. You could use the pass command to call an external script (see man snmpd.conf). For example: snmpd.conf: pass.1.3.6.1.4.1.2021.255 /tmp/passtime /tmp/passtime

Re: snmptrapd v2c and v3 no output

2005-05-13 Thread Alex Burger
Hi Terry. Colliton, Terry (Terry)** CTR ** wrote: Attached is an Ethereal saved file that contains some of the v2c traps received that the snmptrapd had the error on. Using the packet you sent me I was able to reproduce the error and I finally figured out why you are getting the 'Cannot find Trap

Re: SNMPUSM User information lost upon restart.

2005-05-16 Thread Alex Burger
Hi Jayson. Jayson Robinson wrote: Okay folx, I'm sure this has already been answered but I am having a hard time finding any information on it.I just built v5.2.1 with a persistent file of /var/net-snmp/snmpd.conf but have tried this on both 5.2.1 and on 5.1.2. I put an initial createuser

Re: snmptrapd v2c and v3 no output

2005-05-17 Thread Alex Burger
Dave Shield wrote: On Fri, 2005-05-13 at 23:05, Alex Burger wrote: Net-SNMP could be change to allow either snmpTrapOID or snmpTrapOID.0, but I'm not sure if that is something that should be done. NO!! It Most Definitely Should Not! It trust that answers the question to your satisfaction,

Re: Win 32 build failed for 5.1.2

2005-06-27 Thread Alex Burger
Did you register the SDK after installing it via the Start menu? Alex Srinivasan Kandalam wrote: Downloaded the 5.1.2 sources on Windows. Followed the instructions and initiated the build script it failed with the following reason. Have platform SDK installed. The output from make.out enclos

Re: Snmpget in net-snmp 5.2.1 hangs on windows 2003

2005-07-26 Thread Alex Burger
Hi Jim. Mohr James wrote: In order to record performance data, we have a construct that looks like this: - Nagios starts an NRPE job on another machine which starts a perl script on a Windows 2003 machine - the perl script uses the snmpget command from net-snmp 5.2.1 to read a single value from

Re: pass-throught problem in Windows

2005-07-29 Thread Alex Burger
Hi. > I'm using the Windows's distribution (V 5.1.3-1). > > I'm trying to use the pass feature for executing an executable (a BAT) but > it seems is not working. The pass and pass_persist commands are not currently working under Windows in the released versions of Net-SNMP. Net-SNMP 5.3 will add

Re: pass-throught problem in Windows

2005-08-01 Thread Alex Burger
Legido Martínez wrote: Thanks for the answer. I guess it has nothing to do if I am using Cygwin, isn't it? If you compiled Net-SNMP under Cygwin, then it should work. If you are using the binary from the web site while using Cygwin, then it will not work as the binary is compiled with MSVC.

net-snmp-users@lists.sourceforge.net

2005-08-04 Thread Alex Burger
Mark Gonzalez wrote: I am getting this error when I try to run a script. Does anyone know how this can be resolved? I have Net::SNMP installed and am using net-snmp-5.2.1.2. Sample script below. Net-SNMP has a Perl module which is called 'SNMP'. The Perl module you are using (Net::SNMP) ha

Re: snmptrapd.conf i win32 installation ?

2005-08-08 Thread Alex Burger
Hi Thomas. Thomas Elsgaard wrote: I have moved from using net-snmp on linux to windows, but i am missing the snpmtrapd.conf file ? I would really like to be able to execute a script when receiving a trap, like in the linux version. You need to create an snmptrapd.conf file. If you installed

net-snmp-users@lists.sourceforge.net

2005-08-09 Thread Alex Burger
Hi Mark. Mark Gonzalez wrote: I am getting this error when I try to run a script. Does anyone know how this can be resolved? I didn't look at the sample code before replying last time. As soon as you mentioned Net::SNMP, I assumed you were using the wrong package (thanks Thomas).. I think

Re: compile error with cygwin on net-snmp 5.1.3.1

2005-08-12 Thread Alex Burger
Hi. taner memet ali wrote: 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: ***

Re: Does net-snmp support wildcard(*) for subtree family.

2005-08-15 Thread Alex Burger
> On Mon, 15 Aug 2005 16:36:37 +0530 Anuradha wrote: > AB> I would like to know if net-snmp 5.1 supports wildcard while > specifying > AB> subtree family. > > Yes, see the snmpd.conf man page on the view token, paying attention to > the > mask description. I defined a proxy in snmpd.conf using: p

Re: Does net-snmp support wildcard(*) for subtree family.

2005-08-15 Thread Alex Burger
> On Mon, 2005-08-15 at 11:49 -0400, Alex Burger wrote: >> However, if I defined the proxy using: >> >> proxy -v 1 -c public localhost:1161 .1.3.6.1.2.1.1 >> >> I would get the sysDescr from Net-SNMP instead of the MS agent. > > That's probably becau

Re: Installer enables agent though I tried to disable agent (5.2.1.2-1.win32)

2005-08-18 Thread Alex Burger
> When executing the installer for 5.2.1.2-1, I unchecked the 2nd and 3rd > options intending to disable installation (or at least starting) of the > snmp agent and the trap receiver. However, the agent and trap receiver > were installed and started anyway. Is this intentional, or did I > misunde

Re: can anyone answer this?

2005-08-18 Thread Alex Burger
Mark Gonzalez wrote: error: set: unknown object ID at /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/SNMP.pm line 600. error:snmp_translate_obj:Unknown OID system.sysDescr Can you provide some Perl code that produces that error? Alex -

Re: can anyone answer this?

2005-08-18 Thread Alex Burger
7;v', $INTSTATUS, $INDEX); ## if Version is 12.0(7)XR2 Use the SNMP Value if (substr($VERINFO[1],1,18) eq $VERSION) { $VALUE=$results[$z+1]/1; } elsif ((substr($VERINFO[1],1,18) eq $VERSION1) || (substr($VERINFO[1],1,18) eq $VERSION2)) if Version 12.1(2o

Re: SNMP.pm status

2005-08-22 Thread Alex Burger
Hi Stuart. Stuart Kendrick wrote: hi, what's the status of the perl module bundled with net-snmp? what are the chances that one of the current net-snmp developers will have time to address current bugs? is joe marzot out of the picture? [i've poked around a bit, looking for him ... i don'

Re: SNMP.pm status

2005-08-23 Thread Alex Burger
Stuart Kendrick wrote: however, i'm increasing finding it difficult to code around the bugs in SNMP.pm. https://sourceforge.net/tracker/index.php?func=detail&aid=1206712&group_id=12694&atid=112694 I have attached a patch to the bug: [ 1206712 ] Perl getnext doesn't honor explicit reference t

Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread Alex Burger
Don Cohen wrote: Andre wrote: Here's a demo of the problem. I enter these commands: snmptrapd snmptrap -v 1 -c private 10.0.0.1 TRAP-TEST-MIB::asante 10.0.0.1 6 117 '' SNMPv2-MIB::sysLocation.0 s $'XXX' .1.2.3.4 i 1234 snmptrap -v 1 -c private 10.0.0.1 TRAP-TEST-MIB::asante 10.0.0.1 6 117

Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread Alex Burger
Don Cohen wrote: Alex Burger writes: > Don Cohen wrote: > > Andre wrote: > > Here's a demo of the problem. I enter these commands: > > snmptrapd > > snmptrap -v 1 -c private 10.0.0.1 TRAP-TEST-MIB::asante 10.0.0.1 6 > > 117 '' SN

Re: snmptrapd - avoiding ambiguity in log files

2005-09-07 Thread Alex Burger
Don Cohen wrote: > > I'm really not talking about the input to the shell but the input > > to snmptrapd. In one case it got a string and in the other case a > > string and an integer. It could tell the difference. But the > > distinction was lost in the output it generated. > > Ok, now

Re: snmptrapd - avoiding ambiguity in log files

2005-09-08 Thread Alex Burger
> > Can you do a proper install of 5.1.3.1 instead of running from your > home > > directory? > I'm using RH8 which comes with 5.0.9 installed. I don't have an easy > way to reinstall it if I install over it. > But in fact, if I just make install then I don't install over it, but > install somew

Re: Please help: Unresolved getdtablesize while building snmpd.exe with MS .Net (MSVC7.1)

2005-09-13 Thread Alex Burger
Donghai Ma wrote: Dear List, I am following the instructions from README.win32 to build net-snmp 5.1.3.1 with MSVC 7.1 (MS Development Environment 2003). I am building from the Workspace files. So far I am able to build all the libraries and application executables except f

Re: net-snmp toolkit

2005-09-15 Thread Alex Burger
P.Taylor wrote: I may be just a simpleton, but could someone please provide me with the link to the net-snmp toolkit. I can not seem to find it. If you want the toolkit section of the tutorial, then it's: http://www.net-snmp.org/tutorial/tutorial-5/ If you want the net-snmp source and binari

Re: how to enable V3 support in net-snmp binary install?

2005-09-26 Thread Alex Burger
shahram amini-didani wrote: I have installed the binaries net-snmp-5.1.3-1.win32.exe and want to send v3 authPriv getnext to my agent. I am getting USM support not enabled error. Is there a way to enable encryption in binary install, or I have to compile the source with open SSL? C:\>snmpge

Windows binaries for 5.2.2.pre1 with SSL

2005-09-26 Thread Alex Burger
Two Windows binaries for 5.2.2.pre1 have been added to the download page. One is a regular binary and the other is linked to OpenSSL 0.9.8 which will enable the privacy / encryption options for SNMP v3. A 'Development files' option has been added to the installer which will install the header

Re: does net-snmp integrate well with Compaq Insight Manager?

2005-10-08 Thread Alex Burger
Hi Bruce. Bruce Shaw wrote: How do you set it up with net-snmp acting as the agent? If you are referring to a Windows machine, read the (new) section 'Co-existence with Microsoft SNMP services' in README.win32 for instructions on running both Net-SNMP and the MS agent at the same time. A

  1   2   >