Poller wrapper stopped working with Rev 9600
Hi all
The poller-wrapper stopped working with Revision 9600.
It showed me a problem connecting to database.
Reverting to Revision 9599 worked.
Best regards
Andre
Yah, derp. Pls show output for commands from observium server console:
./discovery.php -VV
pip list pip3 list
Andre via observium wrote on 14/11/2018 08:52:
Hi all
The poller-wrapper stopped working with Revision 9600.
It showed me a problem connecting to database.
Reverting to Revision 9599 worked.
Best regards
Andre
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Same here:
root@observium:/opt/observium# ./discovery.php -VV Observium 18.11.9600
##### Software versions #####
o OS Linux 3.16.0-4-amd64 [amd64] (Debian 8.11) o Apache 2.4.10 o PHP 7.0.32-2+0~20181015120515.7+jessie~1.gbpa6b8cf (OPcache: DISABLED) o Python 2.7.9 o MySQL 5.5.62-0+deb8u1 (extension: mysqli 5.0.12-dev) o SNMP NET-SNMP 5.7.2.1 o RRDtool 1.4.8 o Fping 3.10 (IPv4 and IPv6)
##### Memory Limit #####
o PHP Unlimited
##### MySQL mode #####
o MySQL
##### Charset info #####
o PHP UTF-8 o MySQL utf8
##### Timezones info #####
o Date Wednesday, 14-Nov-18 08:28:57 CET o PHP +01:00 o MySQL +01:00
root@observium:/opt/observium# pip list -bash: pip: command not found root@observium:/opt/observium# pip3 list -bash: pip3: command not found root@observium:/opt/observium# cat /etc/debian_version 8.11
On 2018-11-14 08:19, Mike Stupalov via observium wrote:
Yah, derp. Pls show output for commands from observium server console:
./discovery.php -VV
pip list pip3 list
Andre via observium wrote on 14/11/2018 08:52:
Hi all
The poller-wrapper stopped working with Revision 9600.
It showed me a problem connecting to database.
Reverting to Revision 9599 worked.
Best regards
Andre
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov Observium Limited, http://observium.org
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
if pip/pip3 not installed, pls show different command:
for python2: python -c "import MySQLdb; print(MySQLdb.__version__)"
for python3: python3 -c "import pymysql; print(pymysql.__version__)"
Niklas Larsson via observium wrote on 14/11/2018 10:29:
Same here:
root@observium:/opt/observium# ./discovery.php -VV Observium 18.11.9600
##### Software versions #####
o OS Linux 3.16.0-4-amd64 [amd64] (Debian 8.11) o Apache 2.4.10 o PHP 7.0.32-2+0~20181015120515.7+jessie~1.gbpa6b8cf (OPcache: DISABLED) o Python 2.7.9 o MySQL 5.5.62-0+deb8u1 (extension: mysqli 5.0.12-dev) o SNMP NET-SNMP 5.7.2.1 o RRDtool 1.4.8 o Fping 3.10 (IPv4 and IPv6)
##### Memory Limit #####
o PHP Unlimited
##### MySQL mode #####
o MySQL
##### Charset info #####
o PHP UTF-8 o MySQL utf8
##### Timezones info #####
o Date Wednesday, 14-Nov-18 08:28:57 CET o PHP +01:00 o MySQL +01:00
root@observium:/opt/observium# pip list -bash: pip: command not found root@observium:/opt/observium# pip3 list -bash: pip3: command not found root@observium:/opt/observium# cat /etc/debian_version 8.11
On 2018-11-14 08:19, Mike Stupalov via observium wrote:
Yah, derp. Pls show output for commands from observium server console:
./discovery.php -VV
pip list pip3 list
Andre via observium wrote on 14/11/2018 08:52:
Hi all
The poller-wrapper stopped working with Revision 9600.
It showed me a problem connecting to database.
Reverting to Revision 9599 worked.
Best regards
Andre
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov Observium Limited, http://observium.org
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
root@observium:/opt/observium# python -c "import MySQLdb; print(MySQLdb.__version__)" 1.2.3
root@observium:/opt/observium# python3 -c "import pymysql; print(pymysql.__version__)" -bash: python3: command not found
On 2018-11-14 08:38, Mike Stupalov wrote:
if pip/pip3 not installed, pls show different command:
for python2: python -c "import MySQLdb; print(MySQLdb.__version__)"
for python3: python3 -c "import pymysql; print(pymysql.__version__)"
Pls try with new revision (9601), and show output for:
./poller-wrapper.py -t
Niklas Larsson wrote on 14/11/2018 10:46:
root@observium:/opt/observium# python -c "import MySQLdb; print(MySQLdb.__version__)" 1.2.3
root@observium:/opt/observium# python3 -c "import pymysql; print(pymysql.__version__)" -bash: python3: command not found
On 2018-11-14 08:38, Mike Stupalov wrote:
if pip/pip3 not installed, pls show different command:
for python2: python -c "import MySQLdb; print(MySQLdb.__version__)"
for python3: python3 -c "import pymysql; print(pymysql.__version__)"
err, use more latest revision :) r9602
Mike Stupalov wrote on 14/11/2018 11:03:
Pls try with new revision (9601), and show output for:
./poller-wrapper.py -t
Niklas Larsson wrote on 14/11/2018 10:46:
root@observium:/opt/observium# python -c "import MySQLdb; print(MySQLdb.__version__)" 1.2.3
root@observium:/opt/observium# python3 -c "import pymysql; print(pymysql.__version__)" -bash: python3: command not found
On 2018-11-14 08:38, Mike Stupalov wrote:
if pip/pip3 not installed, pls show different command:
for python2: python -c "import MySQLdb; print(MySQLdb.__version__)"
for python3: python3 -c "import pymysql; print(pymysql.__version__)"
-- Mike Stupalov Observium Limited, http://observium.org
root@observium:/opt/observium# ./poller-wrapper.py -t Script: poller-wrapper.py, Prosess: poller, Workers: 0, Stats: False, Debug: False, Test: True Versions: Python - 2.7.9 DB - MySQLdb 1.2.3 This is the default poller. Will only poll devices with no specified poller set. WHERE disabled != 1 SELECT device_id FROM devices WHERE disabled != 1 ORDER BY last_polled_timetaken DESC [47, 24, 8, 10, 11, 23, 12, 9, 136, 4, 25, 5, 26, 86, 170, 139, 88, 65, 71, 97, 134, 135, 22, 102, 115, 21, 90, 98, 117, 89, 3, 116, 40, 55, 28, 45, 18, 151, 156, 148, 166, 167, 62, 122, 123, 119, 43, 149, 127, 126, 121, 27, 125, 120, 128, 31, 132, 173, 124, 131, 91, 129, 130, 93, 37, 14, 100, 168, 66, 85, 141, 67, 34, 13, 161, 33, 169, 61, 19, 158, 162, 118, 157, 143, 142, 99, 82, 39, 92, 154, 150, 107, 84, 46, 106, 164, 159, 73, 175, 2, 96, 78, 6, 111, 144, 155, 69, 172, 153, 105, 133, 36, 30, 48, 113, 1, 15, 41, 7, 112, 70, 174, 152, 80, 38, 42, 109, 64, 17, 49, 103, 94, 50, 104, 110, 114, 51, 44, 76, 108, 165, 74, 87, 60, 72, 163, 83, 160, 140, 147, 146] Already running poller-wrapper.py poller processes: 1, load average (5min) 1.31
On 2018-11-14 09:08, Mike Stupalov wrote:
./poller-wrapper.py -t
Ok, seems as fixed now?
Niklas Larsson wrote on 14/11/2018 11:12:
root@observium:/opt/observium# ./poller-wrapper.py -t Script: poller-wrapper.py, Prosess: poller, Workers: 0, Stats: False, Debug: False, Test: True Versions: Python - 2.7.9 DB - MySQLdb 1.2.3 This is the default poller. Will only poll devices with no specified poller set. WHERE disabled != 1 SELECT device_id FROM devices WHERE disabled != 1 ORDER BY last_polled_timetaken DESC [47, 24, 8, 10, 11, 23, 12, 9, 136, 4, 25, 5, 26, 86, 170, 139, 88, 65, 71, 97, 134, 135, 22, 102, 115, 21, 90, 98, 117, 89, 3, 116, 40, 55, 28, 45, 18, 151, 156, 148, 166, 167, 62, 122, 123, 119, 43, 149, 127, 126, 121, 27, 125, 120, 128, 31, 132, 173, 124, 131, 91, 129, 130, 93, 37, 14, 100, 168, 66, 85, 141, 67, 34, 13, 161, 33, 169, 61, 19, 158, 162, 118, 157, 143, 142, 99, 82, 39, 92, 154, 150, 107, 84, 46, 106, 164, 159, 73, 175, 2, 96, 78, 6, 111, 144, 155, 69, 172, 153, 105, 133, 36, 30, 48, 113, 1, 15, 41, 7, 112, 70, 174, 152, 80, 38, 42, 109, 64, 17, 49, 103, 94, 50, 104, 110, 114, 51, 44, 76, 108, 165, 74, 87, 60, 72, 163, 83, 160, 140, 147, 146] Already running poller-wrapper.py poller processes: 1, load average (5min) 1.31
On 2018-11-14 09:08, Mike Stupalov wrote:
./poller-wrapper.py -t
Sorry, I've been absent. Could not help on that but tested it with Rev 6502 and that seems to be ok.
Andre
Am 14.11.18 um 09:14 schrieb Mike Stupalov via observium:
Ok, seems as fixed now?
Niklas Larsson wrote on 14/11/2018 11:12:
root@observium:/opt/observium# ./poller-wrapper.py -t Script: poller-wrapper.py, Prosess: poller, Workers: 0, Stats: False, Debug: False, Test: True Versions: Python - 2.7.9 DB - MySQLdb 1.2.3 This is the default poller. Will only poll devices with no specified poller set. WHERE disabled != 1 SELECT device_id FROM devices WHERE disabled != 1 ORDER BY last_polled_timetaken DESC [47, 24, 8, 10, 11, 23, 12, 9, 136, 4, 25, 5, 26, 86, 170, 139, 88, 65, 71, 97, 134, 135, 22, 102, 115, 21, 90, 98, 117, 89, 3, 116, 40, 55, 28, 45, 18, 151, 156, 148, 166, 167, 62, 122, 123, 119, 43, 149, 127, 126, 121, 27, 125, 120, 128, 31, 132, 173, 124, 131, 91, 129, 130, 93, 37, 14, 100, 168, 66, 85, 141, 67, 34, 13, 161, 33, 169, 61, 19, 158, 162, 118, 157, 143, 142, 99, 82, 39, 92, 154, 150, 107, 84, 46, 106, 164, 159, 73, 175, 2, 96, 78, 6, 111, 144, 155, 69, 172, 153, 105, 133, 36, 30, 48, 113, 1, 15, 41, 7, 112, 70, 174, 152, 80, 38, 42, 109, 64, 17, 49, 103, 94, 50, 104, 110, 114, 51, 44, 76, 108, 165, 74, 87, 60, 72, 163, 83, 160, 140, 147, 146] Already running poller-wrapper.py poller processes: 1, load average (5min) 1.31
On 2018-11-14 09:08, Mike Stupalov wrote:
./poller-wrapper.py -t
-- Mike Stupalov Observium Limited, http://observium.org
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi,
jepp - getting data as usual now.
/niklas
On 2018-11-14 09:14, Mike Stupalov wrote:
Ok, seems as fixed now?
Niklas Larsson wrote on 14/11/2018 11:12:
root@observium:/opt/observium# ./poller-wrapper.py -t Script: poller-wrapper.py, Prosess: poller, Workers: 0, Stats: False, Debug: False, Test: True Versions: Python - 2.7.9 DB - MySQLdb 1.2.3 This is the default poller. Will only poll devices with no specified poller set. WHERE disabled != 1 SELECT device_id FROM devices WHERE disabled != 1 ORDER BY last_polled_timetaken DESC [47, 24, 8, 10, 11, 23, 12, 9, 136, 4, 25, 5, 26, 86, 170, 139, 88, 65, 71, 97, 134, 135, 22, 102, 115, 21, 90, 98, 117, 89, 3, 116, 40, 55, 28, 45, 18, 151, 156, 148, 166, 167, 62, 122, 123, 119, 43, 149, 127, 126, 121, 27, 125, 120, 128, 31, 132, 173, 124, 131, 91, 129, 130, 93, 37, 14, 100, 168, 66, 85, 141, 67, 34, 13, 161, 33, 169, 61, 19, 158, 162, 118, 157, 143, 142, 99, 82, 39, 92, 154, 150, 107, 84, 46, 106, 164, 159, 73, 175, 2, 96, 78, 6, 111, 144, 155, 69, 172, 153, 105, 133, 36, 30, 48, 113, 1, 15, 41, 7, 112, 70, 174, 152, 80, 38, 42, 109, 64, 17, 49, 103, 94, 50, 104, 110, 114, 51, 44, 76, 108, 165, 74, 87, 60, 72, 163, 83, 160, 140, 147, 146] Already running poller-wrapper.py poller processes: 1, load average (5min) 1.31
On 2018-11-14 09:08, Mike Stupalov wrote:
./poller-wrapper.py -t
-- Mike Stupalov Observium Limited, http://observium.org
participants (3)
-
Andre
-
Mike Stupalov
-
Niklas Larsson