Hi,
I've downloaded the latest version of CSVExport from: -
<http://prtgtoolsfamily.com/downloads/download/90a40a6c-493b-4dbf-9359-8c272522c576>
It runs fine against my PRTG server (latest version downloaded) but output is always defaulting to 'yesterdays' stats
Even when I enter any form of -sd and -ed dates, such as:
csvexport -ps=https://172.20.0.111 -pu=prtgadmin -pp=secret -s=2188 –sd=2016-02-15-12-20-00 –ed=2016-02-15-17-20-00
csvexport -ps=https://172.20.0.111 -pu=prtgadmin -pp=secret -s=2188 –sd=300 -ed=60
All of these still give csv output for 'yesterday' 14/02/2016 - despite there being stats for 'today' 15/02/2016 which is what I'm after
How can I use csvexport to dump to csv stats from current day? (using csvexport as it let me get request output from multiple sensors in one go and get output in single file)
thanks, Chris
Hi Chris,
Using your parameters seems to work just fine. I'm getting an export file that starts at and ends at the given dates.
One remark, copying your parameters I had to replace the - in front of the sd= and ed= parameters with a 'new one'. The - from you example does not seem to be a real one (if that makes any sense)
Feb, 2016 - Permalink