root@observium:/opt/observium# ./test_alert.php -a 1 -dd
DEBUG!
Load class 'Console_Color2' from '/opt/observium/libs/pear/Console/Color2.php': OK

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';]
ROWS[1]
SQL RUNTIME[0.00014877s]

SQL[SELECT @@SESSION.sql_mode;]
ROWS[1]
SQL RUNTIME[0.00011086s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';]
ROWS[1]
SQL RUNTIME[0.00012898s]

SQL[SELECT * FROM `config`]
ROWS[19]
SQL RUNTIME[0.00006795s]

CMD[/bin/hostname -f]

CMD EXITCODE[0]
CMD RUNTIME[0.0018s]
STDOUT[
observium.threefifteen.info
]
Load class 'Net_IPv6' from '/opt/observium/libs/pear/Net/IPv6.php': OK
Observium 0.16.7.8010
Test Alert Notification


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[5.1004s]
STDOUT[
Linux|3.16.0-4-amd64|amd64|Debian|8.5
]

CMD[/usr/bin/env python --version 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.0023s]
STDOUT[
Python 2.7.9
]

SQL[SELECT version();]
ROWS[1]
SQL RUNTIME[0.00018811s]

CMD[/usr/bin/snmpget --version 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.0024s]
STDOUT[
NET-SNMP version: 5.7.3
]

CMD[/usr/bin/rrdtool --version |head -n1]

CMD EXITCODE[0]
CMD RUNTIME[0.0039s]
STDOUT[
RRDtool 1.4.8  Copyright 1997-2013 by Tobias Oetiker <tobi@oetiker.ch>
]

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0016s]
STDOUT[
-07:00
]

SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);]
ROWS[1]
SQL RUNTIME[0.00021887s]

CMD[/usr/bin/env apache2 -v | awk '/Server version:/ {print $3}']

CMD EXITCODE[0]
CMD RUNTIME[0.4009s]
STDOUT[
Apache/2.4.10
]

SQL[SELECT @@SESSION.sql_mode;]
ROWS[1]
SQL RUNTIME[0.00030804s]

SQL[SHOW VARIABLES LIKE 'character_set_connection']
ROWS[1]
SQL RUNTIME[0.00043917s]

#####  Software versions  #####

 o OS                   Linux 3.16.0-4-amd64 [amd64] (Debian 8.5)
 o Apache               2.4.10
 o PHP                  5.6.23-0+deb8u1 (OPcache: DISABLED)
 o Python               2.7.9
 o MySQL                5.5.50-0+deb8u1 (extension: mysqli 5.5.50)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.4.8

#####  MySQL mode  #####

 o MySQL

#####  Charset info  #####

 o PHP                  UTF-8
 o MySQL                utf8

#####  Timezones info  #####

 o Date                 Tuesday, 26-Jul-16 20:30:51 PDT
 o PHP                  -07:00
 o MySQL                -07:00


SQL[SELECT * FROM `alert_tests` WHERE 1]
ROWS[9]
SQL RUNTIME[0.00023103s]
Cached 9 alert rules.

SQL[SELECT * FROM `alert_assoc`]
ROWS[11]
SQL RUNTIME[0.00007796s]

SQL[SELECT * FROM `alert_table` WHERE `alert_table_id` = '1']
ROWS[0]
SQL RUNTIME[0.00026011s]

SQL[SELECT * FROM `devices` WHERE `device_id` = '']
ROWS[0]
SQL RUNTIME[0.00010085s]

SQL[SELECT * FROM `` WHERE ``.`` = '']
ROWS[-1]
SQL RUNTIME[0.00009203s]
ERROR[Error in query: (Incorrect table name '') 1103]

SQL[SELECT * FROM `devices` WHERE `device_id` = '']
ROWS[0]
SQL RUNTIME[0.00010896s]

SQL[SELECT * FROM `alert_contacts` WHERE `contact_disabled` = 0 AND `contact_id` IN (SELECT `contact_id` FROM `alert_contacts_assoc` WHERE `aca_type` = 'alert' AND `alert_checker_id` = '');]
ROWS[0]
SQL RUNTIME[0.00007200s]
 o Notifying            [email] : {"email":"observium.alerts@codycook.us"}
Load class 'Mail_mime' from '/opt/observium/libs/pear/Mail/mime.php': OK
Load class 'Mail' from '/opt/observium/libs/pear/Mail/Mail.php': OK
PHP Strict Standards:  Non-static method Mail::factory() should not be called statically in /opt/observium/includes/alerting/email.inc.php on line 176

