How do you format multiple outputs in a Unix script monitor? I am looking at a log file and returning some data such as jobe name and type etc..
# Look for "ERROR" in the fourth whitespace delimited postion
( $first, $second, $third, $fourth, $remainder ) = split(/\s+/);
foreach $value (@JobType) {
if ( $value eq $first ) {
print "Statistic.1: $first\n";
print "Statistic.2: $second\n";
print "Statistic.3: $third\n";
print "Statistic.4: $fourth\n";
My app is in UNKNOWN state saying it does not contain expected parameters. What are these parameters??