Commit Graph

7783 Commits

Author SHA1 Message Date
StyleCI Bot
0c095b063f Apply fixes from StyleCI 2023-03-13 20:35:14 +00:00
Stef
0e322ae5d5 Pseudowires refresh (#14882)
* refresh the pseudowires

* linting
2023-03-13 10:19:23 -05:00
Tony Murray
d3f02e6bb7 SnmpQuery, respect snmp.max_oid (#14894)
Previously, the code would query all the oids it received. Now it will split it up into multiple queries if too many are sent.

Prevents some devices snmp service from crashing.
2023-03-13 10:17:34 -05:00
Jellyfrog
e9f8e64506 Re-throw exceptions if we're in CI (#14890)
Else they are not shown during tests
2023-03-10 15:00:03 +01:00
Jellyfrog
f111ac22fe APC: Add support for Battery Recommended Days Remaining (#14653)
* APC: Add support for Battery Recommended Days Remaining

* Extract number from string later during polling
Odd that this is different from the discovery process

* wip

* wip

* Apply fixes from StyleCI

* wip

* wip

* Apply fixes from StyleCI

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-03-10 14:50:56 +01:00
Marek Wobst
58acfe8f92 Add Cisco FTD Support for security appliances (#14893)
Models: 4110, 4120, 4125 (each with K9)
2023-03-10 14:47:37 +01:00
mtentilucci
1e373dedc6 Add Avocent MergePoint Unity KVM Switch Support (#14874)
* Modify Avocent discovery so Avocent MergePoint Unity KVM switches are discovered

* Extract hardware model and version stored in sysDescr OID

* add avocent mpu snmprec

* add json dump test data

* update to not conflict with dell-rcs discovery

* fix styleci findings

* update Avocent.php

* update Avocent.php

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* cleanup

* fix os name typo

* Add support for Vertiv Avocent MergePoint Unity

- Remove unnecessary sysdescr_regex in discovery file
- Only show device_bits graph in device header bar
- Use Vertiv icon
- Replace .png Vertiv icon and logo with .svg
- Disable unnecessary discovery and poller modules
- Add more snmpsim test data

* Update avocent-mp.yaml

Only disable poller and discovery modules if they cause problems
2023-03-10 00:09:53 +01:00
Zane C. Bowers-Hadley
cd82c72190 add graph_stat_percentile_disable config item to disable percentile lines/value printing (#14887)
* add the initial config items for graph_stat_percentile_disable

* update generic stats to use graph_stat_percentile_disable

* style fix
2023-03-09 17:24:32 +01:00
Zane C. Bowers-Hadley
6b56e781b1 actually use the stats graph for ntp-server_freq now (#14884) 2023-03-09 13:32:19 +01:00
Zane C. Bowers-Hadley
2a53c49a5c convert NTP freq to use generic_stats (#14834) 2023-03-09 00:23:31 +02:00
electrocret
d7a7e0c158 Improve Corero CMS support (#14876)
* MIBs

* Create cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Add files via upload

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Update cms.yaml

* Add files via upload

* Update cms.snmprec

* Update cms.json

* Update cms.json

* Update cms.json
2023-03-04 19:00:31 +01:00
electrocret
b68aa04311 Add Fortigate Webfilter stats (#14873)
* Update fortigate.yaml

* Update fortigate.yaml

* Fix git-apply

* Create fortigate_webfilter.snmprec

* Update fortigate_webfilter.snmprec

* Create fortigate_webfilter.json
2023-03-03 18:22:58 +01:00
Luke Wurl
de16bbdc49 Add Cisco FTD 4112 Support (#14872)
Add sysObjectID for FP4112
2023-03-03 14:06:28 +01:00
Zane C. Bowers-Hadley
a0f1dab07b add type checking to generic_stats.inc.php for $vars['to'] and $vars['from'] (#14871)
* make sure the $vars['from'] and $vars['to'] are actually numeric

* style fix
2023-03-02 22:59:31 +01:00
Zane C. Bowers-Hadley
19278bf19f update fail2ban to have better stat graphs and and fix generic_stats graph.php (#14818)
* update fail2ban better stat graphs

* style fix

* add rainbow color pallete

* cleanup colors and make it more easily understandable via using the new rainbow colour pallete

* a bit more color tweaking

* green is easier on the eyes

* style fix

* fix hgandling for smaller graphs for some things

* for <= height graphs, use area

* rework the area bit and add a alpha

* style cleanup

* more style cleanup

* mm... colourA does work a lot nicer if the same as colour

* add two more palletes and make the purple the default

* only include 1d once as that as some versions of rrd break if it is twice

* move time_diff to the proper location
2023-03-02 18:51:16 +01:00
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
Zane C. Bowers-Hadley
f023d37cfc update various device graphs to to have better stats (#14815)
* update graphs -> systems page

* update availability graph to use the stats graph for 1 day averages

* a bit of cleanup for various graphs

* a few style fixes I missed

* another style fix

* update the pingperf graph as well

* update the poller perf graph as well

* style fix

* move graphs to using generic_stats default for readability
2023-03-01 01:00:13 +01:00
Mark Westerterp
d4556bdda5 Fix graphs for a search query (#14864) 2023-02-28 22:39:38 +01:00
electrocret
ef1b54b265 Fix interface parse unsets (#14860) 2023-02-24 08:49:36 +01:00
electrocret
a21c6ec91c Use Device displayname on VRF page (#14851)
* Use displayname

* Style

* Style
2023-02-21 00:40:18 +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
Floris Van der krieken
f2dfe2f928 Fix discovery for apc ats (#14837) 2023-02-09 09:36:10 +01:00
Andy Norwood
3023aa7e0f API: add display query to list_devices function (#14747)
* add display query type

* add display to query examples

* fix typo
2023-02-08 18:36:20 +02:00
Kyle Gordon
ad624b1093 Include Samsung X Series printers (#14831)
Tested against X7600 and X4300. Both of which change from being a generic device to a Samsung printer device. Subsequent poller.php runs result in toner, fuser, impressions counts, etc data being returned.
2023-02-07 23:12:50 +01:00
electrocret
1e5e26492e Use Oxidized API client and add support for groups on config get (#14750)
* Use API client and add support for groups.

* Being Stylish.

* Update incorrect doc
2023-02-01 11:49:29 -06:00
Zane C. Bowers-Hadley
653da5a3f0 update HV::Monitor support to use generic_stats.inc.php (#14814) 2023-01-29 20:54:00 +00:00
Zane C. Bowers-Hadley
ae6ba985e4 Add a few more graphs for CAPEv2 (#14813) 2023-01-29 20:51:58 +00:00
Tony Murray
2f6d375652 Revert "Fix entity-state polling/discovery (#14793)" (#14811)
This reverts commit ebbb7cbdcf.
2023-01-27 00:43:45 +00:00
Noah Roufus
7abdc5b914 EdgeOS OLT new sensors and changes (#14807) 2023-01-26 15:21:25 +00:00
electrocret
d01538dd8f Show display name in Oxidized config search (#14800) 2023-01-26 15:18:55 +00:00
electrocret
08b025c1b8 Only show Eth errors when Etherlike is enabled (#14784) 2023-01-24 11:31:34 -06: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
PipoCanaja
c2b0a6ed80 Extend filtering of graphs device_bits on cisco ASA (#14796)
* Extend filtering for device_bits for cisco ASA

* Style
2023-01-24 11:15:59 -06:00
electrocret
309a9be3b6 Use displayname instead of hostname for Device Maintenance Modal Title (#14681)
* Use displayname instead of hostname

* Update device_maintenance.inc.php

* Update device_maintenance.inc.php

* Update device_maintenance.inc.php

* Update device_maintenance.inc.php

* Update device_maintenance.inc.php

* Update device_maintenance.inc.php

* Update device_maintenance.inc.php

* Update device_maintenance.inc.php

* Update device_maintenance.inc.php

* Update device_maintenance.inc.php
2023-01-20 16:37:50 +01:00
carbinefreak
d869b879d1 Nokia PMC Microwave Improvements (#14761) 2023-01-19 23:31:57 +01:00
jaannnis
ff89f7b87f ISE: added Support for SNS-3615-K9 (#14792) 2023-01-19 23:30:18 +01:00
Daniel Meyer
852e1c5d47 Changed discovery OID in ets.yaml (#14795) 2023-01-19 16:00:21 +01:00
fdomain
ebbb7cbdcf Fix entity-state polling/discovery (#14793) 2023-01-19 15:14:29 +01:00
Knut Petter Ølberg
4a97c67b92 Routeros lldp discovery (#14791) 2023-01-18 18:46:36 +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
electrocret
96e1350b9d Fix cisco-flash (#14772) 2023-01-05 02:03:17 +01:00
electrocret
56f13f1a13 Fix calculated dbm (#14771) 2023-01-04 19:13:52 +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