wazuh-kibana-app/public/templates/manager/manager-status.html

133 lines
7.0 KiB
HTML
Raw Normal View History

<md-content flex layout="column" ng-if="!load && submenuNavItem == 'status'" ng-controller="managerStatusController">
2017-06-02 10:07:39 +00:00
<div class='uil-ring-css' ng-show="load"><div></div></div>
2017-11-21 15:26:50 +00:00
<div flex layout="column" ng-show="!load" layout-align="start stretch">
2017-11-21 15:26:50 +00:00
<div class="joinCardsRow" layout="row" layout-align="start stretch">
<md-card flex ng-repeat="(k,v) in daemons">
2017-12-18 16:52:23 +00:00
<md-card-content class="text-center">
2017-11-21 15:26:50 +00:00
<center>
<p ng-class="getDaemonStatusClass(v)" class="round"></p>
<p>{{k}}</p>
</center>
</md-card-content>
</md-card>
2017-12-18 16:52:23 +00:00
</div>
2017-11-27 08:33:20 +00:00
<div layout="row" layout-align="start stretch">
2017-11-21 15:26:50 +00:00
<md-card flex>
2017-12-18 16:52:23 +00:00
<md-card-content class="text-center">
<div class="metric-value ng-binding font-size-19-pt">{{agentsCountTotal}}</div>
2017-11-21 15:26:50 +00:00
<div class="ng-binding">Total agents</div>
</md-card-content>
</md-card>
<md-card flex>
2017-12-18 16:52:23 +00:00
<md-card-content class="text-center">
<div class="metric-value ng-binding font-size-19-pt">{{agentsCountActive}}</div>
2017-11-21 15:26:50 +00:00
<div class="ng-binding">Active</div>
</md-card-content>
</md-card>
<md-card flex>
2017-12-18 16:52:23 +00:00
<md-card-content class="text-center">
<div class="metric-value ng-binding font-size-19-pt">{{agentsCountDisconnected}}</div>
2017-11-21 15:26:50 +00:00
<div class="ng-binding">Disconnected</div>
</md-card-content>
</md-card>
<md-card flex>
2017-12-18 16:52:23 +00:00
<md-card-content class="text-center">
<div class="metric-value ng-binding font-size-19-pt">{{agentsCountNeverConnected}}</div>
2017-11-21 15:26:50 +00:00
<div class="ng-binding">Never connected</div>
</md-card-content>
</md-card>
<md-card flex>
2017-12-18 16:52:23 +00:00
<md-card-content class="text-center">
<div class="metric-value ng-binding font-size-19-pt">{{(agentsCoverity | number:2)}}%</div>
2017-11-21 15:26:50 +00:00
<div class="ng-binding">Agents coverage</div>
</md-card-content>
</md-card>
</div>
2017-12-18 16:52:23 +00:00
2017-11-27 08:33:20 +00:00
<div layout="row" layout-align="start stretch">
2017-11-21 15:26:50 +00:00
<md-card flex="50">
<md-card-content>
<h3 class="wazuh-h3">Manager information</h3>
<div layout="column">
<span layout="row">
<p class="manager-status-subtitle">Version</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{managerInfo.version ? managerInfo.version : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row">
<p class="manager-status-subtitle">Installation date</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{managerInfo.installation_date ? managerInfo.installation_date : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row">
<p class="manager-status-subtitle">Installation path</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{managerInfo.path ? managerInfo.path : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row">
<p class="manager-status-subtitle">Installation type</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{managerInfo.type ? managerInfo.type : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row">
<p class="manager-status-subtitle">Agents limit</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{managerInfo.max_agents ? managerInfo.max_agents : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row">
<p class="manager-status-subtitle">OpenSSL Support</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{managerInfo.openssl_support ? managerInfo.openssl_support : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row">
<p class="manager-status-subtitle">Total rules</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{totalRules ? totalRules : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row">
<p class="manager-status-subtitle">Total decoders</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{totalDecoders ? totalDecoders : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
</div>
</md-card-content>
</md-card>
2017-11-21 15:26:50 +00:00
<md-card flex="50">
<md-card-content>
<h3 class="wazuh-h3">Last registered agent</h3>
<div layout="column" flex>
<span layout="row">
<p class="manager-status-subtitle">Name</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{agentInfo.name ? agentInfo.name : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row">
<p class="manager-status-subtitle">ID</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{agentInfo.id ? agentInfo.id : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row">
<p class="manager-status-subtitle">Status</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{agentInfo.status ? agentInfo.status : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row">
<p class="manager-status-subtitle">IP Address</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{agentInfo.ip ? agentInfo.ip : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row">
<p class="manager-status-subtitle">Date add</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{agentInfo.dateAdd ? agentInfo.dateAdd : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row">
<p class="manager-status-subtitle">Version</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{agentInfo.version ? agentInfo.version : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row" ng-if="agentInfo.id !== '000'">
<p class="manager-status-subtitle">Last keep alive</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{agentInfo.lastKeepAlive ? agentInfo.lastKeepAlive : '-'}}</p>
2017-11-21 15:26:50 +00:00
</span>
<span layout="row">
<p class="manager-status-subtitle">Operating system</p>
2017-12-18 16:52:23 +00:00
<p class="text-right">{{agentInfo.os.name ? agentInfo.os.name + agentInfo.os.version : agentInfo.os.uname ? agentInfo.os.uname : '-'}}</p>
</span>
2017-11-21 15:26:50 +00:00
</div>
</md-card-content>
</md-card>
</div>
</div>
2017-06-02 10:07:39 +00:00
</md-content>