walking snmpd

2004-07-30 Thread Gary Clark
hello,

I am running Linux version 9 with version 5.1.1 of net-snmp.

I have added and built the MIB and included it into the directory
/usr/local/share/snmp directory.
Generated the templates successfully and moved them into mibgroup and
created the top header with
the config_require(mibfiles.c) etc.

Performed ./configure and performed make.

Ok I am using the snmpd -d to debug whats happenning. When I perform
snmpwalk -v 1 -c erlang local host .1.3.6.1.2.1.6.15

I see the the snmp daemon Receiving a get request and sending a response to
the local machine:

TCP-MIB::tcpOutRsts.0 = counter32: 2

Marvelous. Just what I expected. Ok when I try to do the same with myMib. I
see the snmp daemon receive
and send but I dont see anything on my machine. The snmptranslate for the
given OID works fine though.

Questions do I have to perform a set on an entry within the MIB prior to
performing the snmpwalk command?
Is there a stage I have missed?

Cheers,
Garyc



---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: walking snmpd

2004-07-30 Thread Wes Hardaker
 On Fri, 30 Jul 2004 11:41:47 -0500, Gary Clark [EMAIL PROTECTED] said:

Gary Questions do I have to perform a set on an entry within the MIB prior to
Gary performing the snmpwalk command?
Gary Is there a stage I have missed?

Did you actually write code to support that table within snmpd?  If
you didn't or you just used the template code that mib2c produced, it
won't actually return any real data until you make it.

-- 
Wes Hardaker
Sparta


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: walking snmpd

2004-07-30 Thread Gary Clark
Much appreciated Wes. The light bulb has just lit-up.

Thanks for the quick response.

Cheers,
Garyc

- Original Message -
From: Wes Hardaker [EMAIL PROTECTED]
To: Gary Clark [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, July 30, 2004 3:14 PM
Subject: Re: walking snmpd


  On Fri, 30 Jul 2004 11:41:47 -0500, Gary Clark
[EMAIL PROTECTED] said:

 Gary Questions do I have to perform a set on an entry within the MIB
prior to
 Gary performing the snmpwalk command?
 Gary Is there a stage I have missed?

 Did you actually write code to support that table within snmpd?  If
 you didn't or you just used the template code that mib2c produced, it
 won't actually return any real data until you make it.

 --
 Wes Hardaker
 Sparta



---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users