Poller wrapper history graphs not updating

Hi!
I have moved an instance from a physical server to a VM by moving over the database & RRD files + Observium $HOME.
All works except one minor thing : The poller wrapper history (/pollerlog/ page) graphs do not update anymore. Also the RRD files do not update their timestamp since I moved the files to the new VM.
The poller discovery/timing part of the same page does work properly, so it's only the top two graphs missing (or rather the graphs are there, but no new data is being added).
Any idea why ?
/Jesper

Sounds like permission issues. Make sure the new webserver have permission to write to the RRD-directory /Markus
Den 20 feb. 2017 9:31 em skrev "Jesper Frank Nemholt" jfn@dassic.com:
Hi!
I have moved an instance from a physical server to a VM by moving over the database & RRD files + Observium $HOME.
All works except one minor thing : The poller wrapper history (/pollerlog/ page) graphs do not update anymore. Also the RRD files do not update their timestamp since I moved the files to the new VM.
The poller discovery/timing part of the same page does work properly, so it's only the top two graphs missing (or rather the graphs are there, but no new data is being added).
Any idea why ?
/Jesper
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Hi!
All other graphs in the rrd directory works and permissions are the same for all files & directories, so it's not a permission issue.
The configuration is an exact copy coming from another machine and all but the two poller statistics RRD files are working correctly.
/Jesper
On Mon, Feb 20, 2017 at 12:45 PM Markus Klock markus@best-practice.se wrote:
Sounds like permission issues. Make sure the new webserver have permission to write to the RRD-directory /Markus
Den 20 feb. 2017 9:31 em skrev "Jesper Frank Nemholt" jfn@dassic.com:
Hi!
I have moved an instance from a physical server to a VM by moving over the database & RRD files + Observium $HOME.
All works except one minor thing : The poller wrapper history (/pollerlog/ page) graphs do not update anymore. Also the RRD files do not update their timestamp since I moved the files to the new VM.
The poller discovery/timing part of the same page does work properly, so it's only the top two graphs missing (or rather the graphs are there, but no new data is being added).
Any idea why ?
/Jesper
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

Alright, then try to poll a device with debuging turned on in the cli. ./poller.php -d -h <device> It should show you some kind of error when the poller tries to write to the RRD-files. /Markus
Den 20 feb. 2017 9:52 em skrev "Jesper Frank Nemholt" jfn@dassic.com:
Hi!
All other graphs in the rrd directory works and permissions are the same for all files & directories, so it's not a permission issue.
The configuration is an exact copy coming from another machine and all but the two poller statistics RRD files are working correctly.
/Jesper
On Mon, Feb 20, 2017 at 12:45 PM Markus Klock markus@best-practice.se wrote:
Sounds like permission issues. Make sure the new webserver have permission to write to the RRD-directory /Markus
Den 20 feb. 2017 9:31 em skrev "Jesper Frank Nemholt" jfn@dassic.com:
Hi!
I have moved an instance from a physical server to a VM by moving over the database & RRD files + Observium $HOME.
All works except one minor thing : The poller wrapper history (/pollerlog/ page) graphs do not update anymore. Also the RRD files do not update their timestamp since I moved the files to the new VM.
The poller discovery/timing part of the same page does work properly, so it's only the top two graphs missing (or rather the graphs are there, but no new data is being added).
Any idea why ?
/Jesper
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
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Hi!
I don't think poller.php itself will reveal anything as this issue relates to poller-wrapper.py only. Everything poller.php handles works just fine.
When I run poller-wrapper.py, the only obvious error I get is at the very end :
Traceback (most recent call last):
File "/opt/observium/poller-wrapper.py", line 626, in <module>
cursor.execute("DELETE FROM `observium_attribs` WHERE `attrib_type` = %s", row)
File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 187, in execute
query = query % tuple([db.literal(item) for item in args])
TypeError: not all arguments converted during string formatting
I do not get this error on the other machine.
/Jesper
On Mon, Feb 20, 2017 at 1:03 PM Markus Klock markus@best-practice.se wrote:
Alright, then try to poll a device with debuging turned on in the cli. ./poller.php -d -h <device> It should show you some kind of error when the poller tries to write to the RRD-files. /Markus
Den 20 feb. 2017 9:52 em skrev "Jesper Frank Nemholt" jfn@dassic.com:
Hi!
All other graphs in the rrd directory works and permissions are the same for all files & directories, so it's not a permission issue.
The configuration is an exact copy coming from another machine and all but the two poller statistics RRD files are working correctly.
/Jesper
On Mon, Feb 20, 2017 at 12:45 PM Markus Klock markus@best-practice.se wrote:
Sounds like permission issues. Make sure the new webserver have permission to write to the RRD-directory /Markus
Den 20 feb. 2017 9:31 em skrev "Jesper Frank Nemholt" jfn@dassic.com:
Hi!
I have moved an instance from a physical server to a VM by moving over the database & RRD files + Observium $HOME.
All works except one minor thing : The poller wrapper history (/pollerlog/ page) graphs do not update anymore. Also the RRD files do not update their timestamp since I moved the files to the new VM.
The poller discovery/timing part of the same page does work properly, so it's only the top two graphs missing (or rather the graphs are there, but no new data is being added).
Any idea why ?
/Jesper
_______________________________________________ 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
_______________________________________________ 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

