Check output file


#1

hi all,

i have to check everyday my log files in my windows server 2008 to check if the backup finished successfully or no , so when i opened the log in the bottom of the file its written down ‘Info: Synchronization completed successfully!’. so my request is there any script or plugin to implement in nagios to check if the backup finished successfully or no .how nagios can read the output file ?
i tried to understand the check_log plugin but i think it can not be useful here.

please help


#2

you need to pass through the check_nt check which uses NSClient++ on the windows side.

You’ll then need to find something useful to check the backup result… i’m not 100% sure if you can use BATch files, but you should find something searching the forums as to what scripting can be done :slight_smile:


#3

yeah i know , but im still searching about it , any help