announcing easysnmp: a pythonic fork of the original python net-snmp bindings

2015-06-20 Thread Naveen Nathan
Hi everyone, I thought I'd pop by an email and announce a project called Easy SNMP. The author is my colleague Fotis Gimian who has devoted many nights to provide myself with a usable Pythonic module, and I have to say he's done an exceptional job. Of course, none of this would have been possible

Re: Multi-threaded Net-SNMP Client

2012-09-09 Thread Nathan, Mukund
keep us posted. My experience has been quite the opposite. In multi threaded informs, I had to move init_snmp to the beginning of the process that spawns threads and I had to set several properties that are threads wide and if such properties were applied within the context of a thread then it crea

Re: Multi-threaded Net-SNMP Client

2012-09-07 Thread Nathan, Mukund
Hi Katia S: I have been using multiple threads where each thread starts a client and maintains a single session. I am using this for Informs as opposed to the get/set. In all the usage documentation it was found that we need to perform init_snmp("PROGNAME"), once for all threads. Each thread cre

Re: 5.7.1 AIX agent link fails on Undefined sysmbols

2012-09-04 Thread Nathan, Mukund
ain more information. [he socket.h that it needs to look at to resolve the above has those symbols require LINUX_COMPATIBILITY flag. Just wanted to mention that in case that has a bearing on resolving this in an AIX build] Thanks Mukund On Tue, Sep 4, 2012 at 9:43 AM, Nathan, Mukund wrote: >

Re: 5.7.1 AIX agent link fails on Undefined sysmbols

2012-09-04 Thread Nathan, Mukund
time fails on the agent side. I have not verified that] Thanks Mukund On Tue, Sep 4, 2012 at 12:51 AM, Niels Baggesen wrote: > On Mon, Sep 03, 2012 at 08:20:02PM -0400, Nathan, Mukund wrote: > > CMSG_SPACE and CMSG_LEN are macro defined in an include file > > > > ~/

5.7.1 AIX agent link fails on Undefined sysmbols

2012-09-03 Thread Nathan, Mukund
Hi Snmp coders: I updated my net-snmp from 5.4.1 to 5.7.1. The library build worked fine on Linux ( Ubuntu 10.4). On AIX there is some difficulty when it comes to the ~/net-snmp-5.7.1/agent , linking snmpd. The build does not go past this point. I see the following error libtool: link: gcc

Fwd:

2011-11-29 Thread nathan
http://www.sloggett-translations.com/read.php?uid=45&detail=731&item=59 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threat

Fwd:

2011-11-28 Thread nathan
http://extendiendomanos.org/holidays.php?uid=12&detail=237&item=84 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fr

Need help for engineBoots

2011-08-10 Thread Senthil Nathan
Hi All, We have been using the net-snmp-5.4.2.1 version of stack for our project in version 3 based Network Management system. The master agent respond with the set/get operation with out any problem.In certain time,the engineBoots value in reponse PDU coming as "1".I have checked the persi

generating snmp trap

2010-03-24 Thread nathan
could someone tell me how can I generate and send a trap as a result of an extenal triggering event ? Should I write a simple c program to poll for an event and generate/send trap to a manager ? OR I use snmptrap.will an independent program be able to generate trap by all itself ? thanks

memory leak - net-snmp 5.1.2 with agentx

2010-03-19 Thread nathan
Hi, I am running netsnmp on an embedded platform, and noticed that memory is filling up very quicklyusing the same agentx sw in my laptop with memory anlyzing tool, i found out this ==4815== 2,352 bytes in 4 blocks are definitely lost in loss record 75 of 75 ==4815==at 0x4006AEE: ma

Re: snmpinform response

2010-01-26 Thread nathan
e Shield > Subject: Re: snmpinform response > To: "nathan" > Cc: "netsnmp coders" > Received: Tuesday, January 26, 2010, 10:17 PM > 2010/1/26 nathan : > > could someone help me to write to send an ACK msg in > response to a trap, snmpinform ?  thanks,

snmpinform response

2010-01-26 Thread nathan
could someone help me to write to send an ACK msg in response to a trap, snmpinform ? thanks, FAQ does not talk about anything related to snmpinform response. __ Looking for the perfect gift? Give the gift of Flickr! http:

snmptrap with ACK

