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
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
Tony Murray
57650e4ffc
Remove nfs requirement for distributed poller (with rrdtool 1.5+)
...
Use data_update instead of rrd_update/rrd_create and influx_update
Centralize rrd file check so we can check against a remote rrdcached server too
Use rrd_name() to generate rrd file names
2016-07-07 21:10:06 -05:00
Paul Gear
0d2949f69e
Overhaul use of rrdtool_lastupdate & STACK for rrdtool 1.4/1.5 compatibility
2015-11-15 11:48:39 +10:00
Job Snijders
ebd0f6fc35
Apply "Squiz" code style on old (pre-2014) files
2015-07-11 16:12:35 +02: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
Tom Laermans
cc7f01ee26
more rrdtool_escape goodness
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3230 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-23 10:37:23 +00:00
Adam Amstrong
d52042ba47
cleanups to how graphing works. start using device= for device graphs.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3167 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-11 13:26:14 +00:00
Adam Amstrong
22dad0dae4
revert change changing mempool/storage format
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3091 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-26 16:15:11 +00:00
Adam Amstrong
2b8178bb5b
move all RRA decisions to config. switch mempool/storage to new rrds (sorry, data lost, the old rrds sucked). added some more apps pages.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3068 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-20 17:37:58 +00:00
Adam Amstrong
952ae3b365
all graphs to db*
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2309 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 13:27:54 +00:00
Tom Laermans
f55a30f744
some formatting cleanups, introduce some more FIXMEs to look at, plus replace mysql_fetch_array by mysql_fetch_assoc, for great justice
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2029 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-06 13:54:50 +00:00
Tom Laermans
eb009ce178
moar graph cleanups
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1906 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-17 13:35:25 +00:00
Tom Laermans
2d5eee1c95
cleanups in device graphs
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1892 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 21:59:11 +00:00
Tom Laermans
a1bf48e63e
many small fixes, hacky way to ignore no more variables, fix up supermicro sensor limits, loosen automatic sensor limit settings a bit
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1675 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-13 13:17:53 +00:00
Adam Amstrong
11f8fd3645
updated graph definitions (don't fuck with .svn!)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1471 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-24 19:24:07 +00:00
Adam Amstrong
ada14bd542
Major changes to graphing system organisation. Prevent sensors from being discovered in ENTITY-SENSOR-MIB if they've already been detected in CISCO-ENTITY-SENSOR-MIB (they share entPhysicalIndex). Fix ADSL poller. Make popup overlibs prettier as default.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1470 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-24 19:14:41 +00:00