Question on SNMP configuration of VLAN on a CISCO Catalyst Switch

2009-08-20 Thread Piletti Chiara
Hello, I'm working on the configuration of a CISCO CATALYST 3550 switch through SNMP and I have to perform these 3 steps: 1. CREATE VLAN 2. ASSIGN AN IP ADDRESS TO THE SVI RELATED TO THE VLAN JUST CREATED 3. ADD THIS VLAN AMONG THOSE ALLOWED ON THE SWITCH PORTS IN TRUNK I was able to perform

question about '-c configfile' option of snmpd

2009-08-20 Thread Asano Yasushi
Hello, We have a question about snmpd(NET-SNMP version 5.4.2). When we execute snmpd, it searches the configuration file from /etc/snmp automatically even if we do not use -c option. If we execute snmpd usimg -c option as follows, /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd -a -c

Need username /password for ftp

2009-08-20 Thread Nandini Saikia (nsaikia)
Hi All, I am a new user to NET-SNMP. Please let me know where I can download net-SNMP for windows and how do I install it. Also I got a ftp site to download net-SNMP, please let me know what is the username/password to login. Thanks, Nandini

Re: Question on SNMP configuration of VLAN on a CISCO Catalyst Switch

2009-08-20 Thread Dave Shield
2009/8/20 Piletti Chiara c.pile...@reply.it: I'm working on the configuration of a CISCO CATALYST 3550 switch through SNMP and I have to perform these 3 steps: 1. CREATE VLAN 2. ASSIGN AN IP ADDRESS TO THE SVI RELATED TO THE VLAN JUST CREATED 3. ADD THIS VLAN AMONG THOSE ALLOWED ON THE

Re: question about '-c configfile' option of snmpd

2009-08-20 Thread Dave Shield
2009/8/20 Asano Yasushi yasushi.as...@jp.fujitsu.com: When we execute snmpd, it searches the configuration file from /etc/snmp automatically That is correct. There is a built-in path to search for configuration files. even if we do not use -c option. The '-c' option is used to *add*

Re: Need username /password for ftp

2009-08-20 Thread Dave Shield
2009/8/20 Nandini Saikia (nsaikia) nsai...@cisco.com: Please let me know where I can download net-SNMP for windows and how do I install it. This is available from the project website http://www.net-snmp.org/download.html Click the link binaries (next to 5.4.2.1), and retrieve the file

Re: How to install snmptrapd?

2009-08-20 Thread Dave Shield
2009/8/20 Sahoo, Manas R (GE Infra, Energy) manasr.sa...@ge.com: I have installed net-snmp 5.4.21.in linux PC. I am bale to get all the executables except snmptrapd. The snmptrapd command is not found. If there were errors during the build of snmptrapd, then it's not really surprising if the

How to install snmptrapd?

2009-08-20 Thread Sahoo, Manas R (GE Infra, Energy)
All, I have installed net-snmp 5.4.21.in linux PC. I am bale to get all the executables except snmptrapd. The snmptrapd command is not found. Also while using the snmptrapd_add_seesion function, build errors are coming. Please help!.. Regards, Manas Manas Ranjan Sahoo GE Energy T

purpose of timeout/retry values for SNMP trap

2009-08-20 Thread srenivasan rs
Hi All, I would like to have clarification on timeout and retry values supported by snmptrap. For normal SNMP requests, we need to use retry and timeout to get the results from device. What is the purpose for these parameters for trap since trap is an unsolicited message to manager. and

Re: Specifying Multiple directories for SNMPGet

2009-08-20 Thread Dave Shield
2009/8/20 Sowmya P Venkatesh svenkat...@ixiacom.com: In snmpget we have an option –M. All my mibs are stored in 2 custom folders - c:\Folder1 and c:\Folder2. Now can you pleae give an example of how to use these 2 directories in snmpget command From the snmpcmd(1) man page: -M

Specifying Multiple directories for SNMPGet

2009-08-20 Thread Sowmya P Venkatesh
Hi Dave, In snmpget we have an option -M. All my mibs are stored in 2 custom folders - c:\Folder1 and c:\Folder2. Now can you pleae give an example of how to use these 2 directories in snmpget command Regards, Sowmya P Venkatesh Test Conductor -

Re: purpose of timeout/retry values for SNMP trap

