Config file for Rent-a-car example - 7.0

Talend ESB System Management Integration User Guide

EnrichVersion
7.0
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Administration and Monitoring
Installation and Upgrade
EnrichPlatform
Talend ESB

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.