I am completely new to the concept of SNMP and I do not have a strong Linux
background either, however, I have been given the task to integrate SNMP into
my work environment so we can gather information from our hardware boxes we
manufacturer.
** If this is the wrong group/forum to post general
I have been reading the NetSNMP tutorials which indicate how to change the
code using the mibs-for-dummies (MFD) configuration file as it relates to
the ifTable MIB. Now, I have generated MFD code (using mib2c) for the
"ocStbHostAVInterfaceTable" table which is defined in my MIB file, but I
used
quot;configure" command is where
I should state the library path . I guess I was wrong.What does
"libdir" do for me then?
Thanks for the help
Magnus Fromreide <[EMAIL PROTECTED]> wrote: On ons, 2007-05-16 at 13:07 -0700,
Need Help wrote:
> I have been reading the N
In order to learn how to use NetSNMP I was reading through the MFD ifTable
tutorial. Part of the code generated for the "ifTable" table (when using the
"mib2c" command with the MFD configuration file) is the following:
if ((rowreq_ctx->data.ifDescr == NULL) ||
(rowreq_ctx->data.ifDescr_len
I generated code using mib2c for a table (ocStbHostAVInterfaceTable) within my
MIB file. I then performed a "make" on the code using the "make -f
ocStbHostAVInterfaceTable_Makefile" command successfully. Finally I tried to
execute the ocStbHostAVInterfaceTable agent with the following:
./o
t; file somewhere ...
somehow?
Need Help <[EMAIL PROTECTED]> wrote:
I generated code using mib2c for a table (ocStbHostAVInterfaceTable) within my
MIB file. I then performed a "make" on the code using the "make -f
ocStbHostAVInterfaceTable_Makefile"
I am trying to learn this stuff from scratch by reading through the tutorial
provided for the "ifTable" MIB table.No where does it mention I need to
create a specific "ifTable.conf" file in order to run this.
Ok, I will give it a go .
I am assuming I place it in the same place as the "s
Also, when I change a ".conf" file must I rnu "make install" again?
I can not remember if I needed to rerun something once the snmpd.conf file (or
any .conf file) changes so perhaps you can let me know?
BTW: Thanks for the help
Need Help <[EMAIL PROTECTED]
localhost:1161
4) snmpwalk -v1 localhost:1161 ocStbHostAVInterfaceTable (THIS FAILS)
Need Help <[EMAIL PROTECTED]> wrote: Also, when I change a ".conf" file must I
rnu "make install" again?
I can not remember if I needed to rerun something once the snmpd.co
Yes, this code is in my container_load procedure and I do understand that I
need to define those fields myself. Now, the same problem occurs in the
ocStbHostAVInterfaceTable container_load procedure since it mirrors the ifTable
implementation in the tutorial.
Now, I attached the "data_access.
Thing is, the code I gave you was only my "test" code. My real implementation
(once I am convinced I know what I am doing) is going to require me to populate
the row context data (all the rows in the table) in the "row_prep" procedure
and "not" in the "container_load" procedure anymore. This
Then what is the purpose of the "row_prep" procedure ? Basically, when would i
place code in the "row_prep" procedure?
Dave Shield <[EMAIL PROTECTED]> wrote: On 18/05/07, Need Help wrote:
> This is because the data can change so I can not simply load it
> o
86 7369 0 11:08 pts/13 00:00:00 grep localhost
Dave Shield <[EMAIL PROTECTED]> wrote: On 17/05/07, Need Help wrote:
> 4) snmpwalk -v1 localhost:1161 ocStbHostAVInterfaceTable (THIS FAILS)
Try specifying a community string.
Something like
s
86 7369 0 11:08 pts/13 00:00:00 grep localhost
Dave Shield <[EMAIL PROTECTED]> wrote: On 17/05/07, Need Help wrote:
> 4) snmpwalk -v1 localhost:1161 ocStbHostAVInterfaceTable (THIS FAILS)
Try specifying a community string.
Something like
s
ry
read_config: config path used for snmp:/var/net-snmp (persistent
path:/var/net-snmp)
read_config: /var/net-snmp/snmp.conf: No such file or directory
read_config: /var/net-snmp/snmp.local.conf: No such file or directory
Dave Shield <[EMAIL PROTECTED]> wrote: On 18/05/07, Need
If I update the "snmpd.conf" file (or "snmp.conf" file) then must I perform a
"make install" (or perhaps any other command) before the changes take affect?
-
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.---
think
I want to involve an AgentX for my testing of the snmpwalk command.
Magnus Fromreide <[EMAIL PROTECTED]> wrote: On fre, 2007-05-18 at 10:16 -0700,
Need Help wrote:
> The configuration file I created is located at the following location:
>
> /export/home/myname/snmp/usr/l
;-c public" option results in the command being accepted, it just times out
now, with the following error:
Timeout: No Response from localhost:1161
Thanks for you time in helping me out.
Dave Shield <[EMAIL PROTECTED]> wrote: On 18/05/07, Need Help wrote:
> I have no idea
).
-L Do not open a log file; print all messages to stderr.
Need Help <[EMAIL PROTECTED]> wrote: I have no idea what the -M option does
I was just following the tutorial. However, I tried your recommendation
and got the following warning produced:
Warning: Failed
mean? Are there any other tutorials which will explain the
other approaches which you refer to? If so, please provide some useful links.
Thanks!
Dave Shield <[EMAIL PROTECTED]> wrote: On 18/05/07, Need Help wrote:
> Trying to learn NetSnmp, I was reading through the following
"snmpd" agent and simply linking all the MIB I required into this agent.
I am trying to figure out whether I am learning/implementnig NetSNMP in the
correct manner or not or whether I must restart from scratch.
Need Help <[EMAIL PROTECTED]> wrote: I am not married to the idea
the
agent:
snmpwalk -v1 -c mycommunity_ro localhost:1161 ocStbHostAVInterfaceTable
I am very excited to have reached this point.
Need Help <[EMAIL PROTECTED]> wrote: Yes, of course .
Trying to learn NetSnmp, I was reading through the following tutorial:
http://www.net-snmp.org/tutorial/tu
I am very new to SNMP. I used "mib2c.mfd.conf" to generate the code for a table
(ocStbHostAVInterfaceTable) which is defined within my MIB text file. I
followed
the NetSNMP "MFD:ifTable" tutorial (link below) to learn how to update the MFD
code for my specific MIB table.
http://www.net-snmp.or
I believe the "snmpd.conf" file is used to read in settings when the agent is
started ...correct?
I have no idea what "snmp.conf" is used for .
-
Pinpoint customers who are looking for what you sell. --
I think I found the difference stated in the FAQ . thanks
Need Help <[EMAIL PROTECTED]> wrote: I believe the "snmpd.conf" file is used to
read in settings when the agent is started ...correct?
I have no idea what "s
** using NetSnmp 5.4
I am trying to learn how to use the snmp.conf file to store some settings for
my agent.
Here is the "configure" command I am using for install:
./configure \
--prefix=/export/home/rosent1/snmp/usr/local \
--srcdir=/export/home/rosent1/snmp/net-snmp-5.4 \
--enable-e
I understand the default directory to look for MIB files is the following:
/usr/local/share/snmp/mibs
However, I would like to change this to another location. If I set the
MIBDIRS environment variable as follows, then I can get it to find the MIB file
in a new provided location:
exp
rotection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
Need Help <[EMAIL PROTECTED]> wrote: I understand the default directory to look
for MIB files is the following:
/usr/local/share/snmp/mibs
However, I would like to change th
I need help in findnig out whether the "snmpd" command can control multiple
tables and scalars which were generated with the MFD configuration file.
Here is a summary of what I did:
1) I unpacked the NetSNMPv5.4 into the following directory:
.../net-snmp-5.4/
2) I created an "
try a few different
high-level nodes to use in the mib2c command. Anyway, this failure led me to
send this email asking whether there was a difference between generating table
code individual or all at once . does it real matter which way the code is
generated?
Dave Shield <[E
I created the following new MIB directory:
.../agent/mibgroup/OC-STB-HOST-MIB/ocStbHostAVInterfaceTable/
and generated the required code using the mib2c command. All of the generated
code is inside this new directory. I updated the code and confirmed it
compiles using the local "ocStbHostAV
Worked like a charm . thanks
Wes Hardaker <[EMAIL PROTECTED]> wrote: >>>>> "NH" == Need Help writes:
NH> After doing this, I deleted all the ".o" files since I wanted to
NH> compile everything using the main "configure" command now ju
I am using "mib2c.mfd.conf" configuration files to generate code. Will I be
able to incorporate SNMPv3 functionality in the code if I want to? I was told
that the VACM might not be incorporated into the MFD packages so it might not
be able to be used easily.
There is a good chance I am g
_config: storing:
##
read_config: storing:
read_config: storing: engineBoots 1
read_config: storing: oldEngineID 0x80001f88807036f77a67cf5546
NET-SNMP version 5.4
Wes Hardaker <[EMAIL PROTECTED]> wrote: >>>>> "N
lean" or "make distclean" is your
friend.
>>>>> "NH" == Need Help writes:
NH> After doing this, I deleted all the ".o" files since I
wanted to
NH> compile everything using the main "configure" command now
just for
NH> fun (ie: le
clarifying this for me.
Dave Shield <[EMAIL PROTECTED]> wrote: On 24/05/07, Need Help wrote:
> I am using "mib2c.mfd.conf" configuration files to generate code. Will I
> be able to incorporate SNMPv3 functionality in the code if I want to?
Yes.
The "mib2c" tool is
I believe it is possible to have multiple agents running at one time, where one
is the "master" and the others are AgentX subagents. I am not quite sure why
people use multiple agents, so perhaps someone can give me an example as to
when multiple agents would be nice to use.
Now, if I wanted
Yes, I was using the wrong "snmpwalk" command. Your recommendation worked like
a charm ... thanks.
Dave Shield <[EMAIL PROTECTED]> wrote: On 24/05/07, Need Help wrote:
> /export/home/myname/snmp/usr/local/sbin/snmpd -f -L
> -Dread_config -M localhost &
>
I created the ".../agent/mibgroup/OC-STB-HOST-MIB/ocStbHostAVInterfaceTable/"
directory, issued the "mib2c" command in this directory for the
"ocStbHostAVInterfaceTable" OID node and the code was generated for me and
placed into this directory. I discovered the reason why my original testing
gt; wrote: AgentX subgents are not "needed", but
they can be "useful"
On 25/05/07, Need Help wrote:
> I believe it is possible to have multiple agents running at one time, where
> one is the "master" and the others are AgentX subagents. I am not quite
> su
I needed to set the LD_LIBRARY_PATH to the following so the ".so" library files
could be found:
/export/home/myname/snmp/usr/local/lib
I am wondering whether it is possibel to indicate this path inside of a
"snmpd.conf" or "snmp.conf" file somehow?
-
Pi
Magnus Fromreide <[EMAIL PROTECTED]> wrote: On fre, 2007-05-25 at 22:25 +0200,
Thomas Anders wrote:
> Need Help wrote:
> > I needed to set the LD_LIBRARY_PATH to the following so the ".so" library
> > files could be found:
> >
> > /export/home/
issued for Table1 and then again for Table2 separately?
Dave Shield <[EMAIL PROTECTED]> wrote: On 25/05/07, Need Help wrote:
> 1) I noticed Table2 does "not" have an "ocStbHost1394Index" field defined.
> I was wondering why Table2 did not have an "Index&quo
No I have not.
Is "ldconfig" a NetSnmp command? I will look into this and see what it is. I
do not have a Linux background, so thanks for any help you provide.
Dave Shield <[EMAIL PROTECTED]> wrote: On 30/05/07, Need Help wrote:
> I already include the following --pre
Ok, it is a Unix command . I will give it a try thanks
Need Help <[EMAIL PROTECTED]> wrote: No I have not.
Is "ldconfig" a NetSnmp command? I will look into this and see what it is. I
do not have a Linux background, so thanks for any help you provide.
Dav
in NetSNMP.
If you do recommend another configuration file, perhaps you could give a one
paragraph description indicating which procedures need to be updated to perform
certain functions.
Dave Shield <[EMAIL PROTECTED]> wrote: On 30/05/07, Need Help wrote:
> Table1 is the "main
n allow for caching? Does the -Scache option turn
on caching? I will look.
Dave Shield <[EMAIL PROTECTED]> wrote: On 30/05/07, Need Help wrote:
> If there is another widely used configuration file then I would like to play
> around with that one as well to get a better feeling of di
TED]> wrote: On 30/05/07, Need Help wrote:
> If there is another widely used configuration file then I would like to play
> around with that one as well to get a better feeling of different kinds of
> approaches which can be used in NetSNMP.
I'd tend to prefer the 'mib2c.table
.
Dave Shield <[EMAIL PROTECTED]> wrote: On 30/05/07, Need Help wrote:
> I tried your recommendation, but got the following error message:
>
> # mib2c -c mib2c.table_data.conf -Scache=1 ocStbHostAVInterfaceTable
> no variable specified for -S flag. at /usr/local/bin/mi
** I am using the MfD configuration file to generate code and I am very
confused.
I have the following two tables defined in my MIB file.
TABLE 1 (osStbHostAVInterfaceTable):
ocStbHostAVInterfaceIndex
ocStbHostAVInterfaceType
ocStbHostAVInterfaceDesc
ocStbHostAVInterfaceStatus
TABLE 2 (osStbH
My snmp.conf file has the following two lines:
mibdirs +/export/home/myname/snmp/usr/local/share/snmp/mibs
mibs +OC-STB-HOST-MIB:DOCS-IF-MIB:CLAB-DEF-MIB:DOCS-IETF-BPI2-MIB
My snmpd.conf file has the following one basic line:
rocommunity mycommunity_ro
I opened a brand new Root s
MIB table code. I guess I do not have a ny
worries anymore.
Magnus Fromreide <[EMAIL PROTECTED]> wrote: On ons, 2007-05-30 at 06:09 -0700,
Need Help wrote:
> I already include the following --prefix when performing the
> "configure" command:
>
> -
ows there are going to be two row entries in Table2, but I have
no idea how the SNMP operator would be smart enough to figure out which of
these two entries in Table2 is the one related to "Table 1, row 4".
Dave Shield <[EMAIL PROTECTED]> wrote: On 30/05/07, Need Help wr
make that much sense.
Think I will simply start the agent as follows instead:
/export/home/rosent1/snmp/usr/local/sbin/snmpd &
Dave Shield <[EMAIL PROTECTED]> wrote: On 31/05/07, Need Help wrote:
> 2) I started the master agent by executing the following:
>
> /e
are going to say I need to wait for Robert to response,
although I have never seen a Robert on the forum respond to any of my postings
yet, so I might be stuck here and not understand how to proceed.
I never thought an SNMP table could be an extension of another table, so this
is obviously causi
Thanks for the information .
Hey, I believe you might be the "Robert" who "David" was referring to who might
be able to help answer some questions regarding the "mfd" configuration. David
has helped me out quite a bit, but perhaps you might have a look at my post to
see if you can answer s
Most likely I simply interpreted some description incorrectly along the way
.
Robert Story <[EMAIL PROTECTED]> wrote: On Thu, 31 May 2007 09:39:55 +0100 Dave
wrote:
DS> On 30/05/07, Need Help wrote:
DS> > However, I do not want to give up on the MfD configuration just y
Do you recommend I generate my code using some other type of configuration file
or is it possible to implement your suggestion using the "mfd" code layout
approach?
In addition I have no idea what you mean by subcontainers and filters. If you
can elaborate a bit that would be helpful. Perhap
Ok, I know I can change any code I want to fit my needs, however, my concern
with expanding the data_context structure of Table1 with fields from Table2 was
that I thought performing a "snmpwalk" through Table1 would then display Table2
fields now and that would be bad since Table2 fields r
Being new to the whole NetSNMP structure and everything, I kind of like seeing
the "-mib" included in the directory name for the MIB.It reminds me the
directory is for MIB specific stuff rather than some generic directory.
My 2-cents of course
Robert Story <[EMAIL PROTECTED]> wrote:
Here is the configure command I am currently using:
../configure \
--prefix=/export/home/rosent1/snmp/usr/local \
--srcdir=/export/home/rosent1/snmp/net-snmp-5.4 \
--enable-embedded-perl \
--enable-shared \
--with-mib-modules="OC-STB-HOST-MIB"
The "--with-mib-modules" option seems to tell NetSNM
Well, I went to the link you suggested and read about the Containers, however,
nothing is really making any sense to me. I am not real sure how to create a
sub-Container from an existing container.
Perhaps you could provide a simple code example of what you are talking about?
Robert Story <[E
My MIB file has one main table defined (Table1) and has multiple other
tables (Table2,3,4,5,6) defined which are extensions to Table1.
So Robert . instead of me implementing sub-containers, lets say I implement
your other suggestion of adding all the fields defined in Table2,3,4,5,6 into
1) Lets say the first request made is to "snmpwalk" through Table2. Are you
saying that Table1's container_load() procedure has never been called yet so
none of the index values have been loaded and none of the rows have been
allocated and placed into the Table1 container yet? If this is true
Sorry about the word document. Just thought it would be easier to ask some
questions with some pictorial table data being shown insetadof me trying to do
this in an email format.
Anyway, let me as you this follow up question:
You stated "you don't have to use the se list method, but you mus
I am not familiar how SNMP is used in the real world so explanations like these
help me out a lot. Good job and thanks.
Dave Shield <[EMAIL PROTECTED]> wrote: On 05/06/07, Need Help wrote:
> You stated "you don't have to use the se list method, but you must ensure
> tha
OK, good stuff here . very helpful ... thanks.
Here are a few more questions ...
I have Table1 (main table) and Table2 ("1394 table" which is an extension of
Table1). Lets say I have updated the Table2_container_init() routine to
indicate that Table2 should use the same cache that Table1
1) I updated my code a bit but for some reason the Table2_row_prep() routine is
never called when I perform a "snmpwalk" of Table2. Any ideas why
"Table2_row_prep()" is not being called at all (see the steps a-e below)?
Here are the two tables I am dealing with for testing:
Table1(ocStbHostAV
kup()" routine (shown above) to add
the following "rc=" text to the "ocStbHostAnalogVideoTable_row_prep()" routine
call (shown below):
rc = ocStbHostAnalogVideoTable_row_prep(rowreq_ctx);
Is this all which is required to process a MFD_SKIP value returned from the
row_prep routine?
way to indicate which table should init first? I will keep looking
around.
Need Help <[EMAIL PROTECTED]> wrote: 1) I updated my code a bit but for some
reason the Table2_row_prep() routine is never called when I perform a
"snmpwalk" of Table2. Any ideas why "Table2_row
Ok, I sent this email to you before I got your other reply. :>P
Anyway, I did find a way to reverse the order of the init routines being
called, but it just may be lucky I guess please confirm
The file "agent/mibgroup/OC-STB-HOST-MIB.h" exists (which I needed to create
manually base
A) You stated there are other methods (instead of using "se_add_pair_to_slist"
and "se_find_value_in_slist" routines) which can be used to remember index
values. I assume "other methods" mean that I am free to implement any other
way to remember index values if I want :>) ... or perhaps other m
Ugh ... I just noticed something I think I am doing wrong:
The Table2 data_context structure came configured with a "ProtectionStatus"
field defined in it (since this is in my MIB). Knowing that Table2 is an
extension of Table1 (and based on our past discussions on how to implement this
ty
Ok, my company would like me to start discussing how to incorporate NetSNMP
into the company's build environment. I explained the following stuff:
- Indicated "./configure", "make" and "make install" were required for NetSNMP
- Indicated "snmp.conf" and "snmpd.conf" files exist to define stuff
ure", "make", "make
install", etc, etc.. commands which are normally used to get NetSNMP
functioning properly.
Steve Friedl <[EMAIL PROTECTED]> wrote: On Thu, Jun 07, 2007 at 12:32:00PM
-0700, Need Help wrote:
> Ok, my company would like me to start discussing
be skipped
and that Table2_row_prep() for the 4th row would occur, but I got the above
error instead and the snmpwalk stopped.
Any ideas?
Need Help <[EMAIL PROTECTED]> wrote:C) Just wanted to confirm with you the
following is true please confirm
igure"
script to run and completely execute perhaps? I do not know. I am sure it
has nothing to do with not trusting the build of "configure" though.
Dave Shield <[EMAIL PROTECTED]> wrote: On 07/06/07, Need Help wrote:
> Is it crazy to think we can perform everythi
Yes, and eventually it might come to that, but in the meantime, I am the only
person which is assigned to handle the SNMP integration work.No oen is
given time to do this task yet. We just want to start looking into what it
would take, and I am the person who is trying to gather some data/
Here are the two tables I am dealing with again:
Table1(ocStbHostAVInterfaceTable)
Table2(ocStbHostAnalogVideoTable)
I looked into the "ifXTable.h" file and saw how the "ifTable" data structures
are being used.
As a result I removed the following structure/definitions from Table2
Here is the compile errors:
In file included from
mibgroup/OC-STB-HOST-MIB/ocStbHostAVInterfaceTable/ocStbHostAVInterfaceTable.h:44,
from
mibgroup/OC-STB-HOST-MIB/ocStbHostAVInterfaceTable/ocStbHostAVInterfaceTable_data_access.c:17:
.../agent/mibgroup/OC-STB-HOST-MIB/ocStbHostAn
I meant to attach the header files for Table1 and Table2. here they are
** If you search for "TODD TEST" you will see all the changes I have made.
Need Help <[EMAIL PROTECTED]> wrote: Here are the two tables I am dealing with
again:
Table1(ocStbHostAVInterfac
I might have figured this out .. do not spend your time on this yet
thanks
Need Help <[EMAIL PROTECTED]> wrote: Here are the two tables I am dealing with
again:
Table1(ocStbHostAVInterfaceTable)
Table2(ocStbHostAnalogVideoTable)
I looked into the "ifXTable.h"
tx()
_cache_load()
_cache_free()
_container_item_free()
_container_free()
3) I also decided I needed to update the _mfd_Table2_post_request() routine in
Table2 to ...
replace:
Table2_release_rowreq_ctx(rowreq_ctx);
with:
Table1_release_rowreq_ctx(rowreq_ctx)
It seems I have successfully been able to have
Table1(ocStbHostAVInterfaceTable) and Table2(ocStbHostAnalogVideoTable) share
the same container and can know "snmpwalk" through each table. One remaining
problem is not being able to return a MFD_SKIP value from the Table2_row_prep()
routine. W
I have am using the following tables which I generated using the MfD
configuration file:
Table1(ocStbHostAVInterfaceTable)
Table2(ocStbHostAnalogVideoTable)
I added some #define enums to the "ocStbHostAVInterfaceTable_enums.h" Table1
file and wanted to use these enum values in the Table2_row_pr
Figured this one out . please disregard ...
PS: Yes, I am stupid today
-
Choose the right car based on your needs. Check out Yahoo! Autos new Car
Finder tool.-
This SF.net e
I tried executing a "make clean" but that does not get rid of all the ".lo" and
".o" files I have in the MIB directories.
Is there a magic command which can be entered which will re-make the entire
NetSNMP build?
-
Pinpoint customers who are looking for
I have the following two tables:
Table1(ocStbHostAVInterfaceTable)
Table2(ocStbHostAnalogVideoTable) - extension of Table1
Note: Table2 is sharing the same container as Table1
I noticed when I perform a "snmpwalk" of Table1, then all the data is displayed
correctly and then "one" call is made t
ld <[EMAIL PROTECTED]> wrote: On 12/06/07, Need Help wrote:
> I noticed when I perform a "snmpwalk" of Table1, then all the data is
> displayed correctly and then "one" call is made to Table2_row_prep() with
> row index = 1.
>
> Is this normal?
Yes.
Remembe
When starting out learning about NetSNMP, I installed everything into the
following private directory location for testing
/export/home/myname/snmp/usr/local/
I updated the "snmpd.conf" and "snmp.conf" files accordingly to include MIB
information, etc but I had trouble with the "MIB files
I have my cache is set to be 60 seconds. When I issue a "snmpget" request
multiple times for the same data field (just playing around with snmp) within a
table, I notice the row_prep() routine is called for each request. Since I
have code in the row_prep() routine to load the row data, then th
I am interested in having a subagent handle all requests for my particular MIB.
As a result, I am reading the tutorial entitled "Writing a SubAgent' located
here:
http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent
I did not think "auto-building" the subagent using the "net-snmp-c
t the tutorial is showing me to my own MIB code in order to produce a
subagent which can handle my MIB.
Dave Shield <[EMAIL PROTECTED]> wrote: On 13/06/07, Need Help wrote:
> I was not sure where to put these files
It doesn't matter.
The whole point of a standalone subagent is
xport/home/myname/snmp/usr/local \
--srcdir=/export/home/myname/snmp/net-snmp \
--enable-embedded-perl \
--enable-shared \
--with-mib-modules="OC-STB-HOST-MIB"
Dave Shield <[EMAIL PROTECTED]> wrote: On 13/06/07, Need Help wrote:
> 1) Here is the output I get when using the -Le
mpd master agent.
Perhaps you can explain when I am looking at when I look through the
nstAgentSubagentObject.c/.h and example-demon.c files?
Dave Shield <[EMAIL PROTECTED]> wrote: On 13/06/07, Need Help wrote:
> I am using NetSNMP v5.4
>
> Executing the "ls -l /var/
it working.
Also will by existing container_load() and row_prep() routines be called as
normal to handle the snmp requests from the subagent or must I have to rewrite
the code somehow? I am confused how this all fits together. What MfD code
areas need to change to do this?
Dave Shield <[E
/usr/local/bin/snmpset -v 1 -c mycommunity_ro
localhost NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 = 5
Error in packet.
Reason: (noSuchName) There is no such variable name in this MIB.
Any idea why the snmpset fails?
Need Help <[EMAIL PROTECTED]> wrote: 1) Yes, when I pe
PROTECTED]>
To: "Need Help" <[EMAIL PROTECTED]>
Subject: Re: Tutorial question: "Writing a SubAgent"
CC: net-snmp-coders@lists.sourceforge.net
On 14/06/07, Need Help wrote:
> snmpset -v 1 -c mycommunity_ro .
You are using a community called "som
do not want to screw
anything up.
7) Just to confirm for myself ...
I only need ONE "example-demon.c" type file to exist and this file will call an
"init" function for each one of my Tables and Scalars defined in my MIB? Is
this correct?
* THANK YOU for al
One more thing
My MIB text file is called "OC-STB-HOST-MIB.txt". In order for the snmpd
master agent to utilize this text file, I placed it into the
"/usr/local/share/snmp/mibs" directory and added the "mibs +OC-STB-HOST-MIB"
line into the "/usr/local/share/snmp/snmp.conf" file. I beli
1 - 100 of 302 matches
Mail list logo