AWS Elastic Beanstalk: Scaling Trigger CPUUnitilization - amazon-elastic-beanstalk

I'd like to change the AWS Elastic Beanstalk Scaling Trigger. I did the following:
Go to "AWS Management Console"
Click "Actions" -> "Edit Configuration"
Click "Auto Scaling" tab
I change the "Trigger Measurement" to "CPUUtulization."
I'd like to set "CPUUtilization > 60%"
But I couldn't find any text field to fill the 60%.
I'm developing the Beanstalk using Eclipse.
Thanks in advance for your help.

I just need to scroll down.
http://aws.amazon.com/documentation/autoscaling/ documents the parameters.

Related

Zabbix 6 Remote command not available

I am unable to get the remote command option on zabbix 6 for some reason any ideas?Operation description
if anyone can assist me i have worked through all the user manuals and they don't mention something about requirements on this drop down.
In version 6, commands are available for execution if previously defined in global scripts with Action operation selected as its scope.
In the previous versions, you just needed to select "remote command" as "operation type".
See https://www.zabbix.com/documentation/current/en/manual/config/notifications/action/operation#configuring-an-operation
Zabbix support came back with the answer on this and this is what you need to do.
Please be advised that In Zabbix 6.0 to use Scripts in Operations step you need to create such Scripts in Administration - Scripts section in Zabbix Frontend and set
Scope to Action operation:
enter image description here
Then this Script will be available in your Operations steps:enter image description here
So basically there is a seprate section to go and create your scripts and assign them to the action you want to take.

Magento2 Integration with Klaviyo "Sorry, something went wrong. Please try again later." issue

I use Magento2 ver. 2.4.2
Steps to reproduce:
I Login in Magento2 with admin credentials.
In Magento2 administration, Stores -> Configuration -> Klaviyo is properly set, and I see the Klaviyo lists there in the dropdown list.
When I go to Magento administration, System -> Integrations and click "Add new integration",
I set name, my e-mail,
I set Callback url: https://www.klaviyo.com/integration-oauth-one/magento-two/auth/confirm?c=XXXXXXX
I set Identity link URL: https://www.klaviyo.com/integration-oauth-one/magento-two/auth/handle
I set my Magento2 admin pass
Go to API tab and in Resource Access dropdown list I set "All", and
Click "Save", it is being saved, with note that the data are saved, but the new user is not created, because the old one is overwritten and updated.
Expected result:
When I go to Magento2 in System -> Integrations and click on "Activate", I expect activated integration, so that I can finish integration in Klaviyo.
Actual result:
When I go to Magento2 in System -> Integrations and click on "Activate", I get the window with note "The integration you selected asks you to approve access to the following:" and all the selected resources are listed. I click on "Allow" window and I get "Sorry, something went wrong. Please try again later.".
When I go to see the integration, what I see is that "Consumer Key" and "Consumer Secret" fields are filled, but "Access Token" and "Access Token Secret" are empty.
What am I doing wrong?
This is a known bug in the core of Magento, see: https://github.com/magento/magento2/issues/32542
It should already be fixed with the following pull request https://github.com/magento/magento2/pull/32095 but I believe it's currently not in a release version. But ou should be able to create a patch from this PR.
It's also possible to create an 'ugly' fix in de vendor directory by applying the changes from this answer https://magento.stackexchange.com/a/339413/45764 (this is not recommended)

Add AzureDevOps Search as Chrome/Chromium 'Other search engine'

I want to add Azure DevOps Search to Chrome (or other Chromium) browsers so I can do quick code searches from the browser.
I got it working to search all repositories, but I want to also be able to add a specific "Search engine" for a specific repository.
What's the Query URL to search a specific repository in Azure DevOps?
WHAT I HAVE SO FAR:
I've added a new "Other search engines":
Search engine: Azure DevOps (all)
Keyword: code
Url: https://dev.azure.com/skykick/SkyKick%201/_search?action=contents&text=%s&type=code
And that works:
In address bar, type code and press tab:
Search for test
Press enter - be taken to Azure DevOps code results
What's the URL format to include a specific Repository in my search results?
So I have a Repository SkyKick.Example - I'd like to be able to create an additional "Other search engine" that will search just that repoistory.
I looked at the Network tab looking for what url the app uses, and I tried this configuration:
Search engine: Azure DevOps (SkyKick.Example)
Keyword: example
Url: https://dev.azure.com/skykick/SkyKick%201/_search?action=contents
&text=%s
&type=code
&lp=code-Project
&filters=ProjectFilters%7BSkyKick%201%7DRepositoryFilters%7BSkyKick.Example%7D
&pageSize=25
&__rt=fps
&__ver=2
But this doesn't load a page, just a wall of text.
Cool idea! This works for me for scoping it to just a repository
https://dev.azure.com/COLLECTION-NAME/_search?action=contents
&text=%s
&type=code
&lp=code-Project
&filters=ProjectFilters%7Besmith.dev%7DRepositoryFilters%7Besmith.dev%7D
&pageSize=25
&result=?

How to disable logs for whole cluster in gce

Could it be possible for already created (Yarn/Hadoop) cluster to disable logging for all servers inside ?
I can't find anything like it. Is there anything in Dataproc or Compute Engine which can help me to disable the logs ?
One easy way would be to create an exclusion in Stackdriver Logging that would prevent logs from that cluster from being ingested into Stackdriver.
You can create a resuorce based exclusion in Stacdriver - select a DataProc cluster you want and it will stop collecting any logs - hence bill you for that.
Go to Logs Ingestion page, select Exclusions and click blue button "create exclusion".
As a resource type select "Cloud Dataproc Cluster" > your_cluster_name > All cluster_uuid as shown below. Also - select "no limit" for time frame.
Fill the "Name" field on the right and again click blue button "Create Exlusion".
You can create up to 50 exclusion queries in StackDriver.
With little help and suggestion from Google support, there is complete solution to skip logging for whole yarn/hadoop cluster.
That can be possible only when create new cluster from dataproc either by google cloud page or console.
Property which should to be set in cluster properties filed:
dataproc:dataproc.logging.stackdriver.enable to be false
More info at: https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/cluster-properties
If you create cluster through console you can referral https://cloud.google.com/sdk/gcloud/reference/dataproc/clusters/create#--properties and to use command like:
gcloud.cmd --properties 'dataproc:dataproc.logging.stackdriver.enable=false'

Clearcase plugin with hudson ci server

We are using base clear case with dynamic views on Linux.
In our environment some custom script is responsible, so ct mkview is not working.
I need either
- provide to Hudson plugin a custom script for creating a view
- tell to plugin to reuse existing view, w/o calling to ct mkview
I did not find any of these options.
Can you help me?
Here are my current settings:
Thank you
As I have detailed in "Hudson integration with UCM ClearCase", you can use an existing dynamic view, even if it is non-UCM.
You need to click on "Advanced Options" to access to that part.
That being said, make sure the user associated with the Hudson session is registered in the right groups (primary or secondary groups of the Vobs that account needs to access) in order to be able to read (even checkout) files in said Vobs.
Turns out the OP did have the right Hudson ClearCase plugin, did access the "Advanced Options" part, but:
"Use dynamic view" option
and the "Let Hudson manage the view lifecycle".
That second option isn't needed when you have a dynamic view already created (outside of Hudson), and if you want that view to be reused as is.