Re: Varbind orfer in SNMP TRAP's

2021-10-28 Thread Fulko Hew
On Thu, Oct 28, 2021 at 5:23 PM Craig Small wrote: > On Fri, 29 Oct 2021 at 05:14, Feroz wrote: > >> hi, >> Is it necessary to maintain any specific order in SNMP TRAP for varbinds? >> > For the first two, yes. > I always followed the principles of: 1/ least surprise 2/ Be precise in what you s

Re: Perl extension NetSNMP::ASN does not return values in the request, where Exportable constants- ASN_IPADDRESS

2020-09-15 Thread Fulko Hew
I don't know for sure, but I suspect that the routine does not expect a dotted quad string (to encode into an ASN_IPADRESS, but that it expects a 4 byte packed integer instead. On Tue, Sep 15, 2020 at 3:02 AM Drovalev R.N. wrote: > Hello! > > > > There is a need to return the value of the ip ad

Re: Adding description within trap PDU

2018-01-16 Thread Fulko Hew
On Mon, Jan 15, 2018 at 11:56 PM, Bart Van Assche wrote: > On 01/15/18 20:22, Fulko Hew wrote: > >> b) I've always considered David Perkins' book 'Understanding SNMP MIBs' >> as a good reference on how to interpret the specs. >> >> For TRAPS

Re: Adding description within trap PDU

2018-01-15 Thread Fulko Hew
On Mon, Jan 15, 2018 at 10:15 PM, Bart Van Assche wrote: > On 01/15/18 18:32, Fulko Hew wrote: > >> Yes, you could, but... >> >> If the definition of the trap doesn't include the fields that you want, >> you are not (technically) allowed to add them. >> &

Re: Adding description within trap PDU

2018-01-15 Thread Fulko Hew
Yes, you could, but... If the definition of the trap doesn't include the fields that you want, you are not (technically) allowed to add them. This is important because the receivers are designed to expect what the definitions (in the MIB files) specify. No more, no less, and in the order defined.

Re: What's the purpose of mib.c:2824 tmpbuf2[strlen(tmpbuf2)-1] = 0;

2016-11-19 Thread Fulko Hew
On Tue, Nov 8, 2016 at 4:02 PM, Bart Van Assche wrote: > On 11/08/2016 12:17 PM, Robert Story wrote: > > On Tue, 8 Nov 2016 16:35:46 + Moreno wrote: > > MF> As requested in the sujbect, what's the purpose of line 2824 in > mib.c file? > > MF> > > MF> tmpbuf2[strlen(tmpbuf2)-1] = 0; > > MF> >

Re: accessing a specific row in a mib table

2015-02-19 Thread Fulko Hew
On Thu, Feb 19, 2015 at 11:42 AM, Tim Culhane wrote: > Hi, > > > > Thanks for the response. > > > > Perhaps I'm not explaining myself properly. > > > > There will only be ever one instance of the smtpd process we are getting > the variables from. > > > > However, the counters are returned with di

Re: accessing a specific row in a mib table

2015-02-19 Thread Fulko Hew
On Thu, Feb 19, 2015 at 7:06 AM, Tim Culhane wrote: > Hi, > > Can anybody explain to me the correct way of setting and retrieving details > for a specific row in a mib table. > > For example, I want to create a shared object to manage a table which holds > rows of data relating to counter values

Re: string as index of a table

2014-10-17 Thread Fulko Hew
On Fri, Oct 17, 2014 at 10:38 AM, sarath azad wrote: > Hi Niels, > > But using a query like: snmpwalk $host table>.1..\"ABCDE\" > is not working also. Below are the test results : > > snmpget $host table>.1..10."66.67.68.69.70.71.72.73.74.75" > .1.."BCDEFGHIJK" = INTEGER: 0 > snmpget $host

Re: error showing SNMPWALK on the last table of a view

2014-07-02 Thread Fulko Hew
0 ..." it worked . > So there is no problem with our code, its the general behavior only. > > thanks and regards > S Sarath > > On Wednesday, June 25, 2014 11:28 PM, Fulko Hew wrote: > > Can't saw if this is yr problem but I have seen that it has linear? Delays

