Re: help : why my snmpset can't work well?

2005-01-06 Thread hui gu
--- Robert Story <[EMAIL PROTECTED]> 的正文: > On Thu, 6 Jan 2005 08:49:50 +0800 (CST) hui wrote: > HG> But when it turn to snmpset > HG> command , It gives out "Time out: no response > from 192.168.0.123" > HG> I set the IP of this agent is 192.168.0.123. > and user > HG> snmp v=2c; > > Do

Re: 5.2 snmpd memory leak on freebsd?

2005-01-06 Thread John Sellens
On Thu, 6 Jan 2005 13:11:26 -0500 (EST) Robert wrote: | On Thu, 6 Jan 2005 11:40:56 -0500 (EST) John wrote: | JS> Hi - I've recently updated the net-snmp port on a couple of my | JS> FreeBSD boxes to port version 5.2, revision 1, from 2004/12/09, | JS> and snmpd seems to accumulate memory until it

ssRawSwapIn/Out missing on Solaris?

2005-01-06 Thread Darren Gamble
Good day, Using net-snmp 5.2.1rc2 on Solaris 9 (although older versions of the agent are similar)... I am just wondering if ssRawSwapIn/Out are supposed to be supported on the agent on Solaris? The objects don't appear on the agent, although ssIORawReceived/Sent do, and appear to have correct da

Re: 5.2 snmpd memory leak on freebsd?

2005-01-06 Thread Users
On Thu, 6 Jan 2005 11:40:56 -0500 (EST) John wrote: JS> Hi - I've recently updated the net-snmp port on a couple of my JS> FreeBSD boxes to port version 5.2, revision 1, from 2004/12/09, JS> and snmpd seems to accumulate memory until it finally runs out JS> of space and collapses. 1) what version

5.2 snmpd memory leak on freebsd?

2005-01-06 Thread John Sellens
Hi - I've recently updated the net-snmp port on a couple of my FreeBSD boxes to port version 5.2, revision 1, from 2004/12/09, and snmpd seems to accumulate memory until it finally runs out of space and collapses. My snmpd.conf is very simple (only a couple of "rocommunity" definitions, and snmpd

Re: help : why my snmpset can't work well?

2005-01-06 Thread Users
On Thu, 6 Jan 2005 08:49:50 +0800 (CST) hui wrote: HG> But when it turn to snmpset HG> command , It gives out "Time out: no response from 192.168.0.123" HG> I set the IP of this agent is 192.168.0.123. and user HG> snmp v=2c; Do you have access control set up properly? -- Robert Story; N

Re: net-snmp for Fedora core 3

2005-01-06 Thread Users
On Wed, 5 Jan 2005 16:22:21 +0100 Patrice wrote: PB> Is Fedora core 3 supported by net-snmp 5.2? Yes. -- Robert Story; NET-SNMP Junkie Support: Archive: You are lost in a twisty maze of little stan

Re: Snmpwalk of HOST-RESOURCES-MIB empty

2005-01-06 Thread Michael Dupuis
That worked, thanks! I can also access the host mib as well now that I have all the build things straightened out. When I started this, I didn't now how to debug the agent, now I do. Thanks for all the help! Michael --with-mib-modules="host disman/event-mib" --with-out-mib-modules=host/hr_

Re: Snmpwalk of HOST-RESOURCES-MIB empty

2005-01-06 Thread Users
On Thu, 06 Jan 2005 09:15:30 + Dave wrote: DS> On Wed, 2005-01-05 at 20:31, Michael Dupuis wrote: DS> > But now I've DS> > uncovered that there is a dependancy on the librpm-4.2.so library when DS> > the --with-mib-modules="host disman/even

Re: help: The process of snmpset ?

2005-01-06 Thread Users
On Thu, 6 Jan 2005 15:42:08 +0800 (CST) hui wrote: HG> snmpset -v 2c -c public 192.68.0.123 enterprises.28??.1.1.2.0 i 5 HG> HG> which function will this action call in turn? And where will the value HG> be stored? That depends on how the module was implemented. You are responsible for stori

Re: Problem while Extending NET-SNMP

2005-01-06 Thread Users
On Wed, 5 Jan 2005 13:51:31 -0800 Mark wrote: MC> Yes, there are two versions of snmp installed. I am using a new MC> installation that i have installed in my $HOME/netsnmp. But what do I MC> do now? I don't want to use the /usr/lib library, what should I modify MC> to pick the library from $HOME/n