2010-01-25 Thread nathan
Hi, I'm wondering if are there any examples to show me how to implement snmptrap with acknowledgement, or snmpinform, from an agent. I am using agentx. The example i found, example.c, notification.c do not wait for an ACK. Or, can someone tell me what are the net-snmp API should I look for...

snmpwalk: Unknown host (Too many open files)

2010-01-08 Thread nathan
Hi, I wrote a test program to do "snmpwalk" on an OID periodically. It worked fine for 4-5 hours, and then it crashed with the follwoing message: snmpwalk: Unknown host (Too many open files). Then I checked the agent, and found that it was still running fine. does anyone can tell me what went w

Re: snmpset response

2009-12-24 Thread nathan
send back the info instead of doing the snmpget ? thanks, > Other than OID response you can not get anything else. > > Dave Shield wrote: > > 2009/12/23 nathan : > >    > >> I am just wondering if I can customize the > response as a result of a snmpset. >

snmpset response

2009-12-23 Thread nathan
Hi, I am just wondering if I can customize the response as a result of a snmpset. In other words, i want to send back some meaningfull information as a result of snmpset. currently, the response of snmpset is the OID and the value you set thanks, __

Re: snmpset fails on MIPS

2009-12-09 Thread nathan
thanks for your response. The OID is my own, and it is nothing to do with OS. It is a very simple integer value from my MIB tree. --- On Wed, 12/9/09, Dave Shield wrote: > From: Dave Shield > Subject: Re: snmpset fails on MIPS > To: "nathan" > Cc: "netsnmp cod

snmpset fails on MIPS

2009-12-08 Thread nathan
Hi, I am calling snmpset on an OID like this...snmpset -v2c -cpublic i 23. In x86 platform, the agent gets this message and the value 23, executes fine. Then I cross compiled for MIPS, the same code, and issued the same cmd..now the agent is running on MIPS. Now the value received by the agen

net-snmp and another application

2009-11-11 Thread nathan
, nathan. __ Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php

snmpwalk without OID

2009-11-02 Thread nathan
hi, when we do snmpwalk or snmpgetbulk, we know which tree/subtree is used to retriving the values from. Then, why the values are returned to the manager in the form of OID=value ? Are there any ways I can get only the values instead of OID=VALUE form. The reason it might occupy a lot of bandwid

SNMP relay

2009-10-27 Thread nathan
could someone provide more info about SNMP relay ? Is the feature working for V2 ? Where can I find more info about setting it up ? thanks, __ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gi

snmpwalk different subnet

2009-10-26 Thread nathan
Hello, I have a wireless lan setup as follows. one access-point(AP) and three clients. The AP and a laptop running as NMS are on the same subnet. As you know, AP maintains its own subnet 192. for its clients. All AP and cleints are netsnmp agents. How do I access each client from the laptop ?

notification

2009-10-09 Thread nathan
hi, I want to send some project-specific info from net-snmp clients to the manager in a periodic fashion. Say, every seconds or so. How do I do that in the clients ? Notification is the only way to implement thator are there any other ways .? thanks, _

improperly registered table found

2009-09-28 Thread nathan
Hi, I am cross compiling 5.1.4.2 for MIPS. I wrote a new mib and mib2c to create the source files. After modification of source files, configuring, and compiling, I started snmpd with debug turned on. When I do snmpwalk on my objects, I'm getting this error msg "improperly registered table found

(openWRT)net-snmp - snmpwalk or snmpget is not picking my oid

2009-05-14 Thread nathan
I am running net-snmp-5.1.2, on a MIPS platform, openWRT (kernel 2.6.25). I have written my MIB, generated .c and .h files using mib2c, modified the .c file with my data struct and etc, and used --with-mib-module="myMib" to configure, and compiled on x86, my laptop, and ran it. Everything OK.

compiling net-snmp-5.4.1.2 for HP-UX 11.11

2008-07-10 Thread Thompson, Nathan
me on how to compile this on HP-UX so I can create a new snmptrapd executable with the above change? Thank you in advance, Nathan - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that

Re: SECURITY UPDATE: Multiple Net-SNMP releases available

2008-06-11 Thread Nathan Schrenk
version reports 5.4.1, and the perl code that builds the perl Makefile contains version checking code that notices that 5.4.1 doesn't match 5.4.1.1 and so it bombs out. Modifying snmplib/snmp_version.c to contain "5.4.1.1" fixes the problem for me. Nathan On Mon, Jun 9, 2008 at

