What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

CSVExport not accepting startdate enddate settings?

Votes:

0

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

csvexport prtg

Created on Feb 15, 2016 9:03:00 PM



1 Reply

Votes:

0

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)

Created on Feb 16, 2016 6:58:30 PM




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.