Re: problems in writing handlers for scalars of type string

2005-01-06 Thread Dave Shield
On Thu, 2005-01-06 at 13:15, sharath ramegowda wrote: > i tried using the watcher handler u mentioned. > > Now when i do a get on my variable: > -- > > snmpget -v 2c -c public localhost > .1.3.6.1.4.1.8072.2.5.2.0 > > NET-SNMP-EXAMPLES-MIB::netSnmpExamples.5.

Re: problems in writing handlers for scalars of type string

2005-01-06 Thread sharath ramegowda
hi ... i tried using the watcher handler u mentioned. but now the problem is as follows: i have declared my mib variable (netsnmpfilename) as an octet string. when i do an snmptranslate: snmptranslate -mALL -M /usr/local/net-snmp-5.1.1/mibs/ -On -IR -Tp netSnmpfi

example subagent not working in 64 bit machine

2005-01-06 Thread John, Jaiber J
I'm using NetSNMP 5.0.9 on a 64bit (Itanium) Linux machine. The example subagent downloaded from http://net-snmp.sourceforge.net/tutorial/tutorial-5/toolkit/demon/index.html does not work. The example compiles fine. When executed, the master agent showed lot of debug info (-Dagentx), which I

RE: can notification_oid be changed programmatically?

2005-01-06 Thread John, Jaiber J
>>> And how is 'obj_ID' defined and initialised? > >> obj_ID is initialized as: >> static oid obj_ID = { 1,3,6,1,4,1,343,2,10,3,5,1000,10,1 }; > >H >Shouldn't that be > >static oid obj_ID[] = {}; > ^^ >An OID is an *array* of 'oid' subidentifier values, not just

RE: can notification_oid be changed programmatically?

2005-01-06 Thread Dave Shield
>> And how is 'obj_ID' defined and initialised? > obj_ID is initialized as: > static oid obj_ID = { 1,3,6,1,4,1,343,2,10,3,5,1000,10,1 }; H Shouldn't that be static oid obj_ID[] = {}; ^^ An OID is an *array* of 'oid' subidentifier values, not just one. >>

Re: Suse SLSE9 and DiskIO

2005-01-06 Thread Baumgart Alexander
[ plz dont email me, keep all on the malinglist so other can learn/help too ] As far as i know UCD-DISKIO-MIB is the only MIB that implement disk access read/write infos ,( perhaps someone else can help. So perhaps the best is like Robert told u, check if the net-snmp on SLSE 9 gets compiled wit

RE: SuSE SLES 9 and disk IO

2005-01-06 Thread Baumgart Alexander
Hello, i use net-snmp 5.2.rc3 and 5.1.2 on Suse 9.0 and mib2c for both. The new mfd style didnt work with 5.1.xx u need at least 5.2.xx. mib2c is a perlscript, perhaps u miss perl ? Like Alex told any errormsg ? Baumgart P.S.: the to Alex Burger , my fault. -Original Message- From:

Re: prTable problem

2005-01-06 Thread Dave Shield
On Wed, 2005-01-05 at 22:33, Jose Dragone wrote: > I have a problem: > According to the following list > > # snmpwalk -v2c -c mycomunity localhost UCD-SNMP-MIB::prTable > UCD-SNMP-MIB::prNames.1 = STRING: mountd > UCD-SNMP-MIB::prCount.1 = INTEGER: 0 > UCD-SNMP-MIB::prErrorFlag.1 = INTEGER: 1 > U

Re: Snmpwalk of HOST-RESOURCES-MIB empty

2005-01-06 Thread Dave Shield
On Wed, 2005-01-05 at 20:31, Michael Dupuis wrote: > But now I've > uncovered that there is a dependancy on the librpm-4.2.so library when > the --with-mib-modules="host disman/event-mib" flag is added. Because > we're running on Slackware, we

RE: can notification_oid be changed programmatically?

2005-01-06 Thread John, Jaiber J
>JJJ> When I send a trap from my subagent (AgentX), the enterprise >JJJ> OID field of the V1 trap is always .1.3.6.1.4.1.8072.3.2.10. >JJJ> I actually want it the be a different one > >DTS>I've just tried this with the current code, and it works as expected. >DTS> b) What's the exact 'send_enterp