mrzog Trainee

  • Member since Mar 14th 2017
  • Last Activity:
Posts
145
Likes Received
3
Points
858
Profile Hits
143
This forum was archived to /woltlab and is now in read-only mode. Please register a new account on our new community platform.

You can create a thread on the new site and link to an archived thread. This archive is available as knowledge base, safe and secured.

More details here.
  • mrzog

    Post
    Hmm. I'm not sure how to turn the above into Icinga2 syntax.

    I inherited a file: /etc/icinga2/zones.d/global-templates/global-commands.conf in which I'm guessing the config should go.


    object CheckCommand "check_otd_https" {
    import…
  • mrzog

    Post
    The version is not the problem. The problem is, the web server is not really designed to serve web pages. A proprietary http client (not a browser!) connects to this device at port 443.
  • mrzog

    Post
    Telling the binary to be verbose is not going to help. I do not want the http response. I do not want the body. I guess I need to write a wrapper.
  • mrzog

    Thread
    '/usr/lib64/nagios/plugins/check_http' '-C' '15,30' '-I' '11.30.10.14' '-S' '-p' '443'


    SSL OK - Certificate 'localhost' will expire on 2018-12-14 02:20 +0000/UTC. HTTP WARNING: HTTP/1.1 404 Not Found - 226 bytes in 0.155 second response time
  • mrzog

    Thread
    Hey y'all.

    I have an Icinga 1 client host that I'm converting to Icinga 2. This client contains configs for six customers instead of the usual one customer per client.
    (The rest of my Icinga{1,2} farm works on a one-zone-per-endpoint scheme.)
    The…
  • mrzog

    Post
    I needed http_ignore_body = true in my global-services.conf.
    check_http was choking on the html body being returned.

    Case closed.
  • mrzog

    Post
    http_certificate Optional. Minimum number of days a certificate has to be valid. This parameter explicitly sets the port to 443 and ignores the URL if passed.

    I had this directive in my config but was checking the service on port 8443.
  • mrzog

    Post
    NO REAL DATA DISPLAYED HERE.
    Question is, does the webmaster need to do something to make his cert trusted or does "user" refer to the http client?

    (Code, 17 lines)

  • mrzog

    Thread
    Seeing timeouts in my logs and also when I run the command manually.

    '/usr/lib64/nagios/plugins/check_http' '-I' '10.2.22.10' '-S' '-c' '10' '-p' '8443' '-t' '60' '-u' '/index.html' '-v' '-w' '5'


    SSL initialized
    GET /index.html HTTP/1.0
    User-Agent:…