Hi Everybody,<br><br> Before I start reinventing the wheel, is there any code out there for parsing configuration filesn in paragraph format. I am creating a multi-process monitor that will read in a configuration file that will contain the processes that they will monitor also what to do when they get get an alert. Below is an example of what I envision the configure file to look like
<br><br>apache {<br> process=/usr/bin/httpd<br> processNum = 8<br> whenDown = "Apache is totally down"<br> whenDegraded = "Apache has degraded (one or more processes has gone away"<br> whenUp = "Apache is up"
<br> severityDown=1<br> severityDegraded=3<br> severityUp=5<br> .... etc ....<br>}<br><br>Thanks in advance,<br>Tino<br><br><br>