<commit_before>{% extends "base.html" %}

{% load humanize %}
{% load cloud_extras %}
						
{% block title %}Server Detail{% endblock %}

{% block extra_css%}
{% endblock %}

{% block extra_js %}
<script>
</script>
{% endblock %}

{% block page_content %}

<div class="col-md-10 col-sm-11 main ">

	<ol class="breadcrumb">
	  	<li><a href="/">Servers</a></li>
	  	<li class="active">{{server|dict_get:"uuid"}}</li>
	</ol>


	<div class="row">
		<div class="col-xs-7">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h2><i class="fa fa-truck"></i>Server Details</h2>
					<div class="panel-actions">
						<a href="#" class="btn-setting"><i class="fa fa-wrench"></i></a>
						<a href="#" class="btn-minimize"><i class="fa fa-chevron-up"></i></a>
						<a href="#" class="btn-close"><i class="fa fa-times"></i></a>
					</div>
				</div>

				<div class="panel-body">
					
					<table id="user" class="table table-bordered table-striped" style="clear: both">
						<tbody> 
							<tr>         
								<td width="40%">Name</td>
								<td width="60%">{{server|dict_get:"uuid"}}</td>
							</tr>
							<tr>         
								<td>IP Address</td>
								<td><a href="http://www.infosniper.net/index.php?ip_address={{server|dict_get:"ip"}}&map_source=1&overview_map=1&lang=1&map_type=1&zoom_level=7" target="_blank">{{server|dict_get:"ip"}}</td>
							</tr>
							
							
							
							<tr>
								<td>Status</td>
								<td>{{server_status}}</td>
							</tr>
							
							<tr>
								<td>Uptime</td>
								<td>{{server|dict_get:"uptime"}}</td>
							</tr>
							
							
							
							<tr>
								<td>Agent Version</td>
								<td>agent-v{{server|dict_get:"agent_version"}}</td>
							</tr>
							<tr>
								<td>CPUs</td>
								<td>{{server|dict_get:"cpu_info"|count_list}}</td>
							</tr>
							<tr>
								<td>CPU info</td>
								<td>{{server|dict_get:"cpu_info"|dict_get:"cpu0"|dict_get:"model_name"}}</td>
							</tr>
							<tr>         
								<td>CPU Virtualization</td>
								<td>{{server|dict_get:"cpu_virtualization"}}</td>
							</tr>
							<tr>
								<td>Memory Size</td>
								<td>{{server|dict_get:"memory_usage"|dict_get:"memory_total"|to_mb}} MB</td>
							</tr>

							<tr>
								<td>Load Average</td>
								<td>{{server|dict_get:"loadavg"}}</td>
							</tr>
							
						</tbody>
					</table>	
                </div>
			</div>
		</div>
		
		<div class="col-xs-5">
			<div class="panel panel-default">
				<div class="panel-heading"><commit_msg>decomissioned agent version field from the server detail<commit_after>{% extends "base.html" %}

{% load humanize %}
{% load cloud_extras %}
						
{% block title %}Server Detail{% endblock %}

{% block extra_css%}
{% endblock %}

{% block extra_js %}
<script>
</script>
{% endblock %}

{% block page_content %}

<div class="col-md-10 col-sm-11 main ">

	<ol class="breadcrumb">
	  	<li><a href="/">Servers</a></li>
	  	<li class="active">{{server|dict_get:"uuid"}}</li>
	</ol>


	<div class="row">
		<div class="col-xs-7">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h2><i class="fa fa-truck"></i>Server Details</h2>
					<div class="panel-actions">
						<a href="#" class="btn-setting"><i class="fa fa-wrench"></i></a>
						<a href="#" class="btn-minimize"><i class="fa fa-chevron-up"></i></a>
						<a href="#" class="btn-close"><i class="fa fa-times"></i></a>
					</div>
				</div>

				<div class="panel-body">
					
					<table id="user" class="table table-bordered table-striped" style="clear: both">
						<tbody> 
							<tr>         
								<td width="40%">Name</td>
								<td width="60%">{{server|dict_get:"uuid"}}</td>
							</tr>
							<tr>         
								<td>IP Address</td>
								<td><a href="http://www.infosniper.net/index.php?ip_address={{server|dict_get:"ip"}}&map_source=1&overview_map=1&lang=1&map_type=1&zoom_level=7" target="_blank">{{server|dict_get:"ip"}}</td>
							</tr>
							
							
							
							<tr>
								<td>Status</td>
								<td>{{server_status}}</td>
							</tr>
							
							<tr>
								<td>Uptime</td>
								<td>{{server|dict_get:"uptime"}}</td>
							</tr>
							
							<tr>
								<td>CPUs</td>
								<td>{{server|dict_get:"cpu_info"|count_list}}</td>
							</tr>
							<tr>
								<td>CPU info</td>
								<td>{{server|dict_get:"cpu_info"|dict_get:"cpu0"|dict_get:"model_name"}}</td>
							</tr>
							<tr>         
								<td>CPU Virtualization</td>
								<td>{{server|dict_get:"cpu_virtualization"}}</td>
							</tr>
							<tr>
								<td>Memory Size</td>
								<td>{{server|dict_get:"memory_usage"|dict_get:"memory_total"|to_mb}} MB</td>
							</tr>

							<tr>
								<td>Load Average</td>
								<td>{{server|dict_get:"loadavg"}}</td>
							</tr>
							
						</tbody>
					</table>	
                </div>
			</div>
		</div>
		
		<div class="col-xs-5">
			<div class="panel panel-default">
				<div class="panel-heading">
{'fraction_non_alphanumeric': 0.21767889356584486, 'fraction_numerical': 0.0072158749248346366, 'mean_word_length': 2.346747149564051, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 0, '>': 209, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2240989', 'n_tokens_mistral': 2653, 'n_tokens_neox': 1793, 'n_words': 277}