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/