On Thu, Sep 30, 2004 at 05:34:04PM -0400, David Nolan wrote:

> --On Thursday, September 30, 2004 3:36 PM +0200 Brice Beauvillain 
> <[EMAIL PROTECTED]> wrote:
> >
> >Is it possible for mon to have the mon.cf file in a database ?

> There's no way to do that directly,

But you can do it indirectly.  Use the "esyscmd" macro in m4:

     esyscmd         Pass its first argument to a shell and returns the
                     shell's standard output.  Note that the shell shares its
                     standard input and standard error with m4

So write a script that queries your database and retrieves Mon's
configuration, and then call it in mon.m4 with esyscmd.

_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to