Strict Standards: Non-static method Mail::factory() should not be called statically in /opt/observium/includes/alerting/email.inc.php on line 176
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 370

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 370
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 448

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 448
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 465

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 465
DEBUG: Recv: 220 smtp.gmail.com ESMTP c82sm4555388pfb.72 - gsmtp
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 472

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 472
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 515

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 515
DEBUG: Send: EHLO observium.threefifteen.info

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 519

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 519
DEBUG: Recv: 250-smtp.gmail.com at your service, [50.131.88.165]
DEBUG: Recv: 250-SIZE 35882577
DEBUG: Recv: 250-8BITMIME
DEBUG: Recv: 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
DEBUG: Recv: 250-ENHANCEDSTATUSCODES
DEBUG: Recv: 250-PIPELINING
DEBUG: Recv: 250-CHUNKING
DEBUG: Recv: 250 SMTPUTF8
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 381

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 381
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 621

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 621
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 802

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 802
DEBUG: Send: AUTH LOGIN

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 806

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 806
DEBUG: Recv: 334 VXNlcm5hbWU6
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 814

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 814
DEBUG: Send: YWxlcnRzQGNvZHljb29rLnVz

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 818

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 818
DEBUG: Recv: 334 UGFzc3dvcmQ6
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 822

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 822
DEBUG: Send: V2hpdGVCbGFjazEyMzQ=

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 827

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 827
DEBUG: Recv: 235 2.7.0 Accepted
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 649

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 649
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 251

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 251
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 287

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 287
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 945

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 945
DEBUG: Send: MAIL FROM:<alerts@codycook.us>

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 948

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 948
DEBUG: Recv: 250 2.1.0 OK c82sm4555388pfb.72 - gsmtp
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 975

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 975
DEBUG: Send: RCPT TO:<observium.alerts@codycook.us>

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 978

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 978
DEBUG: Recv: 250 2.1.5 OK c82sm4555388pfb.72 - gsmtp
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1054

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1054
DEBUG: Send: DATA

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1057

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1057
DEBUG: Recv: 354  Go ahead c82sm4555388pfb.72 - gsmtp
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1064

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1064
DEBUG: Send: MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="=_a3bcefac36ab8154ddc3f114a2f04ed3"
From: alerts@codycook.us
Return-Path: alerts@codycook.us
To: observium.alerts@codycook.us
Subject: ALERT: []
Message-ID: <4de68e75e3bd084b24e1c1deae61ebcb@observium.threefifteen.info>
Date: Tue, 26 Jul 2016 20:30:51 -0700
X-Priority: 3
X-Mailer: Observium 0.16.7.8010
Precedence: bulk
Auto-submitted: auto-generated
X-Auto-Response-Suppress: All


PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1117

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1117
DEBUG: Send: --=_a3bcefac36ab8154ddc3f114a2f04ed3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

------------------------------------
ALERT

------------------------------------
Metrics:    =20
Duration:    Unknown
------------------------------------

------------------------------------
Device:     =20
Hardware:   =20
OS:           =20
Location:   =20
Uptime:      Never polled
------------------------------------


E-mail sent to: observium.alerts@codycook.us
E-mail sent at: Tue, 26 Jul 2016 20:30:51 -0700

--=20
Observium Professional 0.16.7.8010
http://www.observium.org