Re: different oid value across different network interfaces

2008-03-06 Thread Nathan Schrenk
ctive, and then look at the context in your subagent's oid handler to decide which value to return. Nathan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.a

Problem with the hint that table_iterator passes to the get_first_data_point function

2008-03-06 Thread Nathan Schrenk
tant-time access to any element in the table, so it reduces the number of get_next_data_point calls down to O( columns * rows ). Nathan --- agent/helpers/table_iterator.c.orig 2006-08-25 05:13:02.0 -0700 +++ agent/helpers/table_iterator.c 2008-03-05 23:39:39.0 -0800 @@ -392,6

Planned improvements to the netsnmp python module?

2008-02-21 Thread Nathan Schrenk
le to that type of change? Nathan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt

Re: A config file command for specifying an exact engineID

2008-01-20 Thread Nathan Schrenk
et me know. Otherwise I'll just submit my current patch to the patch submission system. Nathan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk

Re: A config file command for specifying an exact engineID

2008-01-18 Thread Nathan Schrenk
On Jan 18, 2008 3:45 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 18/01/2008, Nathan Schrenk <[EMAIL PROTECTED]> wrote: > >there is no way to > > specify the engineID exactly. I'd like to be able to configure the > engineID

A config file command for specifying an exact engineID

2008-01-18 Thread Nathan Schrenk
s something that the maintainers of NET-SNMP think is useful? If so, do you have any suggestions for changes, and would you consider adding this to a future NET-SNMP release? Thanks, Nathan Schrenk [EMAIL PROTECTED] --- include/net-snmp/library/snmpv3.h.orig 2008-01-18 14:00:35.0

Thanks

2007-12-05 Thread Senthil Nathan
Hi net-snmp coders, I would like to say thanks to the group and Mr.dave regards giving the solution to avoid multiple lower api calls when snmp get bulk request happened. With thanks and Regards, D.SenthilNathan - SF.Net

To avoid multiple call for lower layer api

2007-12-03 Thread Senthil Nathan
Rtn == MSG_SUCCESS) { printf("SNMP: GET called SNMPTable\n"); } } . Is any one can tell me the solution for that. with thanks and regards s

ragrding dropping bad AgentX request( wrong mode 2 )

2007-12-02 Thread Senthil Nathan
Hi All, I am using the net-snmp 5.3.1 for our application snmp agent, the agent is external to the system,that is the data supplied by lower layers. We faced broken pipe issue,when We are settinging the table columnar variables, the corresponding lower layer api being called inside the tabl

Need to increase timeout.

2007-10-14 Thread Senthil Nathan
Hi All, I am using the net-snmp 5.3.1 for our application snmp agent. We are facing the broken pipe error cause of our snmp agent make the probe to master snmp agent.When ever we make the request for get /set it is probing our lower level layers, what we observed that, during the process happen

snmpd demaen restart issue..

2007-10-10 Thread Senthil Nathan
With thanks and Regards, D.SenthilNathan -Original Message- From: Senthil Nathan Sent: Wed 10/10/2007 3:21 PM To: [email protected] Subject: Hi All, We are using net-snmp5.1.2 in timesys distribution on powerpc target. Here with i have attached my file,we

[no subject]

2007-10-10 Thread Senthil Nathan
Hi All, We are using net-snmp5.1.2 in timesys distribution on powerpc target. Here with i have attached my file,we are using the SNMP agent ,external to the system. We created the thread , which calls the master agent. We observed that, when ever we restart the application.we need to restart t

Broken pipe issue..

2007-10-08 Thread Senthil Nathan
Dear All, . I am using net-snmp5.1.2 version in Red hat environment for my application. I am using mib2c iterate config options for code conversion for the table node.I am using snmp sub agent which gets the data external to the system. I have to process the SNMP set request for my snmp table

row status issue.....

2007-09-10 Thread Senthil Nathan
Dear All Thanks for your information. I have an another issue as when try to call this api netsnmp_insert_table_row() , i got that undefined symbol:netsnmp_insert_table_row i am presently using net-snmp5.3.1 with mib2c iterate config. may i know whether this 5.3.1 version support this api. I tr

regarding row status...

2007-09-09 Thread Senthil Nathan
Dear All, I have certain issue on snmp table. I am using net-snmp5.3.1 version in Red hat environment for my application. I am using mib2c iterate config options for code conversion for the table node.I am using snmp sub agent which gets the data external to the system. I have issue with snmp

