I'm looking for a way for my Nagios hosts to have a "comment" field, if you will. Basically something where I can put a URL or small bit of text into a file and have it output into Nagios for display. So, the check ...
* Checks for the existance of a file (prefer to do this over NRPE)
* If the file is present at all, check is OK, and the output is the contents of the file.
* If the file isn't present, check is CRITICAL (and says file isn't there)
Is there a check that exists that accomplishes this?
NRPE - Check For File + Contents Are The Output
-
bolson
Re: NRPE - Check For File + Contents Are The Output
Would the file have more than one line of text?