Re: Implementings traps for table data

2013-11-19 Thread Fulko Hew
On Tue, Nov 19, 2013 at 10:19 AM, Moctar DIAKHITE wrote: > Hello everybody, > > I'm new at net-snmp coding. I'm writing a MIB module which include scalar > data, tables and traps (notifications). I need to attach a notification to > every single device. For scalar nodes this quite simple and I ma

low? octet string limit on AgentX transactions

2013-10-28 Thread Fulko Hew
I was bit recently by a design limitation on the length of OCTET STRINGS as received and processed by AgentX. My subagent was sending a Notify, that under certain conditions contained 'long' strings; and I was seeing that snmpd (once it received one of these notifies) didn't forward that notify, a

Re: snmp response OIDS

2013-09-18 Thread Fulko Hew
On Sun, Sep 15, 2013 at 11:02 PM, AR, Giridhar wrote: > Did anybody had time to look into? FYI: Your original emails did not get delivered until today. That's why you hadn't seen any replies. ... snip ... > We need a suggestion regarding a snmp response being sent. > Our application the sendin

Re: MIB compile problem

2013-07-25 Thread Fulko Hew
On Thu, Jul 25, 2013 at 2:24 AM, Andrew Hood wrote: > On 19/07/2013 5:47 AM, O'hara, Joseph (Contractor) wrote: > > > Hi net-snmp-coders, > > I am having trouble compiling the NET-SNMP-EXTEND-MIB which I just > > downloaded > > from your website. I am using the latest version of the MB-Soft MIB >

how to use the DISMAN sub-system?

2013-07-17 Thread Fulko Hew
I was trying to use the monitor/proc facility that's built into snmpd, but it turns out the processes I need to monitor are not providing a unique enough name in hrSWRunName (which is used by 'proc') [A useful name is available in hrSWRunPath instead, but 'proc' doesn't use that field.] So I thoug

Re: Row operation in Net-SNMP

2013-04-26 Thread Fulko Hew
> > ** ** > > Thanks, > > Barclay > > ** ** > -- > > *From:* Fulko Hew [mailto:fulko@gmail.com] > *Sent:* 2013年4月24日 20:22 > *To:* Zheng, Wenjie (Barclay) > *Cc:* Dave Shield; net-snmp-coders@lists.sourceforge.net; > net-snmp-us...@lists.sourceforge.net &g

Re: Row operation in Net-SNMP

2013-04-24 Thread Fulko Hew
On Wed, Apr 24, 2013 at 2:02 AM, Zheng, Wenjie (Barclay) < barclay.zh...@alcatel-lucent.com> wrote: > Hi, Dave et al, > > I have a puzzle of Net-SNMP table operation, for example I have a table > like below: > > a1-a2-a3-a4 > b1-b2-b3-b4 > c1-c2-c3-c4 > > In net-snmp, if I use iterator helper to i

Re: index allocate/deallocate of integer values over 255 fails (patch included)

2012-11-15 Thread Fulko Hew
On Thu, Nov 15, 2012 at 8:46 AM, Fulko Hew wrote: > > On Wed, Nov 14, 2012 at 10:41 AM, Fulko Hew wrote: > > > > While testing my app, I think I've discovered an issue... > > > > My app uses AgentX to interact with net-snmp and during the course of > > ev

Re: index allocate/deallocate of integer values over 255 fails (problem isolated)

2012-11-15 Thread Fulko Hew
(I've CC'ed the other mailing list also, in an attempt to solicit a wider audience.) On Wed, Nov 14, 2012 at 10:41 AM, Fulko Hew wrote: > > While testing my app, I think I've discovered an issue... > > My app uses AgentX to interact with net-snmp and during the cour

index allocate/deallocate of integer values over 255 fails

2012-11-14 Thread Fulko Hew
While testing my app, I think I've discovered an issue... My app uses AgentX to interact with net-snmp and during the course of events it typically performs a large number of the following sequence: newIndex = IndexAllocate(ANY_INDEX) [of an Integer value] Register(OID.newIndex); ... Unreg

