331
331
log_path = os.path.join(LOG_DIR, 'store-poller.log')
332
332
# Create the file now, so the nagios check doesn't fail right after
333
333
# we've completed the deployment.
334
host.write_file(log_path,"", "www-data", "www-data")
334
host.write_file(log_path,"", "www-data", "www-data", perms=0o660)
335
335
max_age_seconds = int(config['store_poller_nagios_file_age_max_minutes']) * 60
337
337
shortname="store_poller_check",