WPT Monitor - Printable Version
+- WebPagetest Forums (http://www.webpagetest.org/forums)
+-- Forum: WPT Monitor (/forumdisplay.php?fid=22)
+--- Forum: General Discussion (/forumdisplay.php?fid=21)
+--- Thread: WPT Monitor (/showthread.php?tid=395)
RE: WPT Monitor - rickzan - 12-11-2010 12:52 AM
ok thanks. it's working
also two small little problems
1) every update it is telling me something like that:
"Warning: Cannot modify header information - headers already sent by (output started at C:\Web Site\content\wptmonitor\models\AlertTable.php:9) in C:\Web Site\content\wptmonitor\updateJob.php on line 96 " The first part is the same, the second it is pointing to various files
2) I cannot load graphs
Also cost a lot to find the right php_http.dll file for php 5.3.1. at the end
RE: WPT Monitor - asperkins - 12-11-2010 03:29 AM
I haven't tested with anything above 5.2.x, but it sounds like it should work ok with 5.3 with a little tweaking.
My experience with the message you mention in 1) is that there is line feeds after the ?> in the file. Looking at a couple of the files it seems this may be the case as well. I'll make sure I update that in trunk.
Which browser are you using? I think there is something about how I've implemented graphing that is not working properly in firefox. I'll be looking into that as well. Let me know if it works ok in IE or Chrome.
RE: WPT Monitor - hdtvrocks - 12-11-2010 06:27 AM
How does WPTM deal with setting an hourly interval for mutiple locations? Will all locations start on the hour at the same time or are they staggered?
RE: WPT Monitor - asperkins - 12-11-2010 06:42 AM
It's a pretty simple system currently. Currently each job can only have one location. It's on the backlog to allow multiple locations per job. But for now you have to create a job for each location.
So, say you have jobs A B and C. Each job is configured to run hourly, and each job is configured for a different location.
Each time the job processor runs it iterates over all active jobs and looks at the last run time for that job. If the current time - last run time is greater than the configured interval, then it submits the job for processing.
I have been asked about adding the ability to also indicate at what time a job should be executed, say, 12:30 each day, or 15 past each hour, etc. That could be done, but isn't as high on the backlog as some of the other items.
RE: WPT Monitor - rickzan - 12-11-2010 06:51 AM
In chrome a grafic is displayed but i think that there is some problem to write the data because the graph is empty and, in the page of result everthing is 0
and if I try to "refresh" with the icon on the lleft on the result page, an error occurs
Warning: file_get_contents(/xmlResult/101210_1720a9f748edd03e1073724403c5aca3/) [function.file-get-contents]: failed to open stream: No such file or directory in C:\Web Site\content\wptmonitor\wpt_functions.inc on line 583
RE: WPT Monitor - asperkins - 12-11-2010 06:59 AM
When you are logged in as an admin user and you click on hosts, what did you use for the url for your host? I think there is an issue here if you try to use "localhost".
RE: WPT Monitor - hdtvrocks - 12-11-2010 10:56 AM
(12-11-2010 06:42 AM)asperkins Wrote: It's a pretty simple system currently. Currently each job can only have one location. It's on the backlog to allow multiple locations per job. But for now you have to create a job for each location.
Thanks. Sounds like the mutiple jobs at mutiple locations will kick off around the same time. The application I'm testing likely will give different results with mutiple logins via mutiple locations at the same time. I'll just disable the job locations that are not mandatory for now.
RE: WPT Monitor - asperkins - 12-11-2010 11:11 AM
You can cause the jobs to be staggered if that's what you're after. Create the jobs for each location at different times. As an example. You want jobs A B and C to run 15 minutes apart. Create job A and set it to active, wait 15 minutes and do the same for B, then the same for C. This should cause them to execute 15 minutes apart. Just be aware that if you fire a job manually via the execute jobs button on the job list page, or the little lightning bolt on the jobs list page, this will update the "last run" field in the DB.
It sounds like I have another vote for more control over the job execute time. I'll bump the priority on that item.
RE: WPT Monitor - rickzan - 12-11-2010 05:25 PM
for what I see, I always use the domain name, never localhost
RE: WPT Monitor - gyuseong - 01-03-2011 09:10 PM
I am WPT2.0 user. WPT has been work successfully.
Today, I have installed WPTM.
I can see hosts, locations.. and set script and jobs. (screen shot)
- crontab -e
4,8,12,16,20,24,28,32,36,40,44,48,52,56,58 * * * * /usr/local/tomcat6/webapps/ROOT/XXXXXXX/wptmonitor/jobProcessor.sh
curl localhost/wptmonitor/jobProcessor.php?key=OOOOOO >> /usr/local/tomcat6/webapps/ROOT/XXXXXXX/wptmonitorjobProcessor.log
- crond is running
[root@localhost wptmonitor]# ps -ef | grep cron
root 21363 1 0 18:22 ? 00:00:00 crond
root 21736 20808 0 20:08 pts/1 00:00:00 grep cron
I think, Install job has been done correctly.
agent do not anything.
WPTM report is empty.
"jobProcessor_log.html" file is not updated.
what is wrong..? ㅜㅜ