Description of problem: nagious-plugins-file_age ceases to work with the update to 2.1.4-2.el6. Since this update, no matter which file I check, the plugin always returns "File not found". Version-Release number of selected component (if applicable): 2.1.4-2.el6 How reproducible: always Steps to Reproduce: 1. Install nagios-plugins-all 2. run /usr/lib64/nagois/plugins/check_file_age somefile 3. result is "File not found" Actual results: /usr/lib64/nagios/plugins # ./check_file_age check_file_age FILE_AGE CRITICAL: File not found - "check_file_age" Expected results: ./check_file_age check_file_age FILE_AGE OK: check_file_age is 1 seconds old and 3844 bytes | age=1s;240;600 size=3844B;0;0;0 Additional info: The issues seems to be the command in line 80: >> $opt_f = '"' . $opt_f . '"'; >> This adds "" to the filename, which does not work. Commenting that line out fixes the issue.
*** This bug has been marked as a duplicate of bug 1410039 ***