2009-08-20 Thread Dave Shield
2009/8/20 srenivasan rs ssrenivas...@gmail.com:  I would like to have clarification on timeout and retry values supported by snmptrap What is the purpose for these parameters for trap ? The command snmptrap can be used to send both unacknowleged traps, and acknowleged inform

Re: engineIDType = ENGINEID_TYPE_NETSNMP_RND

2009-08-20 Thread sanjaykumar
Hi Dave, Actually I am getting wrong engine TIME in wireshark capture I am reading the engine Time using the function snmpv3_local_snmpEngineTime() While I was debugging the code I had the some doubt, It might be engineType which affecting it. What could be the reason of wrong

Traps from Windows 7 and Vista

2009-08-20 Thread niepa inter
Hello, I was wondering if anyone has an idea on the type of traps sent by both Windows 7 and/or Vista during Add Printer Wizard under TCP/IP printers. I have been using Wireshark for the capture of the traps but I have realized that Wireshark do not capture traps(unless I have a wrong setting).

RE: Setting objects of type InetAddressType and InetAddress

2009-08-20 Thread Mike Ayers
From: chandan [mailto:chandan.b...@globaledgesoft.com] Sent: Tuesday, August 11, 2009 4:10 AM Consider the following MIB objects: pktcEUEDevOpSTUNAddrType OBJECT-TYPE SYNTAX InetAddressType MAX-ACCESS read-create STATUS current DESCRIPTION This

Re: engineIDType = ENGINEID_TYPE_NETSNMP_RND

2009-08-20 Thread Wes Hardaker
On Thu, 20 Aug 2009 20:50:11 +0530, sanjaykumar sanjay.ku...@globaledgesoft.com said: s Actually I am getting wrong engine TIME in wireshark capture s I am reading the engine Time using the function s snmpv3_local_snmpEngineTime() s While I was debugging the code I had the some doubt, It

Re: problem in subagent

2009-08-20 Thread Wes Hardaker
On Wed, 19 Aug 2009 15:14:27 +0530, Darshan Ghumare darshan.ghum...@gmail.com said: DG I have created subagent using DG $*net-snmp-config --compile-subagent mysubagent nstAgentSubagentObject.c* DG $./mysubagent DG mysubagent: symbol lookup error: /usr/lib/libnetsnmpagent.so.15: DG undefined

Re: CPU consumption

2009-08-20 Thread Wes Hardaker
On Wed, 19 Aug 2009 14:16:35 +0300, Marwan Khoury marwan.kho...@jinny.ie said: MK It is a MIB that I have defined. How can I add caching to the MK table? What type of code did you use to code the mib instrumentation? -- Wes Hardaker Cobham Analytic Solutions

Re: snmpd[7495]: couldn\'t map value 248 for ipAddressAddrType

2009-08-20 Thread Wes Hardaker
On Tue, 18 Aug 2009 12:41:54 +0530, bheemesh v bheem...@gmail.com said: bv I am using net-snmp 5.3.1, and is there a correction for this in any new bv version of net-snmp? I believe there were some corrections to that code in the 5.4 tree. Can you try and that and see before anyone dives

Re: ask snmptrap

2009-08-20 Thread Wes Hardaker
On Fri, 14 Aug 2009 15:22:16 -0700 (PDT), niepa inter yanni...@yahoo.com said: ni 0048: 03 00 04 0A 6D 79 75 73 65 72 6E 61 6D 65 04 00myusername.. ... ni snmpwalk: Unknown user name The remote agent hasn't been configured to accept the myusername user. -- Wes Hardaker Cobham

Re: ask snmptrap

2009-08-20 Thread Wes Hardaker
On Tue, 18 Aug 2009 09:45:37 +0700, haries fajar nugroho harie...@gmail.com said: hfn For example how do i do snmptrap on my linux machine is : snmptrap hfn -v1 -c public 192.168.4.1 .1.3.6.1.2.1.25.2.3.1.5.1 localhost 6 1 '' hfn . Is it the right parameter to trap the storage size of my

FW: Problems installing net-snmp

2009-08-20 Thread Ross, Brian
OK, I've worked out that the command /usr/local/sbin/snmpd /usr/local/share/snmp/snmpd.conf is NOT the command to start net-snmp. It should just be /usr/local/sbin/snmpd. Thanks to Dave Shield for confirming that. I have also worked out that you should not have quotes around the server name in