You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(26) |
Nov
(262) |
Dec
(286) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(416) |
Feb
(420) |
Mar
(638) |
Apr
(722) |
May
(478) |
Jun
(697) |
Jul
(559) |
Aug
(502) |
Sep
(482) |
Oct
(992) |
Nov
(452) |
Dec
(415) |
| 2002 |
Jan
(465) |
Feb
(593) |
Mar
(472) |
Apr
(696) |
May
(715) |
Jun
(544) |
Jul
(428) |
Aug
(552) |
Sep
(418) |
Oct
(429) |
Nov
(327) |
Dec
(255) |
| 2003 |
Jan
(531) |
Feb
(380) |
Mar
(394) |
Apr
(408) |
May
(541) |
Jun
(483) |
Jul
(310) |
Aug
(329) |
Sep
(275) |
Oct
(360) |
Nov
(351) |
Dec
(300) |
| 2004 |
Jan
(334) |
Feb
(468) |
Mar
(433) |
Apr
(433) |
May
(448) |
Jun
(472) |
Jul
(456) |
Aug
(565) |
Sep
(536) |
Oct
(567) |
Nov
(451) |
Dec
(435) |
| 2005 |
Jan
(296) |
Feb
(373) |
Mar
(335) |
Apr
(663) |
May
(456) |
Jun
(537) |
Jul
(268) |
Aug
(364) |
Sep
(284) |
Oct
(395) |
Nov
(387) |
Dec
(391) |
| 2006 |
Jan
(464) |
Feb
(465) |
Mar
(556) |
Apr
(242) |
May
(202) |
Jun
(158) |
Jul
(314) |
Aug
(397) |
Sep
(379) |
Oct
(456) |
Nov
(381) |
Dec
(308) |
| 2007 |
Jan
(380) |
Feb
(438) |
Mar
(337) |
Apr
(344) |
May
(379) |
Jun
(316) |
Jul
(392) |
Aug
(287) |
Sep
(301) |
Oct
(413) |
Nov
(265) |
Dec
(325) |
| 2008 |
Jan
(468) |
Feb
(500) |
Mar
(367) |
Apr
(547) |
May
(316) |
Jun
(289) |
Jul
(383) |
Aug
(167) |
Sep
(190) |
Oct
(162) |
Nov
(152) |
Dec
(236) |
| 2009 |
Jan
(371) |
Feb
(384) |
Mar
(370) |
Apr
(368) |
May
(347) |
Jun
(319) |
Jul
(235) |
Aug
(354) |
Sep
(211) |
Oct
(155) |
Nov
(235) |
Dec
(227) |
| 2010 |
Jan
(326) |
Feb
(250) |
Mar
(336) |
Apr
(318) |
May
(269) |
Jun
(281) |
Jul
(324) |
Aug
(257) |
Sep
(299) |
Oct
(181) |
Nov
(182) |
Dec
(148) |
| 2011 |
Jan
(176) |
Feb
(240) |
Mar
(351) |
Apr
(177) |
May
(100) |
Jun
(131) |
Jul
(168) |
Aug
(228) |
Sep
(122) |
Oct
(115) |
Nov
(116) |
Dec
(88) |
| 2012 |
Jan
(127) |
Feb
(108) |
Mar
(117) |
Apr
(149) |
May
(166) |
Jun
(135) |
Jul
(205) |
Aug
(112) |
Sep
(63) |
Oct
(142) |
Nov
(67) |
Dec
(69) |
| 2013 |
Jan
(140) |
Feb
(62) |
Mar
(56) |
Apr
(38) |
May
(35) |
Jun
(30) |
Jul
(57) |
Aug
(35) |
Sep
(24) |
Oct
(32) |
Nov
(59) |
Dec
(41) |
| 2014 |
Jan
(47) |
Feb
(37) |
Mar
(46) |
Apr
(51) |
May
(36) |
Jun
(31) |
Jul
(49) |
Aug
(50) |
Sep
(38) |
Oct
(67) |
Nov
(47) |
Dec
(55) |
| 2015 |
Jan
(38) |
Feb
(47) |
Mar
(20) |
Apr
(30) |
May
(19) |
Jun
(27) |
Jul
(80) |
Aug
(48) |
Sep
(27) |
Oct
(23) |
Nov
(42) |
Dec
(32) |
| 2016 |
Jan
(34) |
Feb
(15) |
Mar
(46) |
Apr
(44) |
May
(49) |
Jun
(22) |
Jul
(36) |
Aug
(24) |
Sep
(6) |
Oct
(14) |
Nov
(13) |
Dec
(13) |
| 2017 |
Jan
(22) |
Feb
(19) |
Mar
(10) |
Apr
(9) |
May
(30) |
Jun
(48) |
Jul
(20) |
Aug
(21) |
Sep
(17) |
Oct
(11) |
Nov
(22) |
Dec
(16) |
| 2018 |
Jan
(25) |
Feb
(3) |
Mar
(19) |
Apr
(22) |
May
(20) |
Jun
(5) |
Jul
(17) |
Aug
(33) |
Sep
(9) |
Oct
(27) |
Nov
(9) |
Dec
(7) |
| 2019 |
Jan
(18) |
Feb
(23) |
Mar
(12) |
Apr
(22) |
May
(29) |
Jun
(23) |
Jul
(17) |
Aug
(15) |
Sep
(28) |
Oct
(12) |
Nov
(26) |
Dec
(22) |
| 2020 |
Jan
(7) |
Feb
(3) |
Mar
(12) |
Apr
(16) |
May
(24) |
Jun
(20) |
Jul
(43) |
Aug
(10) |
Sep
(5) |
Oct
(10) |
Nov
(6) |
Dec
(20) |
| 2021 |
Jan
(21) |
Feb
(10) |
Mar
(20) |
Apr
(17) |
May
(31) |
Jun
(16) |
Jul
(21) |
Aug
(5) |
Sep
(15) |
Oct
(13) |
Nov
(3) |
Dec
(10) |
| 2022 |
Jan
(10) |
Feb
(16) |
Mar
(14) |
Apr
(5) |
May
(8) |
Jun
(8) |
Jul
(12) |
Aug
(23) |
Sep
(4) |
Oct
(3) |
Nov
(5) |
Dec
|
| 2023 |
Jan
(3) |
Feb
(2) |
Mar
(1) |
Apr
(3) |
May
(3) |
Jun
|
Jul
|
Aug
(8) |
Sep
|
Oct
(3) |
Nov
(2) |
Dec
(3) |
| 2024 |
Jan
(4) |
Feb
(3) |
Mar
(5) |
Apr
(4) |
May
(3) |
Jun
(4) |
Jul
(11) |
Aug
(5) |
Sep
(1) |
Oct
(1) |
Nov
(17) |
Dec
(5) |
| 2025 |
Jan
(3) |
Feb
|
Mar
(2) |
Apr
(7) |
May
(2) |
Jun
(1) |
Jul
(3) |
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
(5) |
| 2026 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
(1) |
2
(15) |
3
(15) |
4
(31) |
5
(9) |
6
(8) |
7
|
|
8
|
9
(14) |
10
(19) |
11
(10) |
12
(23) |
13
(11) |
14
(5) |
|
15
(6) |
16
(9) |
17
(3) |
18
(18) |
19
(13) |
20
(2) |
21
(3) |
|
22
(1) |
23
(21) |
24
(33) |
25
(24) |
26
(17) |
27
(4) |
28
|
|
29
(3) |
30
(28) |
31
(24) |
|
|
|
|
|
From: Richard G. <ric...@tr...> - 2009-03-31 22:29:23
|
Hi Dave, Thanks for the advice. Regards, Richard. -----Original Message----- From: dav...@go... [mailto:dav...@go...] On Behalf Of Dave Shield Sent: Tuesday, 31 March 2009 6:36 PM To: Richard Gipps Cc: net...@li... Subject: Re: Forcing configure to look in directories other than ./agent/mibgroup 2009/3/31 Richard Gipps <ric...@tr...>: > 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 |
|
From: Kamil K. <ka...@zy...> - 2009-03-31 16:48:31
|
On 31/03/09 0:20 , "Dave Shield" <D.T...@li...> wrote:
> 2009/3/30 Kamil Kisiel <ka...@zy...>:
>> 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, "<exited>");
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.
|
|
From: manu k. <man...@ya...> - 2009-03-31 15:33:38
|
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.
|
|
From: <snm...@en...> - 2009-03-31 15:26:55
|
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 |
|
From: Dave S. <D.T...@li...> - 2009-03-31 14:19:45
|
2009/3/31 Bart Van Assche <bar...@gm...>:
> 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
|
|
From: parveen y. <par...@co...> - 2009-03-31 14:11:42
|
Dave Shield wrote: > 2009/3/31 parveen yadav <par...@co...>: > >> 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. |
|
From: Bart V. A. <bar...@gm...> - 2009-03-31 13:59:05
|
On Tue, Mar 31, 2009 at 3:16 PM, Dave Shield <D.T...@li...> wrote: > 2009/3/31 Bart Van Assche <bar...@gm...>: >> 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. |
|
From: Dave S. <D.T...@li...> - 2009-03-31 13:25:05
|
2009/3/31 parveen yadav <par...@co...>:
> 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!
|
|
From: Dave S. <D.T...@li...> - 2009-03-31 13:17:10
|
2009/3/31 Bart Van Assche <bar...@gm...>: > 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 |
|
From: parveen y. <par...@co...> - 2009-03-31 13:13:52
|
Dave Shield wrote: > 2009/3/31 parveen yadav <par...@co...>: > >> 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. |
|
From: Bart V. A. <bar...@gm...> - 2009-03-31 12:57:14
|
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: <quote>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.</quote> Bart. |
|
From: Dave S. <D.T...@li...> - 2009-03-31 12:03:41
|
2009/3/31 parveen yadav <par...@co...>: > 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 |
|
From: parveen y. <par...@co...> - 2009-03-31 11:44:09
|
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 |
|
From: Dave S. <D.T...@li...> - 2009-03-31 07:44:35
|
2009/3/31 Kang Chen <Kan...@ec...>:
> 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
|
|
From: Dave S. <D.T...@li...> - 2009-03-31 07:36:27
|
2009/3/31 Richard Gipps <ric...@tr...>: > 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 |
|
From: Dave S. <D.T...@li...> - 2009-03-31 07:32:42
|
2009/3/31 anand chandragandhi <cha...@gm...>: > 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 |
|
From: Kang C. <Kan...@ec...> - 2009-03-31 07:30:25
|
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...@li...] 发送时间: 2009年3月31日 15:24 收件人: Samer Vazdekis 抄送: net-snmp coders; net-snmp users 主题: Re: updating my net-snmp 2009/3/30 Samer Vazdekis <sba...@ho...>: > 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...@li... https://lists.sourceforge.net/lists/listinfo/net-snmp-coders |
|
From: Dave S. <D.T...@li...> - 2009-03-31 07:25:38
|
2009/3/30 Kuczynski, Edward <ed...@ll...>: > 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 |
|
From: Dave S. <D.T...@li...> - 2009-03-31 07:24:19
|
2009/3/30 Samer Vazdekis <sba...@ho...>: > 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 |
|
From: Dave S. <D.T...@li...> - 2009-03-31 07:21:08
|
2009/3/30 Kamil Kisiel <ka...@zy...>:
> 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
|
|
From: <saz...@wi...> - 2009-03-31 06:45:21
|
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/ <http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/> .... Thanks and Regards, Sazid From: Vinod Nanjaiah [mailto:Vin...@mi...] Sent: Tuesday, March 31, 2009 11:19 AM To: net...@li... Subject: snmp agent using MFD Hi! I have generated code using mib2c -c mib2c.mfd.conf <my-node>. 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 |
|
From: Richard G. <ric...@tr...> - 2009-03-31 06:44:59
|
Hi, Is there any way to force configure to look in directories other than netsnmp-5.4.2.1/agent/mibgroup for mib source code? I realize that there is a -with-mib-modules parameter which can be run with configure and this works fine for directory structures under netsnmp-5.4.2.1/agent/mibgroup, but my source files are not in the netsnmp-5.4.2.1 directory structure. Regards, Richard. |
|
From: anand c. <cha...@gm...> - 2009-03-31 06:24:27
|
Is it true that the fact if i use the engine id netsnmp wont probe the snmp agent again and again Else in otherwords if i use enging id for the first request it wont probe? |
|
From: Vinod N. <Vin...@mi...> - 2009-03-31 05:47:07
|
Hi! I have generated code using mib2c -c mib2c.mfd.conf <my-node>. 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 |
|
From: Tackabury, W. <way...@mi...> - 2009-03-30 22:41:55
|
In the spirit of answering my own question from a few weeks back... "Tackabury, Wayne" <way...@mi...> axxxed.... >I'm trying to compile in support for the 64-bit ifXTable counter support for the IF-MIB for Solaris 10 Intel >(and Sparc ultimately)...If I reestablish the build environment with -enable-mfd-rewrites specified, I get an >agent that starts up printing over and over to stdout > > insert (-1) error on subcontainer 'interface container' I actually figured out the issue here. Somehow, an earlier mail (that I discovered a bit later) from a chap I definitely owe a beer or three to named Andrew Cosgriff noted: >Yes, I have the same problem if I compile 5.4.2.1 with >--with-mfd-rewrites and try running it in a solaris zone. (this from http://groups.google.com/group/mailing.unix.net-snmp-users/browse_thread/thread/f143f3297bd7eeda) -- the organization of the SF archives makes digging this up here a bit difficult. D'oh! It makes a lot of sense, although it doesn't make sense why the enable-mfd-rewrites support level would fail at the level of kernel virtualization provided in zoned systems, but work for non-mfd/32-bit counters. I'm guessing that either a) the implementation would actually work if the agent was running in the zone master and this is in fact an issue of some kernel call made that doesn't get back the response expected or accesses a kernel structure unsupported on zone suboridinates or, b) this is just a dumb bug having to do with presumptions about what the interface names will be on Solaris that gets blown up with the way zone-specific if-names are decorated--a simple regex problem, if you will. I've not yet looked into which of those two it is, but I've worked around the issue for now (working fine on a non-zoned system, and that fallback is buying me some time). If in fact the issue is (a) above, which means it's a somewhat interesting issue of agent placement, occurs to me this could be one of a set of issues that might be fodder for a "running net-snmp in virtual machine environments" FAQ. Anyways, should anybody else run into this and have their search filter find this response before Andrew's, that's the issue, at least the one I encoutered. Regards, Wayne Tackabury Mirror Image Internet P.S.: Andrew Cosgriff...if you're out there, thanks a bunch and I'm serious about the brews. |