From 1e09fc3a5b44a2130f8d1b24967a39ff20ea999a Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Tue, 2 Feb 2016 11:30:02 -0500 Subject: Add in the friendly name to the state file for debugging --- jobs/PeerChecker.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'jobs') 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): -- cgit v1.2.3