Hi!<br>
<br>
I have a <acronym title="Practical Extraction and Report Language">perl</acronym> script which returns data in the following format (output from a wget) - <br>
<br>
AppName : BillingApp<br>
"status" = "OK";<br>
<br>
AppName : PaymentApp<br>
"status" = "WARN";<br>
<br>
AppName : OrderApp<br>
"status" = "ERROR";<br>
<br>
AppName : RegApp<br>
"status" = "FATAL";<br>
<br>
the output consists of 150+ apps, with each one of them returning their status. <br>
<br>
Here is what I need - <br>
<br>
Want to create a wrapper script which returns a cumulative summary. I
need a step by step instructions on how to hook a script like this into
nagios?<br>
<br>
What I desire - <br>
<br>
Instead of a cumulative result, can I display the result in Nagios on a
per application basis using this one script (and a wrapper script on top
of it)?<br><br>I tried check_http but it doesnt solve my needs as I want to parse out the output from the wget rather than just doing a wget on a port.<br>
<br>
If you can also provide me with a wrapper script for reference in
relation to how the result can be presented to Nagios that would be
great.<br>
<br>
Please help!!<br><br>Thanks,<br><font color="#888888"><br>Allan </font>