COMMUNITY auth

2006-05-23 Thread FCG Ruan XiaoXing
Title: COMMUNITY auth Hello All, Here I have a problm. How to implement COMMUNITY authentication in AGENT by using  UCD-SNMP 4.2.6? can any experts give a guide OR some sample code for reference? Thanks.

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

2006-05-23 Thread Thomas Anders
Alfonso Cornejo wrote: I'm trying to get the amount of memory that is used in a windows system using the c++ netsnmp api, I've tried several things but nothing seems to work...my last resort is to perform an snmpwalk like this one "snmpwalk -v 2c -c public 192.168.1.2 .1.3.6.1.2.1.25.5.1.1.2" i

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

2006-05-23 Thread Alfonso Cornejo
Hi everyone. I'm trying to get the amount of memory that is used in a windows system using the c++ netsnmp api, I've tried several things but nothing seems to work...my last resort is to perform an snmpwalk like this one "snmpwalk -v 2c -c public 192.168.1.2 .1.3.6.1.2.1.25.5.1.1.2" in order to ge

Re: is there a way to get memory and cpu usage in win32 ??

2006-05-23 Thread Thomas Anders
Alfonso Cornejo wrote: I did what you told me (C:\usr>snmpwalk -v 2c -c public 192.168.1.2 .1) and I got alot of objects but I wasn´t able to see one for memory usage o cpu usage or at least free memory, I also did this: "C:\usr>snmpwalk -v 2c -c public 192.168.1.2 .1.3.6.1.4.1.2021.4.11.0" and

snmpd doesn't give me the cpu load

2006-05-23 Thread enediel gonzalez
Hello I installed snmpd on my debian. the file /etc/snmp/snmpd.conf contains only the following line rocommunity public from a remote computer I can get #/usr/bin/snmpwalk -t 1 -r 9 -m ALL -v 1 -c public 192.168.0.249 1.3.6.1.2.1.25.3.3.1.1 HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SN

Net-SNMP configure script

2006-05-23 Thread Nicholas C. Ipri
I am trying to run ./configure and am getting the following... I am trying to cross-compile net-snmp for an embedded platform (Altera Nios2) The compiler is nios2-elf-gcc. I am a newbe at Net-SNMP Thanks in advance   [EMAIL PROTECTED]>./configure checking what to build and install... agent

Re: snmpd doesn't give me the cpu load

2006-05-23 Thread enediel gonzalez
From: "Catherina V. Epifanova" <[EMAIL PROTECTED]> To: net-snmp-users@lists.sourceforge.net Subject: Re: snmpd doesn't give me the cpu load Date: Tue, 23 May 2006 22:50:23 +0400 Hello, Are you sure what you must use 1.3.6.1.2.1.25.3.3.1.2? I think you need some thing 1.3.6.1.4.1.2021.10.1.3 $

net-snmp issue on Mac OS X

2006-05-23 Thread Yuvaraj D
  Hi all, I am facing a problem with net-snmp on Mac OS 10.3.9 (basically panther systems). I am building a product as universal binary which should work on both Power-PC macs and as well as Intel based macs. In doing so i should manage some build settings in the project accordingly. I'm using

net-snmp issue on Mac OS X

2006-05-23 Thread Yuvaraj D
  Hi all, I am facing a problem with net-snmp on Mac OS 10.3.9 (basically panther systems). I am building a product as universal binary which should work on both Power-PC macs and as well as Intel based macs. In doing so i should manage some build settings in the project accordingly. I'm usi

net-snmp issue on Mac OS X

2006-05-23 Thread Yuvaraj D
  Hi all, I am facing a problem with net-snmp on Mac OS 10.3.9 (basically panther systems). I am building a product as universal binary which should work on both Power-PC macs and as well as Intel based macs. In doing so i should manage some build settings in the project accordingly. I'm us

Re: snmpd doesn't give me the cpu load

2006-05-23 Thread Catherina V. Epifanova
Hello, Are you sure what you must use 1.3.6.1.2.1.25.3.3.1.2? I think you need some thing 1.3.6.1.4.1.2021.10.1.3 $ snmpwalk -c public -v 2c localhost 1.3.6.1.4.1.2021.10.1.3 UCD-SNMP-MIB::laLoad.1 = STRING: 0.21 UCD-SNMP-MIB::laLoad.2 = STRING: 0.52 UCD-SNMP-MIB::laLoad.3 = STRING: 0.60 On Tue

is there a way to get memory and cpu usage in win32 ??

2006-05-23 Thread Alfonso Cornejo
Thank's Thomas and all of u guys!   I did what you told me (C:\usr>snmpwalk -v 2c -c public 192.168.1.2 .1) and I got alot of objects but I wasn´t able to see one for memory usage o cpu usage or at least free memory, I also did this: "C:\usr>snmpwalk -v 2c -c public 192.168.1.2 .1.3.6.1.4.1.2021

