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

disk alert counter 설정 #970

Open
wjddja003 opened this issue Nov 2, 2023 · 0 comments
Open

disk alert counter 설정 #970

wjddja003 opened this issue Nov 2, 2023 · 0 comments

Comments

@wjddja003
Copy link

scouter.agent.host내 conf/scouter.conf 에
cpu는 cpu_check_period_ms 라는 key
mem은 mem_alert_interval_ms 라는 key
로 존재하는데 disk에 관련된 설정은 없어서 설정이 불가한 걸로 알고있습니다.
scouter.agent.host/src/main/java/scouter/agent/counter/task/HostPerf.java path 확인 결과
@counter(interval = 3600000)
public void disk(CounterBasket pw) {
Configure conf = Configure.getInstance();
if (conf.disk_alert_enabled == false)
return;

	StringBuffer fatal = new StringBuffer();
	StringBuffer warn = new StringBuffer();

로 인터벌이 하드코딩 되어있어 해당 class 수정하여 다시 반영하려 했으나 환경상 jar 컴파일이 불가한 상황입니다.

disk alert을 300000ms 정도로 설정하고 싶은데 방법이 있을까요?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant