<!--
This file is part of Linode Manager Classic.

Linode Manager Classic is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Linode Manager Classic is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Linode Manager Classic.  If not, see <https://www.gnu.org/licenses/>.
-->
<!DOCTYPE HTML>
<html lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>LMC - Settings</title>
		<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
		<link rel="stylesheet" type="text/css" href="settings.css" />
		<script src="settings.js" type="module"></script>
	</head>
	<body>
		<!--#include virtual="/include/header.html"-->
		<!--#include virtual="/include/linode_subnav.html"-->
		<div id="main-content" class="wrapper">
			<div id="top-links"><a href="/linodes">Linodes</a> » <span id="linode-tag"><a id="linode-tag-link" href=""></a> » </span><a id="linode-label" href="/linodes/dashboard?lid=0"></a> » <span class="top-links-title">Settings</span></div>
			<div id="settings">
				<p id="lassie-saved" class="saved-message">Lassie setting saved.</p>
				<p id="alerts-saved" class="saved-message">Alert settings saved.</p>
				<table class="lmc-table">
					<thead>
						<tr>
							<td colspan="3">Settings</td>
						</tr>
						<tr>
							<td colspan="3">Display Settings</td>
						</tr>
					</thead>
					<tbody>
						<tr class="lmc-tr3">
							<td>Linode Label</td>
							<td><input id="label" type="text" /></td>
							<td class="info">Rename your Linode</td>
						</tr>
						<tr class="lmc-tr3">
							<td>Tags</td>
							<td><input id="tags" type="text" /> (comma-separated)</td>
							<td class="info">Group Linodes together on the Linodes tab using tags!</td>
						</tr>
						<tr class="lmc-tr3">
							<td></td>
							<td colspan="2"><button disabled id="save-display" type="button">Save Changes</button></td>
						</tr>
					</tbody>
					<tbody class="lmc-tbody-head">
						<tr class="noshow">
							<td colspan="3"></td>
						</tr>
						<tr>
							<td colspan="3">Shutdown Watchdog</td>
						</tr>
					</tbody>
					<tbody>
						<tr class="lmc-tr3">
							<td>Description</td>
							<td colspan="2">
								Lassie is a Shutdown Watchdog that monitors your Linode and will reboot it if it powers off unexpectedly. It works by issuing a boot job when your Linode powers off without a shutdown job being responsible.<br />
								<span class="info">To prevent a boot loop, Lassie will give up if there have been more than 5 boot jobs issued within 15 minutes.</span>
							</td>
						</tr>
						<tr class="lmc-tr3">
							<td>Lassie is currently</td>
							<td>
								<select id="lassie">
									<option value="enabled">Enabled</option>
									<option value="disabled">Disabled</option>
								</select>
							</td>
							<td></td>
						</tr>
						<tr class="lmc-tr3">
							<td></td>
							<td colspan="2"><button disabled id="save-lassie" type="button">Save Changes</button></td>
						</tr>
					</tbody>
					<tbody class="lmc-tbody-head">
						<tr class="noshow">
							<td colspan="3"></td>
						</tr>
						<tr>
							<td colspan="3">Email Alert Thresholds</td>
						</tr>
					</tbody>
					<tbody>
						<tr class="lmc-tr3">
							<td>Description</td>
							<td colspan="2">
								When an alert threshold is reached, an email is sent to all users that have "read" permissions on this Linode.<br />
								<span class="info">Thresholds are compared to values once per hour, 15 minutes after the hour.</span>
							</td>
						</tr>
						<tr class="lmc-tr3">
							<td>CPU Usage</td>
							<td><label for="cpu-enabled">Enabled</label><input id="cpu-enabled" type="checkbox" /> | <input id="cpu-value" type="number" min="0" /> %</td>
							<td class="info">Average CPU usage over 2 hours exceeding this value triggers this alert.</td>
						</tr>
						<tr class="lmc-tr3">
							<td>Disk IO Rate</td>
							<td><label for="io-enabled">Enabled</label><input id="io-enabled" type="checkbox" /> | <input id="io-value" type="number" min="0" /> IO Ops/sec</td>
							<td class="info">Average Disk IO ops/sec over 2 hours exceeding this value triggers this alert.</td>
						</tr>
						<tr class="lmc-tr3">
							<td>Incoming Traffic</td>
							<td><label for="incoming-enabled">Enabled</label><input id="incoming-enabled" type="checkbox" /> | <input id="incoming-value" type="number" min="0" /> Mbit/s</td>
							<td class="info">Average incoming traffic over a 2 hour period exceeding this value triggers this alert.</td>
						</tr>
						<tr class="lmc-tr3">
							<td>Outbound Traffic</td>
							<td><label for="outbound-enabled">Enabled</label><input id="outbound-enabled" type="checkbox" /> | <input id="outbound-value" type="number" min="0" /> Mbit/s</td>
							<td class="info">Average outbound traffic over a 2 hour period exceeding this value triggers this alert.</td>
						</tr>
						<tr class="lmc-tr3">
							<td>Transfer Quota</td>
							<td><label for="transfer-enabled">Enabled</label><input id="transfer-enabled" type="checkbox" /> | <input id="transfer-value" type="number" min="0" max="100" /> %</td>
							<td class="info">Percentage of network transfer quota used being greater than this value will trigger this alert.</td>
						</tr>
						<tr class="lmc-tr3">
							<td></td>
							<td colspan="2"><button disabled id="save-alerts" type="button">Save Changes</button></td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
	</body>
</html>