Re: Does "killall -HUP snmpd" unload dynamic module?

2009-06-04 Thread Magnus Fromreide
On Fri, 2009-06-05 at 11:53 +0800, Tewen Hsieh wrote: > Hi Dave and MF, Sorry - I am wrong, the > Thanks for your help. > > I have changed shoutdown_xxx to deinit_xxx, and it(deinit_xxx) seems to be > called when I send -HUP to snmpd to reload config file this time. > But there's a strange co

Re: Does "killall -HUP snmpd" unload dynamic module?

2009-06-04 Thread Tewen Hsieh
Hi Dave and MF, Thanks for your help. I have changed shoutdown_xxx to deinit_xxx, and it(deinit_xxx) seems to be called when I send -HUP to snmpd to reload config file this time. But there's a strange condition that deinit_xxx is called "twice" when I just send "one" -HUP to snmpd. (I add a pr

Re: Agent got stopped automatically

2009-06-04 Thread hareesh
Sorry. Mistakenly I have sent the wrong file. I am sending the actual file. Please have a look On Thu, Jun 4, 2009 at 12:01 PM, Dave Shield wrote: > 2009/6/4 hareesh : > > Now I am facing a new problem . I have installed the Net-SNMP 5.4.1.2 > agent. > > Not according to the log you posted. > Th

Agent got stopped automatically

2009-06-04 Thread hareesh
Hi Friend, Now I am facing a new problem . I have installed the Net-SNMP 5.4.1.2 agent. The agent is getting stopped automatically after sometime. I am attaching the snmpd.log with this mail. -- Regards, Hareesh V Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At

Re: Agent got stopped automatically

2009-06-04 Thread Dave Shield
2009/6/4 hareesh : > Now I am facing a new problem . I have installed the Net-SNMP 5.4.1.2 agent. Not according to the log you posted. This is running the (obsolete) version 5.1.2 Dave -- OpenSolaris 2009.06 is a cutting

Re: Reg: Net-SNMP Agent Installation with 'lmSensors'

2009-06-04 Thread hareesh
Hi Dave Shield, Now everything is fine. I installed the agent successfully. I am able to get the values of the LM-SENSORS MIB . Thanks for your support. On Thu, Jun 4, 2009 at 8:15 AM, Dave Shield wrote: > 2009/6/4 hareesh : > > But I am getting the following error: > > > > checking for sen

Re: Reg: Net-SNMP Agent Installation with 'lmSensors'

2009-06-04 Thread hareesh
Hi Dave Shield, Thanks for your reply. Previously I didn't install ''lm_sensors-devel' rpm Now I download and installed it. The version details is given below. *r...@rnd net-snmp-5.4.1.2]# rpm -qa | grep lm_sensors lm_sensors-2.8.7-2 lm_sensors-devel-2.8.7-2.40.3* After installing these rp

Re: IPV4/IPV6

2009-06-04 Thread Dave Shield
2009/6/4 prasanth : > snmpget -v 2c -c public 172.16.5.51 UCD-SNMP-MIB::versionConfigureOptions.0 > UCD-SNMP-MIB::versionConfigureOptions.0 = STRING: '--enable-ipv6' OK - try running configure using configure --enable-ipv6 --with-transports="TCPIPv6 UDPIPv6" and recompile. If that still does

Re:IPV4/IPV6

2009-06-04 Thread prasanth
Hi Dave, Ya i can query through UDPv4 and the output for which you have asked is snmpget -v 2c -c public 172.16.5.51 UCD-SNMP-MIB::versionConfigureOptions.0 UCD-SNMP-MIB::versionConfigureOptions.0 = STRING: '--enable-ipv6' With Regards Prasanth K S R >2009/6/3 prasanth : >

Re: Reg: Net-SNMP Agent Installation with 'lmSensors'

2009-06-04 Thread Dave Shield
2009/6/4 hareesh : > But I am getting the following error: > > checking for sensors support... checking sensors/sensors.h usability... no > checking sensors/sensors.h presence... no > checking for sensors/sensors.h... no > configure: error: asked to use lm_sensors but I couldn't find > sensors/sens

Re: Reg: Net-SNMP Agent Installation with 'lmSensors'

2009-06-04 Thread hareesh
Hi Friends, I downloaded the* Net-SNMP-5.4.1.2 *version and tried to compile it on my RHEL 4 machine as follows: *./configure --prefix=/usr/local/net-snmp --with-mib-modules="ucd-snmp/lmSensors" *But I am getting the following error:* checking for sensors support... checking sensors/sensors.