Hi again,
Should I have posted this on the net-snmp-users list instead? I pondered that
originally but thought that the extra code locus information (in
ifTable_data_access.c) in the original note justified its inclusion here.
I'm still looking for a way to use the override mechanis
Hi,
I'm trying to understand the difference between using an "override" for setting
the IF-MIB::ifLinkUpDownTrapEnable. object vs. a traditional set. I find
that when these columns are set for an ifXEntry via the override mechanism in
the agent's configuration file I
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
On Fri, Mar 14, 2008 at 9:47 AM, Nguyen Dinh Nam <[EMAIL PROTECTED]>
wrote:
> I want to write an embedded Perl extension to replace the built in value
> of
> .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifDescr.* ==
> .1.3.6.1.2.1.2.2.1.2 with my own values, such as the long descrip
On Fri, Mar 14, 2008 at 6:42 PM, Dominique bastien <[EMAIL PROTECTED]>
wrote:
> The override command can be added in the conf file by
> your perl script.
>
Thank you, I have tried it but not satisfied.
It's because the interface IDs in Linux is not fixed, but IDs are assi
The override command can be added in the conf file by
your perl script.
--- Nguyen Dinh Nam <[EMAIL PROTECTED]> wrote:
> I want to write an embedded Perl extension to
> replace the built in value of
>
.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.
I want to write an embedded Perl extension to replace the built in value of
.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifDescr.* ==
.1.3.6.1.2.1.2.2.1.2 with my own values, such as the long description of the
interface instead of interface name.
I tried to register my own handler
On 31/07/07, Fong Tsui <[EMAIL PROTECTED]> wrote:
> Is it possible to get this override value from a subagent?
No - I don't think so.
Dave
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping throug
Is it possible to get this override value from a subagent? If yes, how
or where I should look?
Thanks,
FT
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Tuesday, July 31, 2007 1:30 AM
To: Fong Tsui
Cc: net-snmp-coders
On 31/07/07, Dominique bastien <[EMAIL PROTECTED]> wrote:
> It seem that the override directive doesn't work with
> the warm boot. I try some test last nigth and found
> error on each line after a -HUP.
>
> Jan 1 01:40:27 Overture snmpd[101]: /tmp/snmpd.conf:
> lin
It seem that the override directive doesn't work with
the warm boot. I try some test last nigth and found
error on each line after a -HUP.
Jan 1 01:40:27 Overture snmpd[101]: /tmp/snmpd.conf:
line 44: Error:
oid registration failed within the agent
Jan 1 01:40:27 Overture snmpd[101]:
On 31/07/07, Fong Tsui <[EMAIL PROTECTED]> wrote:
> How does override work? It seems it ignores what var_XXX( ) does.
That's correct.
It will return the given value for the specified OID, overriding whatever
the agent code would normally report, and hence ignoring the var_XXX()
Is there API which I can call to get value of an OID, which is set by
override (in snmpd.conf)? My subagent exposes certain data depending on
the value of the OID.
How does override work? It seems it ignores what var_XXX( ) does.
Thanks,
FT
Dominique bastien wrote:
> I perform some tests yesterday with the SIGHUP feature
> and I notice that the lines in snmpd.conf containing
> the "override" keyword are not process at the
> warm-boot.
Please file a bug on http://www.net-snmp.org/bugs .
Please provide syste
I perform some tests yesterday with the SIGHUP feature
and I notice that the lines in snmpd.conf containing
the "override" keyword are not process at the
warm-boot.
What is missing to make this thing work properly?
Do we have to register a callback or add something in
update_config(
> On Thu, 16 Feb 2006 22:51:33 +, Dave Shield <[EMAIL PROTECTED]> said:
>> BTW, the patch was checked in for 5.1.4.pre3, since it fixes known
>> breakage. So we have a week or so before pre4/rc1 to find a better
>> solution, or breakage in the existing solution...
Dave> I'm afraid I'm pro
Quoting Robert Story <[EMAIL PROTECTED]>:
BTW, the patch was checked in for 5.1.4.pre3, since it fixes known
breakage. So we have a week or so before pre4/rc1 to find a better
solution, or breakage in the existing solution...
I'm afraid I'm probably going to have to leave this to you.
The next
plications are. (I'm still
DS> slightly under the weather from last weekend, I think).
Ok... a little more detail.
DS> > - override handler works *after* the fact. original handler is called and
DS> > returns data.
As you surmised, I didn't look into this. Well, I did
I was rather verbose. Maybe that's why
> you asked for an 'executive' summary. I'll try to make it shorter.
>
> - override handler works *after* the fact. original handler is called and
> returns data.
>
> - bulk_to_next handler advances to next variabl
s, since he was working on a
DS> > fix for the original bug report.
DS>
DS> Can you give me an executive summary, please Robert.
Did you check the summary in the patch? I was rather verbose. Maybe that's why
you asked for an 'executive' summary. I'll try to make it
On Fri, 2006-02-10 at 19:39 -0500, Robert Story wrote:
> Ok, I fixed the registration issue in 5.1.4.dev, so that should be in the next
> pre-release. However, with the fix, your config will send the agent into an
> infinite loop. A proposed patch is attached to this bug report:
>
> http://sourcef
On Fri, 27 Jan 2006 11:43:01 +0100 Radek wrote:
RV> Robert Story wrote:
RV> > On Mon, 23 Jan 2006 16:17:38 +0100 Radek wrote:
RV> > RV> The override statement doesn't work in net-snmp-5.1.2/5.1.3
RV> > RV> If I add the following line into snmpd.co
Robert Story wrote:
On Mon, 23 Jan 2006 16:17:38 +0100 Radek wrote:
RV> The override statement doesn't work in net-snmp-5.1.2/5.1.3
RV> If I add the following line into snmpd.conf
RV>
RV> override 1.3.6.1.2.1.25.2.3.1.3.6 null
RV>
RV> I can still access the MIB
Confi
On Mon, 23 Jan 2006 16:17:38 +0100 Radek wrote:
RV> The override statement doesn't work in net-snmp-5.1.2/5.1.3
RV> If I add the following line into snmpd.conf
RV>
RV> override 1.3.6.1.2.1.25.2.3.1.3.6 null
RV>
RV> I can still access the MIB
Confirmed with 5.1.4.dev cvs
The override statement doesn't work in net-snmp-5.1.2/5.1.3
If I add the following line into snmpd.conf
override 1.3.6.1.2.1.25.2.3.1.3.6 null
I can still access the MIB
Radek
--
Radek Vokál <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
I noticed that whenever I use an override in my snmpd.conf file, I get a core
dump. I compiled net-snmp-5.1.1 on slackware 9.1.
For example:
override sysDescr.0 octet_str "foo"
will cause the daemon to toss core while it is parsing the config file.
The problem is in agent_
26 matches
Mail list logo