mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 18:38:25 +00:00
4c0412b14d
* feature: Wireless Sensors Includes client counts for ios and unifi Graphing could use some improvement. Alerting and threshold ui not implemented WIP: starting OO based wireless sensors. Class based functionality working remove old functional files add schema file discovery needs to be enabled, not polling fix up schema fix Unifi discovery not returning an array Add some debug when discovering a sensor. Fix style. Add missing semicolin Add a null object (Generic) for OS. Fill out some phpdocs Re-organized code Each sensor type now has it's own discovery and polling interface Custom polling tested with Unifi CCQ Left to do: Implement UI (Graphs and Custom thresholds) Alerting Testing Fix event message text Remove runDiscovery and runPolling from OS, they are unused and don't belong there. Cleanups/docs Missed this file. Remove the requirement to fetch the current value to check validity. Do that automatically if current is not specified A few cleanups here and there First pass at graphing. device_ and wireless_ graphs added. Add RouterOS support Singleton OS instance isn't required right now. Remove that to allow some memory to be freed. Add wireless to the device list metrics. Make all metrics clickable Tweak graphs a bit Implement limit configuration page. Use sensors page as common code instead of duplicating. Clean up some javascript interactions: Allow enter on values to save. Cancel if update is not needed. Enable the clear custom button after setting a custom value. Add some wireless alert rules to the library. Add documentation. Add unifi client counts by ssid in addition to radio. Optimize Sensor polling a bit. Add HP MSM clients support (for full controller) Fix function accessibility Formalize the discovery and poller interfaces. Add Xirrus clients and noise floor move module interfaces to a more appropriate place. push caching code up to os, unsure about this do to the limitations No point in selectively enabling wireless discovery. We only discover if the device supports something. Add RSSI, Power, and Rate. Add these sensors for Ubnt Airos. Clean up some copyrights. Reduce the amount of files need to add new types. Leave graph files for consistency and to allow customization. Remove the old wifi clients graph completely. ciscowlc should have improved counts (total and per-ssid) Schema didn't get added. Impelement the rest of the AirOS sensors Reformat and re-organize the Airos.php class. Add several UBNT AirFiber sensors A few fixes add links to the section headers Add HP MSM mibs. * Schema file got dropped in rebase. * Add wireless menu to view sensors across all devices. Icons in the menu need help :/ * Add HeliOS, Mimosa, and Siklu support Sensors added SNR + Noise * Add power and utilization to Unifi * Update polling to prefetch all sensor data in a few snmp requests as possible * Add Extendair: tx+rx power, aggregate rate, frequency * Add a check for duplicate sensors in discovery. Just print an error for now. * Add Bit Error Ratio (named error-ratio to allow for bit error rate to be added if needed) Fix an incorrect link in the wireless sensors table * Add error rate and change all bps and Hz to use si units * Fixes to limits and frequency display * Fix overview graph frequency display A few decimal place tweaks * Don't allow switching sensor and wireless-sensor graphs, it doesn't work. Change individual distance graphs to use si units * Go through the OS and make sure I got all the sensors I can (probably missed some still) Because pollWirelessChannelAsFrequency() is generic and a little complex, so pull it up to OS. Message to help developers adding supports that don't return an array from discover functions. * Fix some issues * Remove noise and signal for now at least A couple more fixes Add a notification * Oopsie * Bonus AirFiber sensors
274 lines
9.7 KiB
Plaintext
274 lines
9.7 KiB
Plaintext
-- ****************************************************************************
|
|
-- COLUBRIS-AAA-CLIENT-MIB definitions
|
|
--
|
|
-- Copyright (c) 2004, Colubris Networks, Inc.
|
|
-- All Rights Reserved.
|
|
--
|
|
-- Colubris Networks AAA Client MIB file.
|
|
--
|
|
-- ****************************************************************************
|
|
|
|
|
|
COLUBRIS-AAA-CLIENT-MIB DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
MODULE-IDENTITY, OBJECT-TYPE,
|
|
Integer32
|
|
FROM SNMPv2-SMI
|
|
MODULE-COMPLIANCE, OBJECT-GROUP
|
|
FROM SNMPv2-CONF
|
|
DisplayString
|
|
FROM SNMPv2-TC
|
|
colubrisMgmtV2
|
|
FROM COLUBRIS-SMI
|
|
ColubrisProfileIndex, ColubrisServerIndex, ColubrisServerIndexOrZero
|
|
FROM COLUBRIS-TC
|
|
;
|
|
|
|
|
|
colubrisAAAClientMIB MODULE-IDENTITY
|
|
LAST-UPDATED "200402200000Z"
|
|
ORGANIZATION "Colubris Networks, Inc."
|
|
CONTACT-INFO "Colubris Networks
|
|
Postal: 200 West Street Ste 300
|
|
Waltham, Massachusetts 02451-1121
|
|
UNITED STATES
|
|
Phone: +1 781 684 0001
|
|
Fax: +1 781 684 0009
|
|
|
|
E-mail: cn-snmp@colubris.com"
|
|
DESCRIPTION "Colubris Networks AAA Client MIB file."
|
|
|
|
::= { colubrisMgmtV2 5 }
|
|
|
|
|
|
-- colubrisAAAClientObjects definition
|
|
colubrisAAAClientObjects OBJECT IDENTIFIER ::= { colubrisAAAClientMIB 1 }
|
|
|
|
-- colubris AAA groups
|
|
colubrisAAAProfileGroup OBJECT IDENTIFIER ::= { colubrisAAAClientObjects 1 }
|
|
colubrisAAAServerGroup OBJECT IDENTIFIER ::= { colubrisAAAClientObjects 2 }
|
|
|
|
-- AAA profile group
|
|
colubrisAAAProfileTable OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF ColubrisAAAProfileEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION "A table defining the AAA server profiles currently configured
|
|
on the device."
|
|
::= { colubrisAAAProfileGroup 1 }
|
|
|
|
colubrisAAAProfileEntry OBJECT-TYPE
|
|
SYNTAX ColubrisAAAProfileEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION "A AAA server profile configured in the device.
|
|
colubrisAAAProfileIndex - Uniquely identifies the profile
|
|
within the profile table."
|
|
INDEX { colubrisAAAProfileIndex }
|
|
::= { colubrisAAAProfileTable 1 }
|
|
|
|
ColubrisAAAProfileEntry ::= SEQUENCE
|
|
{
|
|
colubrisAAAProfileIndex ColubrisProfileIndex,
|
|
colubrisAAAProfileName DisplayString,
|
|
colubrisAAAProfilePrimaryServerIndex ColubrisServerIndexOrZero,
|
|
colubrisAAAProfileSecondaryServerIndex ColubrisServerIndexOrZero
|
|
}
|
|
|
|
colubrisAAAProfileIndex OBJECT-TYPE
|
|
SYNTAX ColubrisProfileIndex
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION "Specifies the index of the AAA server profile."
|
|
::= { colubrisAAAProfileEntry 1 }
|
|
|
|
colubrisAAAProfileName OBJECT-TYPE
|
|
SYNTAX DisplayString
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION "Specifies the name of the AAA server profile."
|
|
::= { colubrisAAAProfileEntry 2 }
|
|
|
|
colubrisAAAProfilePrimaryServerIndex OBJECT-TYPE
|
|
SYNTAX ColubrisServerIndexOrZero
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION "Indicates the index number of the primary server profile in the table.
|
|
A value of zero indicates that no AAA server is defined."
|
|
::= { colubrisAAAProfileEntry 3 }
|
|
|
|
colubrisAAAProfileSecondaryServerIndex OBJECT-TYPE
|
|
SYNTAX ColubrisServerIndexOrZero
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION "Indicates the index number of the secondary server profile in the table.
|
|
A value of zero indicates that no AAA server is defined."
|
|
::= { colubrisAAAProfileEntry 4 }
|
|
|
|
-- AAA server table
|
|
colubrisAAAServerTable OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF ColubrisAAAServerEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION "A table containing the AAA servers currently configured on the
|
|
device."
|
|
::= { colubrisAAAServerGroup 1 }
|
|
|
|
colubrisAAAServerEntry OBJECT-TYPE
|
|
SYNTAX ColubrisAAAServerEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION "An AAA server configured on the device.
|
|
colubrisAAAServerIndex - Uniquely identifies a server inside
|
|
the server table."
|
|
INDEX { colubrisAAAServerIndex }
|
|
::= { colubrisAAAServerTable 1 }
|
|
|
|
ColubrisAAAServerEntry ::= SEQUENCE
|
|
{
|
|
colubrisAAAServerIndex ColubrisServerIndex,
|
|
colubrisAAAAuthenProtocol INTEGER,
|
|
colubrisAAAAuthenMethod INTEGER,
|
|
colubrisAAAServerName OCTET STRING,
|
|
colubrisAAASharedSecret DisplayString,
|
|
colubrisAAAAuthenticationPort Integer32,
|
|
colubrisAAAAccountingPort Integer32,
|
|
colubrisAAATimeout Integer32,
|
|
colubrisAAANASId OCTET STRING
|
|
}
|
|
|
|
colubrisAAAServerIndex OBJECT-TYPE
|
|
SYNTAX ColubrisServerIndex
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION "Specifies the index of the AAA server in the table."
|
|
::= { colubrisAAAServerEntry 1 }
|
|
|
|
colubrisAAAAuthenProtocol OBJECT-TYPE
|
|
SYNTAX INTEGER
|
|
{
|
|
radius(1)
|
|
}
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION "Indicates the protocol used by the AAA client to communicate
|
|
with the AAA server."
|
|
::= { colubrisAAAServerEntry 2 }
|
|
|
|
colubrisAAAAuthenMethod OBJECT-TYPE
|
|
SYNTAX INTEGER
|
|
{
|
|
pap(1),
|
|
chap(2),
|
|
mschap(3),
|
|
mschapv2(4),
|
|
eapMd5(5)
|
|
}
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION "Indicates the authentication method used by the AAA client
|
|
to authenticate users via the AAA server."
|
|
::= { colubrisAAAServerEntry 3 }
|
|
|
|
colubrisAAAServerName OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE (0..15))
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION "Specifies the IP address of the AAA server. The string
|
|
must be a valid IP address in the format 'nnn.nnn.nnn.nnn'
|
|
Where 'nnn' is a number in the range [0..255]. The '.'
|
|
character is mandatory between the fields."
|
|
::= { colubrisAAAServerEntry 4 }
|
|
|
|
colubrisAAASharedSecret OBJECT-TYPE
|
|
SYNTAX DisplayString
|
|
MAX-ACCESS read-write
|
|
STATUS current
|
|
DESCRIPTION "Specifies the shared secret used by the AAA client and
|
|
the AAA server. This attribute should only be set if AAA
|
|
traffic between the AAA client and server is sent through
|
|
a VPN tunnel. Reading this attribute will always return
|
|
a zero-length string."
|
|
::= { colubrisAAAServerEntry 5 }
|
|
|
|
colubrisAAAAuthenticationPort OBJECT-TYPE
|
|
SYNTAX Integer32 (1..65535)
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION "Indicates the port number used by the AAA client to send
|
|
authentication requests to the AAA server."
|
|
::= { colubrisAAAServerEntry 6 }
|
|
|
|
colubrisAAAAccountingPort OBJECT-TYPE
|
|
SYNTAX Integer32 (1..65535)
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION "Indicates the port number used by the AAA client to send
|
|
accounting information to the AAA server."
|
|
::= { colubrisAAAServerEntry 7 }
|
|
|
|
colubrisAAATimeout OBJECT-TYPE
|
|
SYNTAX Integer32 (3..100)
|
|
UNITS "seconds"
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION "Indicates how long the AAA client will wait for an answer
|
|
to an authentication request."
|
|
::= { colubrisAAAServerEntry 8 }
|
|
|
|
colubrisAAANASId OBJECT-TYPE
|
|
SYNTAX OCTET STRING (SIZE (0..253))
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION "Indicates the network access server ID to be sent by the
|
|
AAA client in each authentication request sent to the
|
|
AAA server."
|
|
::= { colubrisAAAServerEntry 9 }
|
|
|
|
-- conformance information
|
|
colubrisAAAClientMIBConformance OBJECT IDENTIFIER ::= { colubrisAAAClientMIB 2 }
|
|
colubrisAAAClientMIBCompliances OBJECT IDENTIFIER ::= { colubrisAAAClientMIBConformance 1 }
|
|
colubrisAAAClientMIBGroups OBJECT IDENTIFIER ::= { colubrisAAAClientMIBConformance 2 }
|
|
|
|
-- compliance statements
|
|
colubrisAAAClientMIBCompliance MODULE-COMPLIANCE
|
|
STATUS current
|
|
DESCRIPTION "The compliance statement for entities which implement
|
|
the Colubris Networks AAA client MIB."
|
|
MODULE MANDATORY-GROUPS
|
|
{
|
|
colubrisAAAProfileMIBGroup,
|
|
colubrisAAAClientMIBGroup
|
|
}
|
|
::= { colubrisAAAClientMIBCompliances 1 }
|
|
|
|
-- units of conformance
|
|
colubrisAAAProfileMIBGroup OBJECT-GROUP
|
|
OBJECTS {
|
|
colubrisAAAProfileName,
|
|
colubrisAAAProfilePrimaryServerIndex,
|
|
colubrisAAAProfileSecondaryServerIndex
|
|
}
|
|
STATUS current
|
|
DESCRIPTION "A collection of objects providing the AAA profile capability."
|
|
::= { colubrisAAAClientMIBGroups 1 }
|
|
|
|
colubrisAAAClientMIBGroup OBJECT-GROUP
|
|
OBJECTS {
|
|
colubrisAAAAuthenProtocol,
|
|
colubrisAAAAuthenMethod,
|
|
colubrisAAAServerName,
|
|
colubrisAAASharedSecret,
|
|
colubrisAAAAuthenticationPort,
|
|
colubrisAAAAccountingPort,
|
|
colubrisAAATimeout,
|
|
colubrisAAANASId
|
|
}
|
|
STATUS current
|
|
DESCRIPTION "A collection of objects providing the AAA client MIB
|
|
capability."
|
|
::= { colubrisAAAClientMIBGroups 2 }
|
|
|
|
END
|