Commit Graph

16011 Commits

Author SHA1 Message Date
Tony Murray
7c86234815
fix an issue with bills with no data (#10009)
Still gets a an error message when graphing, but it better relates to what the issue is.
2019-03-22 19:36:50 -05:00
KodApa85
8ec2476036 Added support for APC AP9810 zone contacts (#9967)
* device: Added support for APC AP9810 zone contacts

* fix: disconnected sensors been detected. And iemConfigProbesTable certainly does get used and it reference

* fix: load is VA, not to be confused with watts. This could be different per device though...
Apparent Power unit = VA
Real Power unit = Watts

And Keeping codeclimate happy

* feature: updated APC MIB

* feature: added test data for APC Smart UPS SMX750i and AP9810 with contact switches
2019-03-22 00:10:20 +01:00
Yann Gauteron
76597ea94a Improving Health limits display (#10007) 2019-03-21 08:52:01 +01:00
djamp42
fbfed49082 Add Device Arris Apex (#10006)
* device arris-apex

* Code Climate Fixes
2019-03-21 08:51:14 +01:00
Yann Gauteron
96797aa813 Beautify port health (#9981)
* Removal of the unused  variable
* Replace double quotes by single quotes when possible
* Adding spaces between operands of the concatenation operator
* Rewrite of code echoed to the browser
* Reuse the logic of the Device/Health page for displaying current and limit values
* New helper function to determine the unit for the different sensor classes
* Fixing wrong value for current unit
2019-03-20 16:17:49 +01:00
Tony Murray
f7b071a221
Also fixes warning about mismatched composer.json hash (#10002)
Update dependencies
  - Updating symfony/var-dumper (v4.2.3 => v4.2.4)
  - Updating symfony/console (v4.2.3 => v4.2.4)
  - Updating symfony/debug (v4.2.3 => v4.2.4)
  - Updating nikic/php-parser (v4.2.0 => v4.2.1)
  - Updating symfony/css-selector (v4.2.3 => v4.2.4)
  - Updating symfony/routing (v4.2.3 => v4.2.4)
  - Updating symfony/process (v4.2.3 => v4.2.4)
  - Updating symfony/http-foundation (v4.2.3 => v4.2.4)
  - Updating symfony/event-dispatcher (v4.2.3 => v4.2.4)
  - Updating symfony/http-kernel (v4.2.3 => v4.2.4)
  - Updating symfony/finder (v4.2.3 => v4.2.4)
  - Installing symfony/polyfill-intl-idn (v1.10.0)
  - Installing symfony/polyfill-iconv (v1.10.0)
  - Updating swiftmailer/swiftmailer (v6.1.3 => v6.2.0)
  - Updating opis/closure (3.1.5 => 3.1.6)
  - Updating symfony/translation (v4.2.3 => v4.2.4)
  - Updating erusev/parsedown (1.7.1 => v1.7.2)
  - Updating laravel/framework (v5.7.26 => v5.7.28)
  - Updating nexmo/client (1.6.2 => 1.6.3)
  - Updating laravel/laravel (v5.7.19 => v5.7.28)
  - Updating symfony/yaml (v4.2.3 => v4.2.4)
  - Updating fico7489/laravel-pivot (3.0.0 => 3.0.1)
  - Updating barryvdh/laravel-debugbar (v3.2.2 => v3.2.3)
  - Updating symfony/filesystem (v4.2.3 => v4.2.4)
  - Updating barryvdh/laravel-ide-helper (v2.5.3 => v2.6.1)
  - Updating laravel/dusk (v5.0.0 => v5.0.2)
  - Updating phpunit/php-timer (2.0.0 => 2.1.1)
  - Updating phpunit/phpunit (7.5.4 => 7.5.7)
  - Updating symfony/dotenv (v3.4.22 => v3.4.23)
2019-03-20 09:25:33 -05:00
Tony Murray
3a275e5807
Fix bill permissions (#10005) 2019-03-20 09:23:06 -05:00
Tony Murray
666c909ca6
Fix permissions issues (#10004)
Handle numbers passed as strings
2019-03-20 08:33:47 -05:00
Tony Murray
f5209332b5
Update index.md 2019-03-19 15:16:29 -05:00
Spencer Butler
62113ebde4 Added Med(5m) and High(15m) Utilization sensors for Cambium APs (os: pmp) (#9995)
* Added Med(5m) and High(15m) Utilization sensors for Cambium based (os: pmp) APs

* update the variants
2019-03-19 08:23:08 -05:00
Misha Komarovskiy
55f4870b91 Added resources/sensors api call to list all sensors (#9837)
* Added resources/sensors api call to list all sensors

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* Use global read permission check

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* fix typo

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* fix another typo

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* Use laravel style for call

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
2019-03-19 08:22:39 -05:00
Tony Murray
00a1185980
New permissions code (#9986)
* Initial permissions

* initial tests

* updates

* finish tests, other tweaks

* update legacy permissions checks
remove global :D

* missed facade extend

* Update eloquent permissions to use the new facade and drop joins

* method descriptions

* more docs

* fix style
2019-03-19 08:14:01 -05:00
Yann Gauteron
bafc195ae3 Fix cisco temperature limit (#9985)
* The SNMP value ciscoEnvMonTemperatureThreshold is now stored as high limit (and no more as high warning limit)

* Updating misc/notifications.rss to make the user aware of the behavioral change

* Addition of missing </description> in the misc/notifications.rss
2019-03-19 08:12:54 -05:00
Tony Murray
05186d4b50
Fix device group queries again (#10000) 2019-03-19 07:29:29 -05:00
Tony Murray
edd18b4f9f
Fix world map when location has been deleted that a device still references (#9997) 2019-03-19 06:52:20 -05:00
Tony Murray
bc24d39bf1
Fix device list down devices that have never been polled (#9994)
* Fix device list down devices that have never been polled

* Suggestion with 'Never' in case last_polled empty and down

* Improve handling of all cases

* fix doc comment
2019-03-19 06:52:06 -05:00
Ryan Medlyn
b237e42615 Add location to alert hostname tooltip (#9991) 2019-03-19 11:07:05 +01:00
Kevin Krumm
4a9ee7ae56 Update github issue template (#9993)
* update github issue template
added more warnings to github issue template.

* Update ISSUE_TEMPLATE.md
2019-03-19 10:35:38 +01:00
kiwibrew
db9c3c9456 Update documentation to reflect matching behaviour (#9955)
* Update documentation to reflect matching behaviour

Added a note to help users with matching patterns for Oxidized OS matching patterns.

* Update Oxidized.md
2019-03-18 22:25:13 -05:00
PipoCanaja
0e63e92edb blue theme (#9970) 2019-03-18 21:30:02 -05:00
Tony Murray
1111f0a027
Fix mysql table engine validation (#9989)
It would never show because the schema was checked first and it would always be wrong if the table engine was myisam.
2019-03-18 21:26:49 -05:00
Tony Murray
8f48f6a7cc
github-remove updates (#9990)
additional .gitignore file to restore
maybe make work on python < 2.7
2019-03-18 21:25:16 -05:00
Spencer Butler
1ae3a7fa58 Removed an errant character, cambium graphs (#9996) 2019-03-19 01:37:37 +01:00
PipoCanaja
16f7e6c697 Riello UPS os definition with RFC 1628 support (#9962)
* Riello RFC 1628

* tests + logo

* private mibs

* private mibs
2019-03-17 21:54:19 -05:00
PipoCanaja
70437ae42b Dantel Webmon Improvement (#9977)
* Generic polling for webmon

* Tests update

* clean

* tests and count sensor

* typo + tests

* update user friendly OS

* style
2019-03-17 21:42:47 -05:00
dracmic
fffd45a7fd Patch fix sql error on gengroupsql (#9929)
* Patch fix sql error on gengroupsql

* Update device-groups.inc.php

* Update device-groups.inc.php

* Update device-groups.inc.php

* Update device-groups.inc.php
2019-03-17 21:12:11 -05:00
PipoCanaja
a2d378e0be Display Up/Down time in Device List (#9951)
* First attempt of Up/Down time

* First attempt of Up/Down time

* Moved to Time::formatInterval()

* cleaning

* last polled in casts

* Cleaning the variants of formatUptime()

* Cleaning in ./html/includes/dev-overview-data.inc.php

* Cleaning in ./html/includes/dev-overview-data.inc.php

* Cleaning in ./html/includes/dev-overview-data.inc.php

* updated includes/polling/core.inc.php

* updated includes/alerts.inc.php

* clean accessors
2019-03-17 21:09:58 -05:00
sorano
3f5d8e3633 Add HTML transport example for ms teams (#9969)
and fix missing " in Processor Alert with Graph example.
2019-03-17 20:39:20 -05:00
Tony Murray
1cfe4ea5fd
Don't enable secure cookies when they won't work (#9971)
* Ignore session.cookie_secure errors
They happen if the session is already started.

* Don't allow secure cookies to be enabled when not accessing via https

* Completely remove the setting
2019-03-17 16:25:59 -05:00
Tony Murray
cd1015992c
Fix install not connecting to DB (#9984) 2019-03-17 16:25:38 -05:00
Yann Gauteron
af2b4055d3 Fix inconsistent <h3> closed by </div> (#9982) 2019-03-17 08:27:32 -05:00
TheGreatDoc
14b1929133
Merge pull request #9978 from PipoCanaja/graphs_limits
Do not use $sensor[sensor_limit] if not available
2019-03-17 08:11:40 +01:00
PipoCanaja
ceabfb8ef7 Update Getting-Started.md (#9976)
* Update Getting-Started.md

* Update Getting-Started.md
2019-03-16 21:34:51 -05:00
TheGreatDoc
0cc5de695d Custom storage warning percentage (#9975)
* Custom storage warning percentage

* Fixed permissions

* Restored line removed by accident

* Fixed permissions v2

* Set correctly the config var

* style
2019-03-16 23:53:05 +01:00
Spencer Butler
e5fd217184 Added support for Cisco Small Business WAP371-a-k9 (#9974)
* lnms-9931 - added support for ciscosb_wap371-a-k9
* lnms-9931 - remove testing string
2019-03-16 22:28:31 +01:00
PipoCanaja
46839e09e7 Do not use $sensor[sensor_limit] if not available 2019-03-16 18:06:09 +01:00
Yann Gauteron
d15fda3693 Optional automatic sensor limits (#9973)
* Automatic sensor limits are now optional. Set ['discovery']['sensors']['autolimit'] = false to disable.
* Changing new config variable name from discovery.sensors.autolimit to sensors.guess_limits
* Updated documentation: ['sensors']['guess_limits'] value added
2019-03-16 11:51:09 +01:00
PipoCanaja
6f8311369c
Dell UPS enable rfc 1628 support (#9961)
* dell ups rfc1628
* tests
2019-03-16 09:47:47 +01:00
Tony Murray
3825133602 Fix device missing from traps/new Log::event() (#9963)
* Fix device missing from traps/new Log::event()
2019-03-16 09:24:59 +01:00
Spencer Butler
907579dbef added new OS - sensatronics-em1 (#9960)
* added new OS - sensatronics-em1

* #9960 - added logo, icon, and update skip_values

* #9960 - fixed over: value

* #9960 - updated icon, logo, and updated descr: from static to table names
2019-03-15 13:18:52 -05:00
PipoCanaja
5d512a83ed Cisco OTV cast issue building empty adj (#9968) 2019-03-15 07:28:01 -05:00
Tony Murray
c3672be3b6
remove whitespace (#9959) 2019-03-14 13:12:56 -05:00
Tony Murray
2fd7c4fab4
fix an issue with web installer looking for the mysqli extension when we only use pdo_mysql (#9958) 2019-03-14 13:10:45 -05:00
Tony Murray
c7c7b57de4
Always boot Laravel (#9842)
* Always boot Laravel
That way we can depend on it being available.
Saves us crashes if some code accidentally uses something that isn't booted and a lot of silly if/elses.

* ignore init php errors
2019-03-14 08:06:27 -05:00
Tony Murray
3905423147
fix docs (#9953) 2019-03-13 21:43:54 -05:00
PipoCanaja
904f64ef12 eatonpdu new device (#9947) 2019-03-13 21:39:49 -05:00
djamp42
0b2fbceedd Add Device Arris DSR-4410MD Sat Receiver (#9943)
* arris dsr4410md

* update sensor names

* code climate fixes

* Add blank line at EOF
2019-03-13 21:39:29 -05:00
PipoCanaja
0b4c7b584a remove calls to unavailable {{ $variable }} from YAML discovery (#9864)
* remove calls to unavailable {{ $variable }} from YAML discovery

* tests

* Add a warning for debugging purposes
2019-03-13 21:04:50 -05:00
PipoCanaja
787a8fc309 Corrected active_count for Alert icon color (#9933)
* Corrected active_count for Alert icon color

* Corrected active_count for Alert icon color

* Corrected active_count for Alert icon color

* Laravel version

* Laravel version check status worse and better for isActive

* cleanup
2019-03-13 21:01:30 -05:00
Tony Murray
19612cf38d Documentation for setting a development environment (#9944)
* Documentation for setting a development environment

* Fixed indentation
2019-03-13 21:09:58 +01:00