Let me see, this should be enough i think:<br><br>define host {<br>        host_name       X<br>        alias   X<br>        address X<br>        check_period    24x7<br>        check_command   check-host-alive<br>        contact_groups  <br>
        notification_period     24x7<br>        initial_state   o<br>        check_interval  15.000000<br>        retry_interval  5.000000<br>        max_check_attempts      3<br>        active_checks_enabled   1<br>        passive_checks_enabled  0<br>
        obsess_over_host        1<br>        event_handler_enabled   0<br>        low_flap_threshold      0.000000<br>        high_flap_threshold     0.000000<br>        flap_detection_enabled  1<br>        flap_detection_options  o,d,u<br>
        freshness_threshold     0<br>        check_freshness 0<br>        notification_options    d,r<br>        notifications_enabled   1<br>        notification_interval   60.000000<br>        first_notification_delay        60.000000<br>
        stalking_options        n<br>        process_perf_data       1<br>        failure_prediction_enabled      1<br>        notes_url       <br>        retain_status_information       1<br>        retain_nonstatus_information    1<br>
        _REQUESTOR<br>        _CRM_SERVICES   "AOS$\$01"<br>        }<br><br>define service {<br>        host_name       X<br>        service_description     X<br>        check_period    24x7<br>        check_command   check_nrpe_parameters!CheckServiceState!ShowAll=long $_HOSTCRM_SERVICES<br>
        contact_groups  <br>        notification_period     24x7<br>        initial_state   o<br>        check_interval  1.000000<br>        retry_interval  5.000000<br>        max_check_attempts      2<br>        is_volatile     0<br>
        parallelize_check       1<br>        active_checks_enabled   1<br>        passive_checks_enabled  0<br>        obsess_over_service     0<br>        event_handler_enabled   0<br>        low_flap_threshold      0.000000<br>
        high_flap_threshold     0.000000<br>        flap_detection_enabled  1<br>        flap_detection_options  o,w,u,c<br>        freshness_threshold     0<br>        check_freshness 0<br>        notification_options    c,r<br>
        notifications_enabled   1<br>        notification_interval   60.000000<br>        first_notification_delay        10.000000<br>        stalking_options        n<br>        process_perf_data       0<br>        failure_prediction_enabled      1<br>
        notes   <br>        retain_status_information       1<br>        retain_nonstatus_information    1<br>        }<br><br>The problem for me it seems is when nagios is parsing the data just before it is going to execute the command. It is no problem executes check_nrpe with ah backslash (\) as the escape char. But the problem for me is what escape char do i use in custom macros?<br>
<br>Best regards,<br><br>Tore<br><br><div class="gmail_quote">2009/6/23 Ton Voon <span dir="ltr"><<a href="mailto:ton.voon@opsera.com">ton.voon@opsera.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
<br>
On 23 Jun 2009, at 10:12, Tore Lønøy wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I just recently upgraded to the latest version, and now my escaping of '$' is broken.<br>
<br>
Before it was \$, but what is it now?<br>
</blockquote>
<br></div>
Can you give a snippet of the configuration that is broken? Plus the appropriate parts of /usr/local/nagios/var/objects.cache<br>
<br>
As much real detail as possible will be good, though I understand you could have sensitive data there.<br><font color="#888888">
<br>
Ton<br>
<br>
</font></blockquote></div><br>