Commit Graph

6760 Commits

Author SHA1 Message Date
bofh80
92af6136ee Fix automatic service discovery (#11963) 2020-08-05 15:05:03 +02:00
Jozef Rebjak
eb2bb4242a Added support for FS NMU (#11965)
* Added support for FS NMU

* travis fix

* another travis fix

* Migrated OS polling to new format
2020-08-05 15:02:47 +02:00
TheGreatDoc
c438a164fe Fix qnap state graphs (#11976)
* Fix qnap state graphs

* Test file
2020-08-01 13:17:59 -05:00
SourceDoctor
06889c4a0f Set RRD minimum to 0 to see the real change relation (#11986) 2020-08-01 06:22:08 +02:00
pobradovic08
cb0686d0f3 Cisco SLA jitter tag (#11983)
* Update cisco-sla.inc.php

* Update cisco-sla.inc.php
2020-07-30 22:38:52 +02:00
Tony Murray
7822293da4 Fix USW detection again (#11978)
* Fix USW detection again
Please UBNT fix your SNMP.  sysObjectID for each model is all I ask.

* Add test data
2020-07-30 00:04:35 -05:00
kleinem86
a4f5af069c Added Proxy support for Api Transport (#11968) 2020-07-29 16:00:55 +02:00
Tony Murray
3ebed45d81 Fix netflow links (#11971) 2020-07-29 07:53:26 -05:00
Wooboy
35488d89be Update canonprinter.yaml (#11959)
add definition for Canon iPF series
2020-07-24 19:39:02 +02:00
Nick Peelman
57362c1ff5 Refresh device_bits graph; align column headers, use wider descriptio… (#11922)
* Refresh device_bits graph; align column headers, use wider description on wider graphs

* Fix a couple of code climate issues...

* use float_precision variable like we do everywhere else...

* remove unnecessary substr
2020-07-23 23:14:36 -05:00
Tony Murray
020c5fd7e1 Remove legacy code and fix missing device graphs (#11950)
* removing $graphs global

* remove unused things

* fix some additional graphs

* Fix graphs persisting too soon

* correct name for poller module performance graph

* only one type of graph is used here
2020-07-23 09:57:22 -05:00
Jellyfrog
2fc037ab23 Convert device notes to blade (#11952) 2020-07-22 09:18:56 -05:00
Jellyfrog
3c78e0ccc7 Add permission support to Oxidized config search (#11928) 2020-07-21 20:34:42 -05:00
SourceDoctor
dba165c49e Sort Neighbors by ifName, not bei ifAlias (#11951) 2020-07-21 20:23:44 -05:00
SourceDoctor
5a45060e57 LLDP Neighbour List - alphabetic sort (#11944) 2020-07-20 18:32:18 +02:00
SourceDoctor
e8f2c2e396 Show Location on Poller Log (#11945)
* Show Location on Poller Log

* .

* .
2020-07-20 18:23:28 +02:00
seros1521
389b271073 CBQoS improvement (#11926)
* Deduplicate CBQoS code

* Additional CBQoS metrics
2020-07-18 00:36:27 +02:00
SourceDoctor
dcab027c1f Enhance AlertLog Table View (#11936) 2020-07-18 00:26:17 +02:00
TheGreatDoc
1a8c4df880 Fix QNAP os polling (#11938)
* Remove old qnap code.

* Fixed test
2020-07-18 00:14:16 +02:00
Tony Murray
0e96589879 Fix bug when timeout exceeded (#11934)
Uncaught exception probably causing some of the "unpolled" reports.
2020-07-15 07:45:09 -05:00
Hans Erasmus
a5bb437216 Added basic EndRun support (#11932)
* Added basic EndRun support

* Fixed spaces as indicated by Travis

* Changes applied as per request and suggestions

Incorporated @murrant's suggestions.

* Update Endrun.php

* Update endrun.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-14 11:22:40 -05:00
TheGreatDoc
95c52308e5 Added RAID states for each volume. (#11930) 2020-07-14 17:33:24 +02:00
Jellyfrog
32f72bc1ab Fix SQL injections in ajax_table.php (#11920)
* Fix SQL injections via searchPhrase parameter

* Fix SQL injections via address parameter

* Fix sort injection

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-10 09:17:09 -05:00
Tony Murray
6e6fde94c3 Fix sql injection (#11923)
in custom oid code

Thanks to loginsoft p.v.t l.t.d india for the report!
Website: https://www.loginsoft.com/
2020-07-10 10:45:39 +02:00
Nick Peelman
8af976a951 Mult graphs bits spacing (#11907)
* Make Multiport-Bits-Separated graph Description field wider for larger and medium graphs

* Fix Aggregate Graph In/Out Alignment; make Consistent with Interface I/O Alignment

* Remove misplaced slashes

* Align headers...

* Fix Total units

* Fix code climate gripe
2020-07-10 10:45:01 +02:00
Jellyfrog
a3ae3805d1 Sanitize graph title input (#11919) 2020-07-09 12:48:36 -05:00
Andreas
98d6fc1ace Fix graphing with generic_v3_multiline_float (#11916)
#11853 introduced a bug which broke graphing (e.g. for the pi-hole app)
2020-07-09 08:29:56 -05:00
Adam Bishop
d075915a75 Dell included a typo in their sysDescr (#11917)
The latest firmware revision drops the 'T' from COMPELLENT. Maybe it'll come back at some point, but for now it's gone.
2020-07-09 08:27:47 -05:00
javier
a30fcbde0a Support NetMan 204 (#11913)
* Update riello.yaml

Fix NetMan 204 snm cards not always identified as Power bug Generic devices

* Update riello.snmprec
2020-07-08 22:32:22 +02:00
KodApa85
a3cd90da05 newdevice: Added support for Fortinet FortiVoice devices (#11914)
* newdevice: added supprot for Fortinet FortiVoice

* Renamed fortivoice yaml file

* Added test date for FortiVoice OS

* Matching Fortinet to be like FortiSwitch

* Corrected test data...
2020-07-08 17:55:50 +02:00
craig-nokia
db7ac390b2 Added check for incorrect ifConnectorPresent truth values, if invalid… (#11634)
* Added check for incorrect ifConnectorPresent truth values, if invalid, save it as false

* Added space after comma line 629

* Update ports.inc.php

Updated per murrant and tested.

* Update ports.inc.php

* Update ports.inc.php

Changed to check if ifConnector is set and if the response is not true or false, set it to null.

* Update ports.inc.php

* Update ports.inc.php

Fixed the codeclimate space issue

* Update test data

* fix differing escapes

* fix ciena-sds eol

* Revert timos.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-08 08:44:45 -05:00
KodApa85
726a762944 newdevice: Added support for Eltek SmartPack2 Touch (#11909)
* newdevice: Added support for Eltek SmartPack2 Touch

* Remove test data

* Added test data.
2020-07-08 13:41:02 +02:00
Nick Peelman
e4b2d98222 only try to optimize port polling when it is enable by the global setting. (#11908) 2020-07-06 19:31:45 -05:00
Nick Peelman
d5e0c6ca57 Add Divisors to Eaton Matrix sensors (#11906)
* Add Divisors to Eaton Matrix sensors

* Fix tests

* Update sensor_limits
2020-07-06 18:14:19 +02:00
Oirbsiu
465372b28d Correct interface names in response to the SNMP query of cpwVcName (#11851)
* Update cisco-pw.inc.php

To correct Interface names that use escaped '/' e.g. GigabitEthernet0_4_0_12 
and translate the underscore back to a slash - e.g. GigabitEthernet0/4/0/12

* Update cisco-pw.inc.php

* Update cisco-pw.inc.php

* Update cisco-pw.inc.php

* Update cisco-pw.inc.php
2020-07-06 15:59:53 +02:00
penfold1972
23368faa61 Ciena SDS (#11857)
* Added discovery for temp/dbm graphs for LEOS mibs.

* Cleaned up Typo on Index lines for LEOS MIBs

* Cleaned up Typo for LEOS System MIB

* Added CPU Util graphs for LEOS MIBs

* Added test data and a MIB

* Shortened Index fields

* Update ciena-sds.yaml

* Update ciena-sds.json

* Update ciena-sds.yaml

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-06 15:40:43 +02:00
Tony Murray
a82018698e Restore device alert tab 2020-07-05 20:05:30 +01:00
Adam Bishop
af14b6a73d OS detection for Dell PowerVault MD arrays (#11509)
* OS detection for Dell PowerVault MD arrays

I'm not 100% sure it was worth Dell implementing SNMP - the array
exposes 6 OID's outside of MIBII, and we poll both the useful ones.

At least we get an icon.

* Test data

* Remove polling and discovery module filters
2020-07-05 13:49:16 +02:00
cwispy
8e30541c95 Add support for Aten PE8216 PDU (#11887)
* Add support for Aten PE8216 PDU

* Add support for Aten PE8216 PDU

* Add support for Aten PE8216 PDU

* Revert "Add support for Aten PE8216 PDU"

This reverts commit 5d2f195f28.

* Revert "Add support for Aten PE8216 PDU"

This reverts commit ebfd659775.

* Fixed integer issue with skip_values

* More integer changes

* Add json file

* Fix yaml file

* Setting modules like that reduces user control

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-05 00:20:12 -05:00
hartred
a94f11a911 Add support SNR Memory pool, dBm, voltage, current, fan speed and status (#11888)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload
2020-07-04 23:50:28 -05:00
seros1521
ddab4153bc Modifies find_device_id (#11804)
* modifies find_device_id

* Removed host name validation check for RFC. Some devices and OS allow you
  to set a name that contains characters that are prohibited by the RFC.
  Such devices can be added using their IP address, their sysName will be
  written to the database. If the device is already in the database, then it
  should be possible to find it, even if the name is unacceptable according
  to RFC requirements.
* Additional search options for sysName have been added using the default
  domain. This was needed to improve LLDP detection - a short name was used in
  the PDU, and the full name with the domain was stored in the sysName field
  in the database.

* modifies find_device_id

* reordering checks
* handling situations with duplicate sysName

* modifies find_device_id (fix style errors)
2020-07-04 22:23:11 -05:00
louis-oui
ad6348af42 Add alert rule error on invert map selected but no selection in device, group or location list (#11894)
* error on invert map selected but no selection

* error on invert map selected but no selection

* error on invert map selected but no selection
2020-07-03 11:54:12 +02:00
Tony Murray
a312436bca Edit maintenance schedule, handle timezone properly (#11889)
Was not properly formatting to user's timezone
Also handle the case where the browser and server timezone don't match
don't show incorrect values in dialog then pop to the correct ones.
Update title on modal to be appropriate
2020-07-02 17:46:16 -05:00
Adam Bishop
9c80d0baa7 Remove the last node from the arbor sysObjectId (#11890)
Arbor seem to change the sysObject ID for each variant. There don't seem to be any functional differences, so rather than add the 3 other object ID's I've got, it seems sensible to just trim the objectID.

There don't seem to be any functional differences from the perspective of SNMP.
2020-07-02 21:39:17 +02:00
Tony Murray
98502325db fix devices missing from graph view (#11886)
devices without a location were not showing
2020-07-01 17:47:23 +02:00
TheGreatDoc
dd8844980f Move qnap to yaml discovery + extended discovery (#11882)
* Move qnap to yaml discovery + extended discovery

* Fix pre-cache
2020-07-01 06:53:59 -05:00
Derova
c606659e11 Added support for Integra E radios (#11871)
* Added support for Integra E radios

* Update saf-integra-e.json

* Update saf-integra-e.inc.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-06-30 16:12:00 +02:00
Tony Murray
9fbc3cbb05 Merge branch 'master' into patch-1 2020-06-29 23:28:27 -05:00
Tony Murray
a5fbf853c9 validation fixes 2020-06-27 07:47:08 -05:00
Tony Murray
5f0388f0e3 Remove DB credentials from config.php
Better validation when config.php does not exist

Update docs and quote password

only populate legacy vars in config_to_json
drop .travis.yml config copy
remove credentials from config.php.default

Check for existance of .env instead of config.php in python scripts

legacy credential cleanup

tiny cleanups

consistent env for artisan server and artisan dusk
2020-06-27 07:47:08 -05:00