Commit Graph

6803 Commits

Author SHA1 Message Date
Tony Murray
0793ff8299 Reformat OS yaml so it is easier to read 2020-06-25 14:43:53 -05:00
SourceDoctor
ea58060b16 Hotfix CustomOID visibility (#11861) 2020-06-25 20:53:21 +02:00
Vitali Kari
0f2ddba10b Cirpack states mapping (#11855)
* change generic states of intermidiate snmp states

* add test data
2020-06-24 19:10:48 +02:00
sorano
815b2e857f Add Riello Netman 204 support (#11856)
* Update riello.yaml

Support new device sysObjectID

* new riello test data

new riello test data

* Add missing json test file
2020-06-24 18:47:24 +02:00
Tony Murray
177ced7169 Merge pull request #11472 from pepperoni-pi/new-os-dhcpatriot
New OS: DHCPatriot (dhcpatriot)
2020-06-23 17:33:41 -05:00
Geoffrey Ferk
8919e96efe Correct unset in custom load discovery file 2020-06-23 15:09:43 -05:00
SourceDoctor
08b849d999 round for tab availability showing 2020-06-23 20:00:40 +02:00
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
Geoffrey Ferk
5251487141 Corrected order of variables 2020-06-22 13:17:16 -05:00
Geoffrey Ferk
3c56bdcd77 Corrected indentation issue 2020-06-22 13:17:16 -05:00
Geoffrey Ferk
ceca1db568 Reduced number of snmp_gets by using snmp_get_multi_oid 2020-06-22 13:17:16 -05:00
Tony Murray
31bb85f3ba Update dhcpatriot.yaml 2020-06-22 13:17:16 -05:00
Geoffrey Ferk
86adadbb61 Corrected indentation issue 2020-06-22 13:17:16 -05:00
Geoffrey Ferk
400ecca650 Added additional check to prevent state discover when current is empty 2020-06-22 13:17:16 -05:00
Geoffrey Ferk
a1693abf56 Added additional check so service does not get added if snmp data is empty 2020-06-22 13:17:15 -05:00
Geoffrey Ferk
6da8ca8a82 Corrected dhpatriot definiton file 2020-06-22 13:17:15 -05:00
Geoffrey Ferk
21754f84e5 Made scrutinizer recommended changes 2020-06-22 13:17:15 -05:00
Geoffrey Ferk
4de39dbb2e Changed double quotes to single for consistency 2020-06-22 13:17:15 -05:00
Geoffrey Ferk
3093ee72cd Made adjustments based on scrutinizer recommendations 2020-06-22 13:17:15 -05:00
Geoffrey Ferk
277401d78b Modified dhcpatriot load discovery 2020-06-22 13:17:15 -05:00
Geoffrey Ferk
30656481d9 New OS: DHCPatriot (dhcpatriot) 2020-06-22 13:17:15 -05: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
Jonathan Karras
5cbd7d1c2f Fix temperature discovery for APC cooling units
Update various APC discovery to use pre_cache.
2020-06-17 18:06:18 -06: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 <38363551+PipoCanaja@users.noreply.github.com>
Co-authored-by: SourceDoctor <sourcehhdoctor@gmail.com>
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 <murraytony@gmail.com>
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