-
Notifications
You must be signed in to change notification settings - Fork 216
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
easeprod start error #163
Comments
as the error message mentioned, you need to configure a notification. try the following configuration http:
- name: test
url: http://xxxx.com
notify:
log:
- name: "log file"
file: "/tmp/easeprobe" |
why test successed, status no value
|
404 considering is good. the default valid status code is [0-499], if you need to customize it you can configure: http:
- name : test
url: http://10.61.101.65:8000
success_code:
- [200,206] # the code >=200 and <= 206
- [300,308] # the code >=300 and <= 308 Please read the readme for more information: |
still status no value
config.yaml
http request
but request url:http://localhost:8181 can find http status code |
for the data.yaml, you need to wait a while... the default is 60s. |
@hongery can you confirm the result of this issue? and do you have any further issues or concerns? |
/opt # easeprobe -f config.yaml
INFO[0000] The data file data/data.yaml, was not found!
INFO[0000] Load the configuration file successfully!
INFO[0000] Successfully created the PID file: /opt/easeprobe.pid
INFO[0000] Application Log File [Stdout] - Self-Rotate
INFO[0000] Web Access Log File [Stdout] - Self-Rotate
INFO[2022-07-05T03:44:22Z] [Web] HTTP server is listening on 0.0.0.0:8181
INFO[2022-07-05T03:44:22Z] Probe [http] - [ElasticSearch] base options are configured!
INFO[2022-07-05T03:44:22Z] [Metric] Counter <EaseProbe_http_total> is created!
INFO[2022-07-05T03:44:22Z] [Metric] Gauge <EaseProbe_http_duration> is created!
INFO[2022-07-05T03:44:22Z] [Metric] Gauge <EaseProbe_http_status> is created!
INFO[2022-07-05T03:44:22Z] [Metric] Gauge <EaseProbe_http_sla> is created!
INFO[2022-07-05T03:44:22Z] [Metric] Counter <EaseProbe_http_status_code> is created!
INFO[2022-07-05T03:44:22Z] [Metric] Gauge <EaseProbe_http_content_len> is created!
INFO[2022-07-05T03:44:22Z] [Metric] Gauge <EaseProbe_http_dns_duration> is created!
INFO[2022-07-05T03:44:22Z] [Metric] Gauge <EaseProbe_http_connect_duration> is created!
INFO[2022-07-05T03:44:22Z] [Metric] Gauge <EaseProbe_http_tls_duration> is created!
INFO[2022-07-05T03:44:22Z] [Metric] Gauge <EaseProbe_http_send_duration> is created!
INFO[2022-07-05T03:44:22Z] [Metric] Gauge <EaseProbe_http_wait_duration> is created!
INFO[2022-07-05T03:44:22Z] [Metric] Gauge <EaseProbe_http_transfer_duration> is created!
INFO[2022-07-05T03:44:22Z] [Metric] Gauge <EaseProbe_http_total_duration> is created!
FATA[2022-07-05T03:44:22Z] No notifies configured, exiting...
config.yaml
The text was updated successfully, but these errors were encountered: