Open tomsun28 opened 1 year ago
can i work on this issue?
@tomsun28 I tried searching for a fix for this problem, I cant seem to find something. Can you help me a bit?
@tomsun28 I tried searching for a fix for this problem, I cant seem to find something. Can you help me a bit?
@ArslanYM hi, yes i can. This feature need to support a new monitor type - udp port monitoring. I think we should do it in a few steps.
telnet protocol
https://github.com/dromara/hertzbeat/blob/master/common/src/main/java/com/usthe/common/entity/job/protocol/TelnetProtocol.java telnet collect impl
https://github.com/dromara/hertzbeat/blob/master/collector/src/main/java/com/usthe/collector/collect/telnet/TelnetCollectImpl.java telnet monitor type define yml
https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-port.ymlAll done. After this we can test our new monitoring type.
@tomsun28 I tried searching for a fix for this problem, I cant seem to find something. Can you help me a bit?
@ArslanYM hi, yes i can. This feature need to support a new monitor type - udp port monitoring. I think we should do it in a few steps.
- Define a new monitoring protocol - udp protocol. Refer to
telnet protocol
https://github.com/dromara/hertzbeat/blob/master/common/src/main/java/com/usthe/common/entity/job/protocol/TelnetProtocol.java- Implment udp protocol collect code use java udp socket. Refer to
telnet collect impl
https://github.com/dromara/hertzbeat/blob/master/collector/src/main/java/com/usthe/collector/collect/telnet/TelnetCollectImpl.java- Use this protocol to define udp monitor type yml. Refer to
telnet monitor type define yml
https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-port.ymlAll done. After this we can test our new monitoring type.
the links you have provided are vague and dont work :(
sorry, link update
telnet protocol
https://github.com/dromara/hertzbeat/blob/master/common/src/main/java/org/dromara/hertzbeat/common/entity/job/protocol/TelnetProtocol.java telnet collect impl
https://github.com/dromara/hertzbeat/blob/master/collector/src/main/java/org/dromara/hertzbeat/collector/collect/telnet/TelnetCollectImpl.java telnet monitor type define yml
https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-port.yml
- otocol to define udp monitor type yml. Refer to
telnet monitor type define yml
The first two links dont work... Also i think someone with knowledge of this should start working on this. You can unassign me. Sorry for bothering
I want to help
Description
support udp port availability monitoring refer to https://github.com/dromara/hertzbeat/blob/master/manager/src/main/resources/define/app-port.yml
Task List