Hi Paul,
If I've understood your post correctly you're looking in the MIB
definition file to find out what particular value an item has in the MIB
you're interested in. In particular you are interested in whether
notifications are ON or OFF. Have I followed you correctly so far?
The MIB definition file which you attached (and indeed all MIB
definition files) only tell you what information is contained in the
MIB, not what the current settings are. So for example a MIB definition
file might tell you the current CPU temperature, but it will not tell
you what the temperature is - only that you can find it out from the
MIB. That's why you can't see any settings in there. The most you're
likely to get in terms of a value is the default, so for example in the
MIB you attached we have:
ifLinkUpDownTrapEnable OBJECT-TYPE
SYNTAX INTEGER { enabled(1), disabled(2) }
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates whether linkUp/linkDown traps should be generated
for this interface.
By default, this object should have the value enabled(1) for
interfaces which do not operate on 'top' of any other
interface (as defined in the ifStackTable), and disabled(2)
otherwise."
::= { ifXEntry 14 }
The way to find out the current value and also to change the settings
(assuming the information you're after isn't read-only) is to use SNMP
tools - either an SNMP management tool or just the command line
utilities. I haven't read the original reply to your question, but I'm
guessing the earlier respondent has mentioned this already!
Caveat: I'm fairly new to SNMP in general so it may be that these
particular parameters can be set in a config file somewhere.
I hope this helps
Raffles
Paulo Ricardo wrote:
Hi Helen.
I found in application“s directory the IF-MIB.txt that contains the
fields relathionship with LinkDownUp notifications.
If is it possible and If you have time, can you analize the mib attach
and say to me If the
notifications are ON or OFF?
If they are OFF, how can I put they ON???
Best Regards,
Paulo
ps:I apologies , but i“m not understand MIB structure.
From: "H. McManus" <[EMAIL PROTECTED]>
To: net-snmp-users@lists.sourceforge.net
Subject: Re: No traps for Link down/up in SUN Netra 240 machines
Date: Mon, 13 Feb 2006 15:01:22 +0100
On Monday 13 February 2006 14:42, Paulo Ricardo wrote:
> Where can I look for .1.3.6.1.2.1.31.1.1.1.14 ???
Umm. Right there :-) Either use the snmp command snmpget or use a
graphical
mib browser (net-snmp comes with one called tkmib) and you can see the
value
of those fields.
> Where can I change the ifLinkUpDownTrapEnable or linkUpDown
notifications
> value??
snmpd.conf contains a directive linkUpDownNotifications. See man
snmpd.conf
for the full details.
Helen
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
--
Visit our website at www.roke.co.uk
Roke Manor Research Ltd, Roke Manor, Romsey, Hampshire SO51 0ZN, UK.
The information contained in this e-mail and any attachments is proprietary to
Roke Manor Research Ltd and must not be passed to any third party without
permission. This communication is for information only and shall not create or
change any contractual relationship.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users