EngineID

2010-01-28 Thread sanjaykumar
Hi All, I have a doubt regarding the EngineID. As I have Ported the Net-SNMP-5.4.2.1 as a thread. Now as every time device reboot EngineID is Changing, Hence the engine Time reset to "zero[0]" and Engine Boot to "1". Does it correct that EngineID should also Change ? Or it should c

RE: HOST-RESOURCE::hrSWInstalledTable

2010-01-28 Thread Vivek Singh Bhadauria
Thanks Mike. My system shows these two host/hr_swrun, host/hr_swinst on executing the command shared by you. I think this is the issue with the Linux Gentoo system which has emerge not the RPM. I am getting the hrSWInstalledTable from other systems like Windows and red hat. Also, From my gent

RE: How to disable/enable SNMP V1 and V2 on the fly?

2010-01-28 Thread Chi . Guan
Dave: /usr/local/bin/snmpgetnext ... system SNMPv2-MIB::sysDescr.0 = STRING: QNX sotm 6.2.1 2003/05/17-02:28:40edt x86pc /usr/local/bin/snmpgetnext ... ucdavis ucdavis: Unknown Object Identifier (Sub-id not found: (top) -> ucdavis) I use the following line to configure in QNX: ./configure --enab

net-snmp compilation including perl module

2010-01-28 Thread Group
Hi, I 'm getting compilation issues, i couldnot proceed from here. Here are the steps which i ran: $ ./configure --with-perl-modules --with-openssl="/usr" $ make [Getting errors related to openssl package] ->Added -lcrypto to LDLOADLIBS as...LDLOADLIBS= -lcrypto in Makefiles present in perl/AS

Re: How to disable/enable SNMP V1 and V2 on the fly?

2010-01-28 Thread Dave Shield
2010/1/28 : > I don't think the UCD-SNMP-MIB is included in this agent, It's certainly part of a default build. You'd have to explicitly exclude it. > When I do > #/usr/local/bin/snmpget -u test-agent -l authPriv -a MD5 -A test_authkey -x > DES -X test_privkey 192.168.83.4 UCD-SNMP-MIB::versio

RE: HOST-RESOURCE::hrSWInstalledTable

2010-01-28 Thread Mike Ayers
> From: Vivek Singh Bhadauria [mailto:viv_...@yahoo.com] > Sent: Wednesday, January 27, 2010 10:58 PM > I want to get the list of installed software but hrSWInstalledTable is > empty when I run snmpwalk command. > > My question is: Who will fill the hrSWInstalledTable? > Its me or already impleme

Re: net-snmp compilation problem

2010-01-28 Thread Group
Thanks for your reply. I have already made an unsuccessful attempt with that also. May be, i have to repost regarding perl module. On Thu, Jan 28, 2010 at 8:50 AM, Bart Van Assche wrote: > On Thu, Jan 28, 2010 at 9:50 AM, Group wrote: > >> >> 2. Added -lcrypto to LDLOADLIBS >> as...LDLOADLIBS=

RE: How to disable/enable SNMP V1 and V2 on the fly?

2010-01-28 Thread Chi . Guan
I don't think the UCD-SNMP-MIB is included in this agent, When I do #/usr/local/bin/snmpget -u test-agent -l authPriv -a MD5 -A test_authkey -x DES -X test_privkey 192.168.83.4 UCD-SNMP-MIB::versionUpdateConfig.0 I got the following error UCD-SNMP-MIB::versionUpdateConfig.0 = No Such Object avai

snmptrapd seg faulting after forwarding v3 traps

2010-01-28 Thread flxman2
All, I've been having a problem with snmptrapd crashing after successfully logging and forwarding v3 traps. I have no problems with version 2 or 1. If I turn forwarding off, snmptrapd does not crash with v3 traps. My initial tests were run on net-snmp version 5.3.0.1. I found online a me

RE: How to disable/enable SNMP V1 and V2 on the fly?

2010-01-28 Thread Chi . Guan
Hi, Dave, I removed "rwcommunity public" from the /usr/local/share/snmp/snmpd.conf file and try to reload the config by setting the versionUpdateConfig to 1 # /usr/local/bin/snmpset -u test-agent -l authPriv -a MD5 -A test_authkey -x DES -X test_privkey 192.168.83.4 UCD-SNMP-MIB::versionUpdateCo

Re: Where are Net-SNMP generated traps documented?

2010-01-28 Thread Dave Shield
On 28 January 2010 16:31, Fulko Hew wrote: > But nsNotifyShutdown is defined as { netSnmpNotifications 2 } which works > out to be (in my books): > > ... netsnmp (8072).netSnmpNotificationPrefix(4).netSnmpNotifications(0) > > I never saw that trailing '.0'. > Am I missing something in my interpret