--=_a3bcefac36ab8154ddc3f114a2f04ed3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<html>
<head>
  <title>Observium Alert</title>
  <style type=3D"text/css">
  .observium{
    width:100%; max-width: 500px; -webkit-border-radius: 5px; -moz-border-r=
adius: 5px; border-radius: 5px;
    border:1px solid #DDDDDD; background-color:#FAFAFA; font-size: 13px; co=
lor: #777777;
  }
  .header{ font-weight: bold; font-size: 16px; padding: 5px; color: #555555=
; }
  .red { color: #cc0000; }
  #deviceinfo tr:nth-child(odd) { background: #ffffff; }
  </style>
</head>
<body>
<table class=3D"observium">
  <tbody>
    <tr>
      <td>
        <table class=3D"observium" id=3D"deviceinfo">
  <tbody>
    <tr><td class=3D"header">ALERT</td><td><a style=3D"float: right;" href=
=3D"https://observium.threefifteen.info/device/tab=3Dalert/">Modify</a></td=
></tr>
    <tr><td><strong>Alert</strong></td><td class=3D"red"></td></tr>
    <tr><td><strong>Entity</strong></td><td><a href=3D"" class=3D"entity-po=
pup " data-eid=3D"" data-etype=3D""></a></td></tr>
    <tr><td><strong>Metrics</strong></td><td></td></tr>
    <tr><td><strong>Duration</strong></td><td>Unknown</td></tr>
    <tr><td colspan=3D"2" class=3D"header">Device</td></tr>
    <tr><td><strong>Device</strong></td><td><a href=3D"https://observium.th=
reefifteen.info/device/" class=3D"entity-popup " data-eid=3D"" data-etype=
=3D"device"></a></td></tr>
    <tr><td><strong>Hardware</strong></td><td></td></tr>
    <tr><td><strong>Operating System</strong></td><td>  </td></tr>
    <tr><td><strong>Location</strong></td><td></td></tr>
    <tr><td><strong>Uptime</strong></td><td>Never polled</td></tr>
  </tbody>
        </table>
      </td>
    </tr>
  </tbody>
</table>

<br /><p style=3D"font-size: 11px;">E-mail sent to: observium.alerts@codyco=
ok.us<br />
E-mail sent at: Tue, 26 Jul 2016 20:30:51 -0700</p>
<div style=3D"font-size: 11px; color: #999;">-- <br /><a href=3D"http://www=
=2Eobservium.org">Observium Professional 0.16.7.8010</a></div>
</body>
</html>

--=_a3bcefac36ab8154ddc3f114a2f04ed3--

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1127

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1127
DEBUG: Send:
.

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1132

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1132
DEBUG: Recv: 250 2.0.0 OK 1469590243 c82sm4555388pfb.72 - gsmtp
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 489

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 489
DEBUG: Send: QUIT

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 492

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 492
DEBUG: Recv: 221 2.0.0 closing connection c82sm4555388pfb.72 - gsmtp
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 495

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 495
PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /opt/observium/includes/alerting/email.inc.php on line 180

Strict Standards: Non-static method PEAR::isError() should not be called statically in /opt/observium/includes/alerting/email.inc.php on line 180

SQL[UPDATE `alert_log` set `notified` ='1' WHERE `event_id` = '']
ROWS[0]
SQL RUNTIME[0.00025582s]
root@observium:/opt/observium# ./test_alert.php -a 5 -dd
DEBUG!
Load class 'Console_Color2' from '/opt/observium/libs/pear/Console/Color2.php': OK

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';]
ROWS[1]
SQL RUNTIME[0.00011015s]

SQL[SELECT @@SESSION.sql_mode;]
ROWS[1]
SQL RUNTIME[0.00009894s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';]
ROWS[1]
SQL RUNTIME[0.00006700s]

SQL[SELECT * FROM `config`]
ROWS[19]
SQL RUNTIME[0.00006294s]

CMD[/bin/hostname -f]

CMD EXITCODE[0]
CMD RUNTIME[0.0018s]
STDOUT[
observium.threefifteen.info
]
Load class 'Net_IPv6' from '/opt/observium/libs/pear/Net/IPv6.php': OK
Observium 0.16.7.8010
Test Alert Notification


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0252s]
STDOUT[
Linux|3.16.0-4-amd64|amd64|Debian|8.5
]

CMD[/usr/bin/env python --version 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.0022s]
STDOUT[
Python 2.7.9
]

SQL[SELECT version();]
ROWS[1]
SQL RUNTIME[0.00016689s]

CMD[/usr/bin/snmpget --version 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.0023s]
STDOUT[
NET-SNMP version: 5.7.3
]

CMD[/usr/bin/rrdtool --version |head -n1]

CMD EXITCODE[0]
CMD RUNTIME[0.0041s]
STDOUT[
RRDtool 1.4.8  Copyright 1997-2013 by Tobias Oetiker <tobi@oetiker.ch>
]

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0015s]
STDOUT[
-07:00
]

SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);]
ROWS[1]
SQL RUNTIME[0.00026798s]

CMD[/usr/bin/env apache2 -v | awk '/Server version:/ {print $3}']

CMD EXITCODE[0]
CMD RUNTIME[0.0226s]
STDOUT[
Apache/2.4.10
]

SQL[SELECT @@SESSION.sql_mode;]
ROWS[1]
SQL RUNTIME[0.00016594s]

SQL[SHOW VARIABLES LIKE 'character_set_connection']
ROWS[1]
SQL RUNTIME[0.00041413s]