RE: Row createtion not working (TARGET-MIB, NOTIFICATION-MIB)

2006-05-23 Thread Makavy, Erez (Erez)
Never mind, it's working now. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erez MakavySent: Thursday, May 18, 2006 9:17 PMTo: net-snmp-usersSubject: Row createtion not working (TARGET-MIB, NOTIFICATION-MIB) Hi,   Could it be that row-creation (create&wait) is not workin

Re: Problem with linkUpDownNotifications

2006-05-23 Thread Ba Duy Man Le
Okie, it works after upgrade to 5.3.1.pre2. Thanks Thomas. However, the trap is sent a bit late (after 30 secs). Also, can anyone explain this for me: agentSecName internal rouser internalWhy do we choose internal as name here? Can choose anything else? Thanks again. Thomas Anders <[EMAIL P

Re: how to get memory, cpu usage with net snmp

2006-05-23 Thread Thomas Anders
Alfonso Cornejo wrote: I'm trying to get the memory and cpu usage from a windows system using net-snmp and I know that there is a mib called UCD-SNMP-MIB but when I try to get the information from that mib i got the message "Error in packet Reason: (noSuchName) There is no such variable name in

how to get memory, cpu usage with net snmp

2006-05-23 Thread Alfonso Cornejo
Hi everyone.   I'm trying to get the memory and cpu usage from a windows system using net-snmp and I know that there is a mib called UCD-SNMP-MIB but when I try to get the information from that mib i got the message "Error in packet Reason: (noSuchName) There is no such variable name in this MIB"

just testing my E-mail server, please ignore.

2006-05-23 Thread Makavy, Erez (Erez)
 

Re: some doc on forwarding snmptrap using snmptrapd

2006-05-23 Thread Thomas Anders
Priya Krishnan wrote: I am looking for some usage/man pages on how to use (configure) the *snmptrapd* to forward the notification to another notification receiver and/or run a script. I did not find this information on your website See the "forward" directive at the end of http://www.net-sn

Re: snmpset is not working !

2006-05-23 Thread Thomas Anders
ashwini pavithra harish wrote: Error in packet Reason: notWritable (that object does not support modification) " the above error message is displayed when snmpset command is given for read-write object... http://www.net-snmp.org/docs/FAQ.html#I_cannot_set_any_variables_in_the_MIB_ +Thomas -

Re: Trap source IP

2006-05-23 Thread Thomas Anders
[EMAIL PROTECTED] wrote: Looks like the directive clientaddr is not working to set the trap source IP in 5.3 netsnmp release. Can somebody tell me if they have this working at all? It's supposed to be working. Are you aware that this is a snmp.conf (not snmpd.conf) directive? If you put it in

Re: Problem with linkUpDownNotifications

2006-05-23 Thread Thomas Anders
Ba Duy Man Le wrote: I am using Net-snmp on Fedora core 4. I could not enable the it to send trap whenever the ethernet link up/down. - Net-SNMP version: 5.3.0.1, configure with disman module Before anything else, either apply the official patches from http://www.net-snmp.org/official_patches

gettable method broken or limited ?

2006-05-23 Thread Fitzgerald, Peter N
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(SN

net-snmp issue on Mac OS X

2006-05-23 Thread Yuvaraj D
Hi all,   I am facing a problem with net-snmp on Mac OS 10.3.9 (basically panther systems).   I am building a product as universal binary which should work on both Power-PC macs and as well as Intel based macs. In doing so i should manage some build settings in the project accordingly.  

some doc on forwarding snmptrap using snmptrapd

2006-05-23 Thread Priya Krishnan
Hi I am looking for some usage/man pages on how to use (configure) the *snmptrapd* to forward the notification to another notification receiver and/or run a script. I did not find this information on your website I sincerely appreciate it thanking you Priya

snmpset is not working !

2006-05-23 Thread ashwini pavithra harish
hi all, When i give the command snmpset to read-write object then it displays the following error as output of the snmpset command " Error in packet Reason: notWritable (that object does not support modification) " the above error message is displayed when snmpset command is given for read-write o

Trap source IP

2006-05-23 Thread niknav
Hi, Looks like the directive clientaddr is not working to set the trap source IP in 5.3 netsnmp release. Can somebody tell me if they have this working at all? Thanks.

Problem with linkUpDownNotifications

2006-05-23 Thread Ba Duy Man Le
Hi everyone, I am using Net-snmp on Fedora core 4. I could not enable the it to send trap whenever the ethernet link up/down. - Net-SNMP version: 5.3.0.1, configure with disman module - Part of my snmpd.conf looks like: ###