Plugin check existing log and date check
Posted: Tue Apr 16, 2019 3:16 am
Hello,
i am looking for a plugin wich checks the existing of a specifick log-fle (cp_init.20190414.log), and does a check if the date in the name of the file, is younger than a week from today.
Any help would be very nice. The servers are Linux redhat 7. Nagios core 4.
Thnx.
Regards Paul.
i am looking for a plugin wich checks the existing of a specifick log-fle (cp_init.20190414.log), and does a check if the date in the name of the file, is younger than a week from today.
Any help would be very nice. The servers are Linux redhat 7. Nagios core 4.
Thnx.
Regards Paul.