Forum: CFEngine Help
Subject: CSV report file, string length limitation
Author: djalizwan
Link to topic: https://cfengine.com/forum/read.php?3,23798,23798#msg-23798
Hello.
We need to create CSV file that contain "lastseen" report. To do that we make
reports.cf
# cat /root/report.cf
body reporter control {
reports => {
"last_seen",
};
build_directory => "/reports";
report_output => "html";
}
and than generate report
# cf-report -f /root/report.cf
But in CSV file, there is only max 26 symbols per column.
-,MD5=d3324149f13d9b3223932, test.rosenergo.com, 172.44.3.104,Tue Oct
25 15:5,0.04,0.08,0.00 hrs
-,MD5=fb5d30036e93572190727,ttttttttttttt.example.com, 172.44.3.2,Tue Oct
25 15:5,0.05,0.08,0.00 hrs
-,MD5=7f0a90224958782117d36,ttttttttttttttttt.example, 172.44.3.4,Tue Oct
25 15:5,0.04,0.08,0.00 hrs
Is it possible to extend this limitation?
Out environment
# cf-agent -V
@@@
@@@ cf-agent
@ @@@ @ CFEngine Core 3.2.1
@ @@@ @
@ @@@ @
@ @
@@@
@ @
@ @
@ @
Copyright (C) CFEngine AS 2008-2011
See Licensing at http://cfengine.com/3rdpartylicenses
#
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.1 (Santiago)
# uname -a
cfg.example.com 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011
x86_64 x86_64 x86_64 GNU/Linux
#
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine