This repository has been archived by the owner on Oct 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdefault.tex
102 lines (82 loc) · 2.86 KB
/
default.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
% Document class and meta information
\documentclass[11pt]{report}
\title{System maintenance report for %%titleHostname}
\author{satprep toolkit}
% Packages
\usepackage[a4paper,%%orientation margin=1.0in]{geometry}
\usepackage{scrpage2}\pagestyle{scrheadings}
\usepackage{wasysym} % symbols
\usepackage{tabularx}
\usepackage{colortbl}
\usepackage{array}
\usepackage[pdfborder={0 0 0}]{hyperref}
% a more modern way would be:
% \usepackage[hidelinks]{hyperref}
\usepackage{graphicx}
\setlength\extrarowheight{2pt}
% Header, footer and colors
\ihead{System maintenance report for \textbf{%%titleHostname}}
\ohead{\includegraphics[width=3.5cm]{%%logo}}
\ifoot{%%footer}
\ofoot{\thepage}
\definecolor{Gray}{gray}{0.9}
% Create document
\begin{document}
% Meta data table
\section*{}
\begin{tabularx}{\textwidth}{|X|X|X|X|X|X|}
\hline
\multicolumn{6}{|c|}{\cellcolor{Gray}\textbf{System maintenance report}} \\
\hline
\textbf{IP:} & %%ip & \textbf{Date:} & %%date & \textbf{Time from:} & \\
\hline
\textbf{Responsible:} & %%owner & \textbf{Sign:} & & \textbf{Time to:} & \\
\hline
\end{tabularx}
% Meta information and planned tasks table
\section*{}
\begin{tabularx}{\textwidth}{ | X | l | X | l | X | l | X | l | }
\hline
\multicolumn{8}{|c|}{\cellcolor{Gray}\textbf{Meta information and planned tasks}} \\
\hline
Standalone system & %%systemStandalone & Cluster system & %%systemCluster & Update operating system & $\CheckedBox$ & Update application & $\Box$ \\
\hline
Hardware change & $\Box$ & Other tasks (please specify) & \multicolumn{5}{l|}{} \\
\hline
\end{tabularx}
% Task checklist
\section*{}
\begin{tabularx}{\textwidth}{ | X | l | l | X | }
\hline
\multicolumn{4}{|c|}{\cellcolor{Gray}\textbf{Procedure checklist}} \\
\hline
\textbf{Task} & \multicolumn{2}{c|}{\textbf{Success}} & \textbf{Error description/notes} \\
& \textbf{Yes} & \textbf{No} & \\
\cline{2-2}
\cline{2-4}
\hline
Hardware check & $\Box$ & %%hwCheckNo & %%hwCheckNotes \\
Snapshot of virtual machine created & %%vmSnapYes & %%vmSnapNo & %%vmSnapNotes \\
Monitoring disabled & %%monSchedYes & %%monSchedNo & %%monSchedNotes \\
Tasks (see above) realised & $\Box$ & $\Box$ & \\
System rebooted & $\Box$ & %%rebootNo & %%rebootNotes \\
Application up and running & $\Box$ & $\Box$ & \\
Backup services up and running & $\Box$ & %%BackupNo & %%BackupNoNotes \\
Anti-virus services up and running & $\Box$ & %%AntivirNo & %%AntivirNoNotes \\
Cluster test & $\Box$ & %%systemStandalone & %%hintsClusterTest \\
Monitoring enabled & %%monSchedYes & %%monSchedNo & %%monSchedNotes \\
\hline
\end{tabularx}
% Errata table
%%errata
% Additional notes
\section*{}
\begin{tabularx}{\textwidth}{ | X | }
\hline
\cellcolor{Gray}
\textbf{Additional notes (events, tasks, issues)} \\
\hline
\\ \\ \\ \\ \\
\hline
\end{tabularx}
\end{document}