RE: snmp agent using MFD

2009-03-31 Thread sazid.mahammad
After generating the code you just need to create handler, register
handler, provide data details etc.

 Go through man pages,  ifTable and  http://www.net-snmp.org/
  

 

Thanks and Regards,

Sazid 

 

From: Vinod Nanjaiah [mailto:vinod_nanja...@mindtree.com] 
Sent: Tuesday, March 31, 2009 11:19 AM
To: net-snmp-users@lists.sourceforge.net
Subject: snmp agent using MFD

 

Hi!

I have generated code using mib2c -c mib2c.mfd.conf .

Can someone please point out to any documentation regarding which files
and what code needs to be added to the generated code?

 

I even tried comparing the files of ifTable with the files generated for
my mib node. They seem to be different. 

 

Regards,

Vinod

 

 



http://www.mindtree.com/email/disclaimer.html

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: updating my net-snmp

2009-03-31 Thread Dave Shield
2009/3/30 Samer Vazdekis :
> I'm using NET-SNMP version 5.2.1.2. I would like to update to the latest
> version or to the next stable version. I do have lots of custom changes
> which I would like to keep. What is the best procedure to do this?

The best approach is to take your list of changes, and apply them to
a fresh copy of the latest source code.   That's likely to be much less
work than trying to upgrade your amended source tree with all the
changes that have been applied to the project code since.

Dave

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Error no such var available on the agent at this OID?

2009-03-31 Thread Dave Shield
2009/3/30 Kuczynski, Edward :
> I wrote a tiny mib with a scalar and table.
> Ran configure --with-mib-modules="testscalar"
> Ran make, make install
>
> Ran agent with -f -Le -d and I can see the snmpget -v1 -c public localhost 
> 1.3.6.1.4.1.3000.2.1.1.1.0  send request, agent gets it and response is
>
> "no such variable available on the agent at this OID"  WHY?

Please see the FAQ entry that gives a checklist of things to look at
in this situation.

Dave

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: No hrSWRunPath in HOST-RESOURCES-MIB

2009-03-31 Thread Dave Shield
2009/3/30 Kamil Kisiel :
> Right, so now that we know the symptoms, I guess the question is why does
> this only happen on the version of Net-SNMP that openSUSE ships? Despite
> using the same version number on my Gentoo machines, the hrSWRunPath works
> fine there for all processes. For the kernel level processes it just returns
> the process name.

Try comparing the output of"cat /proc/2'/status"   on the two systems.
Do you see similar output in both cases?
Or is the openSuSE version empty?

Thomas' output has confirmed that it's the handling of the /proc/{pid}/status
file which is triggering this problem.Now we just need to come up with a
better long-term fix.

Dave

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Forcing configure to look in directories other than ./agent/mibgroup

2009-03-31 Thread Dave Shield
2009/3/31 Richard Gipps :
> Is there any way to force configure to look in directories other than
> netsnmp-5.4.2.1/agent/mibgroup for mib source code?

No.

> my source files are not in the netsnmp-5.4.2.1 directory structure.

Then copy them there.
Or insert a link there pointing at the directory where they do reside.


If you are working with dynamically loadable modules, or a separate
subagent, then you could use a local Makefile to compile your code
independently of the main Net-SNMP agent.
   But if you are building a single static agent, then everything must
be (or appear to be) within the agent/mibgroup subtree.

Dave

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Is it true that the fact if i use the engine id netsnmp wont probe the snmp agent again and again

2009-03-31 Thread Dave Shield
2009/3/31 anand chandragandhi :

> Is it true that the fact if i use the engine id netsnmp wont probe the snmp
> agent again and again

A single SNMP process shouldn't probe again and again and again.
Once it's discovered the authoritative engine ID, it doesn't need to
probe for it again.

But yes - if you provide the appropriate engineID right from the start,
then the client doesn't need to probe for it at all.

Dave

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: 答复: updating my net-snmp

2009-03-31 Thread Dave Shield
2009/3/31 Kang Chen :
> I'm not clear about the concept of the context in SNMPv3 version.

Contexts are typically used to implement parallel copies of
the same MIB tree.   For example, if the agent is acting as
a front-end on behalf of several embedded subsystems.
By specifying a different context, the management application
can retrieve information about the different subsystems,
even if the MIB itself wasn't designed to support this.

It's not something that's widely used, but can be very useful
in particular circumstances.

Dave