Need Your Help

2007-07-26 Thread Senthil Nathan
Hi, I need help regarding snmp log . When we make the SNMP GET/SET Query to the agent, during the time, the snmpagent side console,we got " Connection from " string printed for each snmp query transaction. We need to mute this printing snmp log. We are using net-snmp 5.3.1 version running in

Need help regarding snmp log

2007-07-18 Thread Senthil Nathan
Hi All, Here i have an issue with SNMP SET Query . I have used the net-snmp 5.3.1 version, the working environments are Suse 10.1,Red Hat,Timesys. We created the snmp subagent that the values supplied by external to the system.We are using the iterate config option for mib2c conversion.When ever

table handler call issue

2007-07-10 Thread Senthil Nathan
Dear all, I am using net-snmp5.3.1 version used my application.I have created the subagent that have data supplied by external to the system.I am created mib table conversion using iterate config option. Here, i have got an issue that when i have used to snmp set request ,the corresponding tabl

During set request...

2007-06-28 Thread Senthil Nathan
Hi All My Greetings to you. Here i have an issue with SNMP SET Query . My working environment is net-snmp version 5.3,we created the snmp agent as subagent. We are using the iterate config option for mib2c conversion. When ever we make the set query,the corresponding snmp table handler called 2

dynamic indexing..

2007-05-07 Thread Senthil Nathan
Dear Friends, Greetings to all, Thanks for your help to solve the lot of issues related to my applications. Here, i have a mib table indexed by internal index, generated by mib2c iterator config, net-snmp style of code.The snmp agent got values by other external subsystems.I have used the posit

Index issue....

2007-05-07 Thread Senthil Nathan
Hi , I have an general query, In SNMP MIB table ,the indexing is dynamic? presently i am using mib2c iterator config,net-snmp style of code. I have followed the position count as loop context.I have made the index as fixed. is it possible for dynamic ? Secondly, when i make the Get-bulk or walk

SNMP Get request issue...

2007-05-03 Thread Senthil Nathan
Dear Mr.Dave, The mibBrowser make Get and sequnce of Get-next request only. So is there any aleternate to stop the request for next columnar object in the table / calling next table in the mib. With thanks and Regards, D.SenthilNathan ---

SNMP GET issue...

2007-05-03 Thread Senthil Nathan
Dear Friends Greetings to all, I have an issue with SNMP GET Request. I have used net-snmp 5.1.2 and created the snmp subAgent, the values supplied to the agent externally. I have used mib2c iterator config to generate net-snmp style of code for my alarm related history. I have modifed the ske

Regarding Red Hat issue.

2007-05-01 Thread Senthil Nathan
Dear Mr.Dave, Thanks for your reply. I have fixed the issue . I have suspected same in that config file. Now it has been working fine. With thanks and Regards, D.SenthilNathan - This SF.net email is sponsored by DB2 Expre

Red hat snmpd config file

2007-04-30 Thread Senthil Nathan
Dear Mr.Dave, For your reference , i have given the exact snmpd config file with modifications for Red hat and Timesys. This is the config file ### # # snmpd.conf: # An example configuration file for configuring the uc

Get Request on TimeSys and Red Hat linux distribution

2007-04-30 Thread Senthil Nathan
Dear Mr.Dave, I have tried simple Get request for standard system information through adventnet MibBrowser. I didnt get any result and the firing of Get request never reflect in snmp agent side. With thanks and Regards, D.SenthilNathan ---

Get Request on TimeSys and Red Hat linux distribution

2007-04-30 Thread Senthil Nathan
Dear Mr.dave, Thanks for your reply. For your information,I have used net-snmp for creating the snmp agent which contains the information suppplied by other sub modules not its own. Ihave created the .c and .h files by using mib2c iterator config by " net-snmp " style of code for my mibs. Ihav

Get Request on TimeSys linux distribution

2007-04-30 Thread Senthil Nathan
Dear Mr.Dave, Thanks for your reply, Here i have to give more information I have been implementing the snmp agent using net-snmp 5.3.1 for my product. I have created agent which get the data from external sub modules not its own. Then, regarding mib2c,I have used the iterator config for code con

Regarding Get operation on TimeSys linux

