[Rt-devel] scripted metrics anyone?
Ruediger Riediger
ruediger.riediger at sun.com
Wed Apr 20 08:42:58 EDT 2005
Hello all,
I am trying to retrieve the metrics page (/RTIR/Reporting/Report.html)
through an external script (-> not querying the web server). However,
this requires HTML::Mason interpreting, so I thought to leverage
/opt/rt3/bin/webmux.pl (using the fast-cgi script) as a template.
However - it does not work. Instead, I get the following errors:
Name "RT::MasonParameters" used only once: possible typo at ./metrics.pl
line 7.
The following parameter was passed in the call to
HTML::Mason::Request::CGI->new() but was not listed in the validation
options: name
Now, this strikes me as strange as "@MasonParameters = ()" is set in
/opt/rt3/etc/RT_Config.pm and should have been imported by webmux.pl
(see attached).
Further, I have no clue what the second error is about.
Is this the wrong way to go? How do you get the metrics in a
non-interactive way?
Best regards,
Ruediger Riediger
--
Dr. Ruediger Riediger Sun Microsystems GmbH
NSG - SunCERT Komturstr. 18a
mailto:Ruediger.Riediger at Sun.com D-12099 Berlin
------------------------------------------------------------------------
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
------------------------------------------------------------------------
PGP 2048RSA/0x2C5020E9 964C E189 0FF0 8882 2BAB 65E2 6912 1FF2
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metrics.pl
Type: application/x-perl
Size: 579 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20050420/f2f3cb75/metrics.bin
More information about the Rt-devel
mailing list