From: Jamie C. <jca...@we...> - 2006-01-25 12:14:39
|
Hi Enrique, No, there is no way to run SQL from a file at the moment .. only a fixed SQL command entered into the custom command. However, you could create a command that runs a program like 'mysql -u user -ppass db <file' .. that would have the same effect. - Jamie -----Original Message----- From: Enrique Toledano <enr...@gm...> Subj: Re: [webmin-l] SNMP on System and Server Status Date: Wed 25 Jan 2006 6:13 pm Size: 2K To: web...@li... Thank you very much, Jamie! Another question: In the "Custom Commands" module, is there (or is going to be) a way to select an SQL file to execute on a database? Thank you again 25 Jan 2006 09:36:26 +1100, Jamie Cameron <jca...@we...>: > On Wed, 2006-01-25 at 04:54, Enrique Toledano wrote: > > Hi all > > > > Jamie, this is a feature request: > > To use SNMP on the System and Server Status module, it's necessary to > > install several perl modules, that can't be installed (or I don't know > > how to do it) on old versions of Perl. > > > > Have you considered to support the module from Simon Leinen "SNMP for > > Perl 5" to allow the use of this feature (It works on Perl 5 and it > > doesn't need other modules) on old perl versions? > > > > http://www.switch.ch/misc/leinen/snmp/perl/ > > I suppose it could be done, although the documentation on sending traps > on that site is rather lacking. I should be able to put it into the next > Webmin release. > > - Jamie > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd- Forwarded by the Webmin mailing list at web...@li... To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list --- message truncated --- |