BarcodeTapeDriveStatusReturn CodeCleaning TypeExpiredUsage Count". "
"; $fileOnly = "/tmp/CleaningLog.csv"; $format = "1"; } else if( $_REQUEST['logFile'] == "shposlog" ) { $logFileLabel = "Library Slot Position Log"; $logFileToShow = "/home/embedded/library/CoreService/dat/SlotPositionLog.csv"; $hiddenFileValue = "shposlog"; $headerString = "Date Time, SlotType, Present, Location, X, Y, Angle, X offset, Y Offset"; $headerStringHTM = "Date TimeSlotTypePresentLocationXYAngleX offsetY Offset\n" . "
"; $fileOnly = "/tmp/SlotPositionLog.csv"; $format = "1"; } else if( $_REQUEST['logFile'] == "rasTicketsLog" ) { @report_ras_tickets(); $logFileLabel = "Library RAS Tickets Log"; $logFileToShow = "/tmp/RASticketReports.log"; $hiddenFileValue = "rasTicketsLog"; $format = "2"; // Only put in the Table stuff so IE does not wrap } else if( $_REQUEST['logFile'] == "mediaSecurityLog" ) { $logFileLabel = "Library Media Security Log"; $logFileToShow = "/home/embedded/library/CoreService/dat/MediaSecurityEventLog.csv"; $hiddenFileValue = "mediaSecurityLog"; $headerString = "Date Time, Barcode, Type, Slot Location, Slottype, Partition, Library"; $headerStringHTM = "Date TimeBarcodeTypeSlot LocationSlot TypePartitionLibrary\n" . "
"; $fileOnly = "/tmp/MediaSecurityEventLog.csv"; $format = "1"; } else if( $_REQUEST['logFile'] == "SKMImportLog" ) { // 06/12/2009 12:07:18, ERROR, EKA00E09E09E2C3000008, 001122L4, CRC Check Failed $logFileLabel = "SKM Encryption Key Import Warning Log"; $logFileToShow = "/home/embedded/library/CoreService/dat/SKMImportLog"; $hiddenFileValue = "SKMImportLog"; $headerString = "Date Time, Severity, Encryption Key Identifier, Barcode, Description"; $headerStringHTM = "Date TimeSeverityEncryption Key IdentifierBarcodeDescription\n" . "
"; $fileOnly = "/tmp/SKMImportLog.csv"; $format = "1"; } else if( $_REQUEST['logFile'] == "mediaUsageLog" ) { // Time stamp Volser, SN, Mfr, Mfr Date, Type, Mounts, RRE, URE, RWE, UWE, LW, LR, Enc // 06/12/2009 12:07:18, 000047L4, 022AD03490, FUJUFILM, 20090615, L5, 1, 2, 3, 4, 5, 6, 7, U /*########################################################################################## # Media Cartridge Barcode Label,(Volser) # Media Cartridge Serial Number, (SN) # Media Cartridge Manufacturer, (Mfr) # Media Cartridge Manufacturing Date (in the form of YYYYMMDD), (Date) # Media Type (L1, L2, L3 L4, L5, LR, LS, LT, LU, LV), (Type) # Cartridge Mount Count, (Mounts) # Recovered Read Errors, (RRE) # Unrecovered Read Errors, (URE) # Recovered Write Errors, (RWE) # Unrecovered Write Errors, (UWE) # Cartridge Life Time MB Written, (LW) # Cartridge Life Time MB Read, (LR) # Cartridge Encryption Status (U=Unknown, E=Encrypted, N=Not Encrypted), (Enc) [R20] #########################################################################################*/ $logFileLabel = "Library Media Usage Log"; $logFileToShow = "/home/embedded/library/CoreService/dat/MediaUsageLog.csv"; $hiddenFileValue = "mediaUsageLog"; $headerString = "Time Stamp, Volser, SN, Mfr, Mfr Date, Type, Mounts, RRE, URE, RWE, UWE, LW, LR, Enc"; $headerStringHTM = "Time StampVolserSNMfrMfr DateTypeMounts" . "RREURERWEUWELWLREnc\n" . "
"; $fileOnly = "/tmp/MediaUsageLog.csv"; $format = "1"; } else if( $_REQUEST['logFile'] == "csrFile" ) { $logFileLabel = "Certificate Signing Request"; $logFileToShow = "/tmp/CSR.pem"; $hiddenFileValue = "csrFile"; $errorText = "Note: You first need to create the CSR."; } else { $logFileLabel = "NO FILE SELECTED"; } } ?>