I want to monitor a log file “portal.2010-12.log” on windows machine.
2010- is the year which can change
12 is the week which can change.
Hence, I made the following change to .cfg file and restarted the NSClient
logfile => ‘C:\Program Files (x86)\portal.[0-9][0-9][0-9][0-9]-[0-9]*.log’,
I get the following error on Nagios Console :
WARNING - (1 warnings, 1 unknown) - cannot write status file C:TEMP/check_portal_log.C__Program_Files_(x86)_portal.[0-9][0-9][0-9][0-9]-[0-9]*.log.check_portal_log
Please guide me for the same.