added PC92 stats to mrtg
[spider.git] / cmd / mrtg.pl
index 2f6a578bb1703f9b45263ee168783f55f447f63b..4f0214e9110e91050d70fa3bf2b5146f77398f84 100644 (file)
@@ -13,6 +13,7 @@
 #    hfvhf            - all spots split into HF and VHF
 #    wwv              - two graphs of WWV, one SFI and R other A and K
 #    wcy              - WCY A and K 
+#    pc92             - PC92 C and K, PC92 A and D
 #    all              - all of the above 
 #    
 # b) actions          
@@ -139,6 +140,22 @@ if ($want{wcy} || $want{all}) {
        $mc->data('wcyka', $WCY::a, $WCY::k, 'WCY A and K') unless $want{cfgonly};
 }
 
+if ($want{pc92} || $want{all}) {
+
+       $mc->cfgprint('pc92ck', [], 1024000,
+                                 "PC92 <font color=#00cc00>C</font> and <font color=#0000ff>K</font> records into $main::mycall",
+                                 'Bytes / Sec', 'C', 'K') unless $want{dataonly};
+       $mc->data('pc92ck', $DXProt::pc92Cin, $DXProt::pc92Kin, "PC92 C and K into $main::mycall") unless $want{cfgonly};
+#      $DXProt::pc92C = $DXProt::pc92K = 0;
+
+       $mc->cfgprint('pc92ad', [], 1024000,
+                                 "PC92 <font color=#00cc00>A</font> and <font color=#0000ff>D</font> records into $main::mycall",
+                                 'Bytes / Sec', 'A', 'D') unless $want{dataonly};
+       $mc->data('pc92ad', $DXProt::pc92Ain, $DXProt::pc92Din, "PC92 A and D into $main::mycall") unless $want{cfgonly};
+#      $DXProt::pc92A = $DXProt::pc92D = 0;
+
+}
+
 # 
 # do the mrtg thing
 #