Commit Graph

30 Commits

Author SHA1 Message Date
Ryan Walters
077e6788bf
Fixed realtime graph http get spam (#11616) 2020-05-15 08:31:43 -05:00
Tony Murray
e8e6ed5142
Fix broken updates (#10380) 2019-06-26 08:49:04 -05:00
Tony Murray
f3ba8947f7
Use Config helper (#10339)
remove usage of global variable
2019-06-23 00:29:12 -05:00
Tony Murray
d7bcd92612 Realtime graph handle snmp server caching (#10113)
* Realtime graph handle server caching
Handle server caching more gracefully than setting the throughput to 0 Mbps

* smoother estimated interval

* don't change the graphing timescale
2019-05-01 23:02:14 +01:00
Tony Murray
eeb3d58f5b Improved Logging and Debugging (#8870)
Use Log facility when Laravel is booted.
Update init.php so we can easily boot Laravel for CLI scripts. (and just Eloquent, but that may go away)
Move all debug setup into set_debug() function and use that across all scripts.
Log Laravel database queries.
Send debug output to librenms log file when enabling debug in the webui.
Allow for colorized Log CLI output. (currently will leave % tags in log file output)

** Needs testing and perhaps tweaking still.

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
2018-07-13 23:08:00 +01:00
Tony Murray
016455f784 webui: Port realtime graph, more space for the interface name (#8234) 2018-02-08 20:57:45 +00:00
Neil Lathwood
1bbbaff58b refactor: Moved ifLabel -> cleanPort and updated the usage (#6288)
* refactor: Moved ifLabel -> cleanPort and updated the usage

* added list of tags allowed

* few updates as per comments from @murrant

* Added simple unit tests

* double display for javascript popover

* Remove ifNameDescr() function
Fix realtime port page

* remove accidental temp code

* Remove double display calls in ajax tables
2017-04-04 08:08:23 +01:00
Tony Murray
9a33464c52 refactor: Centralize includes and initialization (#4991) 2016-11-21 20:12:59 +00:00
Neil Lathwood
7dec670494 refactor: Updated a lot of references to LibreNMS - copyright still left intact (#4339) 2016-09-08 08:12:23 -05:00
Tony Murray
7b93b564da Centralize class loader (#4169)
Move the classloader to as early as possible in defaults.inc.php
This should cover all application entrances.
Set install_dir based on the location of defaults.inc.php
2016-08-22 23:59:59 +01:00
Tony Murray
70a0e17a2b Re-fix realtime 2016-08-22 15:13:41 -05:00
Neil Lathwood
27c1c72b19 Fixed realtime graphs (#4162) 2016-08-22 11:46:22 +01:00
laf
5f8705bd37 Changed package names 2016-08-20 12:21:13 +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
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Alexander Sosna
5a7988e2e4 chmod 0644 to php files not directly executed 2015-04-28 22:58:03 +02:00
Greg
93f3f20238 Thanks to f0o for this fix. Bye bye issue #202 2014-03-17 13:18:25 -07:00
Paul Gear
3184a35268 Revert boilerplate changes 2013-10-29 05:38:12 +10:00
Brad Peczka
985330f638 Updated copyright and package notices. 2013-10-28 21:39:08 +08:00
Adam Amstrong
dbf212f652 phpDocumentator headers. retire static-config. IF YOU ARE READING THIS, REMOVE IT FROM THE BOTTOM YOUR CONFIG.PHP. YES. YOU.
git-svn-id: http://www.observium.org/svn/observer/trunk@3150 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 10:01:42 +00:00
Tom Laermans
7a8b14766a fix realtime graph, whoopsie
git-svn-id: http://www.observium.org/svn/observer/trunk@2813 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-06 15:56:31 +00:00
Tom Laermans
72ec1889e0 seems i forgot a line of shorttags
git-svn-id: http://www.observium.org/svn/observer/trunk@2812 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-06 15:20:57 +00:00
Tom Laermans
640c2aeef5 effing shorttags begone
git-svn-id: http://www.observium.org/svn/observer/trunk@2808 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-04 15:29:17 +00:00
Adam Amstrong
afced3cd6c updates to various things. remove null from device_bits graph. add 'events' subtab to interface tab.
git-svn-id: http://www.observium.org/svn/observer/trunk@2720 61d68cd4-352d-0410-923a-c4978735b2b8
2011-11-12 14:21:01 +00:00
Adam Amstrong
34fd920ab4 shorthost for realtime graph
git-svn-id: http://www.observium.org/svn/observer/trunk@2618 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-30 13:35:09 +00:00
Tom Laermans
b3b16cf8fe move ALL the hostnames
git-svn-id: http://www.observium.org/svn/observer/trunk@2617 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-30 13:31:06 +00:00
Tom Laermans
d864ce234f kill a whole bunch of trailing spaces
git-svn-id: http://www.observium.org/svn/observer/trunk@2516 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 09:55:11 +00:00
Adam Amstrong
7da9f07f8a add interval chooser to realtime
git-svn-id: http://www.observium.org/svn/observer/trunk@2427 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 03:52:37 +00:00
Adam Amstrong
9ec5bfd8b1 cleanup realtime :)
git-svn-id: http://www.observium.org/svn/observer/trunk@2426 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 03:31:21 +00:00
Adam Amstrong
b03bb8181c fixes to billing. add realtime graphs for port bits.
git-svn-id: http://www.observium.org/svn/observer/trunk@2424 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 02:57:02 +00:00