6722 Commits
Author SHA1 Message Date
Jellyfrog 6bea59b8a0 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 <[email protected]>
2020-07-10 14:53:08 -05:00
Tony Murray 8f3a29cde5 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 14:52:58 -05:00
Jellyfrog 1bb6bd8405 Sanitize graph title input (#11919) 2020-07-09 13:15:19 -05:00
Andreas e2294b57ad 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 13:15:11 -05: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 <[email protected]>
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
Tony Murray ad2da9fcdb Install to Laravel WIP 2020-06-27 07:47:07 -05:00
gardar 295647f56a Fix process details on newer versions of windows checkmk agent (#11840) 2020-06-26 18:41:29 +02:00
Tony Murray dba7daa7ae Merge pull request #11862 from murrant/fix-yaml-os
Reformat OS yaml so it is easier to read
2020-06-26 07:58:13 -05:00
Tony Murray 92153e1307 Merge pull request #11863 from murrant/fix-recurring-days
Fix recurring maintenance days
2020-06-26 07:57:20 -05:00
Tony Murray 04251cdc94 Fix recurring maintenance days 2020-06-25 22:12:21 -05:00
SourceDoctor ed70b2636a RRD Float Precision Customization (#11853) 2020-06-25 21:51:55 +02:00
Tony Murray c83889faca fix silly definition 2020-06-25 14:50:40 -05:00
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