Skip to content
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

tomcat services: investigate frequency of state checks vs alb checks. Are the ALB's hitting the correct endpoint? #2057

Open
terrywbrady opened this issue Oct 9, 2024 · 2 comments
Assignees

Comments

@terrywbrady
Copy link
Contributor

No description provided.

@ashleygould
Copy link
Contributor

HealthCheckEnabled: true
HealthCheckIntervalSeconds: 30
HealthCheckPath: /hostname


agould@uc3-aws2023-ops:~/git/github/cdlib/ias-nagios-objects> elb-tg-show uc3-mrt-ingest-prd-tg2
HealthCheckEnabled: true
HealthCheckIntervalSeconds: 30
HealthCheckPath: /state

agould@uc3-aws2023-ops:~/git/github/cdlib/ias-nagios-objects> elb-tg-show uc3-mrtinventory-prd-tg
HealthCheckEnabled: true
HealthCheckIntervalSeconds: 30
HealthCheckPath: /state?t=xml

agould@uc3-aws2023-ops:~/git/github/cdlib/ias-nagios-objects> elb-tg-show uc3-mrt-store-prd-tg
HealthCheckEnabled: true
HealthCheckIntervalSeconds: 60
HealthCheckPath: /hostname
HealthCheckPort: traffic-port
HealthCheckProtocol: HTTP
HealthCheckTimeoutSeconds: 10

@ashleygould
Copy link
Contributor

Nagios:

defaults:
normal check interval: 10 min
retry check interval: 1 min
max check attempts: 3

define service {
        service_description             uc3-mrt-access-prd_hostname_7x16
        use                             CDL-ias-7x16
        hostgroup_name                  uc3-mrt-access-prd-vms
        check_command                   cdl-check-http-full-expect!35121!"/hostname"!""!"HTTP/1.1 200"
}

define service {
        service_description             uc3-mrt-audit-prd_state_7x16
        use                             CDL-ias-7x16
        hostgroup_name                  uc3-mrt-audit-prd-vms
        check_command                   cdl-check-http-full-expect!37001!"/state"!""!"HTTP/1.1 200"
}
define service {
        service_description             uc3-mrt-ingest-prd_state_7x16
        use                             CDL-ias-7x16
        hostgroup_name                  uc3-mrt-ingest-prd-vms
        check_command                   cdl-check-http-full-expect!33121!"/state"!""!"HTTP/1.1 200"
}
define service {
        service_description             uc3-mrt-inventory-prd_state_7x16
        use                             CDL-ias-7x16
        hostgroup_name                  uc3-mrt-inventory-prd-vms
        check_command                   cdl-check-http-full-expect!36121!"/state?t=xml"!""!"HTTP/1.1 200"
}
define service {
        service_description             uc3-mrt-replic-prd_state_7x16
        use                             CDL-ias-7x16
        hostgroup_name                  uc3-mrt-replic-prd-vms
        check_command                   CDL-check-http-full-expect-extra-long!38001!"/state"!""!"HTTP/1.1 200"
}

define service {
        service_description             uc3-mrt-store-prd_hostname_7x16
        use                             CDL-ias-7x16
        hostgroup_name                  uc3-mrt-store-prd-vms
        check_command                   cdl-check-http-full-expect!35121!"/hostname"!""!"HTTP/1.1 200"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants