Occasional crash



  • have been submitting every crash alot with what seems like lack of info this one could have some more info

    Crash report begins.  Anonymous machine information:

    amd64
    10.3-BETA2
    FreeBSD 10.3-BETA2 #419 a0ada22(devel): Sat Feb 27 13:42:40 CST 2016    root@pfs23-amd64-builder:/usr/home/pfsense/pfsense/tmp/obj/usr/home/pfsense/pfsense/tmp/FreeBSD-src/sys/pfSense

    Crash report details:

    PHP Errors:
    [29-Feb-2016 00:15:01 Etc/UTC] PHP Stack trace:
    [29-Feb-2016 00:15:01 Etc/UTC] PHP  1. {main}() /usr/local/www/ifstats.php:0
    [29-Feb-2016 00:15:01 Etc/UTC] PHP  2. require_once() /usr/local/www/ifstats.php:63
    [29-Feb-2016 00:15:01 Etc/UTC] PHP  3. get_configured_interface_with_descr() /usr/local/www/guiconfig.inc:254

    Filename: /var/crash/minfree
    2048



  • get_configured_interface_with_descr() has nothing that looks like it could go wrong.
    Unfortunately those crash reports are not saying what was the problem that the PHP interpreter had - they just have the stack trace.

    Do you have some interesting/weird interfaces? Or interfaces that are disabled?

    Have a look in the interfaces section of config.xml for anything that looks "special" or "odd".

    Check that the function itself works for you. Diag->Command Prompt and execute PHP:

    $ifs = get_configured_interface_with_descr(false,true);
    var_dump($ifs);
    
    

    It should successfully return a nice array of the interfaces on your system.



  • here is what the command delivered

    array(5) {
      'wan' =>
      string(3) "DSL"
      'lan' =>
      string(3) "LAN"
      'opt1' =>
      string(10) "CABLEMODEM"
      'opt2' =>
      string(4) "CMHE"
      'opt3' =>
      string(5) "DSLHE"
    }



  • Well that is perfectly normal - an array of the internal interface names to the descriptive names.

    So goodness knows what PHP is trying to complain about!



  • Hello,

    The following might help in debugging this issue.

    Edit the following in /etc/inc/config.lib.inc (near line 1018)

    
    		} else if ($error['type'] != E_NOTICE) {
    			$errorstr = "PHP WARNING: Type: {$error['type']}, File: {$error['file']}, Line: {$error['line']}, Message: {$error['message']}";
    			// XXX: comment out for now, should re-enable post-2.2
    			//print($errorstr);
    			//log_error($errorstr);
    		}
    
    

    Replace with:

    
    		} else if ($error['type'] == E_WARNING) {
    			$errorstr = "PHP WARNING: Type: {$error['type']}, File: {$error['file']}, Line: {$error['line']}, Message: {$error['message']}";
    			print($errorstr);
    			log_error($errorstr);
    		}
    
    

    This change will report E_WARNING (serious non-fatal issues) but disregard things like E_NOTICE, E_STRICT and E_DEPRECATED (which would, in turn, generate a lot of noise).

    Regards,
    Jorge M. Oliveira

    PS: If this change proves to help debugging. Maybe merging to master is advised.



  • ok applied the modded code

    dash board:

    PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5357, Message: Undefined variable: config

    PHP WARNING: Type: 8, File: /etc/inc/pkg-utils.inc, Line: 108, Message: Undefined variable: user_agent

    PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/ntp_status.widget.php, Line: 196, Message: Undefined variable: gps_ok

    PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/snort_alerts.widget.php, Line: 238, Message: Undefined index: widget_snort_display_lines

    0PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media% (797/814000) Show states
    traffic graph widget
    This page contains the following errors:

    error on line 303 at column 1: Extra content at the end of the document
    Below is a rendering of the page up to the first error.

    interfaces page :
    PHP WARNING: Type: 8, File: /usr/local/www/status_interfaces.php, Line: 204, Message: Undefined variable: interrupt_total



  • traffic graph

    PHP WARNING: Type: 8, File: /usr/local/www/classes/Form/Group.class.php, Line: 158, Message: Undefined variable: title

    PHP WARNING: Type: 8, File: /usr/local/www/classes/Form/Group.class.php, Line: 158, Message: Undefined variable: title

    status monitoring :

    PHP WARNING: Type: 8, File: /usr/local/www/status_monitoring.php, Line: 282, Message: Undefined variable: savemsg
    Error: SyntaxError: Unexpected token P

    gateways:
    PHP WARNING: Type: 8, File: /usr/local/www/status_gateways.php, Line: 182, Message: Undefined index: lastcheck

    services:
    PHP WARNING: Type: 8, File: /usr/local/www/shortcuts.inc, Line: 149, Message: Undefined index: status



  • Apr 11 19:09:27 php-fpm 91517 /status_services.php: PHP WARNING: Type: 8, File: /usr/local/www/shortcuts.inc, Line: 149, Message: Undefined index: status
    Apr 11 19:09:15 php-fpm 91517 /status_ntpd.php: PHP WARNING: Type: 8, File: /usr/local/www/status_ntpd.php, Line: 261, Message: Undefined variable: gps_ok
    Apr 11 19:09:08 php-cgi dhcpd_gather_stats.php: PHP WARNING: Type: 8, File: /usr/local/bin/dhcpd_gather_stats.php, Line: 197, Message: Undefined index: all
    Apr 11 19:08:32 php-fpm 91517 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:08:31 php-fpm 86992 /status_gateways.php: PHP WARNING: Type: 8, File: /usr/local/www/status_gateways.php, Line: 182, Message: Undefined index: lastcheck
    Apr 11 19:08:29 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:08:26 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:08:23 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:08:22 php-fpm 86992 /graph.php: PHP WARNING: Type: 8, File: /usr/local/www/graph.php, Line: 96, Message: Undefined index: initdelay
    Apr 11 19:08:22 php-fpm 86992 /status_graph.php: PHP WARNING: Type: 8, File: /usr/local/www/classes/Form/Group.class.php, Line: 158, Message: Undefined variable: title
    Apr 11 19:08:07 php-cgi dhcpd_gather_stats.php: PHP WARNING: Type: 8, File: /usr/local/bin/dhcpd_gather_stats.php, Line: 197, Message: Undefined index: all
    Apr 11 19:07:18 php-fpm 86992 /rrd_fetch_json.php: PHP WARNING: Type: 8, File: /usr/local/www/rrd_fetch_json.php, Line: 106, Message: Undefined index:
    Apr 11 19:07:17 php-fpm 86992 /status_monitoring.php: PHP WARNING: Type: 8, File: /usr/local/www/status_monitoring.php, Line: 282, Message: Undefined variable: savemsg
    Apr 11 19:07:16 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:07:13 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:07:10 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:07:08 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:07:05 php-cgi dhcpd_gather_stats.php: PHP WARNING: Type: 8, File: /usr/local/bin/dhcpd_gather_stats.php, Line: 197, Message: Undefined index: all
    Apr 11 19:07:04 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:07:01 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:58 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:55 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:52 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:49 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:46 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:43 php-fpm 86992 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:41 php-fpm 85812 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:38 php-fpm 85616 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:35 php-fpm 84646 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:32 php-fpm 82925 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:29 php-fpm 82925 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:26 php-fpm 79077 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:22 php-fpm 79077 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:19 php-fpm 79077 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:16 php-fpm 79077 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:13 php-fpm 79077 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:10 php-fpm 78155 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:07 php-fpm 76153 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:04 php-fpm 28965 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:06:03 php-cgi dhcpd_gather_stats.php: PHP WARNING: Type: 8, File: /usr/local/bin/dhcpd_gather_stats.php, Line: 197, Message: Undefined index: all
    Apr 11 19:06:01 php-fpm 28142 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:05:58 php-fpm 79788 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:05:55 php-fpm 79788 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:05:52 php-fpm 79788 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:05:49 php-fpm 79788 /bandwidth_by_ip.php: PHP WARNING: Type: 8, File: /usr/local/www/bandwidth_by_ip.php, Line: 100, Message: Undefined offset: 11
    Apr 11 19:05:48 php-fpm 79788 /graph.php: PHP WARNING: Type: 8, File: /usr/local/www/graph.php, Line: 96, Message: Undefined index: initdelay
    Apr 11 19:05:48 php-fpm 79788 /status_graph.php: PHP WARNING: Type: 8, File: /usr/local/www/classes/Form/Group.class.php, Line: 158, Message: Undefined variable: title
    Apr 11 19:05:24 php-fpm 79788 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:05:24 php-fpm 79788 /status_dhcp_leases.php: PHP WARNING: Type: 8, File: /usr/local/www/status_dhcp_leases.php, Line: 520, Message: Undefined index: all
    Apr 11 19:05:24 php-fpm 79788 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:05:24 php-fpm 79788 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:05:22 php-fpm 79788 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:05:21 php-fpm 1068 /widgets/widgets/system_information.widget.php: PHP WARNING: Type: 8, File: /etc/inc/pkg-utils.inc, Line: 108, Message: Undefined variable: user_agent
    Apr 11 19:05:20 php-fpm 44430 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:05:19 php-fpm 44430 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:05:19 php-fpm 44430 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:05:16 php-fpm 1068 /widgets/widgets/dyn_dns_status.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5357, Message: Undefined variable: config
    Apr 11 19:05:16 php-fpm 70272 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:05:15 php-fpm 1068 /widgets/widgets/ntp_status.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/ntp_status.widget.php, Line: 196, Message: Undefined variable: gps_ok
    Apr 11 19:05:15 php-fpm 82522 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:05:14 php-fpm 82522 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:05:14 php-fpm 82522 /graph.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:05:14 php-fpm 70272 /graph.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:05:14 php-fpm 82522 /graph.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:05:14 php-fpm 70272 /graph.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:05:14 php-fpm 70272 /index.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/snort_alerts.widget.php, Line: 238, Message: Undefined index: widget_snort_display_lines
    Apr 11 19:05:01 php-cgi dhcpd_gather_stats.php: PHP WARNING: Type: 8, File: /usr/local/bin/dhcpd_gather_stats.php, Line: 197, Message: Undefined index: all
    Apr 11 19:05:00 php /usr/local/pkg/snort/snort_check_cron_misc.inc: PHP WARNING: Type: 8, File: /usr/local/pkg/snort/snort_check_cron_misc.inc, Line: 238, Message: Undefined index: appid_stats_log_retention
    Apr 11 19:04:12 php-fpm 70272 /status_interfaces.php: PHP WARNING: Type: 8, File: /usr/local/www/status_interfaces.php, Line: 204, Message: Undefined variable: interrupt_total
    Apr 11 19:04:11 php-fpm 70272 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:04:11 php-fpm 38604 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:04:10 php-fpm 38604 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:04:09 php-fpm 70272 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:04:08 php-fpm 38604 /widgets/widgets/ntp_status.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/ntp_status.widget.php, Line: 196, Message: Undefined variable: gps_ok
    Apr 11 19:04:06 php-fpm 18622 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:04:06 php-fpm 38604 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:04:06 php-fpm 38604 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:04:04 php-fpm 18622 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:04:04 php-fpm 18622 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:04:04 php-fpm 88053 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:04:00 php-fpm 88053 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:04:00 php-fpm 89567 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:04:00 php-cgi dhcpd_gather_stats.php: PHP WARNING: Type: 8, File: /usr/local/bin/dhcpd_gather_stats.php, Line: 197, Message: Undefined index: all
    Apr 11 19:03:59 php-fpm 89567 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:03:57 php-fpm 89567 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:03:55 php-fpm 47033 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:03:55 php-fpm 47033 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:03:55 php-fpm 89567 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:03:55 php-fpm 47033 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:03:54 php-fpm 47033 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:03:50 php-fpm 47033 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:03:49 php-fpm 87402 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:03:49 php-fpm 47033 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:03:48 php-fpm 47033 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:03:45 php-fpm 87402 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:03:45 php-fpm 87402 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:03:43 php-fpm 87402 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:03:43 php-fpm 85455 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:03:42 php-fpm 87402 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:03:41 php-fpm 85455 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:03:40 php-fpm 87402 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:03:37 php-fpm 85455 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:03:36 php-fpm 49460 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:03:35 php-fpm 49460 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:03:35 php-fpm 49460 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:03:33 php-fpm 30439 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:03:32 php-fpm 14284 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:03:31 php-fpm 30439 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:03:29 php-fpm 14284 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:03:29 php-fpm 90628 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:03:27 php-fpm 48391 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:03:26 php-fpm 90628 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:03:24 php-fpm 48391 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:03:24 php-fpm 48391 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:03:24 php-fpm 48391 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:03:21 php-fpm 48391 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:03:21 php-fpm 65833 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:03:20 php-fpm 23980 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:03:19 php-fpm 65833 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:03:18 php-fpm 65833 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:03:16 php-fpm 65833 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:03:14 php-fpm 65833 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:03:14 php-fpm 65833 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:03:13 php-fpm 54395 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:03:12 php-fpm 65833 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:03:11 php-fpm 54395 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:03:10 php-fpm 54395 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:03:10 php-fpm 14399 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:03:08 php-fpm 14399 /widgets/widgets/ntp_status.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/ntp_status.widget.php, Line: 196, Message: Undefined variable: gps_ok
    Apr 11 19:03:07 php-fpm 14399 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:03:06 php-fpm 67810 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:03:06 php-fpm 14399 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:03:06 php-fpm 14399 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:03:06 php-fpm 14399 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:03:00 php-fpm 67810 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:03:00 php-fpm 24833 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:02:59 php-fpm 67810 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:02:59 php-fpm 87956 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:02:59 php-fpm 24833 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:02:58 php-cgi dhcpd_gather_stats.php: PHP WARNING: Type: 8, File: /usr/local/bin/dhcpd_gather_stats.php, Line: 197, Message: Undefined index: all
    Apr 11 19:02:55 php-fpm 87956 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:02:55 php-fpm 87956 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:02:54 php-fpm 59457 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:02:53 php-fpm 59457 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:02:52 php-fpm 29866 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:02:50 php-fpm 29866 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:02:48 php-fpm 29866 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:02:47 php-fpm 2246 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:02:47 php-fpm 2246 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:02:45 php-fpm 2246 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:02:45 php-fpm 1350 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:02:45 php-fpm 1350 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:02:42 php-fpm 58062 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:02:41 php-fpm 58062 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:02:40 php-fpm 58062 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:02:37 php-fpm 83199 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:02:37 php-fpm 44504 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:02:37 php-fpm 58062 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:02:37 php-fpm 58062 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:02:35 php-fpm 83199 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:02:35 php-fpm 83199 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:02:30 php-fpm 83199 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:02:29 php-fpm 83199 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:02:29 php-fpm 55417 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:02:28 php-fpm 55417 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:02:25 php-fpm 55417 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:02:25 php-fpm 55417 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:02:23 php-fpm 27760 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:02:23 php-fpm 55417 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:02:22 php-fpm 26611 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:02:21 php-fpm 27760 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:02:20 php-fpm 26611 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:02:17 php-fpm 78443 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:02:16 php-fpm 59445 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:02:15 php-fpm 78443 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:02:15 php-fpm 78443 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:02:15 php-fpm 59445 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:02:11 php-fpm 22758 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:02:11 php-fpm 59445 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:02:10 php-fpm 59445 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:02:09 php-fpm 22758 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:02:07 php-fpm 77380 /widgets/widgets/ntp_status.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/ntp_status.widget.php, Line: 196, Message: Undefined variable: gps_ok
    Apr 11 19:02:07 php-fpm 22758 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:02:06 php-fpm 77380 /widgets/widgets/dyn_dns_status.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5357, Message: Undefined variable: config
    Apr 11 19:02:05 php-fpm 77380 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:02:04 php-fpm 22758 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:02:04 php-fpm 77380 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:02:03 php-fpm 77380 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:02:00 php-fpm 22478 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:02:00 php-fpm 77380 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:01:59 php-fpm 62359 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:01:59 php-fpm 62359 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:01:57 php-fpm 22478 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:01:56 php-cgi dhcpd_gather_stats.php: PHP WARNING: Type: 8, File: /usr/local/bin/dhcpd_gather_stats.php, Line: 197, Message: Undefined index: all
    Apr 11 19:01:55 php-fpm 62749 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:01:55 php-fpm 62749 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:01:55 php-fpm 62749 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:01:54 php-fpm 62749 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:01:52 php-fpm 16828 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:01:50 php-fpm 16828 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:01:49 php-fpm 3852 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:01:48 php-fpm 16828 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:01:46 php-fpm 3852 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:01:46 php-fpm 75383 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:01:44 php-fpm 75383 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:01:44 php-fpm 3852 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:01:44 php-fpm 75383 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:01:40 php-fpm 75383 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:01:40 php-fpm 47458 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:01:39 php-fpm 12670 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:01:39 php-fpm 12670 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:01:37 php-fpm 12670 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:01:34 php-fpm 12670 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:01:34 php-fpm 12670 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:01:34 php-fpm 12670 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:01:33 php-fpm 12670 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:01:33 php-fpm 85019 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:01:29 php-fpm 85019 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:01:29 php-fpm 48601 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:01:28 php-fpm 85019 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:01:27 php-fpm 48601 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:01:26 php-fpm 26805 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:01:25 php-fpm 48601 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:01:25 php-fpm 48601 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:01:23 php-fpm 90331 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:01:22 php-fpm 26805 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:01:20 php-fpm 90331 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:01:19 php-fpm 70017 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:01:17 php-fpm 90331 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:01:16 php-fpm 70017 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:01:15 php-fpm 70017 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:01:15 php-fpm 45541 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:01:15 php-fpm 45541 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:01:12 php-fpm 21725 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:01:11 php-fpm 45541 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:01:10 php-fpm 21725 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:01:09 php-fpm 21725 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:01:07 php-fpm 21725 /widgets/widgets/ntp_status.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/ntp_status.widget.php, Line: 196, Message: Undefined variable: gps_ok
    Apr 11 19:01:05 php-fpm 21725 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:01:05 php-fpm 31693 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:01:05 php-fpm 78411 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:01:05 php-fpm 31693 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:01:03 php-fpm 65946 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:01:03 php-fpm 31693 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:00:59 php-fpm 31693 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:00:59 php-fpm 31693 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:00:58 php-fpm 42568 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:00:58 php-fpm 31693 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:00:55 php-cgi dhcpd_gather_stats.php: PHP WARNING: Type: 8, File: /usr/local/bin/dhcpd_gather_stats.php, Line: 197, Message: Undefined index: all
    Apr 11 19:00:54 php-fpm 42568 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:00:54 php-fpm 42568 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:00:53 php-fpm 42568 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:00:52 php-fpm 42568 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:00:51 php-fpm 22780 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:00:51 php-fpm 72752 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:00:49 php-fpm 72752 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:00:48 php-fpm 72752 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:00:45 php-fpm 44686 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:00:44 php-fpm 72752 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:00:44 php-fpm 44686 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:00:44 php-fpm 44686 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:00:43 php-fpm 72752 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:00:40 php-fpm 44686 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:00:40 php-fpm 19554 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:00:40 php-fpm 19554 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:00:38 php-fpm 19554 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:00:37 php-fpm 9856 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:00:34 php-fpm 9856 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:00:34 php-fpm 78888 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:00:34 php-fpm 78888 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:00:33 php-fpm 78888 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:00:31 php-fpm 44901 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:00:30 php-fpm 78888 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:00:29 php-fpm 16901 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:00:28 php-fpm 44901 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:00:27 php-fpm 16901 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:00:25 php-fpm 16901 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:00:25 php-fpm 16901 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:00:23 php-fpm 69963 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:00:22 php-fpm 69963 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:00:21 php-fpm 69963 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:00:19 php-fpm 69963 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:00:17 php-fpm 69963 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:00:16 php-fpm 98749 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:00:16 php-fpm 46586 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:00:16 php-fpm 69963 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:00:14 php-fpm 98749 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:00:14 php-fpm 98749 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:00:11 php-fpm 98749 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:00:11 php-fpm 98749 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:00:09 php-fpm 78019 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:00:09 php-fpm 98749 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:00:07 php-fpm 78019 /widgets/widgets/ntp_status.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/ntp_status.widget.php, Line: 196, Message: Undefined variable: gps_ok
    Apr 11 19:00:06 php-fpm 78019 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 19:00:05 php-fpm 48055 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:00:05 php-fpm 78019 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 19:00:05 php-fpm 48055 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 19:00:05 php-fpm 78019 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:00:03 php-fpm 34112 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 19:00:00 php-fpm 34112 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 19:00:00 php-fpm 34112 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 19:00:00 php /usr/local/pkg/snort/snort_check_cron_misc.inc: PHP WARNING: Type: 8, File: /usr/local/pkg/snort/snort_check_cron_misc.inc, Line: 238, Message: Undefined index: appid_stats_log_retention
    Apr 11 18:59:59 php-fpm 94438 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 18:59:55 php-fpm 79698 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 18:59:55 php-fpm 83166 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 18:59:55 php-fpm 94438 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 18:59:55 php-fpm 94438 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 18:59:54 php-fpm 79698 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 18:59:53 php-cgi dhcpd_gather_stats.php: PHP WARNING: Type: 8, File: /usr/local/bin/dhcpd_gather_stats.php, Line: 197, Message: Undefined index: all
    Apr 11 18:59:53 php-fpm 83166 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 18:59:49 php-fpm 83166 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 18:59:49 php-fpm 83166 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 18:59:48 php-fpm 83166 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 18:59:47 php-fpm 61420 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 18:59:45 php-fpm 23259 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 18:59:44 php-fpm 61420 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 18:59:44 php-fpm 61420 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 18:59:44 php-fpm 61420 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 18:59:42 php-fpm 59009 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 18:59:41 php-fpm 23259 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 18:59:41 php-fpm 23259 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 18:59:38 php-fpm 59009 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 18:59:36 php-fpm 59009 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 18:59:36 php-fpm 59009 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 18:59:35 php-fpm 59009 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 18:59:35 php-fpm 59009 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 18:59:34 php-fpm 14298 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 18:59:32 php-fpm 14298 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 18:59:29 php-fpm 75426 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 18:59:29 php-fpm 14298 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 18:59:28 php-fpm 75426 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 18:59:27 php-fpm 14298 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 18:59:24 php-fpm 75426 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 18:59:24 php-fpm 75426 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 18:59:23 php-fpm 75426 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 18:59:22 php-fpm 59341 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 18:59:21 php-fpm 75426 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 18:59:21 php-fpm 53682 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 18:59:19 php-fpm 53682 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 18:59:18 php-fpm 82516 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 18:59:16 php-fpm 82516 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 18:59:14 php-fpm 35444 /widgets/widgets/pfblockerng.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/pfblockerng.widget.php, Line: 289, Message: Undefined index: pfctlerr
    Apr 11 18:59:14 php-fpm 82516 /widgets/widgets/snort_alerts.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 4835, Message: Undefined index: wireless
    Apr 11 18:59:14 php-fpm 82516 /widgets/widgets/installed_packages.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/installed_packages.widget.php, Line: 145, Message: Undefined index: disablepackagehistory
    Apr 11 18:59:12 php-fpm 35444 /widgets/widgets/interface_statistics.widget.php: PHP WARNING: Type: 8, File: /etc/inc/interfaces.inc, Line: 5096, Message: Undefined index: bridges
    Apr 11 18:59:11 php-fpm 82516 /widgets/widgets/gateways.widget.php: PHP WARNING: Type: 8, File: /usr/local/www/widgets/widgets/gateways.widget.php, Line: 230, Message: Undefined variable: counter
    Apr 11 18:59:11 php-fpm 35444 /getstats.php: PHP WARNING: Type: 8, File: /usr/local/www/includes/functions.inc.php, Line: 320, Message: Undefined index: media
    Apr 11 18:59:10 php-fpm 8251



  • That generates at lot of noise, particularly undefined warnings. The PHP code in general has been written in a way that variables are not initialized, they are only set if they need to be something different from blank or false. PHP is (somewhat) happy to continue on by assuming that anything undefined is [blank|false|0].

    If the problem we want to find only happens occasionally, then it will be harder to find in the log noise!



  • It is weird that PHP is yelling that much…

    Was this line

    } else if ($error['type'] != E_NOTICE) {
    

    Changed to

    } else if ($error['type'] == E_WARNING) {
    

    Note that both the condition and type have been changed!

    The errors being posted are type 8 which means E_NOTICE. Most likely code wasn't edited correctly…



  • yes it was changed to E_warning  gather that then changed it back as it breaks traffic graphs and a bunch of stuff

    edit ok I see what I might have done  wrong will try again