Commit Graph

18 Commits

Author SHA1 Message Date
Tony Murray
7371c6e1b8 feature: improved readability for snmp debug output
It now matches RRD and SQL output format, the color is cyan
Slightly better ip removal from debug output, only removes valid IPs now.
2016-09-21 17:15:28 -05:00
Tony Murray
9284bc60ff Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +01:00
Tony Murray
aa8294bfce c_echo
Console_color2 helper.
If $console_color isn't instantiated, remove the color directives and print.
2016-08-16 20:01:22 -05:00
Daniel Preussker
731e43bc66 Revert "[WIP] Sanity!" 2016-02-17 13:59:58 +00:00
f0o
568875ad83 reset array pointers 2016-02-11 07:42:00 +00:00
f0o
21e94b3e3a Sanity! 2016-02-10 15:21:31 +00:00
Daniel Preussker
2b55c06d9e Revert "Variable/Environment sanity" 2016-02-10 14:31:16 +00:00
f0o
a6bca987bf Enforce sanity before returning from database 2016-02-10 13:52:43 +00:00
laf
757017d4ef For SQL debug, if we see an insert into alert_log with details column then we mask the output 2015-12-13 18:31:45 +00:00
Daniel Preussker
afdbb2406d Added $nocache parameter
Fixed typo in caching
Excluded caching for MySQL-Authentication & /poll-log/
2015-09-30 15:20:06 +00:00
Daniel Preussker
41d996ef98 scrut fixes 2015-09-27 19:44:59 +00:00
Daniel Preussker
7832868dd6 Added generic memcached support to dbFacile.*
Remove now obsolete memcached code in:
  html/ajax_rulesuggest.php

Remove all the broken memcached code in:
  html/pages/device/health/mempool.inc.php
  html/pages/device/overview/generic/sensor.inc.php
  html/pages/device/overview/mempools.inc.php
  html/pages/device/port.inc.php
  html/pages/device/ports.inc.php
  html/pages/health/sensors.inc.php
  includes/polling/functions.inc.php
  includes/polling/mempools.inc.php
  includes/polling/ports.inc.php
  includes/polling/storage.inc.php
2015-09-27 19:33:17 +00:00
f0o
da9e071d7d Revert all PHP-Based MySQL Locks introduced in #1584 2015-09-02 14:46:42 +01:00
Clint Armstrong
a71172969f fix unused code 2015-08-25 11:35:27 -04:00
Clint Armstrong
777d5d6c6f add function to check for a lock 2015-08-25 11:35:24 -04:00
Clint Armstrong
b34fcf8728 remove debug echos 2015-08-25 11:35:13 -04:00
Clint Armstrong
e7c51f2a80 add mysql lock for polling 2015-08-25 11:35:13 -04:00
laf
4b49c148b6 Added mysqli support 2015-08-08 19:27:18 +00:00