Page 1 of 1

Nagios Core command to search for String and return output

PostPosted: Tue Mar 15, 2022 3:01 pm
by apteancloud
Hi Team,

We have a requirement on one of our unix machines to Monitor Text/log files for specific content in the file and give output.

Basically, we will get an output file(consisting of String values Green, Orange, and Red) from one of the job scripts in .txt format and we have planned to monitor the file based on it, such that
Green = Ok
Orange = Warning
Red = Critical

Could you guys please suggest which plugin suits the above requirement on UNIX machines with nrpe/ncpa agent :)

Thanks in Advance