QueueMetrics > Running QueueMetrics

Generate reports and send them by email

<< < (2/3) > >>

james:
This is the the beginning of the file content saved:


<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>A problem occurred</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link rel="shortcut icon" href="/queuemetrics/img/favicon.ico">
<link rel="stylesheet" type="text/css" href="/queuemetrics/img/video.css" media="screen,projection" />
<link rel="stylesheet" type="text/css" href="/queuemetrics/img/print.css" media="print" />
</head>

QueueMetrics:

--- Quote from: james on December 09, 2008, 22:15:55 ---Normally I think I would have a pop up and download a csv, txt or pdf file but I just get is the report of the day displayed in the browser. when I use wget i just get the html content saved into a file. Is there a way that I can send a CSV file by mail that contents the whole day activity in queuemetrics.

--- End quote ---


Yes the file is the same page you would see in QM - this is because there is no way to create single Excel file that has all the separate reports in it, at least at the moment.

james:
Hello All, I would really appreciate your help, I am trying to dowload using wget a report using robot user, my syntax is the following:
wget -O report.html http://SERVER:8080/queuemetrics/qm_rep.do?user=robot&pass=robot&queues=nopin-queue&t_from=2009-01-07.00:00:00&t_to=2009-01-10.12:00:00
I am getting an error. However if i copy and paste into a browser i get the report correcty. The error I am getting is the following:
"Errore tecnico nella classe 'it.loway.app.queuemetrics.autenticazione.preparaParametriReport'. -- Inner Exception -- - Exception: it.loway.tpf.common.exceptions.TechException - Stack trace: - Date error: either date is invalid (from: null to null - format: 'yyyy-MM-dd.HH:mm:ss') -      at it.loway.app.queuemetrics.autenticazione.preparaParametriReport.setPeriodoTemporale(Unknown Source) -        at it.loway.app.queuemetrics.autenticazione.preparaParametriReport.doRun(Unknown Source) -      at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(Unknown Source) -  at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(Unknown Source) -   at it.loway.tpf.transaction.servlets.LowayTransactionController.doGet(Unknown Source) -         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) -       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) -       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) -  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) -  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) -        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) -    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) -        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) -        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) -        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) -    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) -        at org.apache.catalina.core.StandardHost
please help!

QueueMetrics:
You should really enclose the URl within quotes "http://..." otherwise the shell with split at the & signs.....

james:
That's was the problem. I changed and it's working .Thank you.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version