What is the impact of configuring with --disable-mib-loading while configuring ?

2015-07-08 Thread Mahua dutta
-- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses.

Re: Is it possible to embed the SNMP agent into the application?

2015-07-08 Thread Robert Story
On Wed, 28 Jan 2015 10:59:28 +0300 Алексей wrote: > I use Windows and generally the SNMP agent is implemented as a > DLL which is loaded by the SNMP service when the system starts. > Now I have a question: can I embed the SNMP agent in my C++ > application, so that the application at start opens th

Re: How to get total nubmer of requests in snmpd?

2015-07-08 Thread Robert Story
On Fri, 30 Jan 2015 11:54:53 +0500 Valentinich wrote: V> Hello! V> V> I`m extended snmpd with my own module with using dlmod function, V> all fine. I`ve added variable for counting recived request in V> this module, all fine again. But now I need to get total number V> of requests (my module + sta

Re: RFC / IF-MIB network namespaces (linux)

2015-07-08 Thread Robert Story
On Wed, 4 Feb 2015 15:14:16 + (UTC) Tobias wrote: TH> we recently had the need to expose interface counter of TH> network namespaced interfaces on Linux. TH> TH> So this patch adds partial support for this by wrapping TH> relevant code in setns() pairs. TH> TH> Feedback is welcome! Thanks fo

Re: extending code generated by mib2c.mfc.conf to support more tables

2015-07-08 Thread Robert Story
On Wed, 25 Feb 2015 16:03:34 - Tim wrote: TC> I have created a subagent using the mib2c tool and the TC> mib2c.mfc.conf file. TC> TC> This gives me support for monitoring a single table. TC> TC> However, my subagent will need to monitor different types of TC> data and they will be stored in

Re: which data gathering method to use for my mib

2015-07-08 Thread Robert Story
On Fri, 27 Feb 2015 11:11:47 - Tim wrote: TC> The subagent will need to connect to a mail server, issue a TC> command and retrieve the data output from the command and use TC> that to populate rows in my data tables. TC> TC> Each row in the table will represent a separate instance of a TC> smt

RE: table handler code when the index is a ASN_OCTET_STR

2015-07-08 Thread Mani Pooni
I think there was mistake in the MIB that I was using which caused the issue. GETs work now. But I have another question where someone might be able to throw some light. My use case is I want to be able to a create table data set along with the index and column defintions initially. But in a req

Re: Same error building net-snmp-5.7.3 or net-snmp-code-0a139e9348589884ae03858ee82c807c8362d079 on Solaris 10 X86/Sparc

2015-07-08 Thread Robert Story
On Tue, 7 Apr 2015 15:10:12 + Ben wrote: TB> With both net-snmp-5.7.3 and TB> net-snmp-code-0a139e9348589884ae03858ee82c807c8362d079, I'm TB> seeing the same error on both Sparc and X86. With and without TB> -enable-ipv6. TB> TB> ./configure TB> --with-mib-modules=smux,ucd-snmp/lmSensors,if-

RE: adding snmp user through API

2015-07-08 Thread Charles Stahl
No, I haven't resolved this yet. The netsnmp_config() looks interesting, is it as simple as netsnmp_config("net-snmp-create-v3-user -a MD5 -A testkey -x DES -X testkey Username"); how would I go about updating users? Would it be easier to delete the user and "recreate", using the netsn

Re: objects marked not-accessible returned by snmpwalk

2015-07-08 Thread Robert Story
On Wed, 29 Apr 2015 08:52:12 +0100 Tim wrote: TC> But then how can I check if an object is ‘not-accessible’ from my code? You shouldn't need to, as this is something that doesn't change. If the index is marked not-accessible in the MIB, then mib2c should indicate that and will not generate a get

RE: making the cache timeout for container_load to be configurable

2015-07-08 Thread Tim Culhane
Hi Robert, Thanks for this. What is the procedure for requesting such an enhancement? Do you work on current net-snmp development? Thanks, Tim -Original Message- From: NetSNMP Mailbox [mailto:net-snmp-m...@freesnmp.com] On Behalf Of Robert Story Sent: 08 July 2015 15:45 To: Tim Culha

Re: making the cache timeout for container_load to be configurable

2015-07-08 Thread Robert Story
On Wed, 8 Jul 2015 09:05:29 +0100 Tim wrote: TC> " TC> This really should be handled higher up, instead of each module having TC> to do it on it's own. And the nsCacheTable should probably store TC> configured valued in the persistent storage so values survive a restart. TC> " TC> TC> By this do y

RE: making the cache timeout for container_load to be configurable

2015-07-08 Thread Tim Culhane
Hi Robert, No, I never got a response from the list other than your message below. You say: " This really should be handled higher up, instead of each module having to do it on it's own. And the nsCacheTable should probably store configured valued in the persistent storage so values survive a re