Open kabassanov opened 5 years ago
hi,
What is the periodicity indicated in each printer?
Hi,
1 day.
Hi,
Can you try with the latest release ?
Hmm,
Am I wrong or there is something strange in the last release?
-rw-r--r-- 1 1002 apache 6887 11 déc. 09:41 setup.php
setup.php: 'version' => '1.5.0',
Hi,
I've update the release, can you try with it?
Hi,
The plugin is seen as non CSRF compliant, probably due to the version in the folder name. I renamed it and it works. I'll keep you in touch about requests frequency...
Hi, It seems that queries are sent in a regular way every 2 days, even if my configuration asks to do it every day…
Hi,
Have you configure the printer to be import automaticly?
Do you mean this?
Yes and in the plugin configuration did you configure it like this ?
Yes.
Hi,
I defined a cron running once per day in order to retrieve printers counters.
It works once, then the next day counters are missing with this in the log file:
Mon, 10 Dec 2018 00:11:01 +0100 /usr/share/glpi/plugins/printercounters/scripts/run.php started 18184 Started 18185 Started 18187 Started 18189 Started Aucune imprimante à interroger Aucune imprimante à interroger Aucune imprimante à interroger Aucune imprimante à interroger 18184 ended, waiting for 3 running son process 18187 ended, waiting for 2 running son process 18189 ended, waiting for 1 running son process 18185 ended, waiting for 0 running son process Mon, 10 Dec 2018 00:11:01 +0100 /usr/share/glpi/plugins/printercounters/scripts/run.php ended
Sometimes, counters of first 4 printers (from 14) are retrieved and there is no particular message in logs.
Could it be an issue with remaining timers to next query?