#####  Software versions  #####

 o OS                   Linux 3.16.0-4-amd64 [amd64] (Debian 8.5)
 o Apache               2.4.10
 o PHP                  5.6.23-0+deb8u1 (OPcache: DISABLED)
 o Python               2.7.9
 o MySQL                5.5.50-0+deb8u1 (extension: mysqli 5.5.50)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.4.8

#####  MySQL mode  #####

 o MySQL

#####  Charset info  #####

 o PHP                  UTF-8
 o MySQL                utf8

#####  Timezones info  #####

 o Date                 Tuesday, 26-Jul-16 20:31:39 PDT
 o PHP                  -07:00
 o MySQL                -07:00


SQL[SELECT * FROM `alert_tests` WHERE 1]
ROWS[9]
SQL RUNTIME[0.00009894s]
Cached 9 alert rules.

SQL[SELECT * FROM `alert_assoc`]
ROWS[11]
SQL RUNTIME[0.00008702s]

SQL[SELECT * FROM `alert_table` WHERE `alert_table_id` = '5']
ROWS[0]
SQL RUNTIME[0.00021720s]

SQL[SELECT * FROM `devices` WHERE `device_id` = '']
ROWS[0]
SQL RUNTIME[0.00019908s]

SQL[SELECT * FROM `` WHERE ``.`` = '']
ROWS[-1]
SQL RUNTIME[0.00008202s]
ERROR[Error in query: (Incorrect table name '') 1103]

SQL[SELECT * FROM `devices` WHERE `device_id` = '']
ROWS[0]
SQL RUNTIME[0.00007296s]

SQL[SELECT * FROM `alert_contacts` WHERE `contact_disabled` = 0 AND `contact_id` IN (SELECT `contact_id` FROM `alert_contacts_assoc` WHERE `aca_type` = 'alert' AND `alert_checker_id` = '');]
ROWS[0]
SQL RUNTIME[0.00006199s]
 o Notifying            [email] : {"email":"observium.alerts@codycook.us"}
Load class 'Mail_mime' from '/opt/observium/libs/pear/Mail/mime.php': OK
Load class 'Mail' from '/opt/observium/libs/pear/Mail/Mail.php': OK
PHP Strict Standards:  Non-static method Mail::factory() should not be called statically in /opt/observium/includes/alerting/email.inc.php on line 176

Strict Standards: Non-static method Mail::factory() should not be called statically in /opt/observium/includes/alerting/email.inc.php on line 176
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 370

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 370
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 448

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 448
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 465

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 465
DEBUG: Recv: 220 smtp.gmail.com ESMTP z10sm4510967pff.95 - gsmtp
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 472

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 472
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 515

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 515
DEBUG: Send: EHLO observium.threefifteen.info

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 519

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 519
DEBUG: Recv: 250-smtp.gmail.com at your service, [50.131.88.165]
DEBUG: Recv: 250-SIZE 35882577
DEBUG: Recv: 250-8BITMIME
DEBUG: Recv: 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
DEBUG: Recv: 250-ENHANCEDSTATUSCODES
DEBUG: Recv: 250-PIPELINING
DEBUG: Recv: 250-CHUNKING
DEBUG: Recv: 250 SMTPUTF8
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 381

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 381
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 621

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 621
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 802

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 802
DEBUG: Send: AUTH LOGIN

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 806

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 806
DEBUG: Recv: 334 VXNlcm5hbWU6
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 814

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 814
DEBUG: Send: YWxlcnRzQGNvZHljb29rLnVz

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 818

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 818
DEBUG: Recv: 334 UGFzc3dvcmQ6
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 822

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 822
DEBUG: Send: V2hpdGVCbGFjazEyMzQ=

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 827

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 827
DEBUG: Recv: 235 2.7.0 Accepted
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 649

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 649
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 251

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 251
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 287

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Mail/Mail/smtp.php on line 287
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 945

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 945
DEBUG: Send: MAIL FROM:<alerts@codycook.us>

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 948

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 948
DEBUG: Recv: 250 2.1.0 OK z10sm4510967pff.95 - gsmtp
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 975

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 975
DEBUG: Send: RCPT TO:<observium.alerts@codycook.us>

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 978

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 978
DEBUG: Recv: 250 2.1.5 OK z10sm4510967pff.95 - gsmtp
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1054

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1054
DEBUG: Send: DATA

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1057

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1057
DEBUG: Recv: 354  Go ahead z10sm4510967pff.95 - gsmtp
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1064

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1064
DEBUG: Send: MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="=_2a8ecb09b8e5f3a0f6143d23d84b29dc"
From: alerts@codycook.us
Return-Path: alerts@codycook.us
To: observium.alerts@codycook.us
Subject: ALERT: []
Message-ID: <90ee4f68f7b3aedecd30f567d15131a4@observium.threefifteen.info>
Date: Tue, 26 Jul 2016 20:31:39 -0700
X-Priority: 3
X-Mailer: Observium 0.16.7.8010
Precedence: bulk
Auto-submitted: auto-generated
X-Auto-Response-Suppress: All


PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1117

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1117
DEBUG: Send: --=_2a8ecb09b8e5f3a0f6143d23d84b29dc
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

------------------------------------
ALERT

------------------------------------
Metrics:    =20
Duration:    Unknown
------------------------------------

------------------------------------
Device:     =20
Hardware:   =20
OS:           =20
Location:   =20
Uptime:      Never polled
------------------------------------


E-mail sent to: observium.alerts@codycook.us
E-mail sent at: Tue, 26 Jul 2016 20:31:39 -0700

--=20
Observium Professional 0.16.7.8010
http://www.observium.org

--=_2a8ecb09b8e5f3a0f6143d23d84b29dc
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<html>
<head>
  <title>Observium Alert</title>
  <style type=3D"text/css">
  .observium{
    width:100%; max-width: 500px; -webkit-border-radius: 5px; -moz-border-r=
adius: 5px; border-radius: 5px;
    border:1px solid #DDDDDD; background-color:#FAFAFA; font-size: 13px; co=
lor: #777777;
  }
  .header{ font-weight: bold; font-size: 16px; padding: 5px; color: #555555=
; }
  .red { color: #cc0000; }
  #deviceinfo tr:nth-child(odd) { background: #ffffff; }
  </style>
</head>
<body>
<table class=3D"observium">
  <tbody>
    <tr>
      <td>
        <table class=3D"observium" id=3D"deviceinfo">
  <tbody>
    <tr><td class=3D"header">ALERT</td><td><a style=3D"float: right;" href=
=3D"https://observium.threefifteen.info/device/tab=3Dalert/">Modify</a></td=
></tr>
    <tr><td><strong>Alert</strong></td><td class=3D"red"></td></tr>
    <tr><td><strong>Entity</strong></td><td><a href=3D"" class=3D"entity-po=
pup " data-eid=3D"" data-etype=3D""></a></td></tr>
    <tr><td><strong>Metrics</strong></td><td></td></tr>
    <tr><td><strong>Duration</strong></td><td>Unknown</td></tr>
    <tr><td colspan=3D"2" class=3D"header">Device</td></tr>
    <tr><td><strong>Device</strong></td><td><a href=3D"https://observium.th=
reefifteen.info/device/" class=3D"entity-popup " data-eid=3D"" data-etype=
=3D"device"></a></td></tr>
    <tr><td><strong>Hardware</strong></td><td></td></tr>
    <tr><td><strong>Operating System</strong></td><td>  </td></tr>
    <tr><td><strong>Location</strong></td><td></td></tr>
    <tr><td><strong>Uptime</strong></td><td>Never polled</td></tr>
  </tbody>
        </table>
      </td>
    </tr>
  </tbody>
</table>

<br /><p style=3D"font-size: 11px;">E-mail sent to: observium.alerts@codyco=
ok.us<br />
E-mail sent at: Tue, 26 Jul 2016 20:31:39 -0700</p>
<div style=3D"font-size: 11px; color: #999;">-- <br /><a href=3D"http://www=
=2Eobservium.org">Observium Professional 0.16.7.8010</a></div>
</body>
</html>

--=_2a8ecb09b8e5f3a0f6143d23d84b29dc--

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1127

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1127
DEBUG: Send:
.

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1132

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 1132
DEBUG: Recv: 250 2.0.0 OK 1469590290 z10sm4510967pff.95 - gsmtp
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 489

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 489
DEBUG: Send: QUIT

PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 263
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 492

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 492
DEBUG: Recv: 221 2.0.0 closing connection z10sm4510967pff.95 - gsmtp
PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 495

Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/observium/libs/pear/Net/SMTP.php on line 495
PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /opt/observium/includes/alerting/email.inc.php on line 180

Strict Standards: Non-static method PEAR::isError() should not be called statically in /opt/observium/includes/alerting/email.inc.php on line 180

SQL[UPDATE `alert_log` set `notified` ='1' WHERE `event_id` = '']
ROWS[0]
SQL RUNTIME[0.00024509s]