mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix Calix OS definitions (#8832)
* Fix Calix OS definitions The main change is EXA (E7, etc) and B6 (Occam) devices are now their own OS Now the follow OS exist: exa: E7 EXA, E5-400, E5-48, E3-48, E3-8G occamos: B6 Unchanged: calix: E5-1**, E3-12C axos: E7-2 AXOS, E9-2, E3-2, E5-520, E5-16F, E3-16F, E5-30x * fix tests exa_e7-2 seems like bogus data. * additional tests, fix an error in the yaml * Remove extra line return * Add missed file
This commit is contained in:
@@ -1,123 +0,0 @@
|
||||
|
||||
-- WinAgents MIB Extraction Wizard
|
||||
-- Extracted from rfc2856.txt 16.03.2005 20:21:52
|
||||
|
||||
HCNUM-TC DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, mib-2, Counter64
|
||||
FROM SNMPv2-SMI
|
||||
TEXTUAL-CONVENTION
|
||||
FROM SNMPv2-TC;
|
||||
|
||||
hcnumTC MODULE-IDENTITY
|
||||
LAST-UPDATED "200006080000Z"
|
||||
|
||||
ORGANIZATION "IETF OPS Area"
|
||||
CONTACT-INFO
|
||||
" E-mail: mibs@ops.ietf.org
|
||||
Subscribe: majordomo@psg.com
|
||||
with msg body: subscribe mibs
|
||||
|
||||
Andy Bierman
|
||||
Cisco Systems Inc.
|
||||
170 West Tasman Drive
|
||||
San Jose, CA 95134 USA
|
||||
+1 408-527-3711
|
||||
abierman@cisco.com
|
||||
|
||||
Keith McCloghrie
|
||||
Cisco Systems Inc.
|
||||
170 West Tasman Drive
|
||||
San Jose, CA 95134 USA
|
||||
+1 408-526-5260
|
||||
kzm@cisco.com
|
||||
|
||||
Randy Presuhn
|
||||
BMC Software, Inc.
|
||||
Office 1-3141
|
||||
2141 North First Street
|
||||
San Jose, California 95131 USA
|
||||
+1 408 546-1006
|
||||
rpresuhn@bmc.com"
|
||||
DESCRIPTION
|
||||
"A MIB module containing textual conventions
|
||||
for high capacity data types. This module
|
||||
addresses an immediate need for data types not directly
|
||||
supported in the SMIv2. This short-term solution
|
||||
is meant to be deprecated as a long-term solution
|
||||
is deployed."
|
||||
REVISION "200006080000Z"
|
||||
DESCRIPTION
|
||||
"Initial Version of the High Capacity Numbers
|
||||
MIB module, published as RFC 2856."
|
||||
::= { mib-2 78 }
|
||||
|
||||
CounterBasedGauge64 ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The CounterBasedGauge64 type represents a non-negative
|
||||
integer, which may increase or decrease, but shall never
|
||||
exceed a maximum value, nor fall below a minimum value. The
|
||||
maximum value can not be greater than 2^64-1
|
||||
(18446744073709551615 decimal), and the minimum value can
|
||||
|
||||
not be smaller than 0. The value of a CounterBasedGauge64
|
||||
has its maximum value whenever the information being modeled
|
||||
is greater than or equal to its maximum value, and has its
|
||||
minimum value whenever the information being modeled is
|
||||
smaller than or equal to its minimum value. If the
|
||||
information being modeled subsequently decreases below
|
||||
(increases above) the maximum (minimum) value, the
|
||||
CounterBasedGauge64 also decreases (increases).
|
||||
|
||||
Note that this TC is not strictly supported in SMIv2,
|
||||
because the 'always increasing' and 'counter wrap' semantics
|
||||
associated with the Counter64 base type are not preserved.
|
||||
It is possible that management applications which rely
|
||||
solely upon the (Counter64) ASN.1 tag to determine object
|
||||
semantics will mistakenly operate upon objects of this type
|
||||
as they would for Counter64 objects.
|
||||
|
||||
This textual convention represents a limited and short-term
|
||||
solution, and may be deprecated as a long term solution is
|
||||
defined and deployed to replace it."
|
||||
SYNTAX Counter64
|
||||
|
||||
|
||||
ZeroBasedCounter64 ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This TC describes an object which counts events with the
|
||||
following semantics: objects of this type will be set to
|
||||
zero(0) on creation and will thereafter count appropriate
|
||||
events, wrapping back to zero(0) when the value 2^64 is
|
||||
reached.
|
||||
|
||||
Provided that an application discovers the new object within
|
||||
the minimum time to wrap it can use the initial value as a
|
||||
delta since it last polled the table of which this object is
|
||||
part. It is important for a management station to be aware
|
||||
of this minimum time and the actual time between polls, and
|
||||
to discard data if the actual time is too long or there is
|
||||
no defined minimum time.
|
||||
|
||||
Typically this TC is used in tables where the INDEX space is
|
||||
constantly changing and/or the TimeFilter mechanism is in
|
||||
use.
|
||||
|
||||
Note that this textual convention does not retain all the
|
||||
semantics of the Counter64 base type. Specifically, a
|
||||
Counter64 has an arbitrary initial value, but objects
|
||||
defined with this TC are required to start at the value
|
||||
|
||||
zero. This behavior is not likely to have any adverse
|
||||
effects on management applications which are expecting
|
||||
Counter64 semantics.
|
||||
|
||||
This textual convention represents a limited and short-term
|
||||
solution, and may be deprecated as a long term solution is
|
||||
defined and deployed to replace it."
|
||||
SYNTAX Counter64
|
||||
|
||||
END
|
@@ -1,226 +0,0 @@
|
||||
|
||||
HC-PerfHist-TC-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY,
|
||||
Counter64,
|
||||
Unsigned32,
|
||||
Integer32,
|
||||
mib-2 FROM SNMPv2-SMI
|
||||
TEXTUAL-CONVENTION FROM SNMPv2-TC;
|
||||
|
||||
hcPerfHistTCMIB MODULE-IDENTITY
|
||||
LAST-UPDATED "200402030000Z" -- February 3, 2004
|
||||
ORGANIZATION "ADSLMIB Working Group"
|
||||
CONTACT-INFO "WG-email: adslmib@ietf.org
|
||||
Info: https://www1.ietf.org/mailman/listinfo/adslmib
|
||||
|
||||
Chair: Mike Sneed
|
||||
Sand Channel Systems
|
||||
Postal: P.O. Box 37324
|
||||
Raleigh NC 27627-7324
|
||||
USA
|
||||
Email: sneedmike@hotmail.com
|
||||
Phone: +1 206 600 7022
|
||||
|
||||
Co-editor: Bob Ray
|
||||
PESA Switching Systems, Inc.
|
||||
Postal: 330-A Wynn Drive
|
||||
Huntsville, AL 35805
|
||||
USA
|
||||
Email: rray@pesa.com
|
||||
Phone: +1 256 726 9200 ext. 142
|
||||
|
||||
Co-editor: Rajesh Abbi
|
||||
Alcatel USA
|
||||
Postal: 2301 Sugar Bush Road
|
||||
Raleigh, NC 27612-3339
|
||||
USA
|
||||
Email: Rajesh.Abbi@alcatel.com
|
||||
Phone: +1 919 850 6194
|
||||
"
|
||||
DESCRIPTION
|
||||
"This MIB Module provides Textual Conventions to be
|
||||
used by systems supporting 15 minute based performance
|
||||
history counts that require high-capacity counts.
|
||||
|
||||
Copyright (C) The Internet Society (2004). This version
|
||||
of this MIB module is part of RFC 3705: see the RFC
|
||||
itself for full legal notices."
|
||||
|
||||
REVISION "200402030000Z" -- February 3, 2004
|
||||
DESCRIPTION "Initial version, published as RFC 3705."
|
||||
|
||||
::= { mib-2 107 }
|
||||
|
||||
HCPerfValidIntervals ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of near end intervals for which data was
|
||||
|
||||
collected. The value of an object with an
|
||||
HCPerfValidIntervals syntax will be 96 unless the
|
||||
measurement was (re-)started within the last 1440 minutes,
|
||||
in which case the value will be the number of complete 15
|
||||
minute intervals for which the agent has at least some data.
|
||||
In certain cases (e.g., in the case where the agent is a
|
||||
proxy) it is possible that some intervals are unavailable.
|
||||
In this case, this interval is the maximum interval number
|
||||
for which data is available."
|
||||
SYNTAX Integer32 (0..96)
|
||||
|
||||
HCPerfInvalidIntervals ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of near end intervals for which no data is
|
||||
available. The value of an object with an
|
||||
HCPerfInvalidIntervals syntax will typically be zero except
|
||||
in cases where the data for some intervals are not available
|
||||
(e.g., in proxy situations)."
|
||||
SYNTAX Integer32 (0..96)
|
||||
|
||||
HCPerfTimeElapsed ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of seconds that have elapsed since the beginning
|
||||
of the current measurement period. If, for some reason,
|
||||
such as an adjustment in the system's time-of-day clock or
|
||||
the addition of a leap second, the duration of the current
|
||||
interval exceeds the maximum value, the agent will return
|
||||
the maximum value.
|
||||
|
||||
For 15 minute intervals, the range is limited to (0..899).
|
||||
For 24 hour intervals, the range is limited to (0..86399)."
|
||||
SYNTAX Integer32 (0..86399)
|
||||
|
||||
HCPerfIntervalThreshold ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This convention defines a range of values that may be set
|
||||
in a fault threshold alarm control. As the number of
|
||||
seconds in a 15-minute interval numbers at most 900,
|
||||
objects of this type may have a range of 0...900, where the
|
||||
value of 0 disables the alarm."
|
||||
SYNTAX Unsigned32 (0..900)
|
||||
|
||||
HCPerfCurrentCount ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
|
||||
"A gauge associated with a performance measurement in a
|
||||
current 15 minute measurement interval. The value of an
|
||||
object with an HCPerfCurrentCount syntax starts from zero
|
||||
and is increased when associated events occur, until the
|
||||
end of the 15 minute interval. At that time the value of
|
||||
the gauge is stored in the first 15 minute history
|
||||
interval, and the gauge is restarted at zero. In the case
|
||||
where the agent has no valid data available for the
|
||||
current interval, the corresponding object instance is not
|
||||
available and upon a retrieval request a corresponding
|
||||
error message shall be returned to indicate that this
|
||||
instance does not exist.
|
||||
|
||||
This count represents a non-negative integer, which
|
||||
may increase or decrease, but shall never exceed 2^64-1
|
||||
(18446744073709551615 decimal), nor fall below 0. The
|
||||
value of an object with HCPerfCurrentCount syntax
|
||||
assumes its maximum value whenever the underlying count
|
||||
exceeds 2^64-1. If the underlying count subsequently
|
||||
decreases below 2^64-1 (due, e.g., to a retroactive
|
||||
adjustment as a result of entering or exiting unavailable
|
||||
time), then the object's value also decreases.
|
||||
|
||||
Note that this TC is not strictly supported in SMIv2,
|
||||
because the 'always increasing' and 'counter wrap'
|
||||
semantics associated with the Counter64 base type are not
|
||||
preserved. It is possible that management applications
|
||||
which rely solely upon the (Counter64) ASN.1 tag to
|
||||
determine object semantics will mistakenly operate upon
|
||||
objects of this type as they would for Counter64 objects.
|
||||
|
||||
This textual convention represents a limited and short-
|
||||
term solution, and may be deprecated as a long term
|
||||
solution is defined and deployed to replace it."
|
||||
SYNTAX Counter64
|
||||
|
||||
HCPerfIntervalCount ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A gauge associated with a performance measurement in
|
||||
a previous 15 minute measurement interval. In the case
|
||||
where the agent has no valid data available for a
|
||||
particular interval, the corresponding object instance is
|
||||
not available and upon a retrieval request a corresponding
|
||||
error message shall be returned to indicate that this
|
||||
instance does not exist.
|
||||
|
||||
Let X be an object with HCPerfIntervalCount syntax.
|
||||
|
||||
Let Y be an object with HCPerfCurrentCount syntax.
|
||||
Let Z be an object with HCPerfTotalCount syntax.
|
||||
Then, in a system supporting a history of n intervals with
|
||||
X(1) and X(n) the most and least recent intervals
|
||||
respectively, the following applies at the end of a 15
|
||||
minute interval:
|
||||
|
||||
- discard the value of X(n)
|
||||
- the value of X(i) becomes that of X(i-1)
|
||||
for n >= i > 1
|
||||
- the value of X(1) becomes that of Y.
|
||||
- the value of Z, if supported, is adjusted.
|
||||
|
||||
This count represents a non-negative integer, which
|
||||
may increase or decrease, but shall never exceed 2^64-1
|
||||
(18446744073709551615 decimal), nor fall below 0. The
|
||||
value of an object with HCPerfIntervalCount syntax
|
||||
assumes its maximum value whenever the underlying count
|
||||
exceeds 2^64-1. If the underlying count subsequently
|
||||
decreases below 2^64-1 (due, e.g., to a retroactive
|
||||
adjustment as a result of entering or exiting unavailable
|
||||
time), then the value of the object also decreases.
|
||||
|
||||
Note that this TC is not strictly supported in SMIv2,
|
||||
because the 'always increasing' and 'counter wrap'
|
||||
semantics associated with the Counter64 base type are not
|
||||
preserved. It is possible that management applications
|
||||
which rely solely upon the (Counter64) ASN.1 tag to
|
||||
determine object semantics will mistakenly operate upon
|
||||
objects of this type as they would for Counter64 objects.
|
||||
|
||||
This textual convention represents a limited and short-
|
||||
term solution, and may be deprecated as a long term
|
||||
solution is defined and deployed to replace it."
|
||||
SYNTAX Counter64
|
||||
|
||||
HCPerfTotalCount ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A gauge representing the aggregate of previous valid 15
|
||||
minute measurement intervals. Intervals for which no
|
||||
valid data was available are not counted.
|
||||
|
||||
This count represents a non-negative integer, which
|
||||
may increase or decrease, but shall never exceed 2^64-1
|
||||
(18446744073709551615 decimal), nor fall below 0. The
|
||||
value of an object with HCPerfTotalCount syntax
|
||||
assumes its maximum value whenever the underlying count
|
||||
|
||||
exceeds 2^64-1. If the underlying count subsequently
|
||||
decreases below 2^64-1 (due, e.g., to a retroactive
|
||||
adjustment as a result of entering or exiting unavailable
|
||||
time), then the object's value also decreases.
|
||||
|
||||
Note that this TC is not strictly supported in SMIv2,
|
||||
because the 'always increasing' and 'counter wrap'
|
||||
semantics associated with the Counter64 base type are not
|
||||
preserved. It is possible that management applications
|
||||
which rely solely upon the (Counter64) ASN.1 tag to
|
||||
determine object semantics will mistakenly operate upon
|
||||
objects of this type as they would for Counter64 objects.
|
||||
|
||||
This textual convention represents a limited and short-
|
||||
term solution, and may be deprecated as a long term
|
||||
solution is defined and deployed to replace it."
|
||||
SYNTAX Counter64
|
||||
END
|
||||
|
Reference in New Issue
Block a user