On 13/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> How can I set the MIBS to ""?. Do I use setenv("MIBS", "", 1)?
Yes. That should work.
Dave
-
Using Tomcat but need to do more? Need to support web services, secur
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: Subagentx : how to define the path where MIBS are installed
>Date: Fri, 13 Oct 2006 10:36:51 +0100
>
>
On 13/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> Is it useful for an agent to know the path where the MIBS are installed?
Depends on whether it needs to use them, or not.
If it loads the MIB files, this slighty increases the startup time and
memory usage.
If it doesn't load the MIB files,
;[EMAIL PROTECTED]>
> >CC: net-snmp-users@lists.sourceforge.net
> >Subject: Re: Subagentx : how to define the path where MIBS are installed
> >Date: Fri, 13 Oct 2006 09:46:09 +0100
> >
> >On 13/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
>
Yes, you're right! Sorry, I should have understood that.
Thank you.
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: Subagentx : how to define the path where
On 13/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> But I'm still in trouble with my test. I run my sample subagentX with a
> directory where no MIBS exist, and I try the command:
>
> snmpwalk -Oa -c public -v 2c localhost:1400 system
>
> I think I would have an error as system is not known, b
plays me the right informations.
Problably, I miss something again.
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: Subagentx : how to define the path where MI
On 13/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> I debug with the token "parse-mibs" and I get the following output:
>
> registered debug token parse-mibs, 1
> parse-mibs: Module SNMPv2-SMI not found
> parse-mibs: Module RFC1155-SMI not found
> parse-mibs: Module RFC1213-MIB not found
> par
still do a snmpwalk on the tables defined in my MIB
which is not in the directory /home/arnboden/testMonitoring/etc.
Thanks.
Arnaud.
>From: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>To: net-snmp-users@lists.sourceforge.net
>Subject: Re: Subagentx : how to define the path where MI
OK, thanks.
I'll try this tomorrow ;o)
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: Subagentx : how to define the path where MIBS are installed
>Date
On 11/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> What surprises me is that my server starts and displays the content of my
> MIB even if I set a directory where no mibs exist.
That's why I suggested you try running with the debug token "parse-mibs".
That will indicate what's actually happe
is too and force net-snmp to search only in one directory?
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: Subagentx : how to define the path where MIBS are installed
On 11/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
> NETSNMP_DS_LIB_MIBDIRS,
> param.pathMIB.c_str());
Aha!
MIBDIRS isn't an application setting - it's a library setting.
Use NE
> So I do this before init_agent and init_snmp (which seems to be
> responsible to parse all the mibs)
Correct. Yes - that seems correct.
OK - try setting the 'parse-mibs' debug token, to see what's actually happening.
Dave
---
So I do this before init_agent and init_snmp (which seems to be
responsible to parse all the mibs)
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: Subagentx : ho
On 11/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> I create a subagentX and I set the Path for the MIBS using:
> netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_LIB_MIBDIRS,
> "/home/arnboden/snmp/mibs");
Whereabouts in your code do you do this?
In particular, where does this com
The function init_snmp is void function. How can I catch runtime errors
arised in the function init_snmp? Is it possible?
>From: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>To: net-snmp-users@lists.sourceforge.net
>Subject: Subagentx : how to define the path where MIBS are installed
>Date: Wed, 11 Oct
17 matches
Mail list logo