On Sep 16, 2008, at 12:05 PM, Mike DeGraw-Bertsch wrote:
Since the job IDs and names are unique, I can't really do a single
script for each job.  I believe that restricts me from using the
command datasources, since I can only parse a single line of output in
each Nagios plugin.

Let the coding begin. :)

I'd suggest writing a wrapper for check_mssql that takes one additional argument, the job name. Then you could search for this job name existing in the CRITICAL output and exit with code 1 if it was found and code 0 if it was not.

You'd be executing check_mssql once per job which is redundant, but it would let you get the discreet events you're looking for.

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to