2007-04-30 Thread Senthil Nathan
Dear friends, Greetings to everyone. I have used the net-snmp v5.3.1 for my project and PPC 440 as target in TimeSys linux environment . I have compiled the application on the PPC 440 .I have changed all the relevent changes in the snmp related config file. The issue is i can make the SNMP SE

Indexing...

2007-04-15 Thread Senthil Nathan
Dear Friends, Greetings to all. I have been using net-snmp 5.3.1 in my project.Regarding my project ,the subagent get the data from other system not its own. I am using mib2c iterator conf for my mib tables.I have used the position count as my loop context Regarding this position style loop c

Is MFD helper support getBulk directly.....

2007-04-10 Thread Senthil Nathan
Dear Groups, Dear all, My Greetings to you. I have posted lot of queries and got information regarding Get-Bulk request. for your information,I have to provide the info about my application I am using net-snmp 5.3.1 version. I have used mib2c in iterate config for code generation. The Snmp Age

GetBulk Request into Get Request

2007-04-10 Thread Senthil Nathan
Dear all, My Greetings to you. I have posted lot of queries and got information regarding Get-Bulk request. for your information,I have to provide the info about my application I am using net-snmp 5.3.1 version. I have used mib2c in iterate config for code generation. During Get bulk query fire

String Index

2007-04-04 Thread Senthil Nathan
Hi, Regarding my privious mail, I have used to generate the code by using Mib2c in itertator conf option. With thanks and Regards, D.SenthilNathan - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net

String Index

2007-04-04 Thread Senthil Nathan
Dear Friends, I have to say thanks for the cooperation for my queries regarding getbulk request. It really helped me in my project. Thanks once again, Regarding my project,I have one mib specification. Regarding that, I have need to clarify that, 1. Is it possible , to make the Index as read

During getBulk

2007-03-29 Thread Senthil Nathan
Hi, Greetings to everyone. Regarding my project , i am using Net Snmp 5.3.0.1 I have generated the .c code by using mib2c tool with iterator conf option. The Snmp agent implement like that i wont have the data directly,it will be getting by other lower layers. In the get_first and get_next rou

During getBulk query..

2007-03-27 Thread Senthil Nathan
Hi, I seek your help regarding my projectt. Here, i am using netsnmp5.3.1 version. I have generated c codes by using mib2c which create code skelton based on mib2c iterator conf option . My snmp agent get the values from other sub system not its own. My issue is, when i make get bulk query b

Snmp Get Bulk issue....

2007-03-25 Thread Senthil Nathan
Hi, I am new to this group. I seek your help regarding my projectt. Here, i am using netsnmp5.3.1 version. I have generated c codes by using mib2c which create code skelton based on mib2c iterator conf option . My snmp agent get the values from other sub system not its own. I have two issues.

sys/conf.h present but cannot be compiled

2007-03-12 Thread Nathan Nieblas
FYI... building on FreeBSD 6.2, net-snmp 5.3.1 from ports checking sys/conf.h presence... yes configure: WARNING: sys/conf.h: present but cannot be compiled configure: WARNING: sys/conf.h: check for missing prerequisite headers? configure: WARNING: sys/conf.h: see the Autoconf documentation

[Fwd: Re: IPv6 with NET-SNMP]

2005-10-31 Thread Nathan Nguyen
Help with the problem described below please! I'm reading the stack's code now to see what's going on... Thanks, Nhan Nguyen Original Message Subject: Re: IPv6 with NET-SNMP Date: Thu, 27 Oct 2005 17:33:17 -0400 From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Organization: Lucent

RE: how to get OIDs to MRTG

2005-08-16 Thread Nathan Way
-RESOURCES-MIB::hrProcessorLoad.3 = INTEGER: 7 HOST-RESOURCES-MIB::hrProcessorLoad.4 = INTEGER: 7 HOST-RESOURCES-MIB::hrProcessorLoad.5 = INTEGER: 7 HOST-RESOURCES-MIB::hrProcessorLoad.6 = INTEGER: 9 ___ Nathan Way CCIE #2188 Datanode, LLC (425) 823-6661 / (800) 876-4275

FreeBSD 5.x SNMP memory counters

2005-08-03 Thread Nathan Way
I have Net-SNMP 5.2.1 on several FreeBSD 5.x (5.1, 5.2, 5.3) platforms and have been puzzling over the difference in memory values reported by memTotalReal vs. hrStorageSize. The value from memTotalReal for total memory is smaller than that reported by hrStorageSize. In looking at the code, I not