Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cisco Meraki] Add warning message productType is not applicable to this network and skip collecting logs in cisco meraki collector #383

Merged

Conversation

imranalisyed506
Copy link
Contributor

Problem Description

Cisco Meraki collector fetch the data from all the networks from his Cisco Meraki organisations . For customers there may be some networks which doesn't have product types selected or asisgned and collector try to fetch the data for the selected product type(["appliance","wireless","switch"), ,hence it returning error as below for few networks.
"productType is not applicable to this network"

Solution Description

To address this, we plan to stop sending error messages for cases where the API returns errors: ["productType is not applicable to this network"], as there is nothing to collect in such scenarios. Consequently, no remediation will be shown in the health console.
Instead, we will log a warning in AWS CloudWatch logs to indicate which networks do not have any product types. This warning will help identify the networks if the customer wants to address them.

@al-cibot
Copy link

CI Service Job Number 1065 Logs - SUCCESS

alps ci job-logs --organization alertlogic --repository paws-collector --job-num 1065 -g

Stages Run:

  • PR Test

…his network and skip collecting logs in cisco meraki collector
@al-cibot
Copy link

CI Service Job Number 1066 Logs - SUCCESS

alps ci job-logs --organization alertlogic --repository paws-collector --job-num 1066 -g

Stages Run:

  • PR Test

@imranalisyed506
Copy link
Contributor Author

build-collector-ciscomeraki

@al-cibot
Copy link

CI Service Job Number 1067 Logs - SUCCESS

alps ci job-logs --organization alertlogic --repository paws-collector --job-num 1067 -g

Stages Run:

  • build-collector-ciscomeraki
  • file_packager_45ecd5

@imranalisyed506 imranalisyed506 merged commit a38df50 into alertlogic:master Dec 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants