Closed - This job posting has been filled and work has been completed.
I have a need for a nagios plugin to be written. We basically have a large log file, on a linux box, and need to analyse this. Ideally what i'd like to be able to do, is parse through a grep command with a word (or multiple word) string, and if it finds the specific string, then to output the error to Nagios. The critical error should indicate the string syntax as well, i.e:
grep "not active" testfile.lst
And the error on Nagios would be:
Critical: not active
The name of the logfile would be a simple name like component.txt
Any further questions, let me know.