10 Commits

Author SHA1 Message Date
Tony Murray
9d35fbc6a7 Entity Physical discovery: Rewrite to modern style (#16289)
* Initial entity-physical code

* Split out Entity-MIB trait

* Cisco Cellular inventory

* Fix bad test data

* alfo80hd - we now include all entPhysical entries

* Correct aos7 test data

* Add entPhysicalClass as last resort for label in ui

* aos add previously filtered data

* Fixup arista-eos data

* Update ariast_eos data

* Arris, clean garbage in Rev fields

* Aruba Instant custom inventory ported

* ArubaOS CX add vendor type mib

* aviat-wtm test data refresh

* axos add shelf fix data fields a bit

* ciena-rls

* ciena-sds

* Skip cimc for now... no test data

* Cisco updates

* Comware data update

* Update dnos

* Clean Edgeos garbage, make code from Arris shareable

* Relaxed ifIndex match, some devices cheat and send back static strings instead of formatted OIDs

* Regex refinement and updated edgeos with new clean data

* Update edgeswitch data

* Update eltex-mes21xx data

* eltex-mes23xx

* Guess at eltex-mes24xx since there is no test data

* Update eurostor, fix firmware version

* Apply fixes from StyleCI

* fixes

* Update fortigate data

* Update fortiweb, ftd, and fusion

* Update linux LSI

* Fix hexToAscii null removal with different seperator handling

* icotera add final snmprec data to avoid snmpsim bug

* Update IOS data

* Update mrv-od

* Add junos translation

* Generic data updates n-r

* ruijie workaround snmpsim bug

* Port saf-cfm

* Recode Schleifenbauer, and fix entPhysicalIndex values

* SmartAX fixes

* sm-os and tait-infra93

* timos inventory was not right, fix it up

* ubiquoss-pon

* VRP, has custom data collection on top of normal
adapt port ifIndex lookup to handle it

* VRP exceeded the string length specified in ENTITY-MIB...

* data updates

* Final data update and code cleanup

* Apply fixes from StyleCI

* Lint fixes

* Add missing SnmpResponse->pluck() code

* Update db_schema.yaml

* Fix bad test data

* Another instant-on update

* oops

* Remove some unused code

# Conflicts:
#	includes/html/pages/device/overview.inc.php

---------

Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
2024-08-21 01:12:09 -05:00
Noah Roufus
57e1d3ff48 Calix AXOS Sensor Changes (#15343)
* Sync'd up MIB changes

* Added new ONT sensors: admin/oper state, rx/tx levels
2023-09-25 15:30:30 -05:00
Nick Peelman
d21d4422b4 Add AXOS sensor data for PON Transceivers (the only transceivers Cali… (#14741) 2023-01-02 11:24:59 +01:00
PipoCanaja
40e626d487 Calix (occamos) b6_316 and Calix (calix) 700 (#12744)
* Add mibs for CALIX B6 and enable nobulk

* sensors

* sensors and tests

* mibs

* Calix700 added

* tests

* tests suite

* rerun tests
2021-04-25 09:24:32 -05:00
Tony Murray
b573c9ef73 Implement OS specific information discovery (#11446)
* Implement OS specific information discovery
That way it doesn't have to be fetched during polling
Also improve discovery process, os is only detected once, in the core module.
EXA is the test os, a couple improvements there.

* Use local variable, then unset it so we don't pollute.

* fix style issues

* test and other fixes

* attribute update fixes

* Update exa data, need new source data

* null missing "os" values

* fix ftos odd character

* fix ftos odd character

* only null for new style or we will reset to null every discovery

* Move device observer to own class

* Handle location, relocate event logging

* update exa e7-2 data

* update ird test data, apparently unicode is now working.

* update Linux ntc, now uses correct icon

* Only load all os on the web, also, we can't load existing the the database isn't connected.

* only for devices that have a location

* revert ftos test data apparently

* revert ird
2020-05-14 11:27:59 -05:00
Tony Murray
8f4a041b8d 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
2018-07-23 12:44:53 -05:00
Neil Lathwood
c47b82e825 refactor: Moved / deleted mibs A-D (#5173) 2016-12-17 19:49:56 +00:00
Neil Lathwood
cf388702c8 fix: Used dos2unix on all mibs to prevent .index issue (#4803) 2016-10-14 19:52:33 -05:00
Chris A. Evans
9d4895da7d Changes to be committed:
renamed:    E5-110-AESCOMMON-MIB.mib -> E5-110-AESCOMMON-MIB
	renamed:    E5-110-AS-ATM-MIB.mib -> E5-110-AS-ATM-MIB
	renamed:    E5-110-IESCOMMON-MIB.mib -> E5-110-IESCOMMON-MIB
	renamed:    E5-110-MIB.mib -> E5-110-MIB
	renamed:    E5-110-TRAPS-MIB.mib -> E5-110-TRAPS-MIB
	deleted:    E5-111 alarm.xls
	renamed:    E5-111-AESCOMMON-MIB.mib -> E5-111-AESCOMMON-MIB
	renamed:    E5-111-AS-ATM-MIB.mib -> E5-111-AS-ATM-MIB
	renamed:    E5-111-IESCOMMON-MIB.mib -> E5-111-IESCOMMON-MIB
	renamed:    E5-111-MIB.mib -> E5-111-MIB
	renamed:    E5-111-TRAPS-MIB.mib -> E5-111-TRAPS-MIB
	renamed:    E5-120-AS-ATM-MIB.mib -> E5-120-AS-ATM-MIB
	renamed:    E5-120-IESCOMMON-MIB.mib -> E5-120-IESCOMMON-MIB
	renamed:    E5-120-MIB.mib -> E5-120-MIB
	renamed:    E5-120-TRAPS-MIB.mib -> E5-120-TRAPS-MIB
	renamed:    E5-121-AS-ATM-MIB.mib -> E5-121-AS-ATM-MIB
	renamed:    E5-121-IESCOMMON-MIB.mib -> E5-121-IESCOMMON-MIB
	renamed:    E5-121-MIB.mib -> E5-121-MIB
	renamed:    E5-121-TRAPS-MIB.mib -> E5-121-TRAPS-MIB
	renamed:    HCNUM-TC[rfc2856].mib -> HCNUM-TC[rfc2856]
	deleted:    MIB_ALARM_E5-110_implementation_table.xls
	deleted:    MIB_ALARM_E5-111_implementation_table.xls
	deleted:    MIB_ALARM_E5-121_implementation_table.xls
:	renamed:    RFC-3728.mib -> RFC-3728
	renamed:    RFC3705-MIB.mib -> RFC3705-MIB
2016-08-11 09:38:50 -05:00
thecityofguanyu
88ed9feed7 Per laf's request, modified changes to consolidate Calix E5 support into the 'calix' OS group rather than creating a new one.
Changes to be committed:
	modified:   includes/definitions.inc.php
	modified:   includes/discovery/os/calix.inc.php
	renamed:    includes/discovery/sensors/temperatures/calix-e5.inc.php -> includes/discovery/sensors/temperatures/calix.inc.php
	modified:   includes/polling/os/calix.inc.php
	renamed:    mibs/calix-e5/E5-110-AESCOMMON-MIB.mib -> mibs/calix/E5-110-AESCOMMON-MIB.mib
	renamed:    mibs/calix-e5/E5-110-AS-ATM-MIB.mib -> mibs/calix/E5-110-AS-ATM-MIB.mib
	renamed:    mibs/calix-e5/E5-110-IESCOMMON-MIB.mib -> mibs/calix/E5-110-IESCOMMON-MIB.mib
	renamed:    mibs/calix-e5/E5-110-MIB.mib -> mibs/calix/E5-110-MIB.mib
	renamed:    mibs/calix-e5/E5-110-TRAPS-MIB.mib -> mibs/calix/E5-110-TRAPS-MIB.mib
	renamed:    mibs/calix-e5/E5-111 alarm.xls -> mibs/calix/E5-111 alarm.xls
	renamed:    mibs/calix-e5/E5-111-AESCOMMON-MIB.mib -> mibs/calix/E5-111-AESCOMMON-MIB.mib
	renamed:    mibs/calix-e5/E5-111-AS-ATM-MIB.mib -> mibs/calix/E5-111-AS-ATM-MIB.mib
	renamed:    mibs/calix-e5/E5-111-IESCOMMON-MIB.mib -> mibs/calix/E5-111-IESCOMMON-MIB.mib
	renamed:    mibs/calix-e5/E5-111-MIB.mib -> mibs/calix/E5-111-MIB.mib
	renamed:    mibs/calix-e5/E5-111-TRAPS-MIB.mib -> mibs/calix/E5-111-TRAPS-MIB.mib
	renamed:    mibs/calix-e5/E5-120-AS-ATM-MIB.mib -> mibs/calix/E5-120-AS-ATM-MIB.mib
	renamed:    mibs/calix-e5/E5-120-IESCOMMON-MIB.mib -> mibs/calix/E5-120-IESCOMMON-MIB.mib
	renamed:    mibs/calix-e5/E5-120-MIB.mib -> mibs/calix/E5-120-MIB.mib
	renamed:    mibs/calix-e5/E5-120-TRAPS-MIB.mib -> mibs/calix/E5-120-TRAPS-MIB.mib
	renamed:    mibs/calix-e5/E5-121-AS-ATM-MIB.mib -> mibs/calix/E5-121-AS-ATM-MIB.mib
	renamed:    mibs/calix-e5/E5-121-IESCOMMON-MIB.mib -> mibs/calix/E5-121-IESCOMMON-MIB.mib
	renamed:    mibs/calix-e5/E5-121-MIB.mib -> mibs/calix/E5-121-MIB.mib
	renamed:    mibs/calix-e5/E5-121-TRAPS-MIB.mib -> mibs/calix/E5-121-TRAPS-MIB.mib
	renamed:    mibs/calix-e5/HCNUM-TC[rfc2856].mib -> mibs/calix/HCNUM-TC[rfc2856].mib
	renamed:    mibs/calix-e5/MIB_ALARM_E5-110_implementation_table.xls -> mibs/calix/MIB_ALARM_E5-110_implementation_table.xls
	renamed:    mibs/calix-e5/MIB_ALARM_E5-111_implementation_table.xls -> mibs/calix/MIB_ALARM_E5-111_implementation_table.xls
	renamed:    mibs/calix-e5/MIB_ALARM_E5-121_implementation_table.xls -> mibs/calix/MIB_ALARM_E5-121_implementation_table.xls
	renamed:    mibs/calix-e5/RFC-3728.mib -> mibs/calix/RFC-3728.mib
	renamed:    mibs/calix-e5/RFC3705-MIB.mib -> mibs/calix/RFC3705-MIB.mib
2016-07-23 16:01:17 -05:00