simple code:
from vsc.utils.script_tools import CLI
class SimpleTest(CLI):
CACHE_DIR = '/tmp'
def do(self, dry_run):
pass
if __name__ == '__main__':
do = SimpleTest()
do.main()
generates the timestamp in /tmp
, but the NagiosReporter does not obey it (still uses /var/cache
)