[webmin-devel] question on requirements for webmin modules
marty leisner <[email protected]> Sat, 1 Mar 2014 22:25:56 -0500
| Newsgroups | gmane.comp.web.webmin.devel |
|---|---|
| Message-ID | <CAPNO-ha5+Nskshcyd0bfh=jGzN=sgpRcyum9YCX3eW4bs_F9ew@mail.gmail.com> |
--===============7336130309677257250==
Content-Type: multipart/alternative; boundary=001a11c151f00b3c5104f3973d1a
--001a11c151f00b3c5104f3973d1a
Content-Type: text/plain; charset=ISO-8859-1
I'm writing custom modules and have the following requirements:
a) all actions need to log
b) xml-rpc needs to be able to trigger the actions
It appears logging is modules written and I've seen it in the .cgi
scripts. Is there any logging "inherent" in webmin, or is it all module
driven.
It looks like the .cgi scripts aren't accessabile from xml-rpc -- I suppose
to access the "actions" from xml-rpc I'd need to either
1) put the actions in a method in the library (and invoke it from
both the cgi and the xml-rpc)
2) have a method in the library to invoke a .cgi script (in which case
the CGI script run without a GUI)
marty
--001a11c151f00b3c5104f3973d1a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><br><div>I'm writing custom modules and have the follo=
wing requirements:</div><div>=A0 =A0a) all actions need to log</div><div>=
=A0 =A0b) xml-rpc needs to be able to trigger the actions</div><div><br></d=
iv><div>It appears=A0 logging is modules written and I've seen it in th=
e .cgi scripts. =A0Is there any logging "inherent" in webmin, or =
is it all module driven.</div>
<div><br></div><div>It looks like the .cgi scripts aren't accessabile f=
rom xml-rpc -- I suppose to access the "actions" from xml-rpc I&#=
39;d need to either</div><div>=A0 =A0 =A0 1) put the actions in a method in=
the library (and invoke it from both the cgi and the xml-rpc)</div>
<div>=A0 =A0 =A02) have a method in the library to invoke a .cgi script (in=
which case the CGI script run without a GUI)</div><div><br></div><div>mart=
y</div><div><br></div><div><br></div></div>
--001a11c151f00b3c5104f3973d1a--
--===============7336130309677257250==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
--===============7336130309677257250==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel
--===============7336130309677257250==--