Add problem report for disabled clients/probes
This commit is contained in:
parent
840c146969
commit
fd7cd5cadd
5 changed files with 122 additions and 7 deletions
|
@ -145,3 +145,16 @@ class TempmonServer(commands.Subcommand):
|
|||
daemon.start(args.daemonize)
|
||||
elif args.subcommand == 'stop':
|
||||
daemon.stop()
|
||||
|
||||
|
||||
class TempmonProblems(commands.Subcommand):
|
||||
"""
|
||||
Email report(s) of various Tempmon data problems
|
||||
"""
|
||||
name = 'tempmon-problems'
|
||||
description = __doc__.strip()
|
||||
|
||||
def run(self, args):
|
||||
from rattail_tempmon import problems
|
||||
|
||||
problems.disabled_probes(self.config, progress=self.progress)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue