Unknown token on snmp.conf

2006-05-24 Thread Javier Chico
Hello, I've implemented a standalone agent and I want configure it to listen on a specific port. The main() of my code looks like this: init_snmp("tid-pgm"); init_master_agent(); I've created a tid-pgm.conf on $NETSNMP_INSTALLATION/share/snmp with this line: defaultPort 3020 And finally, here

RE: how to perform an snmpwalk in the c++ api??

2006-05-24 Thread Makavy, Erez (Erez)
Hey,   What C++ API? I didn't know there was one.   Erez. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alfonso CornejoSent: Wednesday, May 24, 2006 12:40 AMTo: net-snmp-users@lists.sourceforge.netSubject: how to perform an snmpwalk in the c++ api?? Hi everyone. I'm try

C Code using SNMP_MSG_GET to 'walk' OIDs

2006-05-24 Thread McCAWLEY Gregory C
Title: Message Hi I'm an snmp-net newbie. I have snmp-net working on a Linux Server, that works perfectly.I need to create some C code to walk some OIDs.   Specifically I want to recover the MAC addresses off Cisco 2900 Switches using OIDs: .1.3.6.1.2.1.17.4.3.1.1 (d

Re: Unknown token on snmp.conf

2006-05-24 Thread Ba Duy Man Le
The problem could be another agente process is running. Try ps -qa|grep agente ,kill that process and run again.Javier Chico <[EMAIL PROTECTED]> wrote: Hello,I've implemented a standalone agent and I want configure it to listen ona specific port. The main() of my code looks like this:init_snmp("

SNMP Configuration

2006-05-24 Thread Alfonso Neira
Title: SNMP Configuration Hi!! I have a problem trying to use the snmp service. When a I try to execute the following command: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 -c Public xxx.xxx.xxx.xxx161  .1.3.6.1.4.1.311.1.1.3.1.1.1.29.0 I received the following output Timeout: No Response f

What does the --with-copy-persistent-files option do?

2006-05-24 Thread Makavy, Erez (Erez)
The manual says:   --with-copy-persistent-files=\"no\" Don't copy persistent files   (or use \"yes\" to copy them).   (Default: yes)   Copy the files to where? from where? when?   Thanks, Erez Makavy  

RE: SNMP Configuration

2006-05-24 Thread DESETech - German P. Santillan
Title: SNMP Configuration   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Alfonso Neira Sent: Wednesday, May 24, 2006 3:13 PM To: net-snmp-users@lists.sourceforge.net Subject: SNMP Configuration   Hi!! I have a problem trying to use the snmp service. W

gettable method broken or limited ?

2006-05-24 Thread Peter Fitzgerald
I have been trying to get the gettable method working with no success (sort of). I am trying to get at a table in the Cisco class based qos mib using gettable with no success. All I get is the following error… C:\Perl>perl testthis.pl Cannot find module: At line 1 in (none) STORE(SNMP::MI

key generation problem

2006-05-24 Thread somenath.pal
I am working on VC++.Here generate_Ku is working fine for generation of authentication key but fails for privacy key..I have included the libeay32.lib in my libraries.Please help as I am stuck with this for more than 2 weeks... The code for my program is given below. session.versi

how to get cpu information from a windows system??

2006-05-24 Thread Alfonso Cornejo
Hi to all. I'm trying to get some information about the cpu on a computer that has windows xp but i'm not able to find one mib that can give that info 'cause the ucd-snmp works only in linux. I'm using the c++ api, maybe there is an oid that can give me the cpu usage os something like that, if som