Files
Tony MurrayandGitHub 11147d3bbf Major Processors rewrite (#8066)
* Extract DiscoveryItem and move some things to better places.
Extract model class
Fix up model construction.  I have problem with construction...
Makeshift model working.  Switch constructor to factory.  discover() and create()
Support legacy discovery.
Remove uneeded custom pollers
Remove netonix custom detection as we try ucd on all os now.
Add a few yaml procs.  Fix a couple things.
More processor discovery conversions
Move Calix e7 to standard hrProcessorLoad, but it doesn't fully implement the HR-MIB, move things around to make it work.
Add a few yaml procs.  Fix a couple things. Correct some stupid mib stuff.
Move more, drop php 5.3
Add netscaler which uses string indexes.  Port fiberhome to yaml and use skip_values
More conversions.  BroadcomProcessorUsage Trait
Serveriron and Ironware share some mibs.  Create a common abstract os for them.
Add yaml support for mib specification in each data entry
Make legacy discover_processor() set 0 for hrDeviceIndex

Untangle Dell switch OS processors

Use use shared OS for groups if they don't have a specific group.
fix silly mib mistake

Make index optional

Move HR and UCD to Traits and out of Processor.

* forgot to update the fortiswitch index

* Make sgos and avaya-ers match the old index.

* fix comware test data

* fix merge errors

* fix dsm and remove pointless empty modules

* file not found exception is in the wrong place.

* Updated processor development docs
2018-02-05 07:39:13 -06:00

191 lines
4.2 KiB
Plaintext

PRVT-DRY-CONTACTS-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
TimeTicks,
NOTIFICATION-TYPE,
Integer32
FROM SNMPv2-SMI
switch
FROM PRVT-SWITCH-MIB;
prvtDryContactsMIB MODULE-IDENTITY
LAST-UPDATED "200711270000Z"
ORGANIZATION "BATM Advanced Communication"
CONTACT-INFO
"BATM/Telco Systems Support team
Email:
For North America: [email protected]
For North Europe: [email protected], [email protected]
For the rest of the world: [email protected]"
DESCRIPTION
"Initial version. This MIB provides external-alarm management and notifications"
-- revision history
REVISION "200711270000Z"
DESCRIPTION
"Compilation fixes"
::= { switch 112 }
dryContactsNotifications OBJECT IDENTIFIER ::= { prvtDryContactsMIB 0 }
dryContactsObjects OBJECT IDENTIFIER ::= { prvtDryContactsMIB 1 }
cfgTable OBJECT-TYPE
SYNTAX SEQUENCE OF CfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table containing inputs configuration and statuses"
::= { dryContactsObjects 1 }
cfgEntry OBJECT-TYPE
SYNTAX CfgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"cfgEntry"
INDEX { prvtAlarmID }
::= { cfgTable 1 }
CfgEntry ::= SEQUENCE {
prvtAlarmID Integer32,
prvtSensorType INTEGER,
prvtName OCTET STRING,
prvtDescription OCTET STRING,
prvtEnableStatus INTEGER,
prvtAlarmStatus INTEGER,
prvtAlarmSeverity INTEGER,
prvtPolarity INTEGER,
prvtLastChange TimeTicks
}
prvtAlarmID OBJECT-TYPE
SYNTAX Integer32(1..6)
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"External and internal alarm index uniquely identifies this row.
T-Metro 200 ES platform has four dry-contacts sensor inputs.
T5C-XG platform has four dry-contact sensor inputs and two dry-contact sensor outputs.
An integer with supported range of values 1-6 for T5C-XG and 1-4 for T-Metro 200 ES. Index. Not-accessible"
::= { cfgEntry 1}
prvtSensorType OBJECT-TYPE
SYNTAX INTEGER {
input(1),
output(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Sensor type. An enumeration with two values: input(1), output(2).
T-Metro 200 ES platform has four dry-contacts sensor inputs.
T5C-XG platform has four dry-contact sensor inputs and two dry-contact sensor outputs.
Read-only."
::= { cfgEntry 2 }
prvtName OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Name of alarm. An OCTET-STRING with max. 16 OCTETS.
Default value null string. Read-write"
::= { cfgEntry 3}
prvtDescription OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Alarm description. An OCTET-STRING with max. 64 OCTETS.
Default value null string. Read-write"
::= { cfgEntry 4}
prvtEnableStatus OBJECT-TYPE
SYNTAX INTEGER {
enabled(1),
disabled(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Senging alarms status. An enumeration with two values: enabled(1), disabled(2).
Default value is disabled(2). Read-write"
::= { cfgEntry 5}
prvtAlarmStatus OBJECT-TYPE
SYNTAX INTEGER {
no-alarm(1),
alarm(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Alarm status. An enumeration with two values: no-alarm(1), alarm(2).
Default value is no-alarm(1). Read-only."
::= { cfgEntry 6 }
prvtAlarmSeverity OBJECT-TYPE
SYNTAX INTEGER {
info(1),
minor(2),
major(3),
critical(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Configured alarm severity. An enumeration with 4 values:
info(1), minor(2), major(3) and critical(4).
Default value is info(1). Read-write"
::= { cfgEntry 7}
prvtPolarity OBJECT-TYPE
SYNTAX INTEGER {
normally-opened(1),
normally-closed(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Configured polarity.
An enumeration with 2 values: normally-opened(1), normally-closed(2).
This object is only for T-Metro 200 ES platform.
Default value is normally-opened(1). Read-write"
::= { cfgEntry 8}
prvtLastChange OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of sysUpTime at the time of the last operational status change.
TimeTicks. Read-only"
::= { cfgEntry 9}
-- Notifications.
stateChanged NOTIFICATION-TYPE
OBJECTS {
prvtAlarmID ,
prvtSensorType,
prvtName,
prvtDescription,
prvtAlarmStatus,
prvtAlarmSeverity
}
STATUS current
DESCRIPTION
"Send notification when operational status of the input changes"
::= { dryContactsNotifications 1 }
END