--On Monday, November 08, 2004 11:26 AM +0100 Andrea Carpani <[EMAIL PROTECTED]> wrote:
Is there a way to check the syntax of a mon.cf configuration file before starting mon? Something like
perl -c <file>
No, but you can ask a running mon to parse a new config file for errors. If you're using mon.cgi, it provides a 'Test Mon Config File' option, or you can just run moncmd, with the arguments 'test config'.
This has always been good enough for my needs, since I always have mon running. But if you require the feature you describe, I could add it fairly easily.
-David Nolan Network Software Designer Computing Services Carnegie Mellon University
_______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon
