BuminMacintosh / prtg-addons

Automatically exported from code.google.com/p/prtg-addons
0 stars 0 forks source link

Issues with PTF.CSVExport #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Ran the below command on a Windows 7 PC in same LAN as PRTG server after 
upgrade to version 13.1.2.1463 and get the below error:

csvexport -pu=<removed> -pp=<removed> -ps=https://nms.nexusmgmt.com -ssl3 
-sd=2013-02-01-00-00-00 -ed=2013-02-28-23-59-00 -to=300 -fc="Ping 
Time,Minimum,Maximum,Coverage%" -s=9117 

Processing sensor 9117
Retreiving sensor historic data
Exporting to CSV
Index was outside the bounds of the array.

What is the expected output? What do you see instead?

Expected to see Completed Successfully.

What version of the product are you using? On what operating system?

This was not happening until we upgraded PRTG to version 13.1.2.1463. The 
version of PFT CSVExport is 12.3.3.4. 

Please provide any additional information below.

Original issue reported on code.google.com by adam.h...@nexusmgmt.com on 12 Mar 2013 at 6:50

GoogleCodeExporter commented 8 years ago
Hi Adam,

I have tested this with PRTG version 13.1.2.1463, but I'm not able to reproduce 
the issue.
Would it be possible to get a temporarily read-only account on your PRTG 
server, so I can test this with your settings against the same data source?

Kind regards,
Gerard

Original comment by gerard.f...@gmail.com on 18 Mar 2013 at 3:20

GoogleCodeExporter commented 8 years ago
Hi,

I'm seeing this same issue. We're on PRTG version 13.1.1.1182 although I don't 
know if it worked on previous PRTG versions.

My command worked OK until I added the fc= command to attempt to return only 
select columns (i'm assuming thats what it does).

Here's an example:

csvexport -pu=<removed> -pp=<removed> -ps=<removed> -ssl3 
-s=2792,3245,4226,8109,8135 -to=90 -av=86400 -sd=2013-02-01-00-00-00 
-ed=2013-03-01-00-00-00 -co -fc="Date
Time,Downtime(RAW)"

As it processes the first sensor, it says "Index was outside the bounds of the 
array" and stops. The command works find without the fc= paramater.

Let me know if I can provide any more information (I can't give you access to 
our PRTG installation unfortunately).

Thanks,
Mark

Original comment by mark.wr...@gmail.com on 20 Mar 2013 at 10:49

GoogleCodeExporter commented 8 years ago
This issue is now fixed in version 13.1.2

Thank you Mark for your time testing this release.

Original comment by gerard.f...@gmail.com on 25 Mar 2013 at 9:22