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
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
PipoCanaja
0e63e92edb
blue theme ( #9970 )
2019-03-18 21:30:02 -05: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
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
Yann Gauteron
af2b4055d3
Fix inconsistent <h3> closed by </div> ( #9982 )
2019-03-17 08:27:32 -05:00
PipoCanaja
46839e09e7
Do not use $sensor[sensor_limit] if not available
2019-03-16 18:06:09 +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
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
PipoCanaja
be58ec3b72
Fixed overview graph on Cisco ASA announcing all interfaces in type l2vlan (by default filtered) ( #9849 )
...
* Fix ASA announcing all interfaces in l2vlan
* Fix ASA announcing all interfaces in l2vlan
2019-03-13 09:04:51 +01:00
PipoCanaja
7b8ccc2ea2
Allowed 14 chars in graph legend for rrd descr. ( #9926 )
2019-03-12 08:57:56 +01:00
PipoCanaja
6ec97309a0
Grandstream basic support ( #9906 )
...
* grandstream simple discovery
* grandstream simple discovery tests
* exclusion in linux matching
* Revert un-necessary changes, and change "over:" to ping
2019-03-10 08:38:46 -05:00
David
6eda5eea91
Quoted all column names to avoid breakage for reserved keyword "row" introduced in MySQL 8.0.2 ( #9922 )
...
Fix widgets page with MySQL 8
2019-03-08 08:18:01 -06:00
Vitali Kari
06bba5a2b2
add support for cirpack soft switch ( #9914 )
...
* add support for cirpack soft switch
* remove unused lines
2019-03-07 19:57:06 -06:00
tarik
e3e3de1442
Printer paper tray status and error states ( #9859 )
...
* adding paper tray status and error states
* adding paper tray test data
* Create jetdirect_papertray.json
* Store printer supply type
* Update json data
* fix style
2019-03-06 18:58:14 -06:00
PipoCanaja
9deb00f20c
Added Patton SmartNode OS discovery and polling ( #9901 )
...
* Patton SmartNode OS discovery and polling
* mempools
* graphs overs
* []
2019-03-05 21:35:58 -06:00
network-guy
65fba42306
Dantel WebMon Device Support ( #9767 )
...
* Dantel WebMon Support
Webmon tep discovery changes
Fix Code Climate Issues
* WebMon - Move MIB to folder and create json reference
* Minor changes to Webmon polling
2019-03-05 00:46:00 -06:00
Tony Murray
f4a33c1a34
Prevent credentials from being leaked in backtrace in some instances ( #9817 )
...
* Prevent credentials from being leak in backtrace in some instances
Particularly before the user is authenticated
* fix test
2019-03-05 00:24:14 -06:00
KodApa85
7e71d2e11f
webui: Allow admins to add/remove/create sticky notifications ( #9865 )
...
* webui:
Allow admins to add/remove/create sticky notifications
Added auth error to ajax form - notifications
$status is already 'error'
* fix: code style
* remove demo check
2019-03-04 21:34:58 -06:00
Nick Hilliard
09caced7ef
Add support for Infinera-Coriant Groove ( #9843 )
...
* Add support for Infinera Groove
2019-03-04 17:31:53 +01:00
Tony Murray
e677d4b63e
Fix incorrect icon sometimes ( #9887 )
...
* Fix icon finding
Also fix os suggest not loading all OS.
* Fix os that would have missing icon under the new code (and one under the old code)
* forgot icon
2019-03-01 23:06:01 -06:00
Vitali Kari
49f01970c5
add support for sagemcom ( #9835 )
...
* adds support for sagemcom
* requested changes
* delete unused variable
* logos
* modules fine tuning
* code style
* Update sagemcom.svg
* Update sagemcom.svg
2019-03-01 08:08:04 -06:00
Anthony Ruhier
914531a28f
Fix display of rrdtool command using the existing dedicated function ( #9846 )
...
Sanitize the command before printing it
2019-02-21 22:27:15 +01:00
PipoCanaja
e2f835ad9d
FDB table with history capabilities ( #9804 )
...
* Migration script and data feeding
* Adding the columns in the GUI
* build schema
* update FDB test data
* Use of timestamps()
* ignore created_at and updated_at in tests, and regenerate test impacted
* daily.sh does the cleaning
* space cleaning codeclimate
* Use carbon instead of str-val
* handle when $fdb_entry->updated_at and created at are null
* handle when $fdb_entry->updated_at and created at are null (force travis rerun)
* Doc update
* Doc update
2019-02-21 13:23:01 +01:00
jozefrebjak
2eac72d34b
Added support for Protelevision DVB-T Transmitter ( #9648 )
...
* Create protelevision-t1.yaml
* Create protelevision-t1.yaml
* Create PT-MIB
* Create PT3080-MIB
* Add files via upload
* Create protelevision-t1.snmprec
* Create protelevision-t1.json
* Create protelevision-t1.inc.php
* Add files via upload
* Delete protelevision.png
* added indexes to dbm sensors
* Update protelevision-t1.yaml
* added On Air TS Bitrate
* Update protelevision-t1.yaml
* added more sensors
* Update ProtelevisionT1.php
* Update protelevision-t1.yaml
* Update protelevision-t1.yaml
* Update protelevision-t1.yaml
* Update protelevision-t1.snmprec
* Update protelevision-t1.json
* Update protelevision-t1.yaml
* Update protelevision-t1.snmprec
* Update protelevision-t1.json
* added more sensors and grouping of state sensors
* Add files via upload
* Update protelevision-t1.json
* Update protelevision-t1.json
* Update protelevision-t1.snmprec
* Update protelevision-t1.yaml
* Update protelevision-t1.json
* Update protelevision-t1.json
2019-02-19 00:39:16 -06:00
Tony Murray
0a56fc4694
Restore alert template converter for a while longer ( #9845 )
2019-02-19 00:33:51 -06:00
SirMaple
a41f1d9608
Updating pfSense Logo ( #9828 )
...
* Update pfsense.json
* Delete pfsense.svg
* Add files via upload
* Create pfsense.svg
* Create pfsense.svg
* Update pfsense.json
* Delete pfsense.png
2019-02-15 08:44:51 -06:00
TheGreatDoc
6ea0e72d73
MAIPU MyPowerOS: CPU, Memory, expanded detection ( #9825 )
...
* New OS: MAIPU MyPowerOS
* fix file permissions
2019-02-15 08:02:06 -06:00
Neil Lathwood
5d74839139
Removed legacy transports and templates code ( #9646 )
...
* Removed legacy transports and templates code
* Add notification
* abstract LnmsCommand
* Only issue alerts "legacy" alerts to mail for default contacts, etc.
* Prevent no contacts error when default contact is not specified, or there are no contacts for other reasons.
* remove eval \o/
* Update notifications.rss
2019-02-15 07:58:59 -06:00
Tony Murray
d23ab06938
Add osmc icon ( #9810 )
2019-02-13 09:31:35 -06:00
Tony Murray
e18f4522d5
Update to Laravel 5.7 (PHP 7.3 support) ( #9800 )
...
* Move assets to 5.7 location
* Add 5.7 SVGs
* add cache data dir
* update QUEUE_DRIVER -> QUEUE_CONNECTION
* Update trusted proxy config
* update composer.json
* 5.5 command loading
* @php and @endphp can't be inline
* Laravel 5.6 logging, Nice!
* Update blade directives
* improved redirects
* remove unneeded service providers
* Improved debugbar loading
* no need to emulate renderable exceptions anymore
* merge updated 5.7 files (WIP)
* Enable CSRF
* database_path() call causes issue in init.php
* fix old testcase name
* generic phpunit 7 fixes
* add missed file_get_contents
Keep migrations table content
* fix duplicate key
* Drop old php versions from travis-ci
* remove hhvm
* fix code climate message
* remove use of deprecated function assertInternalType
* Disable CSRF, we'll enable it separately.
All forms need to be updated to work.
* Update document references
2019-02-12 17:45:04 -06:00
PipoCanaja
7e18a07088
FS.COM (Fiberstore) 'GBN' and 'SWITCH' devices support ( #9734 )
...
* Basic Support for Fiberstore devices
* Basic Support for Fiberstore devices
* mib files
* sysObjectID added
* mibs added
* MIB corrections + CPU discovery + version and SN
* CodeClimate + mempools
* CodeClimate + mempools
* mempools
* 5800
* testdata
* 5800
* tests
* mempools for 5800
* CodeClimate
* CodeClimate
* Cleaning and comments
* Tests for 5800
* CodeClimate
* Update Fs.php
* init processors[]
* optimized logo
* optimized logo
* optimized logo
* optimized logo
* split FS devices
* split FS devices
* split FS devices - tests
* split FS devices - class
* split FS devices - class
* split FS devices - tests
* removing un-necessry condition
* text and comments
2019-02-10 17:31:25 -06:00
PipoCanaja
c7c1ca2c5a
Support for DKT Comega FTTx devices ( #9732 )
...
* DKT Comega device support
* DKT Comega device support
* DKT Comega device support
* DKT Comega device support
2019-02-07 14:58:56 -06:00
PipoCanaja
ccd9973695
Added support for EDS 1Wire devices ( #9740 )
...
* EDS support
* EDS support
* EDS support
* EDS support
* EDS support (tests)
* EDS support
* EDS support
* Adding DS18B20 sensors
* Adding DS18B20 sensors
* read tables separatly in precache instead
2019-02-07 14:16:15 -06:00
mbwall
6d55524484
Ignore disabled ports in minigraph view ( #9737 )
2019-02-07 13:24:20 -06:00
Tony Murray
d2af4bef42
Fix alert log api ( #9792 )
...
* Fix alert log api
Can't send binary data through http :D
* fix whitespace
2019-02-07 09:42:16 -06:00
Tony Murray
e5eb32c4a9
Migration fixes ( #9776 )
...
* add migrate:install to lnms, but hide it
* Fix Database migration validation
* remove extra import
* Don't allow install to continue if db build fails
2019-02-05 16:50:51 -06:00
ipptac
db488807e4
New Device: Bluecat Networks appliances ( #9758 )
...
* New Device: Bluecat Networks appliances
2019-02-03 07:57:20 +01:00
TheGreatDoc
75927c8389
Revert "Mattermost Alert Transport ( #9711 )"
...
This reverts commit 09d500812e
.
2019-01-26 07:59:04 +01:00
George Pantazis
09d500812e
Mattermost Alert Transport ( #9711 )
...
* fixed #5659
Added support for Mattermost notifications.
George Pantazis <gpant@eservices-greece.com >
* Update Mattermost.php
* changes as requested by @murrant
2019-01-25 15:35:42 -06:00
Tony Murray
590c488d74
Rewrite devices page backend (and a little frontend) ( #9726 )
...
* Implement devices table data output
* initial filter
* Add select2 filters
improve table header layout
improve init_select2
* bump versions to be safe
* add group filtering
fix location sorting
* allow filter value morphing
* add missing state filter
* remove the old devices endpoint
2019-01-25 15:31:33 -06:00
Tony Murray
ce6fae8dd1
Rewrite netcmd and ripe whois tools ( #9724 )
...
* Port RIPE whois to Laravel
* remove netcmd.php and port to laravel.
Escape CLI and set it to stream output live.
* fix browser buffer bust on a few browsers.
2019-01-25 15:30:58 -06:00
Tony Murray
59aa4f36e9
Handle db update errors better in the installer ( #9701 )
...
* Handle db update errors better in the installer
* show retry button on error, add exclamation point so we don't do that accidentally
2019-01-23 23:42:19 -06:00
PipoCanaja
9d843650b7
Improve display for 802.1X NAC ( #9706 )
...
* improve graphical display for 802.1X NAC
* AuthZ col width
* function for humanize_duration
* function for humanize_duration
* Update legacy_index.php
* Update librenmsv1.blade.php
2019-01-22 17:10:54 -06:00
Tony Murray
28ea91d7d9
Eltek Valere more sensors ( #9713 )
...
* Eltek Valere more sensors
* Fix runtime, temperature and format runtime
* remove "runtime" sensor
* Don't need the pre-cache
* Parenthesis
* match previous indentation
2019-01-22 17:06:27 -06:00
Tony Murray
8ce81f2423
Update database schema display ( #9708 )
...
* Update database schema display
* handle missing migrations table
2019-01-22 06:47:07 -06:00