sensu-plugins / sensu-plugins-http

This plugin provides native HTTP instrumentation for monitoring and metrics collection, including: response code, JSON response, HTTP last modified, SSL expiry, and metrics via `curl`.
http://sensu-plugins.io
MIT License
30 stars 97 forks source link

check-http.rb --port doesn't work #174

Open icalvete opened 4 years ago

icalvete commented 4 years ago

What can I say...

root@fserver0001:/# /opt/sensu/embedded/bin/check-http.rb --port 888888888888 -u http://192.168.1.35
CheckHttp OK: 200, 970 bytes

I have a service on port 5004. If I stop this service...

root@fserver0001:/# /opt/sensu/embedded/bin/check-http.rb --port 5004 -u http://192.168.1.35
CheckHttp OK: 200, 970 bytes