Hi,
you use CE or Pro edition?
Seems as CE.. in Pro this issue should be already fixed. This happened only on latest python..
Show output for: ./discovery.php -VV
On Tue, Feb 21, 2017 at 2:35 AM, Jesper Frank Nemholt jfn@dassic.com wrote:
Hi!
I don't think poller.php itself will reveal anything as this issue relates to poller-wrapper.py only. Everything poller.php handles works just fine.
When I run poller-wrapper.py, the only obvious error I get is at the very end :
Traceback (most recent call last):
File "/opt/observium/poller-wrapper.py", line 626, in <module>
cursor.execute("DELETE FROM `observium_attribs` WHERE `attrib_type` =
%s", row)
File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 187, in execute
query = query % tuple([db.literal(item) for item in args])
TypeError: not all arguments converted during string formatting
I do not get this error on the other machine.
/Jesper
On Mon, Feb 20, 2017 at 1:03 PM Markus Klock markus@best-practice.se wrote:
Alright, then try to poll a device with debuging turned on in the cli. ./poller.php -d -h <device> It should show you some kind of error when the poller tries to write to the RRD-files. /Markus
Den 20 feb. 2017 9:52 em skrev "Jesper Frank Nemholt" jfn@dassic.com:
Hi!
All other graphs in the rrd directory works and permissions are the same for all files & directories, so it's not a permission issue.
The configuration is an exact copy coming from another machine and all but the two poller statistics RRD files are working correctly.
/Jesper
On Mon, Feb 20, 2017 at 12:45 PM Markus Klock markus@best-practice.se wrote:
Sounds like permission issues. Make sure the new webserver have permission to write to the RRD-directory /Markus
Den 20 feb. 2017 9:31 em skrev "Jesper Frank Nemholt" jfn@dassic.com:
Hi!
I have moved an instance from a physical server to a VM by moving over the database & RRD files + Observium $HOME.
All works except one minor thing : The poller wrapper history (/pollerlog/ page) graphs do not update anymore. Also the RRD files do not update their timestamp since I moved the files to the new VM.
The poller discovery/timing part of the same page does work properly, so it's only the top two graphs missing (or rather the graphs are there, but no new data is being added).
Any idea why ?
/Jesper
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
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
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

I use the Pro edition.
Output of discovery :
# ./discovery.php -VV
Observium 17.2.8364
##### *Software versions* #####
o *OS * Linux 3.10.0-514.6.1.el7.x86_64 [amd64] (CentOS 7.3.1611)
o *Apache * 2.4.6
o *PHP * 7.0.15 (OPcache: DISABLED)
o *Python * 2.7.5
o *MySQL * 10.1.21-MariaDB (extension: mysqli 5.5.52-MariaDB)
o *SNMP * NET-SNMP 5.7.2
o *RRDtool * 1.6.0
##### *Memory Limit* #####
o *PHP * 8kB
##### *MySQL mode* #####
o *MySQL * NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
##### *Charset info* #####
o *PHP * UTF-8
o *MySQL * utf8
##### *Timezones info* #####
o *Date * Tuesday, 21-Feb-17 09:24:11 PST
o *PHP * -08:00
o *MySQL * -08:00
On Tue, Feb 21, 2017 at 2:04 AM Mike Stupalov mike@observium.org wrote:
Hi,
you use CE or Pro edition?
Seems as CE.. in Pro this issue should be already fixed. This happened only on latest python..
Show output for: ./discovery.php -VV
On Tue, Feb 21, 2017 at 2:35 AM, Jesper Frank Nemholt jfn@dassic.com wrote:
Hi!
I don't think poller.php itself will reveal anything as this issue relates to poller-wrapper.py only. Everything poller.php handles works just fine.
When I run poller-wrapper.py, the only obvious error I get is at the very end :
Traceback (most recent call last):
File "/opt/observium/poller-wrapper.py", line 626, in <module>
cursor.execute("DELETE FROM `observium_attribs` WHERE `attrib_type` =
%s", row)
File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 187, in execute
query = query % tuple([db.literal(item) for item in args])
TypeError: not all arguments converted during string formatting
I do not get this error on the other machine.
/Jesper
On Mon, Feb 20, 2017 at 1:03 PM Markus Klock markus@best-practice.se wrote:
Alright, then try to poll a device with debuging turned on in the cli. ./poller.php -d -h <device> It should show you some kind of error when the poller tries to write to the RRD-files. /Markus
Den 20 feb. 2017 9:52 em skrev "Jesper Frank Nemholt" jfn@dassic.com:
Hi!
All other graphs in the rrd directory works and permissions are the same for all files & directories, so it's not a permission issue.
The configuration is an exact copy coming from another machine and all but the two poller statistics RRD files are working correctly.
/Jesper
On Mon, Feb 20, 2017 at 12:45 PM Markus Klock markus@best-practice.se wrote:
Sounds like permission issues. Make sure the new webserver have permission to write to the RRD-directory /Markus
Den 20 feb. 2017 9:31 em skrev "Jesper Frank Nemholt" jfn@dassic.com:
Hi!
I have moved an instance from a physical server to a VM by moving over the database & RRD files + Observium $HOME.
All works except one minor thing : The poller wrapper history (/pollerlog/ page) graphs do not update anymore. Also the RRD files do not update their timestamp since I moved the files to the new VM.
The poller discovery/timing part of the same page does work properly, so it's only the top two graphs missing (or rather the graphs are there, but no new data is being added).
Any idea why ?
/Jesper
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
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
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov http://observium.org/ _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Jesper Frank Nemholt
-
Markus Klock
-
Mike Stupalov