mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 18:28:55 +00:00
122 lines
6.7 KiB
HTML
122 lines
6.7 KiB
HTML
<md-content flex layout="column" ng-if="!load && submenuNavItem == 'status'" ng-controller="managerStatusController">
|
|
<div class='uil-ring-css' ng-show="load">
|
|
<div></div>
|
|
</div>
|
|
|
|
<div flex layout="column" ng-show="!load" layout-align="start stretch">
|
|
|
|
<div class="joinCardsRow" layout="row" layout-align="start stretch">
|
|
<md-card flex ng-repeat="(k,v) in daemons" class="wz-md-card">
|
|
<md-card-content class="text-center">
|
|
<center>
|
|
<p ng-class="getDaemonStatusClass(v)" class="round"></p>
|
|
<p class="wz-padding-top-10">{{k}}</p>
|
|
</center>
|
|
</md-card-content>
|
|
</md-card>
|
|
</div>
|
|
|
|
<div layout="row">
|
|
<md-card flex class="wz-metric-color wz-md-card">
|
|
<md-card-content layout="row" class="wz-padding-metric">
|
|
<div flex>Total agents:
|
|
<span class="wz-font-weight-bold">{{agentsCountTotal}}</span>
|
|
</div>
|
|
<div flex>Active:
|
|
<span class="wz-font-weight-bold">{{agentsCountActive}}</span>
|
|
</div>
|
|
<div flex>Disconnected:
|
|
<span class="wz-font-weight-bold">{{agentsCountDisconnected}}</span>
|
|
</div>
|
|
<div flex>Never connected:
|
|
<span class="wz-font-weight-bold">{{agentsCountNeverConnected}}</span>
|
|
</div>
|
|
<div flex>Agents coverage:
|
|
<span class="wz-font-weight-bold">{{(agentsCoverity | number:2)}}%</span>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
</div>
|
|
|
|
<div layout="row" layout-align="start stretch">
|
|
<md-card flex="50" class="wz-md-card">
|
|
<md-card-content>
|
|
<span class="wz-headline-title">Manager information</span>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Version</span>
|
|
<span flex class="text-right color-grey">{{managerInfo.version ? managerInfo.version : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Compilation date</span>
|
|
<span flex class="text-right color-grey">{{managerInfo.compilation_date ? managerInfo.compilation_date : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Installation path</span>
|
|
<span flex class="text-right color-grey">{{managerInfo.path ? managerInfo.path : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Installation type</span>
|
|
<span flex class="text-right color-grey">{{managerInfo.type ? managerInfo.type : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Agents limit</span>
|
|
<span flex class="text-right color-grey">{{managerInfo.max_agents ? managerInfo.max_agents : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>OpenSSL Support</span>
|
|
<span flex class="text-right color-grey">{{managerInfo.openssl_support ? managerInfo.openssl_support : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Total rules</span>
|
|
<span flex class="text-right color-grey">{{totalRules ? totalRules : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Total decoders</span>
|
|
<span flex class="text-right color-grey">{{totalDecoders ? totalDecoders : '-'}}</span>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
|
|
<md-card flex="50" class="wz-md-card">
|
|
<md-card-content>
|
|
<span class="wz-headline-title">Last registered agent</span>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Name</span>
|
|
<span flex class="text-right color-grey">{{agentInfo.name ? agentInfo.name : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>ID</span>
|
|
<span flex class="text-right color-grey">{{agentInfo.id ? agentInfo.id : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Status</span>
|
|
<span flex class="text-right color-grey">{{agentInfo.status ? agentInfo.status : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>IP Address</span>
|
|
<span flex class="text-right color-grey">{{agentInfo.ip ? agentInfo.ip : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Date add</span>
|
|
<span flex class="text-right color-grey">{{agentInfo.dateAdd ? agentInfo.dateAdd : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Version</span>
|
|
<span flex class="text-right color-grey">{{agentInfo.version ? agentInfo.version : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10" ng-if="agentInfo.id !== '000'">
|
|
<span flex>Last keep alive</span>
|
|
<span flex class="text-right color-grey">{{agentInfo.lastKeepAlive ? agentInfo.lastKeepAlive : '-'}}</span>
|
|
</div>
|
|
<div layout="row" class="wz-padding-top-10">
|
|
<span flex>Operating system</span>
|
|
<span flex class="text-right color-grey">{{agentInfo.os.name ? agentInfo.os.name + agentInfo.os.version : agentInfo.os.uname ? agentInfo.os.uname
|
|
: '-'}}</span>
|
|
</div>
|
|
</md-card-content>
|
|
</md-card>
|
|
</div>
|
|
</div>
|
|
</md-content> |