RE: [pkt-prov] MTA MIB Error OID table - a number ofques tions
"Eugene Nechamkin" <[email protected]>
| Newsgroups | gmane.ietf.ipcdn |
|---|---|
| Message-ID | <24CDBA67F085904999751B3C4F9E8C0B01E76CFC@NT-RMNA-0740.brcm.ad.broadcom.com> |
A slight modification of the approach: if we use the pktcMtaDevErrorOid
and pktcMtaDevErrorValue to indicate the patrticular OID of
pktcMtaDevErrorsTooManyErrs, and use the pktcMtaDevErrorReason to
indicate the non-mandatory part of the error message, then it should
provide both - interoperability and flexibility.
So the following should address additional concerns:
pktcMtaDevErrorOidIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..1024)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" This object is the index of the MTA configuration error
table. It is an integer value which starts at value '1'
and is incremented for each encountered configuration
file error or warning.
If the number of the errors in the configuration file
exceeds 1024, all errors beyond the 1024th one MUST
be ignored - these subsequent errors MUST NOT be
reflected in the pktcMtaDevErrorOidsTable."
::= {pktcMtaDevErrorOidsEntry 1}
pktcMtaDevErrorOid OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" This object contains a human readable representation
(character string) of the OID corresponding to the
configuration file parameter that caused the particular
error.
For example, if the value of the pktcMtaDevEnabled object
in the configuration file caused an error, then this
object instance will contain the human readable string of
'.1.3.6.1.2.1.XXX.1.1.6.0'.
************************************************************
* NOTES TO RFC Editor (to be removed prior to publication) *
* Please replace XXX with the IANA-assigned number under *
* mib-2. *
************************************************************
If the MTA generated an error because it was not able
to recognize a particular OID, then this object
instance would contain an empty value (zero-length
string).
For example, if the value of an OID in the configuration
file was interpreted by the MTA as being .1.2.3.4.5, and
the MTA was not able to recognize this OID as a valid one,
this object instance will contain a zero-length string.
If the numbers of errors in the configuration file exceeds
1024, then for all subsiquent errors, the pktcMtaDevErrorOid
of 1024th table's entry MUST contain the a human readable
representation of the pktcMtaDevErrorsTooManyErrs object,
i.e. the string '.1.3.6.1.2.1.XXX.1.1.4.1.0'.
************************************************************
* NOTES TO RFC Editor (to be removed prior to publication) *
* Please replace XXX with the IANA-assigned number under *
* mib-2. *
************************************************************
Note that the syntax of this object is SnmpAdminString
rather OBJECT IDENTIFIER because not all of the parameters
which can be potentially included into the configuration
file have necessarily the OID associated with them. For
example, TLV38 parameters do not have the valid mapping to
any particular valid OID. In such cases, the object MUST
contain the string uniquely identifying the parameter in
error among all the parameters included into the
configuration file. For example, for the TLV38
parameter which has the wrong value in its suboption-1,
the string may look like '38.1'."
::= {pktcMtaDevErrorOidsEntry 2}
pktcMtaDevErrorValue OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" This object contains the value of the OID corresponding to
the configuration file parameter that caused the error.
If the MTA cannot recognize the OID of the
configuration parameter causing the error, then this
object instance contains the OID itself as interpreted
by the MTA in human readable representation.
If the MTA can recognize the OID but generate an error due
to a wrong value of the parameter, then the object
instance contains the erroneous value of the parameter as
read from the configuration file.
In both cases, the value of this object must be
represented in human readable form as a character string.
For example, if the value of the pktcMtaDevEnabled object
in the configuration file was 3 (invalid value), then the
pktcMtaDevErrorValue object instance will contain the
human readable (string) representation of value '3'.
Similarly, if the OID in the configuration file has been
interpreted by the MTA as being .1.2.3.4.5, and the MTA
cannot recognize this OID as a valid one, then this
pktcMtaDevErrorValue object instance will contain human
readable (string) representation of value '.1.2.3.4.5'.
If the numbers of errors in the configuration file exceeds
1024, then for all subsiquent errors, the pktcMtaDevErrorValue
of 1024th table's entry MUST contain the a human readable
representation of the pktcMtaDevErrorsTooManyErrs object,
i.e. the string '.1.3.6.1.2.1.XXX.1.1.4.1.0'.
************************************************************
* NOTES TO RFC Editor (to be removed prior to publication) *
* Please replace XXX with the IANA-assigned number under *
* mib-2. *
************************************************************"
::= {pktcMtaDevErrorOidsEntry 3}
pktcMtaDevErrorReason OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
" This object indicates the reason for the error or warning,
as per the MTA's interpretation, in human readable form.
Example of possible reason values are:
'VALUE NOT IN RANGE', 'VALUE DOES NOT MATCH TYPE',
'UNSUPPORTED VALUE', 'LAST 4 BITS MUST BE SET TO ZERO',
'OUT OF MEMORY - CANNOT STORE', etc.
This object may also contain vendor specific errors for
private vendor OIDs and any proprietary error codes or
messages which can help diagnose configuration errors.
If the numbers of errors in the configuration file exceeds
1024, then for all subsiquent errors, the
pktcMtaDevErrorReason
of 1024th table's entry will contain a human readable string
indicating the reason for an error, for example,
'Too many errors in the configuration file.'."
::= {pktcMtaDevErrorOidsEntry 4}
Eugene.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Randy Presuhn
Sent: Thursday, January 13, 2005 9:44 PM
To: [email protected]
Subject: Re: [ipcdn] [pkt-prov] MTA MIB Error OID table - a number
ofques tions
Hi -
I like this latest proposal more. However, I think the DESCRIPTION of
pktcMtaDevErrorOidIndex needs a little more work. Specifically,
> From: "Eugene Nechamkin" <[email protected]>
> To: "Wijnen, Bert (Bert)" <[email protected]>
> Cc: <[email protected]>
> Sent: Thursday, January 13, 2005 9:19 PM
> Subject: RE: [ipcdn] [pkt-prov] MTA MIB Error OID table - a number
> ofques tions
...
> pktcMtaDevErrorOidIndex OBJECT-TYPE
...
> pktcMtaDevErrorOidsTable. In this case, the value of the
> pktcMtaDevErrorOid, pktcMtaDevErrorValue, and
remove pktMtaDevErrorOid from this list.
> pktcMtaDevErrorReason objects for the 1024-th table entry
> MUST all be contain the following error string:
replace "be contain" with "be"
> '<Err_OID> - Too many errors in the configuration file.'.
> In this string, the <Err_OID> is the meta-symbol
representing
> the corresponding Error OID. This meta-symbol contains
"contains" should be something like "will be replaced with"
> the human readable representation (character
> string) of the pktcMtaDevErrorsTooManyErrs object,
> i.e. the string '.1.3.6.1.2.1.XXX.1.1.4.1'.
Delete the leading "."
Add:
The object pktMtaDevErrorOid MUST in this case have the
value '1.3.6.1.2.1.XXX.1.1.4.1'
> ************************************************************
> * NOTES TO RFC Editor (to be removed prior to publication) *
> * Please replace XXX with the IANA-assigned number under *
> * mib-2. *
> ************************************************************
>
> The <Err_OID> MUST be present in the error string. The
> rest of the error string will contain explanatory text
> which should be semantically close to the error being
> indicated."
...
This "should be semantically close" contradicts the "MUST" which appears
earlier.
Randy
_______________________________________________
IPCDN mailing list
[email protected]
https://www1.ietf.org/mailman/listinfo/ipcdn