Re: Where are Net-SNMP generated traps documented?

2010-01-28 Thread Fulko Hew
On Thu, Jan 28, 2010 at 10:54 AM, Dave Shield wrote: > On 28 January 2010 15:41, Fulko Hew wrote: > > I expected to find a MIB file that defines all of the enterprise specific > > traps that net-snmp can source, but I don't. > > The Net-SNMP enterprise-specific traps are defined in the > NET-SNMP

Re: Where are Net-SNMP generated traps documented?

2010-01-28 Thread Dave Shield
On 28 January 2010 15:41, Fulko Hew wrote: > I expected to find a MIB file that defines all of the enterprise specific > traps that net-snmp can source, but I don't. The Net-SNMP enterprise-specific traps are defined in the NET-SNMP-AGENT-MIB. In particular, nsNotifyStart, nsNotifyShutdown and

Still seeing " too large for defined data type" w/5.5

2010-01-28 Thread Mike Wilson (Yahoo!)
I recently updated to 5.5 to try and resolve the "statvfs dev/disk: Value too large for defined data type" on giant filesystems (3T+). I compiled 5.5 under x86/sol10 and installed but still see the error. The change log suggests it was fixed: "- [PATCH 2449210]: add 64-bit disk usage statistics

Where are Net-SNMP generated traps documented?

2010-01-28 Thread Fulko Hew
I'm putting the finishing touches on trap to event translation rules for our NMS for our systems that use (agentX extended) Net-SNMP daemons. What I see (correctly) when we test our extensions and their ability to reconnect to the master daemon when the daemon is restarted is... The daemon sends

Re: net-snmp compilation problem

2010-01-28 Thread Bart Van Assche
On Thu, Jan 28, 2010 at 9:50 AM, Group wrote: > > 2. Added -lcrypto to LDLOADLIBS > as...LDLOADLIBS= -lcrypto > in Makefiles present in > perl/ASN/Makefile ; OID/Makefile ; SNMP/Makefile ; TrapReceiver/Makefile > agent/default_store/Makefile ; agent/Makefile ; default_store/Makefile > > The abov

About net-snmp agent.....

2010-01-28 Thread ganeshyellapu
Hi All, I am using NET-SNMP to create snmp agent on Windows XP. i installed net-snmp-5.5-x86.exe in my system (downloaded from http://net-snmp.sourceforge.net/download.html). I configured the agent using the below command "snmpconf -g basic_setup" as instructed in the FAQ section. While

About NET SNMP Agent ...

2010-01-28 Thread ganeshyellapu
Hi All, I am using NET-SNMP to create snmp agent on Windows XP. i installed net-snmp-5.5-x86.exe in my system (downloaded from http://net-snmp.sourceforge.net/download.html). I configured the agent using the below command "snmpconf -g basic_setup" as instructed in the FAQ section. While

Re: What these means: int majorID, int minorID, void *serverarg, void *clientarg

2010-01-28 Thread sanjaykumar
Thank U Dave -sanjay Dave Shield wrote: On 28 January 2010 06:45, sanjaykumar wrote:     I am not able to understand the meaning of following parameters. As there numerous function in net-snmp-5.4.2.1 having following parameter. Could someone explain the meaning of these

About NET SNMPAgent...

2010-01-28 Thread ganeshyellapu
Hi All, I am using NET-SNMP to create snmp agent on Windows XP. i installed net-snmp-5.5-x86.exe in my system (downloaded from http://net-snmp.sourceforge.net/download.html). I configured the agent using the below command "snmpconf -g basic_setup" as instructed in the FAQ section. While

Re: net-snmp compilation problem

2010-01-28 Thread Group
Hi, I'm coming up with the same problem as below if i include perl-modules. (i need perl module for mib2c) I tried in two different ways: 1. ran $ make clean $ ./configure --without-perl-modules --disable-embedded-perl --with-openssl="/usr" $ make [Getting same errors as earlier i.e related to op

Re: What these means: int majorID, int minorID, void *serverarg, void *clientarg

2010-01-28 Thread Dave Shield
On 28 January 2010 06:45, sanjaykumar wrote: >     I am not able to understand the meaning of following parameters. > As there numerous function in net-snmp-5.4.2.1 having following parameter. > Could someone explain the meaning of these parameters in DETAILS. > 1. int majorID > 2. int min

Re: How to disable/enable SNMP V1 and V2 on the fly?

2010-01-28 Thread Dave Shield
On 27 January 2010 17:23, wrote: > I have an agent running for all the SNMP versions. > > 1.  I want to disable/enable SNMP V1, V2 for the whole agent on the fly, The simplest way to do this is to remove any community-based access control settings. Either by editing the snmpd.conf file or