mrtg.py
changeset 5 e716718482c3
parent 3 2fefcb99df6e
child 9 32553ab44472
--- a/mrtg.py	Sun Dec 06 02:25:30 2009 +0200
+++ b/mrtg.py	Tue Dec 08 20:41:16 2009 +0200
@@ -23,6 +23,20 @@
         self.title = title
         self.comment = comment
 
+    def rrd_name (self) :
+        """
+            Return the relative path to the .rrd file for this target
+        """
+
+        return "%s.rrd" % (self.name, )
+
+    def img_name (self) :
+        """
+            Return the relative path to the .png image for this target
+        """
+
+        return "%s.png" % (self.name, )
+
     def statement (self, name, value) :
         """
             Yield the line for a single stanza: