Commit Graph

187 Commits

Author SHA1 Message Date
Robbie Penziol afb838bc10 webgui: Added ability to set warning percentage for CPU, mempools from device edit page (#5895) 2017-03-03 15:07:12 +00:00
Richard Mayhew 5bfd23e7eb webui: New eventlog severity classification (#5830)
* New event log severity model

* Revert "New event log severity model"

This reverts commit 0783527af8.

* New event log severity model

* Fixed spaces vs tabs

* Learning the format requirements

* Learning the format requirements

* Moved the colours in to the stylesheet

* change SQL file to stop conflicting

* refactor log_event so severity isn't last, but reference is.

* keep having to move the file due to new PR conflicts

* Revert "keep having to move the file due to new PR conflicts"

This reverts commit f3030e7218.

* extended support to dashboard and eventlog page

* formatting
2017-02-12 22:41:05 +00:00
Neil Lathwood 268d291c26 webui: Only show sysName once if force_ip_to_sysname is enabled #5600 (#5656)
* webui: Only show sysName once if force_ip_to_sysname is enabled #5600

* now also display IP (again) if sysName is used
2017-02-01 20:15:28 +00:00
Richard Mayhew 6a1fd3ec05 webui: Additional Font Awesome icons (#5572) 2017-01-25 17:42:26 +00:00
Tony Murray da2c6c5d3c feature: support large vendor logos (#5573)
These are often wider than icons, with a fallback to icons if the logo is not present
Logos are stored in /html/images/logos
SVG is preferred for HiDPI
2017-01-24 22:16:01 +00:00
FTBZ a0f5fe4f37 feature: Added basic recurring maintenance for alerts #4480 2017-01-22 18:00:15 +00:00
Richard Mayhew 47397d0083 webui: Updated icons to use Font Awesome (#5468) 2017-01-21 11:24:05 +00:00
Søren Rosiak f2d6eff8e9 webui: Fix Ports Table AdminDown Search (#5426) 2017-01-14 11:02:22 -06:00
Neil Lathwood da5783d917 feature: Add mysql failed query logging + fixed queries that break ONLY_FULL_GROUP_BY (#5327)
* feature: Add mysql failed query logging + fixed queries that break ONLY_FULL_GROUP_BY

* fix all schema errors and update system
2017-01-07 11:32:38 -06:00
Søren Rosiak cdef7885aa webui: Small Best Practice Fixes 2017-01-02 00:03:23 +00:00
Neil Lathwood 9b9c10e204 fix: Cleanup printing ifAlias (#4874) 2016-12-12 14:25:48 +00:00
Tony Murray 6708c7cb81 fix: eventlog type variable collision (#5046) 2016-11-22 14:27:16 +00:00
Tony Murray a83e126b40 refactor: Remove inappropriate usages of truncate() (#5028)
Where truncate() is used as substr(), replace with substr()
2016-11-20 11:12:25 +00:00
Neil Lathwood 8376d08c07 fix: Updated syslog table to use display() for msg output (#4859) 2016-11-01 18:05:24 +00:00
crcro 5569884f7f webui: Updated devices view (#4700) 2016-10-16 15:58:48 +01:00
Bennett Blodinger 309beadf10 fix $glyph_ 2016-09-22 13:43:03 -04:00
Bennett Blodinger 07574b27d8 Move to Font Awesome
Keeps the look more in line with the navigation bar icons.
In the future with Bootstrap 4, Glyphicons will not be included, so this
starts the transistions away.
2016-09-22 10:44:17 -04:00
Tony Murray 299f4d91d3 feature: Add last changed, connected, and mtu to all ports data
Thanks to sysvival on reddit for the idea and help with the calculations
2016-09-21 13:19:52 -05:00
Neil Lathwood bad5ff2eeb Fix quota bills showing 0/0 for in/out (#4462) 2016-09-20 10:23:15 -05:00
Tony Murray c48b71d0af Remove external uses of GenGroupSQL() 2016-09-18 19:08:33 -05:00
David Bell 5115533c73 Scale up rate by a factor of 8 to go from bytes to bits (#4469) 2016-09-16 18:16:55 -05:00
Neil Lathwood e8b5c7fe66 fix: Added support for Graylog 2.1 API change (#4411) 2016-09-13 22:23:52 -05:00
Tony Murray 2529109fc4 fix: ports page includes disabled, ignored, and deleted ports (#4419) 2016-09-13 20:33:07 -05:00
Tony Murray 195a8ee349 Small cleanups (#4405)
* Small cleanups

* Small cleanups
2016-09-11 22:11:16 -05:00
Tony Murray d1ae83a378 webui: Paginate the all ports pages (#4401)
* feature: Paginate the all ports pages
fixes: #2705

* Stopped ports not belonging to any devices from showing up

* phpcs fix
2016-09-11 16:23:16 +01:00
Neil Lathwood 4001f8c60a webui: Updated bootgrid + added syslog colouring based on priority (#4287)
* Updated bootgrid + added syslog colouring based on priority

* Updated functions and removed uneeded file
2016-09-06 07:39:53 -05:00
Aaron Daniels 705a73bda2 webui: Added Pagination and server side search via Ajax to NTP (#4330)
webui: Added Pagination and server side search via Ajax to NTP (#4330)
2016-09-04 16:32:03 +01:00
Tony Murray b8e9b2d917 Implement an autoloader (#4140)
* Implement an autoloader

When cleaning up classes for psr2, things got a bit unwieldy, so I implemented a class autoloader.
I created a PSR-0 compliant LibreNMS directory and moved all classes there that made sense.
Implemented LibreNMS\ClassLoader which supports adding manual class mappings

This reduces the file includes needed and only loads classes when needed.

* Add teh autoloader to graph.php

* Add a small bit of docs
Fix incomplete class in includes/discovery/functions.inc.php
2016-08-21 14:07:14 +01:00
Tony Murray 8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
laf 11d91215cb Added predicated usage to bills, basic at present 2016-08-13 01:11:20 +01:00
Florian Beer a7a8c55eb5 Add filter by priority to syslog 2016-08-05 13:34:23 +02:00
Aaron Daniels 52455e1128 Component Update - Status
- Align the component status field with the Nagios standard
  0=ok, 1=warning, 2=critical
- Modify existing modules to report these status' (Cisco-OTV)
- Add/Modify Alerting Macros to use these status'
- Add the a component status widget
- update edit page to report these status'
2016-07-11 16:51:01 +10:00
laf 2bffc5c1b7 updates as per comments from murrant 2016-07-01 10:27:15 +01:00
laf 2664dbb5e0 Merge branch 'master' of https://github.com/librenms/librenms into ifSpeed 2016-06-30 09:49:35 +01:00
laf 0eb35c0c88 Initial setup for customising ifSpeed on devices 2016-06-24 14:10:09 +01:00
Tony Murray d01804dc8a Merge pull request #3704 from laf/issue-3699
Fixed all maintenance windows appearing as having lapsed
2016-06-23 10:25:48 -05:00
Tony Murray 47afbd5701 Merge pull request #3697 from laf/issue-1911
Added ability to search graylog using the resolved IP we now store
2016-06-22 14:03:30 -05:00
laf 067f0f8d67 Updated if check for device ip 2016-06-22 19:39:47 +01:00
laf 423c24cf86 Fixed all maintenance windows appearing as having lapsed 2016-06-22 19:29:22 +01:00
laf 744e3d5d6f Added ability to search graylog using the resolved IP we now store 2016-06-21 20:45:03 +01:00
laf 06998420cf Updated unpolled notification to only show unpolled devices 2016-06-21 20:12:32 +01:00
Eldon Koyle 809d281adf Add devicee hw/location on hover in alerts table
* Add devices.hardware and devices.location
* Remove some un-needed column aliases (col AS col is the default)
2016-06-08 10:10:34 -06:00
Tony Murray 009840bf8a Store device group relationships in a pivot table. 2016-06-02 13:25:01 -05:00
laf bc423fb710 derp 2016-05-04 19:46:42 +00:00
laf 7f4bb93a24 Updated sensor hostname to use correct variable 2016-05-03 23:11:03 +00:00
laf aefbde3df0 Added abililty to filter by alert state Ok or Alert 2016-05-02 19:40:12 +00:00
Michael Nguyen 699c407072 Fix javascript bug with repeating sensors icon on devices page 2016-04-11 13:45:58 -07:00
Michael Nguyen 2c8ba538b8 Fix javascript bug with repeating sensors icon on devices page 2016-04-11 13:36:55 -07:00
Neil Lathwood 6b896d0cb7 Merge pull request #3239 from richardlawley/billing-search
Convert bills list to Bootgrid
2016-03-17 21:09:10 +00:00
laf 4cbeb18af5 Updated alerts query to retrieve sysName for function use 2016-03-16 00:56:58 +00:00