Re: 64-bit windows and winExtDLL

2012-03-21 Thread Fulko Hew
On Tue, Mar 20, 2012 at 4:29 PM, Bart Van Assche wrote: > On 03/20/12 19:51, Fulko Hew wrote: > > I did not test x86 with an x86build of openSLL, because the issue now > > seems > > to simply be winExtDll/Microsoft DLLs/Windows 7. > > > > I wish I had an older (

Re: 64-bit windows and winExtDLL

2012-03-20 Thread Fulko Hew
On Tue, Mar 20, 2012 at 3:23 PM, Bart Van Assche wrote: > On 03/20/12 13:30, Fulko Hew wrote: > > In the mean time, I thought I'd drop back (disable winExtDLL) and > > enable/build-with openSSL > > support. I downloaded openSSL 1.0.1 built it and installed it where I &

Re: 64-bit windows and winExtDLL

2012-03-20 Thread Fulko Hew
On Mon, Mar 19, 2012 at 2:50 PM, Bart Van Assche wrote: > On 03/19/12 18:35, Fulko Hew wrote: > > > ... So I thought I'd compile with vcvarsall.bat x86 (expecting to see > > the 'other' 3 DLLs fail to load). > > Now I see (when using snmp -DALL) that s

Re: 64-bit windows and winExtDLL

2012-03-19 Thread Fulko Hew
On Mon, Mar 19, 2012 at 1:07 PM, Bart Van Assche wrote: > On 03/19/12 16:16, Fulko Hew wrote: > > C:\usr\bin>snmpd > > > -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable,snmp_mib > > -DwinExtDll > > registered debug token winExtDll, 1 >

where to start when trying to build for x64 Windows?

2012-03-08 Thread Fulko Hew
I'm breaking down and going to try to build Net-SNMP for myself on MS Windows for 64 bit operation ... I found a Win 7 box running on an Intel x64 capable processor. I've downloaded both Net-SNMP 5.6.1.1 and 5.7.1 I also installed Visual Studio 10 and Activestate Perl (for x64) I've read, and re

can't override sysObjectID in an AgentX sub-agent

2012-03-06 Thread Fulko Hew
My dilemma is having a product development team that is delivering on a Windows x64 platform. I need them to deliver a custom value of sysObjectID, but there was a bug in (old versions) of Net-SNMP that prevented the config file override from working. I.e. sysObjectId 5.5.5.5 ( Note: I also trie

Re: Re: help needed wrt net-snmp windows 64bit

2012-02-29 Thread Fulko Hew
On Wed, Feb 29, 2012 at 12:52 PM, Bart Van Assche wrote: > On Feb 29, Markus Gaugusch wrote: > > On Feb 29, Vijaya Simha Reddy Aedavelli > wrote: > > > I want to develop the snmp agent, using net-snmp on Windows 64bit > > > OS(Windows 7/8). Is this possible? > > > > > > I've seen Win32 is availa

Re: snmp in cluster

2011-11-02 Thread Fulko Hew
On Wed, Nov 2, 2011 at 9:31 AM, Dave Shield wrote: > On 2 November 2011 13:26, Fulko Hew wrote: >> When I was forced to do this, I invented my own MIB that 'tableified' all of >> the >> information that I needed to aggregate across the 'cluster'. > &g

Re: snmp in cluster

2011-11-02 Thread Fulko Hew
On Tue, Nov 1, 2011 at 9:09 PM, Nguyen Dinh Phong wrote: > Hi, > I'd like to set up a cluster of nodes running net-snmp5.3.3.2, with only one > main node responsible for external requests. The requirement is to make the > whole cluster appearing as one system to NMS applications. If a customer > d

Re: How to implement a very long enumerated variable

2011-07-18 Thread Fulko Hew
On Mon, Jul 18, 2011 at 4:28 AM, Giuseppe Modugno wrote: > ** > On 15 Jul 2011 at 8:26, Fulko Hew wrote: > > On Fri, Jul 15, 2011 at 3:10 AM, Giuseppe Modugno > > wrote: > > > In this case, when the amplifier is muted, there's no idea > > >

Re: How to implement a very long enumerated variable

2011-07-15 Thread Fulko Hew
On Fri, Jul 15, 2011 at 3:10 AM, Giuseppe Modugno wrote: > ** > On 14 Jul 2011 at 14:38, Fulko Hew wrote: > > On Thu, Jul 14, 2011 at 1:56 PM, Robert Story > > wrote: > > Another option is to define a separate object for mute.. the > > atvantage

Re: How to implement a very long enumerated variable

2011-07-14 Thread Fulko Hew
On Thu, Jul 14, 2011 at 1:56 PM, Robert Story wrote: > On Thu, 14 Jul 2011 12:16:00 -0400 Fulko wrote: > FH> Ahh. 'Gain' is different than volume. Knowing that, I'd define it as > FH> below. > FH> I'd leave the concept of 'muted' as something that the management > system > FH> implements. Ie.

Re: How to implement a very long enumerated variable

2011-07-14 Thread Fulko Hew
On Thu, Jul 14, 2011 at 11:33 AM, Giuseppe Modugno wrote: > ** > On 14 Jul 2011 at 10:17, Fulko Hew wrote: > ... snip ... > > Simple Integer: > > > > Why not just have SYNTAX INTEGER (0..100)? > > Why the complicated 0 to 1000 with steps of 5?

Re: How to implement a very long enumerated variable

2011-07-14 Thread Fulko Hew
On Thu, Jul 14, 2011 at 9:46 AM, Giuseppe Modugno wrote: > ** > On 14 Jul 2011 at 7:38, Robert Story wrote: > > On Thu, 14 Jul 2011 11:39:54 +0200 Giuseppe wrote: > > GM> I have to add a variable in a private MIB. This integer variable > represents an audio volume and it can assume values in

Re: "OID not increasing" error on ifTable queries

2011-06-23 Thread Fulko Hew
On Thu, Jun 23, 2011 at 3:59 AM, Dave Shield wrote: > On 23 June 2011 00:21, Fulko Hew wrote: > > But I have no facility for making Windows binaries, and I'm surprised > that > > no one else has made one to add to the project's download options. > > What rec

Re: "OID not increasing" error on ifTable queries

2011-06-22 Thread Fulko Hew
On Wed, Jun 22, 2011 at 4:12 PM, Bart Van Assche wrote: > On Wed, Jun 22, 2011 at 10:03 PM, Fulko Hew wrote: > >> >> >> On Wed, Jun 22, 2011 at 3:38 PM, Bart Van Assche wrote: >> >>> On Wed, Jun 22, 2011 at 6:39 PM, Fulko Hew wrote: >>> &

Re: "OID not increasing" error on ifTable queries

2011-06-22 Thread Fulko Hew
On Wed, Jun 22, 2011 at 3:38 PM, Bart Van Assche wrote: > On Wed, Jun 22, 2011 at 6:39 PM, Fulko Hew wrote: > >> I've been seeing random issues with Net-SNMP (v5.4.2.1) running on >> "Windows 6.1" (as reported by a Microsoft agent). >> >> Every onc

"OID not increasing" error on ifTable queries

2011-06-22 Thread Fulko Hew
All: I've been seeing random issues with Net-SNMP (v5.4.2.1) running on "Windows 6.1" (as reported by a Microsoft agent). Every once in a while, when walking the tree (snmpwalk), I see it stop with problems on ifIndex. (BTW. it happened on other columns in the ifTable when I explicitly walked tho

Re: One notification for different variables

2011-06-22 Thread Fulko Hew
On Wed, Jun 22, 2011 at 4:54 AM, Giuseppe Modugno wrote: > ** > On 22 Jun 2011 at 9:10, Dave Shield wrote: > > On 22 June 2011 08:50, Giuseppe Modugno > wrote: > ... snip ... > > > I'm wondering what is the best approach between creating 10 > different > > > notifications with own OI

Re: How to refer an object in snmp table

2011-05-06 Thread Fulko Hew
On Fri, May 6, 2011 at 10:29 AM, Anil Murala wrote: > Hi All, >I am a newbie to SNMP. I have written 3 snmp tables. > My question is, i have an object that is present in all the 3 tables. > > Is it possible for me to define in one table and get it refers in other 2 > tables? if yes >

Re: SNMP trap not working correctly for 64-bit varbinds

2011-04-01 Thread Fulko Hew
On Fri, Apr 1, 2011 at 1:23 PM, David Chappelle wrote: > I have the same issue and still confused with its appearance. Previously we > were running a 4yr old version of net-snmp. After recently upgrading to 5.6 > I started getting this error message in /var/log/snmp.log. Was it suppressed > before

Re: SNMP trap not working correctly for 64-bit varbinds

2011-04-01 Thread Fulko Hew
On Fri, Apr 1, 2011 at 11:40 AM, Singh, Vinay wrote: > Hi, > > I am testing snmpd with subagent. Any trap for 64-bit varbind does > not get delivered to snmptrapd. No Problem with 32-bit varbinds. I get error > in > > snmpd.log > > > > # cat snmpd.log > > registered debug token Disman, 1 > >

Net-SNMP doesn't appear to use agentX getBulk PDUs

2011-02-21 Thread Fulko Hew
Just to confirm... It doesn't appear that Net-SNMP uses AgentX getBulk PDUs. Looking through the code, (and sniffing the wire) it looks like the master agent maps an incoming SNMP getBulk onto a 'number of AgentX getNext commands'... Implying that my AgentX sub-agent code doesn't need to support t

Re: problem with AgentX getNext and multiple regions?

2011-02-18 Thread Fulko Hew
On Fri, Feb 18, 2011 at 3:58 PM, Dave Shield wrote: > On 18 February 2011 20:28, Fulko Hew wrote: > > I have two regions registered, and I perform a getnext to the master... > > > > The master sends an AgentX getNext PDU on the first region looking for a > > positi

problem with AgentX getNext and multiple regions?

2011-02-18 Thread Fulko Hew
I'm confused by what Net-SNMP (5.6.rc2) is doing when interacting with my AgentX sub-agent. I have two regions registered, and I perform a getnext to the master... The master sends an AgentX getNext PDU on the first region looking for a positive response. Unfortunately, the 'next' variable isn't

getNext on AgentX sub-agent OID boundary confusion

2011-02-15 Thread Fulko Hew
I am implementing a (native Perl) AgentX library and I'm testing it with a sample sub-agent... Can someone explain my confusion in the following AgentX scenario: 1/ My sub-agent registers a row in its table. The row has 4 columns. The table OID is defined as 1.3.6.1.4.1.881.500.1.5.1.column.

Re: multiple subagents using the same MIB

2010-12-14 Thread Fulko Hew
On Tue, Dec 14, 2010 at 8:27 PM, Judith Walker wrote: > I see an error AGENTX_ERR_DUPLICATE_REGISTRATION number 263, when I try > to run the same subagent that I created, but in different processes > (embedded). What can I do to unique-iffy my subagents so that I can run > them simultaneously,

Re: AgentX - Master and Sub Agent

2010-10-14 Thread Fulko Hew
On Thu, Oct 14, 2010 at 9:05 AM, Shibu George wrote: > Hi, > > > > Thanks for your quick reply. > > I am using the Linux Ubuntu 10.04 version > > > > I have already updated the snmpd.conf file with agentXSocket localhost:705. > > Do I need to specify it as TCP/UDP? > > You need to specify it as t

Re: AgentX - Master and Sub Agent

2010-10-14 Thread Fulko Hew
On Thu, Oct 14, 2010 at 8:38 AM, Shibu George wrote: > > I am getting the following problem while I am running my snmp sub agent > > Warning: Failed to connect to the agentx master agent (localhost:705) > > Can anyone help me? > > Have you: a) Enabled agentX to allow TCP connections? By defaul

Re: sysObjectID still returns an incorrect value

2010-09-22 Thread Fulko Hew
On Mon, Sep 20, 2010 at 8:22 PM, Wes Hardaker < harda...@users.sourceforge.net> wrote: > >>>>> On Thu, 16 Sep 2010 12:41:38 -0400, Fulko Hew > said: > > FH> Are there any other scenarios that I missed testing? > > FYI, I applied your patch to the trunk t

Re: sysObjectID still returns an incorrect value

2010-09-16 Thread Fulko Hew
On Thu, Sep 16, 2010 at 12:31 PM, Wes Hardaker < harda...@users.sourceforge.net> wrote: > >>>>> On Wed, 15 Sep 2010 16:00:42 -0400, Fulko Hew > said: > > FH> WATCHER_MAX_SIZE | WATCHER_SIZE_IS_PTR | WATCHER_SIZE_UNIT_OIDS, > > FH> whereas the value pa

Re: sysObjectID still returns an incorrect value

2010-09-15 Thread Fulko Hew
On Wed, Sep 15, 2010 at 2:52 PM, Fulko Hew wrote: > As long as I was testing 5.6.rc2, I thought I'd test it to > see if the 'sysObjectID is truncated' issue was resolved. > > What I see is that the value is now returned as padded with zeros. &

sysObjectID still returns an incorrect value

2010-09-15 Thread Fulko Hew
As long as I was testing 5.6.rc2, I thought I'd test it to see if the 'sysObjectID is truncated' issue was resolved. What I see is that the value is now returned as padded with zeros. I.e. 1.3.6.1.2.1.1.2.0: 1.3.6.1.4.1.8072.3.2.10.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 and

Re: how should agents handle an 'out-of-range' index ?

2010-09-15 Thread Fulko Hew
On Wed, Sep 15, 2010 at 12:01 PM, Fulko Hew wrote: > On Wed, Sep 15, 2010 at 11:23 AM, Dave Shield > wrote: > >> On 14 September 2010 16:55, Fulko Hew wrote: >> > When I ran this test, the agent died and needed to be restarted. >> >

Re: how should agents handle an 'out-of-range' index ?

2010-09-15 Thread Fulko Hew
On Wed, Sep 15, 2010 at 11:23 AM, Dave Shield wrote: > On 14 September 2010 16:55, Fulko Hew wrote: > > When I ran this test, the agent died and needed to be restarted. > > The variable I was querying was: > > > > 1.3.6.1.4.1.2021.8.1.103.4294967295 aka 'UCD-SN

Re: how should agents handle an 'out-of-range' index ?

2010-09-15 Thread Fulko Hew
On Wed, Sep 15, 2010 at 9:27 AM, Fulko Hew wrote: > On Tue, Sep 14, 2010 at 11:55 AM, Fulko Hew wrote: > > ... snip ... > >> When I ran this test (snmpgetnext), the agent died and needed to be >> restarted >> >> snmpgetnext -v1 -cpublic -Ir localhost 1.3.6.1.4

Re: snmpd agent not listening on port

2010-09-03 Thread Fulko Hew
On Fri, Sep 3, 2010 at 1:27 AM, Abraham Varricatt wrote: > I can't get the snmpd agent I built to listed to connections. Here is > what happens when I start it, > >> sudo -i snmpd -f -Lo udp:161 -C -c /home/abraham/snmpd.conf > NET-SNMP version 5.5 > > > and no more output. It just stays stuck lik

Re: Defining MIB

2010-03-05 Thread Fulko Hew
On Fri, Mar 5, 2010 at 8:58 AM, Dave Shield wrote: > On 5 March 2010 13:42, Fulko Hew wrote: > > The closest merge to your original request would be the following > > > > > >abc OBJECT IDENTIFIER ::= { application 1 } > >xyz OBJECT

Re: Defining MIB

2010-03-05 Thread Fulko Hew
On Fri, Mar 5, 2010 at 7:51 AM, Prakash wrote: > > Thanks Dave, > > I have two mibs as below and I want to merge them into a single MIB. > According to your original definitions, > ABC-MIB := > >abc OBJECT IDENTIFIER ::= { application 1 } > ... snip ... > XYZ-MIB := > >

Re: GUI for net-snmp

2010-01-22 Thread Fulko Hew
On Fri, Jan 22, 2010 at 2:13 AM, Hemant Soundankar < hemantsoundan...@gmail.com> wrote: > > Please suggest me a good opensource GUI for net-snmp manager.I have tried > using OpenNMS but its not getting configured. > I can also suggest you go to: http://monitoringforge.org/ --

Re: implementation of bridge mib as perl module

2010-01-21 Thread Fulko Hew
On Thu, Jan 21, 2010 at 3:42 AM, Dave Shield wrote: > 2010/1/20 Fulko Hew : > > AFIK the 'do' approach allows only one Perl module to be attached. > > Errr... what makes you think that? > I believe you can have as many "perl do" statements as you like. >

Re: implementation of bridge mib as perl module

2010-01-20 Thread Fulko Hew
On Wed, Jan 20, 2010 at 1:29 PM, Vasileios Pappas wrote: Thank you for the feedback. > > Do you mean that we should implement it as a perl sub-agent, Yes. > or that in > general you cannot have more than one "perl do" commands in the snmpd.conf > ? > > Correct (as far as I know). Thats why I d

Re: implementation of bridge mib as perl module

2010-01-20 Thread Fulko Hew
On Wed, Jan 20, 2010 at 8:38 AM, Jens Osterkamp wrote: > > Hello everybody, > > we have started to implement the brige mib (RFC 4188) as a perl module. > > Currently implemented are >- dot1dBasePort >- dot1dBasePortIfIndex >- dot1dTpFdbAddress >- dot1dTpFdbPort >

Re: perl NetSNMP::agent setValue() fix

2009-11-02 Thread Fulko Hew
On Mon, Nov 2, 2009 at 5:36 AM, Max Romanov wrote: > > Writing snmp AgentX subagent in perl, I've discovered Counter64 values > are not passed correctly from perl to C library. > Proposed patch attached. Yes, good catch. When I added the original patch, I just needed it to _answer_ for the missi

Re: unloading the standard MIBs

2009-08-02 Thread Fulko Hew
list, and replace them ALL with my own... and I am successful. > --- On Sat, 8/1/09, Fulko Hew wrote: > > From: Fulko Hew > Subject: Re: unloading the standard MIBs > To: "Zaryab M. Munir" > Cc: net-snmp-coders@lists.sourceforge.net > Date: Saturday, August 1,

Re: unloading the standard MIBs

2009-08-01 Thread Fulko Hew
On Sat, Aug 1, 2009 at 8:29 PM, Zaryab M. Munir wrote > > I have my implementation of IF-MIB and hence don't want to use the > implementation provided by net-snmp. > > Is there a way to unload (not use) the MIBs compiled with net-snmp agent by > using snmpd.conf file ? > > I am looking for somethin

Re: Net-SNMP help

2009-07-08 Thread Fulko Hew
On Tue, Jul 7, 2009 at 12:23 PM, Fikru Getachew wrote: > > Dear all, first of all thank you for your cooperation! > Presently I am working on multi-stage router management plane implemented > in Linux. To describe the architecture in simple words: Multi-stage router > - multiple Linux based PCs co

Re: can NetSNMP.pm tell me the 'called IP'?

2009-03-23 Thread Fulko Hew
On Mon, Mar 23, 2009 at 2:58 PM, Mike Ayers wrote: > > From: Fulko Hew [mailto:fulko@gmail.com] > > Sent: Monday, March 23, 2009 11:23 AM > > >> On Mon, Mar 23, 2009 at 1:31 PM, Mike Ayers > >> wrote: > >> > >> > >> >

Re: can NetSNMP.pm tell me the 'called IP'?

2009-03-23 Thread Fulko Hew
On Mon, Mar 23, 2009 at 1:31 PM, Mike Ayers wrote: > > From: Fulko Hew [mailto:fulko@gmail.com] > > Sent: Saturday, March 21, 2009 6:43 AM > > > if I have multiple IP addresses on my box, I'd like to (need > > to) discriminate between > > one request s