Commit Graph

1782 Commits

Author SHA1 Message Date
Dan Baker
cd7aa5e65d Added PoE controller load and status sensors for Junos devices (#14868) 2023-03-02 11:16:54 +02:00
not-known
dda3176131 Add Fortigate packet loss monitoring for Link-Monitor and SD-WAN; Remove testing of VPN config from the SD-WAN tests as it is unrelated and could break the test (#14828)
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2023-03-01 01:10:45 +01:00
Henne Van Och
2140ff21c5 add more docker stats (#14767) 2023-03-01 01:02:01 +01:00
GeantRA
2da5d4505b Refactored Juniper SLA to include support for TWAMP and remove ambigu… (#14787) 2023-02-24 13:09:52 +01:00
electrocret
b6df8b0116 Fortigate IPS Intrusions detected stats (#14857)
* Update fortigate.yaml

* Use IPS stats table

* Update fortigate.yaml

* Update fortigate.yaml

* Update fortigate.yaml

* Update fortigate.yaml

* Update fortigate.yaml

* Test data

* Update fortigate_ips.snmprec

* Potential for multiple entries.

Further testing found some firewalls with multiple table entries.

* cleanup display

* Update fortigate.yaml

* Update fortigate.yaml

* Update fortigate.yaml

* Update Testdata
2023-02-21 00:39:20 +01:00
Guilherme Poletto
5dc7f89922 Add support for Vsol v1600d EPON OLT (#14853)
* Add Modified V-sol MIB

* Add Vsolution Discovery OS

* Add Vsolution Discovery OS

* Add os-logo

* Add snmp test data

* Add .json test data

* Add .json actual test data
2023-02-20 12:31:43 +01:00
Noah Roufus
7abdc5b914 EdgeOS OLT new sensors and changes (#14807) 2023-01-26 15:21:25 +00:00
Zane C. Bowers-Hadley
98c033e84f CAPEv2 support (#14801)
* re-add it

* add cape app page

* add initial cape graphs

* now work for the general page

* more udpates

* add cape pending

* add pending and cleanup for if there are no packages(likely cuckoo, so don't add extra items)

* rework the lack of packages a bit more

* more cuckoo related cleanupgiot

* fix cape error logging

* minor cleanups

* add a new graph and use it with cape... also lots of cape cleanups

* misc cape updates

* add percentile values for stats

* add fix for weekly

* don't display 1 day average if under 17 hours

* zero timeslots of packages not used for this time slot

* add avg stat graphs for cape

* now use the average graphs and update the app page

* add a new graph

* add CAPEv2 docs

* add tests data

* lots of style cleanup

* another tweak for the test data

* fix misc style issues

* add cape to apps page

* add nicecase for cape

* case fix

* json fix for test data

* add a missing stat

* some more test data tweaking

* more misc test updates

* more test tweaking

* more test work...

* more test data work

* add what is hopefully the final test tweak
2023-01-24 11:20:18 -06:00
carbinefreak
d869b879d1 Nokia PMC Microwave Improvements (#14761) 2023-01-19 23:31:57 +01:00
Knut Petter Ølberg
4a97c67b92 Routeros lldp discovery (#14791) 2023-01-18 18:46:36 +01:00
not-known
87a062a48d Stop net-snmp from interpreting the octet-string from rttMonEchoAdmin… (#14676) 2023-01-10 16:42:54 +01:00
dennypage
7936c7daf2 Add Universal Input Output support for APC (#14766) 2023-01-10 16:25:16 +01:00
Nick Peelman
3cda342581 Eaton matrix wattage fix (#14770) 2023-01-10 16:13:53 +01:00
not-known
dc74ba03ae Add state of the Fortigate link monitor health checks (#14675) 2023-01-04 16:41:25 +01:00
Sander Blomvågnes
cf3f69e67f Adding support for loop-telecom devices (#14674) 2023-01-02 14:47:17 +01:00
bnerickson
bf25313d3c Adding discovery of LSI MegaRAID Device Media Errors, Other Errors, a… (#14729) 2023-01-02 11:57:35 +01:00
Nick Peelman
d21d4422b4 Add AXOS sensor data for PON Transceivers (the only transceivers Cali… (#14741) 2023-01-02 11:24:59 +01:00
Nick Peelman
90438449a1 Eltek Enexus; Fix SmartpackS divisor and hardware discovery (#14762) 2022-12-29 22:10:10 +00:00
Nick Peelman
27fbfef2d8 SROS/TIMOS: additional sensors (#14756) 2022-12-24 22:38:36 +00:00
rhinoau
03482ddd65 Added Moxa switching ifAlias/portName mapping (#14633)
* WIP: Added Moxa switching ifAlias/portName mapping

* style fixes
2022-12-16 09:59:41 -06:00
AdamB
3a085d89c9 Use 'counter' RRD type for some TrueNAS sensors (#14670)
* Use 'counter' for some TrueNAS sensors

* Test Data

* Missed one

* Update index to force sensor to be re-discovered

* Switch sufix from '_Count' to '_rate'
2022-12-09 17:27:39 +01:00
bnerickson
fbd4bc1269 Adding certificate application tests (#14708) 2022-12-07 23:02:23 +01:00
Tony Murray
e8c3b2c924 Improve SnmpResponse value() (#14605)
* Improve SnmpResponse value
Can now return a specific oid or the first non-empty oid in a list.
Cache values() call on object to avoid repeated parsing
Improved types

* fix style

* extract getOidParts to fix errors from different parts of the code parsing differently

* new object to deal with cache

* More tests

* whitespace

* style
2022-11-30 19:50:46 -06:00
Denny Friebe
54094a4038 Support Huawei SMU02B (#14673)
Signed-off-by: Denny Friebe <nightcore500@users.noreply.github.com>

Signed-off-by: Denny Friebe <nightcore500@users.noreply.github.com>
2022-11-24 17:34:27 +01:00
Noah Roufus
9e9720fc17 Added divisor to SAF Integra-X temp sensors (#14655) 2022-11-18 19:48:46 -06:00
Noah Roufus
52f984c78b Corrected ICT MPS hardware detection (#14654)
* Corrected ICT MPS hardware detection

* Updated test data for ICT MPS
2022-11-18 16:30:45 -06:00
Noah Roufus
359e00f602 Adjusted PMP to accomodate various other 450 models. (#14652) 2022-11-18 16:30:05 -06:00
Josh Silvas
4107b37b9d Adds Cisco DHCP Server SNMP MIB and Trap Handlers. (#14618)
* Adds API call to update port notes on devices.

* Adds Cisco IETF-DHCP Server MIB and Trap Handlers.

* Updates local permissions changed.

* Linting cleanup.

* Moves test to a single file. Updates the args to match the status.

* Fixes tests failing for Cisco DHCP server SNMP traps.
2022-11-18 00:15:42 -06:00
Tony Murray
106d4c4a4a Fix sqlite test (#14642)
* Fix sqlite test

* Add sqlite database to ci

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2022-11-17 10:57:40 +01:00
PipoCanaja
8176e726bc improvePower (#14624) 2022-11-13 13:53:34 +01:00
bnerickson
bb536bb6fe Adding wireguard application support (#14625) 2022-11-13 11:07:24 +01:00
rhinoau
2f4744c869 Added Moxa EDS-G516E optical sensors (#14610) 2022-11-10 08:55:40 +01:00
Tony Murray
3e6ad9006a Fix eNexus total current for Smartpack S (#14606)
* Fix eNexus divisor
Thanks to @loopodoopo, it looks like Smartpack S returns 1/10 Amps instead of Amps.
Set them separately

fixes #14414

* I did not wait for data to fully update :D
2022-11-09 11:07:08 -06:00
Tony Murray
b9d8a7c33c Improved AIX os information collection (#14595)
* Improved AIX os information collection

* Fix-up merged data

* remove baseline
2022-11-09 12:04:56 +01:00
Jellyfrog
71d740770b Remove Log::event (#14526)
* Remove Log::event

Use the Eventlog class directly instead

* wip

* wip

* wip

* Apply fixes from StyleCI

* Update Eventlog.php
2022-11-09 09:47:19 +01:00
Zane C. Bowers-Hadley
8511611f64 add HV Monitor, a generic means for monitoring hypvervisors (#14218)
* add HV::Monitor support

* document hv monitor

* add HV Monitor tests

* style cleanup

* fix a few missed style items

* test fix

* more test cleanup

* more minor test tweaks

* more test cleanup

* more test tweaking

* test ordering fix all done... hopefully

* more test cleanup

* minor formatting change
2022-11-07 13:35:48 -06:00
Tony Murray
9d3d81bb11 IP Infusion OcNOS basic detection (#14588)
* IP Infusion OcNOS basic detection

* add test data

* add os data
2022-11-07 13:09:33 -06:00
Tony Murray
0801af7a81 Consolidate and improve snmptranslate usage (#14567)
* Consolidate and improve snmptranslate usage

* Fix style

* lint fixes

* fix typo

* allow multiple mib directories

* Only add mib if it is not already set

* oid first, in case we have key length issues

* if there is a full oid, don't add other mibs

* debug in ci

* more debug in ci

* better debug in ci

* remove debug

* Use numeric index

* revert dlink change

* Don't add -On twice

* unit tests and hopefully better heuristics

* remove dump and add one more set of tests

* style fixes

* handle bad input in old functions

* shortcut whole snmp_translate function
2022-11-07 12:00:47 -06:00
Tony Murray
26318dc4b3 Improve trap testing (#14546)
* Improve trap testing
Add helper log() to Trap
Avoid saving to the database at all

* style

* Move all traps to $trap->log()

* Update tests

* Lint and style fixes

* Use correct partial mock call

* more style

* Add docs

* debug in ci

* use the correct log function....................

* all, I guess

* not the first??

* 3rd?

* use event_id to order
2022-11-05 14:43:54 -05:00
Bierchermuesli
7f3301caa4 Device - Basic hatteras dslam integration (#14115)
* basic hatteras dslam integration

* snmprec and json test files

* fix HN4000e variant

* add hn4000e variant

* logo and yaml fixes

* change type in test file

* inexistent(?) disco module removed: route

* Update hatteras.yaml

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-11-05 14:43:23 -05:00
Jellyfrog
009d69a48d Use Collection instead of collect() (#14527)
* Use Collection instead of collect()

* wip
2022-11-05 10:04:36 +01:00
Tony Murray
6cbe6fde4f Mock astext (#14581)
* Mock astext
avoid dns failures

* whitespace

* fix arista

* restore test data except astext

* restore test data except astext

* Full fresh run

* Move DI call into class
2022-11-05 01:18:52 +01:00
mprins-RAM
bca7591084 Added Fortigate SD-WAN Health checks (#14456)
* Added Fortigate SD-WAN Health checks

* Add unit test

* Fix for displaying user description when F2A isnt used

* Revert "Fix for displaying user description when F2A isnt used"
This reverts commit d9f170d7e6.

* Fix for displaying user description when F2A isnt used

* Fixing comments

* Requested changes, with modified tests

* adding the correct tests

* fix tests

* fix tests

* Testing issue resolved

* fixing tests
2022-11-04 10:41:06 -05:00
Tony Murray
0c365d08e3 SnmpQuery numeric accept a boolean (#14565) 2022-11-02 18:50:46 -05:00
PipoCanaja
bd4c2d70fb McAfee Web Proxy with COUNTER rrd_type on sensors (#14529)
* webGw1

* rrd_type for mcafeewebgateway.yaml

* update tests
2022-11-02 18:45:52 -05:00
PipoCanaja
ce6eaadc2a More Replacement Capabilities for sensor index computation (#14522)
* More Replacement Cap.

style

* more compact

* fix mni.yaml

* too compact, revert

* quantastor

* str_replace was never matched
2022-11-02 16:54:40 -05:00
squidly
de9787ea9a Added support for Vultan Environmental Monitoring units (#14401)
* adding new os: vutlan

* renaming mib file, moving mib file to vendor folder, removing commented code

* Cache version data (#14404)

* Cache version data
Calling cli commands can be expensive, cache the results.

* style fixes

* Fix pre-laravel usage

* fix lint

* Revert "Cache version data (#14404)"

This reverts commit e426a9299d.

* fixing descr for door state and removing comments

* adding tests and moving vutlan definition file

* adding num_oid value for tests

* Rename VUTLAN-SYSTEM-MIB.mib to VUTLAN-SYSTEM-MIB

* Update vutlan_vt825.json

* updating test data

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-11-02 19:31:12 +01:00
PipoCanaja
624ebf8d55 Extend EfficientIP SolidServer support (#14549) 2022-11-02 08:24:39 +01:00
bnerickson
d28b1cac3f Adding systemd application (#14540) 2022-10-30 14:18:02 -05:00
O Palivan
437322f8cb TAIT-Infra93 - Fix state + skip_values for Battery (#14541) 2022-10-30 11:13:41 +01:00