PS:  Please start a new thread when asking an unrelated question.
   It's very confusing to have several topics bundled together.
   Also, post to *either* -users *or* -coders, but not both.

  Thanks

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


答复: updating my net-snmp

2009-03-31 Thread Kang Chen
Hi, Dave

I'm not clear about the concept of the context in SNMPv3 version.
Would you please give me a example using the context in the snmpd.conf.
Thanks!

-邮件原件-
发件人: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] 
发送时间: 2009年3月31日 15:24
收件人: Samer Vazdekis
抄送: net-snmp coders; net-snmp users
主题: Re: updating my net-snmp

2009/3/30 Samer Vazdekis :
> I'm using NET-SNMP version 5.2.1.2. I would like to update to the latest
> version or to the next stable version. I do have lots of custom changes
> which I would like to keep. What is the best procedure to do this?

The best approach is to take your list of changes, and apply them to
a fresh copy of the latest source code.   That's likely to be much less
work than trying to upgrade your amended source tree with all the
changes that have been applied to the project code since.

Dave

--
___
Net-snmp-coders mailing list
net-snmp-cod...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


confusion related to get requests

2009-03-31 Thread parveen yadav
hi,

I have query about table request handling using table iterator.
Is there any special handling for multiple requests for same table at 
same time.

I have taken a global variable(say idx) in one file and updated it in 
get_next_data point using idx++.
If i uses walk from two MIB browser on same table it should get 
corrupted but that is not happening.
Please provide some suggestion on the same.

thanks in advance
Parveen Yadav


--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: confusion related to get requests

2009-03-31 Thread Dave Shield
2009/3/31 parveen yadav :
> I have query about table request handling using table iterator.
> Is there any special handling for multiple requests for same table at
> same time.

No - the iterator handler will deal with that for you.


> If i uses walk from two MIB browser on same table it should get
> corrupted but that is not happening.

Each individual request is processed separately - whether it is
part of an "snmpwalk" or not.

Please do not confuse the processing of a single SNMP request
(which is handled by the iterator helper), with the processing
of a full snmpwalk (which is handled by the snmpwalk command).

These are two completely different things.


> Please provide some suggestion on the same.

Everything should Just Work.
Don't you worry your pretty little head about it :-)

Dave

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Monitoring NTP and SNTP time synchronization software through SNMP

2009-03-31 Thread Bart Van Assche
Hello,

