Config file for Rent-a-car example - 8.0

Talend ESB System Management Integration User Guide

Version
8.0
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Administration and Monitoring
Installation and Upgrade
Last publication date
2024-02-06

As a further example, here is the new_host.cfg file for the Rent-a-Car basic example (the host definitions are the same as the cxf_host.cfg file and have been omitted):

define service {
    use                   generic-service
    service_description   TESB_RAC_CRMService
    display_name          TESB_RAC_CRMService
    check_interval        1
    host_name             tesb_cxf
    check_command         check_jmx4perl_cxf!EndpointState!CRMServiceProvid
er!{http://services.talend.org/CRMService}CRMServiceProvider

    }

define service {
    use                   generic-service
    service_description   TESB_RAC_ReservationService
    display_name          TESB_RAC_CRMService
    check_interval        1
    host_name             tesb_cxf
    check_command         check_jmx4perl_cxf!EndpointState!ReservationServi
ceProvider!{http://services.talend.org/ReservationService}ReservationServic
eProvider

    }

 define service {
    use                   generic-service
    service_description   ReservationService_ANY_FAULTS
    display_name          ReservationService_ANY_FAULTS
    check_interval        1
    host_name             tesb_cxf
    check_command         check_jmx4perl_cxf!AnyFaults!ReservationServicePr
ovider!{http://services.talend.org/ReservationService}ReservationServicePro
vider

    }

You can run the example, add new_host.cfg to the nagios.cfg as before, restart Nagios, and view the metrics.