QueueMetrics > Running QueueMetrics

Auto generate/email reports failing

(1/2) > >>

hwjustin:
Using the instructions in the FAQ:  http://queuemetrics.com/faq.jsp#faq-063-printing_pdf

I am getting an error with this script regarding the wget command:


--- Code: ---Cannot specify both -k and -O if multiple URLs are given, or in combination with -p or -r. See the manual for details.
--- End code ---

Any ideas on how to make this work? BTW, I'm using Gentoo and have htmldoc and nail emerged.

QueueMetrics:
What is your exact commend line for wget?

hwjustin:
I tried it again, removed the -p switch. That seems to have fixed it.

New code:


--- Code: ---wget -nH -k -K -l 1 -O report.html "$QM_SERVER/$QM_WEBAPP/qm_rep.do?user=$QM_USER&pass=$QM_PASS&queues=$QM_QUEUE&period=$QM_PERIOD"
--- End code ---

QueueMetrics:
You must be using a different version of wget.


--- Code: ---[root@dalet ~]# yum list | grep wget
wget.i386                                1.10.2-7.el5           installed
wget.i386                                1.11.4-2.el5_4.1       updates
--- End code ---

I see there is a newer one - maybe that's the one you're using?

hwjustin:
On Gentoo, I'm using  net-misc/wget-1.11.3 USE="ssl -debug -ipv6* -nls* -socks5 -static".

Navigation

[0] Message Index

[#] Next page

Go to full version