Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing initial comma to align column titles and data #1

Open
GoogleCodeExporter opened this issue May 8, 2015 · 3 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Run the script
2. Load in Excel
3. See that the first column containing the time is titled with the first data 
set

What is the expected output? What do you see instead?
the first column containing the time is titled with the first data set whereas 
it should be empty. There is a misalignment between data and titles.

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

Please provide any additional information below.
Add the following code at line 232 before the foreach : 
printf ",";

Original issue reported on code.google.com by barthele...@gmail.com on 1 Jun 2012 at 10:38

@GoogleCodeExporter
Copy link
Author

[deleted comment]

1 similar comment
@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

What steps will produce the problem: run this from command line:
./rrd2csv2.pl -s 1425589289 -e 1426194089 ./L4DSLDPA/LDAP.rrd > test.csv


Not seeing column headers. Can you tell me how to fix this please?

The first row and some output looks like this:
       1,
02/26/2015 09:20:00,0.02
02/26/2015 09:25:00,0.02
02/26/2015 09:30:00,0.01

Version: Trunk, RH 6.5, perl v5.10.1 (*) built for x86_64-linux-thread-multi.

I am using rrd2csv for php4nagios rrd data with rrdtool-1.3.8-6.el6.x86_64
rrdtool-perl-1.3.8-6.el6.x86_64, pnp4nagios 6. I have checked the directories 
and see the .xml and .rrd file for each performance-metric.

I have attached a sample of my rrd data.

Original comment by scottsd...@gmail.com on 12 Mar 2015 at 9:38

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant