Commit Graph
6681 Commits
Author SHA1 Message Date
SourceDoctor 4e6a7291a2 Device Availability Calculation (#11784)
* Device Availability Calculation

* Travis fix

* .

* schema corrections

* flexible duration

* travis

* .

* .

* .

* .

* remove not needed code

* line Text to RRD

* update humantime

* .

* only set up again if device was marked as down

* set RRD area transparency

* save uptime also, to keep last availability as good as possible

* file description correction

* look for outages even if uptime > duration
2020-06-22 22:57:30 +02:00
Tony Murray fa024e3e4e Merge pull request #11839 from murrant/fix-c6kxbar-overview
Fix Cisco Crossbar overview missing
2020-06-21 21:19:31 -05:00
Tony Murray 9372074b6d Merge pull request #11728 from yac01/master
Feature: F5 LTM bandwidth controller
2020-06-19 13:39:36 -05:00
Tony Murray 372db457bd Change tab order 2020-06-19 12:21:18 -05:00
SourceDoctor 8e60f8f56f Application Puppet Agent RRD Runtime Graph fix (#11837) 2020-06-18 18:15:52 +02:00
Tony Murray 3a1992d481 Fix Cisco Crossbar overview
It relied on a global variable that wasn't set anymore.
2020-06-18 09:10:28 -05:00
Yacine BENAMSILI b1b4402f74 Add f5 snmprec for tests 2020-06-18 13:18:09 +02:00
Yacine BENAMSILI 2a58d9641f Fix: BWC Discovery 2020-06-18 11:54:05 +02:00
yon2004 953def1518 Added discovery for ups-nut status (#11606)
* Added UPS NUT state sensors

* Added UPS NUT state sensors

* Added UPS NUT state sensors

* Added UPS NUT state sensors

* Added UPS NUT state sensors

* Update linux_ups-nut.snmprec

* Fixed UPS states so making alerts easier.

* Fixed

* Actually Fixed it

* Added alert rules for UPS-NUT
2020-06-18 09:43:11 +02:00
Martin22 172e759720 Imcopower - Fixed state in imcopower-big (#11774)
* Fixed state

* Minor fix

* Again minor fix

* Fixed Travis

* Fixed index
2020-06-17 22:14:05 +02:00
SourceDoctor 62f850aef9 Cleanup functions.inc.php (#11835) 2020-06-17 14:00:18 +02:00
Tony Murray 867aa132c1 Merge pull request #11661 from SourceDoctor/app_dhcp_enhancement
Application DHCP Upgrade
2020-06-16 17:03:45 -05:00
SourceDoctor e911eef0c8 remove unecessary function 2020-06-16 21:13:56 +02:00
SourceDoctor 6a0366c1e8 Device Maintenance configurable duration (#11821)
* Device Maintenance configurable duration

* increase hour range

* positionize button

* remove wrench icon
2020-06-16 14:13:19 +02:00
Anael Mobilia 22916afb9e Apps - backupninja (#11010)
* GUI - graphs

* GUI - Apps

* Polling

* GUI - apps

* Add backupninja to documentation

* Apps - backupninja : add link to librenmsagent script

* Add backupninja snmprec file

* Delete backupninja.snmprec

No Regression tests on apps (yet), only on devices.

* Remove old debug

* Update language : FR -> EN

* Add debug informations

* File path moved to /etc/snmp/

* Python script now use json

* Update following example on puppet script

* Update installation instructions following puppet example

* Update apps.inc.php

Co-authored-by: PipoCanaja <[email protected]>
Co-authored-by: SourceDoctor <[email protected]>
2020-06-16 01:04:30 +02:00
louis-oui 80aca5eec9 Fix availability map downtime (#11638)
* fix

* fix widget

* fix widget

* fix widget

* fix

* last_polled fix

* factorize down / up time device

* factorize down / up time device

* factorize down / up time device

* factorize down / up time device

* factorize down / up time device
2020-06-15 23:53:48 +02:00
Tony Murray 3045144a7d Merge pull request #11825 from TheMysteriousX/patch-2
Make IPv6 discovery work on JunOS
2020-06-15 13:47:53 -05:00
Joost van Voorst van Beest ad60d0cc87 Added Jacarta Logo. Small fixes. 2020-06-15 14:23:22 +02:00
Joost van Voorst van Beest ef2ae7ddb8 Added initial simple support for Jacarta InterSeptor environmental monitoring device. 2020-06-15 14:02:28 +02:00
Adam Bishop 42d7fae9aa Make IPv6 discovery work on JunOS
Although JunOS populates ipAddressIfIndex.ipv6, it does not add prefix lengths or other metadata. This means that IPv6 discovery fails.

This change removes OIDs from the list when there is incomplete data. If the list is empty after IP-MIB is walked, it then tries IPv6 MIB.

It's not a great fix, but I'm not confident I can fix the underlying issue without a complete re-write of this module.
2020-06-15 01:29:02 +01:00
Alexander Moisseev 200a39a4b0 Add Edgecore ES3526XA OID (#11791)
* Add Edgecore ES3526XA OID

* Add test for Edgecore ES3526XA-V2
2020-06-14 23:51:02 +02:00
Tony Murray bb70afa4ef Merge pull request #11792 from XxPatrickxX/master
ArubaOS-CX Identification
2020-06-14 16:37:38 -05:00
Tony Murray dae9c1f524 Merge pull request #11800 from tamirhad/handle-nan
Arista sometimes returns NaN value when polling
2020-06-14 16:36:52 -05:00
Tony Murray 67e637e4ca Maintenance Windows: recurring now works overnight (#11389)
* Alert Rules use Carbon
Use carbon for time queries, need to be careful of timezone quirks.  Timestamps won't have that issue

* Convert existing schedules to UTC

* we only need start end... we already have start/end

* Make AlertSchedule::isActive work

* Table display working (and using Eloquent)

* Schedule creation updated

* WIP

* use Eloquent mutators/accessors

* recurring_day mutator/accessor

* WIP UI

* Fix SQL to handle outside times

* fix up some ui issues

* Convert alert-schedule to new style
Improved sorting customization

* fix whitespace

* support sqlite

* Fix schedule creation missing id

* Fix Device::isUnderMaintenance() add location relation
2020-06-14 16:35:50 -05:00
Hans Erasmus f8e8dfe3a5 Gigamon GigaVUE basic support (#11824)
* Gigamon GigaVUE basic support

* delete os/gigavue.inc.php it is not used

Co-authored-by: Tony Murray <[email protected]>
2020-06-14 21:05:54 +02:00
Tony Murray eb6370acd4 Fix schedule creation missing id 2020-06-14 12:12:13 -05:00
PipoCanaja 15fe63d6b1 Feature: skip_value can check OID existance (#11822)
* exists for skip_values

* AR routers are using another logic for SFPs Power

* schemas

* tests
2020-06-14 09:21:22 -05:00
SourceDoctor 529f364ada Ping Perf fix while running Squid (#11823)
* Ping Perf fix while running Squid

* Update squid.inc.php

rename variable
2020-06-14 13:04:33 +02:00
Hayden f7c5e13c2b Add new hardware model for Eltek/enexus (#11809)
* new eltek hardware version begins with SPS-FPS

* updated test data for enexus
2020-06-14 13:02:45 +02:00
SourceDoctor f9b746577e Webui - Poller Log Link Overlib (#11819) 2020-06-13 16:18:38 +02:00
Tony Murray 13ade9ab6c Merge branch 'master' into alerts-carbon 2020-06-12 07:48:51 -05:00
footstep86 031c644ab3 Implemented a generic approach for ifHighSpeed values that cannot be … (#11504)
* Implemented a generic approach for ifHighSpeed values that cannot be stored in the database

Typo

* Added os check
2020-06-12 07:45:00 -05:00
SourceDoctor 21cea61e37 rewrite Device Group Tab (#11808)
* rewrite Device Group Tab

* travis
2020-06-11 11:12:16 +02:00
Negatifff 4c9a83cd55 Add device groups in overview tab little fix (#11806)
* little title fix

* Update dev-groups-overview-data.inc.php

* Update dev-groups-overview-data.inc.php

Co-authored-by: PipoCanaja <[email protected]>
2020-06-10 17:41:19 +02:00
Negatifff ff55be7d7a Add device groups in overview tab (#11796)
* Added Device Groups panel on Overview tab

* spaces and commas fix

* added color in group name

* spaces and commas fix2

* fix3

* fix attempt 4

* change text color to preexisting class

* change text color to preexisting class v2

* rename title

* capitalize

* rename title again

* title, title... again
2020-06-10 12:38:33 +02:00
arrmo ba1302805f Change Units on Noise Floor (#11790)
* Change Units on Noise Floor

I may be wrong, but I think this should just be dBm (i.e. integrated over the carrier bandwidth). The numbers look much too high to me to be on a per Hz basis.

If I am correct here, this should also be updated in the web interface.

Thanks!

* Update php, correct units for Wireless noise-floor

* Wireless Frequency, don't format_si, to avoid kMHz units

* Update Wireless noise-floor units, in RRD plots
2020-06-10 10:41:36 +02:00
SourceDoctor 213a11eb98 Merge remote-tracking branch 'upstream/master' into app_dhcp_enhancement 2020-06-09 20:37:30 +02:00
tamirhad c785bd4db0 Arista sometimes returns NaN value when polling which cannot be written to DB 2020-06-09 13:51:36 -04:00
dupondje 4611b19ae5 Fix Rancid GIT (#11795) 2020-06-09 09:01:44 -05:00
Tony Murray 28ee0f1823 fix typo (#11798) 2020-06-09 08:05:04 -05:00
PipoCanaja 85adecbc04 Update arubaos-cx.yaml 2020-06-09 10:27:22 +02:00
PipoCanaja 1d41b3490f "sysObjectID" should be enough
And "Aruba" as sysdescr is a too wide to be safe here
2020-06-09 10:27:06 +02:00
XxPatrickxX 682321190c Update arubaos-cx.yaml 2020-06-08 14:29:25 -05:00
XxPatrickxX 4a1e425fe9 Update arubaos-cx.yaml 2020-06-08 14:18:26 -05:00
SourceDoctor 1093315700 Merge branch 'master' into app_dhcp_enhancement 2020-06-08 20:51:41 +02:00
TheGreatDoc 946e90b68d Added Arista SN (#11737)
* Added Arista SN

* test data

* Fixed json

* You accidentally removed the serial

Co-authored-by: Tony Murray <[email protected]>
2020-06-08 08:26:22 -05:00
cjwbath aa51e46350 Don't call clean() on the inputs to the SNMP settings form (#11709)
* Don't call clean() on the inputs to the SNMP settings form, it'll call
strip_tags() and break values with angle brackets in.

* Call htmlspecialchars when outputting DB values to HTML instead

* Escape other stuff that should have been validated elsewhere, just in case
2020-06-08 08:16:40 -05:00
PipoCanaja 35b4e1459e Arista VRF discovery support (#11421)
* arista vrf discovery
* more mibs
* tests
* codeclimate
2020-06-08 14:29:18 +02:00
XxPatrickxX a5e8b5f55c Update arubaos-cx.yaml 2020-06-08 06:57:00 -05:00
XxPatrickxX 1d15158c69 Create arubaos-cx.yaml
Aruba CX definition
2020-06-08 06:41:50 -05:00