91 Commits

Author SHA1 Message Date
yac01 38cf424417 webui: Added ability for users to configure selectable times for graphs (#7193)
* feat:add links for librenms graph

* added widescreen config
2017-08-25 20:11:01 +01:00
Tony Murray 50d31ad00b fix: Restore access to existing wireless graphs (#6593) 2017-05-05 19:39:23 +01:00
Tony Murray 4c0412b14d feature: Wireless Sensors Overhaul (#6471)
* feature: Wireless Sensors
Includes client counts for ios and unifi
Graphing could use some improvement.
Alerting and threshold ui not implemented

WIP: starting OO based wireless sensors.

Class based functionality working
remove old functional files
add schema file

discovery needs to be enabled, not polling

fix up schema

fix Unifi discovery not returning an array

Add some debug when discovering a sensor.
Fix style.

Add missing semicolin

Add a null object (Generic) for OS.
Fill out some phpdocs

Re-organized code
Each sensor type now has it's own discovery and polling interface
Custom polling tested with Unifi CCQ

Left to do:
Implement UI (Graphs and Custom thresholds)
Alerting
Testing

Fix event message text

Remove runDiscovery and runPolling from OS, they are unused and don't belong there.

Cleanups/docs

Missed this file.

Remove the requirement to fetch the current value to check validity.
Do that automatically if current is not specified
A few cleanups here and there

First pass at graphing.
device_ and wireless_ graphs added.

Add RouterOS support

Singleton OS instance isn't required right now.
Remove that to allow some memory to be freed.

Add wireless to the device list metrics.
Make all metrics clickable

Tweak graphs a bit

Implement limit configuration page.
Use sensors page as common code instead of duplicating.
Clean up some javascript interactions:  Allow enter on values to save. Cancel if update is not needed. Enable the clear custom button after setting a custom value.
Add some wireless alert rules to the library.

Add documentation.

Add unifi client counts by ssid in addition to radio.
Optimize Sensor polling a bit.

Add HP MSM clients support (for full controller)
Fix function accessibility

Formalize the discovery and poller interfaces.

Add Xirrus clients and noise floor
move module interfaces to a more appropriate place.
push caching code up to os, unsure about this do to the limitations

No point in selectively enabling wireless discovery.  We only discover if the device supports something.

Add RSSI, Power, and Rate.
Add these sensors for Ubnt Airos.
Clean up some copyrights.

Reduce the amount of files need to add new types.
Leave graph files for consistency and to allow customization.

Remove the old wifi clients graph completely.
ciscowlc should have improved counts (total and per-ssid)

Schema didn't get added.

Impelement the rest of the AirOS sensors
Reformat and re-organize the Airos.php class.

Add several UBNT AirFiber sensors

A few fixes add links to the section headers

Add HP MSM mibs.

* Schema file got dropped in rebase.

* Add wireless menu to view sensors across all devices.
Icons in the menu need help :/

* Add HeliOS, Mimosa, and Siklu support
Sensors added SNR + Noise

* Add power and utilization to Unifi

* Update polling to prefetch all sensor data in a few snmp requests as possible

* Add Extendair: tx+rx power, aggregate rate, frequency

* Add a check for duplicate sensors in discovery.  Just print an error for now.

* Add Bit Error Ratio (named error-ratio to allow for bit error rate to be added if needed)
Fix an incorrect link in the wireless sensors table

* Add error rate and change all bps and Hz to use si units

* Fixes to limits and frequency display

* Fix overview graph frequency display
A few decimal place tweaks

* Don't allow switching sensor and wireless-sensor graphs, it doesn't work.
Change individual distance graphs to use si units

* Go through the OS and make sure I got all the sensors I can (probably missed some still)
Because pollWirelessChannelAsFrequency() is generic and a little complex, so pull it up to OS.
Message to help developers adding supports that don't return an array from discover functions.

* Fix some issues

* Remove noise and signal for now at least
A couple more fixes
Add a notification

* Oopsie

* Bonus AirFiber sensors
2017-05-01 23:49:11 -05:00
Richard Mayhew 47397d0083 webui: Updated icons to use Font Awesome (#5468) 2017-01-21 11:24:05 +00: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
pblasquez 2c57979011 forgot to add back max() 2016-04-26 16:07:20 -07:00
pblasquez 8e8315dbcd Move config to WebUI 2016-04-26 12:56:58 -07:00
pblasquez 8d4c65b8e8 Revert "Make minimum height configurable"
This reverts commit 292fe5901b.
2016-04-26 12:43:49 -07:00
pblasquez 292fe5901b Make minimum height configurable 2016-04-21 22:20:53 -07:00
Paul Gear e38c2f6885 Show only relevant MIB graphs
This reduces noise in the drop-down by only displaying MIB graphs defined for the device.
2016-01-17 15:00:15 +10:00
Louis Bailleul ccfc9450ae Add media query to cahnge the size of the thumbnails
This prevent the scrollbar on graph.inc.php
Tweaked the graphs sizing to fit better on the screen
2015-11-26 17:31:35 +00:00
Louis Bailleul 961a9fff4b Make graph page use session variable to compute graph size 2015-11-26 17:29:17 +00:00
Louis Bailleul 8f2ddb243d Add media query to cahnge the size of the thumbnails
This prevent the scrollbar on graph.inc.php
Tweaked the graphs sizing to fit better on the screen
2015-11-26 17:15:54 +00:00
Louis Bailleul 9ad6763c86 Make graph page use session variable to compute graph size 2015-11-26 17:13:59 +00:00
laf e9deae1315 Centralised the date selector for graphs for re-use 2015-10-20 21:35:08 +00:00
Arjit Chaudhary d5259cbdec Fix fonts
Screenshot: http://i.imgur.com/Ga0AUxP.png
2015-10-01 17:01:33 +05:30
Arjit Chaudhary 72b9ee2669 Cleanup/Change UI a bit. 2015-08-23 16:37:21 +05:30
Arjit Chaudhary f5ad4665cd Center the graph displayed. 2015-08-22 17:58:10 +05:30
Clint Armstrong b5e8998c70 apply lazyload patch 2015-07-16 12:42:58 -04:00
Job Snijders d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Travis Hegner 6314aaddd4 removing commented code 2015-07-02 15:12:42 -04:00
Travis Hegner 6878e380b3 using moment.js since we have it anyway 2015-07-02 15:10:49 -04:00
Travis Hegner d3aea6757b trying a more universal (perhaps not standard) format 2015-07-02 15:05:05 -04:00
Travis Hegner 01e4a6650e putting the T back with Z this time 2015-07-02 14:59:11 -04:00
Travis Hegner 0ab00ba0fb debug output 2015-07-02 14:55:42 -04:00
Travis Hegner 0fbcc0d1b6 ff failing to parse 2015-07-02 14:54:36 -04:00
Travis Hegner 29244a49dc js syntax error 2015-07-02 14:39:28 -04:00
Travis Hegner a9fa366415 js syntax error 2015-07-02 14:34:40 -04:00
Travis Hegner 054022346e prevent form submission from converting to UTC 2015-07-02 14:33:19 -04:00
Travis Hegner f11262eb9d formatting date with javascript, so it auto converts to localtime 2015-07-02 14:30:43 -04:00
Travis Hegner 9a99af06c8 debug output 2015-07-02 14:24:37 -04:00
Travis Hegner 4655143167 debug output 2015-07-02 14:23:03 -04:00
Travis Hegner 48a380ff7e debug output 2015-07-02 14:21:10 -04:00
Travis Hegner 2a7eb47437 debug output 2015-07-02 14:12:33 -04:00
Travis Hegner 5ac243f731 debug output 2015-07-02 14:10:16 -04:00
Travis Hegner abeb015e33 debug output 2015-07-02 14:09:23 -04:00
Travis Hegner a2e248cf4b trying to set the date from js 2015-07-02 14:06:02 -04:00
Travis Hegner dbb256d431 change the order to see if it shows date immediatly 2015-07-02 13:56:28 -04:00
Travis Hegner f2fe24c602 use js to convert 2015-07-02 13:54:27 -04:00
Travis Hegner 8d49395b10 test static TZ parse 2015-07-02 13:41:54 -04:00
Paul Gear 7dbb670638 Factor out getting the list of subtypes; add MIB types which were loaded from database 2015-06-16 08:27:57 +10:00
laf ee4aaf1749 Tidied up web interface to use standard dateformats 2015-05-22 14:05:09 +01:00
laf 18b4dcb136 More work on maintenance 2015-04-13 17:48:49 +01:00
laf 082ac6cc66 Final tidy up of the date search box for graphs 2015-03-01 11:57:35 +00:00
Paul Gear 414735c183 Vertically compact controls on main graph screen
I'm still not entirely happy with the layout, but this should be a
little more streamlined.  Feedback appreciated.
2015-02-22 21:55:56 +10:00
Paul Gear f7821198da Updated graphs page to use bootstrap datetimepicker PR#306
- Separated from removal of jqplot code
- Merge remote-tracking branch 'laf/issue-laf-52'

Conflicts:
	html/index.php
2014-10-28 08:37:49 +10:00
laf 61f94e05cc Added support for a datetime picker and used on graphs page 2014-10-04 20:09:52 +01:00
laf 2ed285e4b1 Initial setup for datetime picker 2014-10-04 01:57:28 +01:00
Adam Amstrong b273e04241 /// -> //
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong cacf913a55 # -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00