Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Summary-Talk] programmatic method of calling /DOTOOLS?
Hi, In my continued backwards methodology of using this software, I wondered if there's a way I can call the /DOTOOLS URL that summary serves with curl? What I'm doing is this: - automatically scp all logs from outside-the-firewall cache servers to an inside-the-firewall logs crunching system. - automatically scp error logs from my origin server to the logs crunching system. - automatically move all logs that didn't belong to the last month to a holding area. - curl http://stats.ai.org/Process. At this point, I'd like to curl http://stats.ai.org/DOTOOLS, supplying static=Write%20Static%20Reports in my POST request. However, all DOTOOLS gives me is an "invalid arguments supplied to DOTOOLS!" error. The commands I've tried are: curl -u username:password -d static=Write%20Static%20Reports http://stats.ai.org/DOTOOLS curl -u username:password -F static=Write%20Static%20Reports http://stats.ai.org/DOTOOLS This is the *only* part that doesn't work. The rest is just supplied for contextual purposes. - wait for the process to end; when it has, zip up the static reports and put them in our "public" statistics area. - generate a list of the top 40 state agencies and send an e-mail to company marketing staff. - create ISO images of the archivable, crunched logs for permanent storage on CD-R, and remove the actual logfiles. - email the sysadmin (me), stating everything is OK, and that CD's may be burned. Yes, I know this is probably a very backwards way of going about things, but I'm persistent in doing it this way, rather than just incrementally processing logs. I have no idea why :) -- -- "I still think the odds are good that you can make a bet on what will be the odds" -- Tub Ring +--------------+--------------------+---------------+----------------+ | Greg Swallow | System Administrator | accessIndiana | 888.4IN.EGOV | +--------------+--------------------+---------------+----(446.3468)--+ ------------- Go to <http://summary.net/list.html> to update subscription info.
|