Hello All , Firstly , thanks ! mon is a great program and the hard work you guys have put in really shows . It's helped us deal with our systems really well.
Secondly, i have a patch ! (see attachment) i've been using m4 to build mon configs and this tiny patch adds an include directory to the m4 invocation, this allows for macros to be stored outside the main config file for full m4 goodness . /etc/mon/include will then be scanned when you use include in m4. Thirdly, I'm trying to make an rpm out of the latest version and am getting errors related to %filelist and there being no filelist in the sources. I'm no rpm expert but i think the spec file is out of date with the current source. Has anyone manged to build an rpm from it ? if so how did you do it ? Toodle-pip Amias
--- mon-1.0.0pre5/mon.patched 2006-10-05 15:13:22.000000000 +0100 +++ mon-1.0.0pre5/mon 2006-10-05 14:57:04.000000000 +0100 @@ -796,7 +796,7 @@ if ($opt{"M"} || $CF =~ /\.m4$/) { return "could not open m4 pipe of cf file: $CF: $!" - if (!open (CFG, "m4 -I/etc/mon/include $CF |")); + if (!open (CFG, "m4 $CF |")); } else
_______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon