aboutsummaryrefslogtreecommitdiff
path: root/jobs/PeerChecker.py
diff options
context:
space:
mode:
authorTom Ritter <tom@ritter.vg>2016-02-02 11:30:02 -0500
committerTom Ritter <tom@ritter.vg>2016-02-02 11:30:02 -0500
commit1e09fc3a5b44a2130f8d1b24967a39ff20ea999a (patch)
tree3cb672d593354b3c13e9ada2a99ba4bdfa08d207 /jobs/PeerChecker.py
parent2fe68bac48427e687888fb8de13eea541d531610 (diff)
Add in the friendly name to the state file for debugging
Diffstat (limited to 'jobs/PeerChecker.py')
-rwxr-xr-xjobs/PeerChecker.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/jobs/PeerChecker.py b/jobs/PeerChecker.py
index 8d0a6b7..1214b0f 100755
--- a/jobs/PeerChecker.py
+++ b/jobs/PeerChecker.py
@@ -17,6 +17,8 @@ class PeerChecker(JobSpawner.JobSpawner):
self.notificationAddress = notificationAddress
super(PeerChecker.IndividualPeerChecker, self).__init__(config, checkurl, notificationAddress)
+ def getName(self):
+ return str(self.__class__) + " for " + self.checkurl
def executeEvery(self):
return JobBase.JobFrequency.HOUR
def notifyOnFailureEvery(self):