-
I've been working on #144 and came across an interesting piece of implementation in the let priority_app = apps
.iter()
.find(|(x, _)| x == &format!("hog@{hostname}"))
.or_else(|| {
apps.iter()
.find(|(x, _)| x == &format!("piglet@{hostname}"))
})
.or_else(|| {
apps.iter()
.find(|(x, _)| x == &format!("crusher@{hostname}"))
}); I noticed that the agents |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
안녕하세요, @msk 다만 tis프로젝트로 구현하고 오랜만에 보는 것 이기에 놓치는 점이 있을 수도 있습니다. @syncpark 추가 확인 부탁드립니다. 감사합니다. |
Beta Was this translation helpful? Give feedback.
-
In some project, there are servers that REview must monitor it's status but our softwares are not installed.
We came to the conclusion that we could monitor all servers with just Crusher, Piglet, and Hog. |
Beta Was this translation helpful? Give feedback.
In some project, there are servers that REview must monitor it's status but our softwares are not installed.
We thought
Hog
without input event (i.e., dummy hog) can take that role.That's why the
Hog
have the highest priority.REconverge
can not be used to collect process list, because it does not maintain it's connection to REview continuously.Giganto
can not do that either, because Giganto does not have QUIC connection to REview andCrusher or dummy Hog
can do that role instead ofGiganto
.We came to the conclusion that we could monitor all servers with just Crusher, Piglet, and Hog.
Considering the load of above 3 programs, the order of Hog, Crusher, and Piglet is best.