andreph / prtg-addons

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

Export does not include downtime #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run CSVexport
2. Open results

What is the expected output? What do you see instead?
Expect results to include the 'downtime' column, results do not include this

What version of the product are you using? On what operating system?
Using v13.1.2 of csvexport on Windows7

Please provide any additional information below.
Report generated from the web reporting interface has this column, but we are 
looking to create some non-standard automated reporting and need this from the 
CSVExport tool as well.

Original issue reported on code.google.com by ljmcka...@gmail.com on 3 Apr 2013 at 5:38

GoogleCodeExporter commented 8 years ago
Hi,

What parameters are you using?
Also, what type of sensor are you targetting?

Regards,
Gerard

Original comment by gerard.f...@gmail.com on 3 Apr 2013 at 7:11

GoogleCodeExporter commented 8 years ago
I've done this with only the parameters required to connect to our server 
(-ssl3 -pu -pp -sd -ed -to) and selecting one sensor. This are for ping sensors.

Original comment by ljmcka...@gmail.com on 3 Apr 2013 at 7:38

GoogleCodeExporter commented 8 years ago
Hi,

A "downtime" column is only exported (by PRTG) when you are reporting on an 
average interval. In your case, the raw data is exported, making it impossible 
to calculate a downtime.
Use the -av= parameter to report on an average interval and automatically 
include the "downtime" column.

Regards,
Gerard

Original comment by gerard.f...@gmail.com on 4 Apr 2013 at 7:22

GoogleCodeExporter commented 8 years ago
Hello,
 I have found that adding the -av= parameter does seem to at least partially resolve my issue. I am experiencing another issue that I don't believe is really a bug, but an oddity. When I run the command and include the -fc= parameter, the last line 'Averages' does not appear, is this by design, and can I work around it somehow?

Original comment by ljmcka...@gmail.com on 4 Apr 2013 at 12:52

GoogleCodeExporter commented 8 years ago
Hi,

Can you please show the complete command line that you are using, with as much 
detail as possible.
If you have to remove anything like passwords, please replace the value with 
"<removed>"

Regards,
Gerard

Original comment by gerard.f...@gmail.com on 4 Apr 2013 at 1:15

GoogleCodeExporter commented 8 years ago
While looking at this I've found that depending on what values passed to -fc= 
the averages do or do not appear. When passing -fc="Ping 
Time,Minimum,Maximum,Downtime,Coverage" the averages line does not appear, but 
when adding 'Date Time' to the list of fields, it does.

Original comment by ljmcka...@gmail.com on 4 Apr 2013 at 1:17

GoogleCodeExporter commented 8 years ago
Hi,

I'm able to reproduce your second issue and I'll start working on a fix for 
this.
Can you send me a direct email, so I can drop you a link to the fixed verson 
for testing?

Regards,
Gerard

Original comment by gerard.f...@gmail.com on 4 Apr 2013 at 2:07

GoogleCodeExporter commented 8 years ago

Original comment by PRTGTool...@gmail.com on 15 Apr 2013 at 1:30