Does anyone who's subscribed to this list know whether it is possible
to monitor the operation of NTP and/or SNTP time synchronization
software through Net-SNMP ? I have been able to find out the following
about this subject:
* An NTP-MIB has been published by David Mills in 1997. It is not
clear to me what the standardization status of this MIB is nor whether
any implementations are available
(http://www.cis.udel.edu/~mills/database/reports/ntp-mib-tr.pdf).
* A draft NTPv4 SNMP MIB is in development since 2006
(http://www.ietf.org/html.charters/ntp-charter.html).
* I found a reference to an SNTP MIB in the SNTPv4 RFC
(http://www.ietf.org/rfc/rfc2030.txt), but I do not know of any such
MIB:
It is intended that in-service management of NTP and SNTP
Version 4 servers and clients be performed using SNMP and a suitable
MIB to be published later.

Bart.

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: confusion related to get requests

2009-03-31 Thread parveen yadav

Dave Shield wrote:

2009/3/31 parveen yadav :
  

I have query about table request handling using table iterator.
Is there any special handling for multiple requests for same table at
same time.



No - the iterator handler will deal with that for you.


  

If i uses walk from two MIB browser on same table it should get
corrupted but that is not happening.



Each individual request is processed separately - whether it is
part of an "snmpwalk" or not.

Please do not confuse the processing of a single SNMP request
(which is handled by the iterator helper), with the processing
of a full snmpwalk (which is handled by the snmpwalk command).

These are two completely different things.


  

Please provide some suggestion on the same.



Everything should Just Work.
Don't you worry your pretty little head about it :-)

Dave

  

thanks for reply,

But what i want to know is -
When i have given walk request it is extracting data from agent.
during this process i have given another walk request for same table.
since agent is returning data to for request one by one.
the data for other request should start coming after finish of first 
request. But it starts immediately.

(Same table in both request.)
so either my table handler is called from two request handlers at same 
time or there is some session unmaintained for each request.


just a simple query but it might clear few doubts about snmp agent.




--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Monitoring NTP and SNTP time synchronization software through SNMP

2009-03-31 Thread Dave Shield
2009/3/31 Bart Van Assche :
> Does anyone who's subscribed to this list know whether it is possible
> to monitor the operation of NTP and/or SNTP time synchronization
> software through Net-SNMP ?

There's certainly no support for the NTP MIBs in the agent as distributed.

I've just done a quick search of the list archives, and can't find any
indication that anyone else has implemented this functionality either.
The closest was a thread from last April (with the subject "Help Needed")
on the -coders list, from someone wanting to do this.

But they never followed up with any indication that they'd actually got
this working.

If you do manage to implement this, please consider feeding it back
to the Net-SNMP project, so that other people can benefit from your work.

Dave

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: confusion related to get requests

2009-03-31 Thread Dave Shield
2009/3/31 parveen yadav :
> When i have given walk request it is extracting data from agent.

Yup.

> during this process i have given another walk request for same table.

OK

> since agent is returning data to for request one by one.
> the data for other request should start coming after finish of first
> request.

No.   Why should it?

Remember that it's the "snmpwalk" which is walking the table,
not the agent.   The agent just sees a sequence of GETNEXT
requests, which it processes individually.

>But it starts immediately.

That's right.

The agent is still seeing a sequence of GETNEXT requests.
It doesn't care that they are now coming from two places instead
of one, or that the OIDs are jumping back and forth.
  It just answers each request as it sees it.



> so either my table handler is called from two request handlers at same time
> or there is some session unmaintained for each request.

Remember that the agent is not simply processing two requests.
It will be processing dozens of them - one for each entry in the table.
So there's no problem at all in interleaving these two sets of requests.


> just a simple query but it might clear few doubts about snmp agent.

It feels as if you have misunderstood how "snmpwalk" works.
There is no "WALK" request in SNMP - just GET and GETNEXT (+)
It's up to the "snmpwalk" command to chain GETNEXT requests
together, in order to retrieve the whole table.

Dave

  (+) Please - can nobody mention GETBULK.   That will just muddy the waters!

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Monitoring NTP and SNTP time synchronization software through SNMP

2009-03-31 Thread Bart Van Assche
On Tue, Mar 31, 2009 at 3:16 PM, Dave Shield  wrote:
> 2009/3/31 Bart Van Assche :
>> Does anyone who's subscribed to this list know whether it is possible
>> to monitor the operation of NTP and/or SNTP time synchronization
>> software through Net-SNMP ?
>
> There's certainly no support for the NTP MIBs in the agent as distributed.
>
> I've just done a quick search of the list archives, and can't find any
> indication that anyone else has implemented this functionality either.
> The closest was a thread from last April (with the subject "Help Needed")
> on the -coders list, from someone wanting to do this.
>
> But they never followed up with any indication that they'd actually got
> this working.
>
> If you do manage to implement this, please consider feeding it back
> to the Net-SNMP project, so that other people can benefit from your work.

It's not yet clear whether or not I will implement access to the NTP /
SNTP status through SNMP. But if I do this, I will certainly consider
feeding this work back to the Net-SNMP project.

By the way, which process is followed for evaluating and applying
submitted Net-SNMP patches ? During the last weeks I have submitted
seven patches via the patch tracker. As far as I can see, only one of
these seven patches has been processed by this time.

Bart.

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: confusion related to get requests

2009-03-31 Thread parveen yadav

Dave Shield wrote:

2009/3/31 parveen yadav :
  

When i have given walk request it is extracting data from agent.



Yup.

  

during this process i have given another walk request for same table.



OK

  

since agent is returning data to for request one by one.
the data for other request should start coming after finish of first
request.



No.   Why should it?

Remember that it's the "snmpwalk" which is walking the table,
not the agent.   The agent just sees a sequence of GETNEXT
requests, which it processes individually.

  

   But it starts immediately.



That's right.

The agent is still seeing a sequence of GETNEXT requests.
It doesn't care that they are now coming from two places instead
of one, or that the OIDs are jumping back and forth.
  It just answers each request as it sees it.



  

so either my table handler is called from two request handlers at same time
or there is some session unmaintained for each request.



Remember that the agent is not simply processing two requests.
It will be processing dozens of them - one for each entry in the table.
So there's no problem at all in interleaving these two sets of requests.


  

just a simple query but it might clear few doubts about snmp agent.



It feels as if you have misunderstood how "snmpwalk" works.
There is no "WALK" request in SNMP - just GET and GETNEXT (+)
It's up to the "snmpwalk" command to chain GETNEXT requests
together, in order to retrieve the whole table.

Dave

  (+) Please - can nobody mention GETBULK.   That will just muddy the waters!

  

thanks for your quick replies. this helped a lot.

after going through all agent code from starting of request to end of it 
i am clear about request processing.
--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Monitoring NTP and SNTP time synchronization software through SNMP

2009-03-31 Thread Dave Shield
2009/3/31 Bart Van Assche :
> By the way, which process is followed for evaluating and applying
> submitted Net-SNMP patches ?

There's effectively a two-fold mechanism for this.

The first element is "whoever has time"
   Various members of the core development team
will cast an eye over submissions to the various
trackers (both patches and bug reports, and maybe
even feature requests) when they have some free time
(and energy) to do so.
Code patches will be applied if they are deemed useful/sensible/safe.

The second element is "we really must do something about this"
   At infrequent intervals, the core development team
(and anyone else who is interested) will get together
and examine the outstanding submissions - often
concentrating on those relating to a particular subset
of the project (e.g. all perl-related issues, etc).
   The idea here is to either apply/fix the issue being
reported, reject it (if deemed inappropriate), or as a
final resort - identify problematical areas that need
further investigation.

  In recent months, this latter has taken the form of a
"Bug Bash" - initially monthly, and now bi-monthly.


>During the last weeks I have submitted
> seven patches via the patch tracker. As far as I can see, only one of
> these seven patches has been processed by this time.

Unfortunately, that doesn't surprise me.
As with many Open Source projects, the work of supporting
the code falls on a relatively small group of people, and we
have to fit this around our paid employment (and such outside
interests as we have time for!)

   I can't speak for the others, but most of my attention tends
to be taken up with responding to queries on the mailing lists.
This doesn't tend to leave much time or energy for looking at
the patch or bug trackers.   Let alone actually coding any of
the new stuff, which is what I would really like to be doing!

Rest assured that anything submitted to the trackers
*will* get looked at.  Just not as quickly as any of us would like.

Dave

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Diagnosing monthly traffic volume on virtual NICs

2009-03-31 Thread snmpusers

Hello list,

What can one do using NetSNMP to learn about the monthly total
traffic volume as would appear on the bill from a network provider?

Is there a way to learn what the total traffic volume was over
the last n days? Do the numbers include ethernet frame headers
as a network provider would measure from the router (I think?)
Is snmpget(1) useful for this, and if so which MIB or OIDs?
Would the MIB or OID be OS specific?

I'm getting some results from MRTG over NetSNMP, but unfortunately
the 'Max', 'Average', and 'Current' traffic meters of MRTG don't do
much to help me estimate my monthly traffic bill, and from which
virtual interface iprb0:n or even better which service is generating
the traffic.

Regards,
Brian

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Regarding the "snmpTargetAddrTable" , Unable to get the output of this table

2009-03-31 Thread manu kumar
Hi All,
 I have a Subagent and able to exclude the  "snmpTargetAddrTable" present 
in Agnet and Able to build  my own code  "snmpTargetAddrTable" using mib2c .
   Subagent and Agent is running fine. but when ever I am querying  it 
gives No so such OID.
Result:   snmpwalk -v2c -c temp123 192.168.xx.xx snmpTargetAddrTable
SNMP-TARGET-MIB::snmpTargetAddrTable = No Such Object available on this agent 
at this OID

 What can be the worng. Is there any other way of Implementing these 
"snmpTargetAddrTable". Did I missed any thing.



  --
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: No hrSWRunPath in HOST-RESOURCES-MIB

2009-03-31 Thread Kamil Kisiel
On 31/03/09 0:20 , "Dave Shield"  wrote:
> 2009/3/30 Kamil Kisiel :
>> Right, so now that we know the symptoms, I guess the question is why does
>> this only happen on the version of Net-SNMP that openSUSE ships? Despite
>> using the same version number on my Gentoo machines, the hrSWRunPath works
>> fine there for all processes. For the kernel level processes it just returns
>> the process name.
> 
> Try comparing the output of"cat /proc/2'/status"   on the two systems.
> Do you see similar output in both cases?
> Or is the openSuSE version empty?
> 
> Thomas' output has confirmed that it's the handling of the /proc/{pid}/status
> file which is triggering this problem.Now we just need to come up with a
> better long-term fix.

I decided to dive in to the source code of hr_swrun.c and found the
following:

 728 #elif defined(linux)
 729 sprintf(string, "/proc/%d/cmdline", pid);
 730 if ((fp = fopen(string, "r")) == NULL) {
 731 strcpy(string, "");
 732 *var_len = strlen(string);
 733 return (u_char *) string;
 734 }
 735 if (fgets(buf, sizeof(buf) - 1, fp))/* argv[0] '\0' argv[1]
'\0'  */
 736 strcpy(string, buf);
 737 else {
 738 /*
 739  * swapped out - no cmdline
 740  */
 741 fclose(fp);
 742 sprintf(string, "/proc/%d/status", pid);
 743 if ((fp = fopen(string, "r")) == NULL)
 744 return NULL;
 745 fgets(buf, sizeof(buf), fp);/* Name: process name
*/
 746 if ( cp == NULL ) {
 747 fclose(fp);
 748 return NULL;/* the process probably died */
 749 }
 750 cp = strchr(buf, ':');
 751 if ( cp == NULL ) {
 752 fclose(fp);
 753 return NULL;/* the process file is malformed */
 754 }
 755 ++cp;
 756 while (isspace(*cp))
 757 ++cp;
 758 strcpy(string, cp);
 759 cp = strchr(string, '\n');
 760 if (cp)
 761 *cp = 0;

It seems to me there's an error at line 746. Why is it checking to see if
"cp" (presumably "char pointer") is NULL after reading a line in to "buf"?
Should it not be checking if "buf" is NULL instead at this point?

I'm thinking that perhaps on the systems where this works properly "cp" may
have been initialized by chance. It's used extensively in the preceding code
for a whole bunch of string manipulations.



Notice of Confidentiality: The information transmitted is intended only for the
person or entity to which it is addressed and may contain confidential and/or
privileged material. Any review, re-transmission, dissemination or other use of
or taking of any action in reliance upon this information by persons or entities
other than the intended recipient is prohibited. If you received this in error
please contact the sender immediately by return electronic transmission and then
immediately delete this transmission including all attachments without copying,
distributing or disclosing the same.


--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Forcing configure to look in directories other than ./agent/mibgroup

2009-03-31 Thread Richard Gipps
Hi Dave,
Thanks for the advice.

Regards,
Richard.

-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf 
Of Dave Shield
Sent: Tuesday, 31 March 2009 6:36 PM
To: Richard Gipps
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Forcing configure to look in directories other than 
./agent/mibgroup

2009/3/31 Richard Gipps :
> Is there any way to force configure to look in directories other than
> netsnmp-5.4.2.1/agent/mibgroup for mib source code?

No.

> my source files are not in the netsnmp-5.4.2.1 directory structure.

Then copy them there.
Or insert a link there pointing at the directory where they do reside.


If you are working with dynamically loadable modules, or a separate
subagent, then you could use a local Makefile to compile your code
independently of the main Net-SNMP agent.
   But if you are building a single static agent, then everything must
be (or appear to be) within the agent/mibgroup subtree.

Dave

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Regarding snmpTargetAddrTable

2009-03-31 Thread manu kumar
Hi All,
 I am trying to query the Agnet to get the 
"snmpTargetAddrTable" ,  But when ever I am querying  it gives No so such OID.
Result:   snmpwalk -v2c -c temp123 192.168.xx.xx snmpTargetAddrTable
SNMP-TARGET-MIB::snmpTargetAddrTable = No Such Object available on this agent 
at this OID

 What can be the worng ? Is any thing missing Please let me know. 


Mysnmpd.conf file contains the following lines

com2sec  config default temp123

com2sec  v4_no_access_config default public
com2sec  v4_no_access_config default private
com2sec  v4_no_access_config default supermax

group VLgroup   v1   config
group VLgroup   v2c config

group v4_no_access_group   v1 v4_no_access_config
group v4_no_access_group   v2cv4_no_access_config

view  fullaccess   included .1 80
access VLgroup ""   v1  noauthexact  fullaccess fullaccess none
access VLgroup ""   v2c noauthexact  fullaccess fullaccess none

access v4_no_access_group ""   v1  noauthexact  none   none 
  none
access v4_no_access_group ""   v2c noauthexact  none   none 
  none

master agentx
agentXSocket   tcp:127.0.0.1:705


  --
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users