Skip to content

Commit

Permalink
Merge pull request #1177 from wazuh/3.8.1-exclude-000-monitoring
Browse files Browse the repository at this point in the history
Excluding managers from wazuh-monitoring indices
  • Loading branch information
Jesús Ángel authored Jan 24, 2019
2 parents 065ebe5 + c88aa24 commit 724eda6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions server/monitoring.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ export class Monitoring {

const payload = {
offset: 0,
limit: 500
limit: 500,
q: 'id!=000'
};

this.agentsArray = await ApiHelper.fetchAllAgents(
Expand All @@ -159,7 +160,7 @@ export class Monitoring {
payload,
options
);

await this.saveStatus(api.clusterName);

return;
Expand All @@ -182,7 +183,8 @@ export class Monitoring {
try {
const payload = {
offset: 0,
limit: 1
limit: 1,
q: 'id!=000'
};

const options = ApiHelper.buildOptionsObject(api);
Expand Down

0 comments on commit 724eda6

Please sign in to comment.