Hi, I am using Custom Object Variables to put additional information into my check definitions. However, it does seem that Icinga does not handle the case of unset COVs ungracefully.
For example, given the following definitions: define command{ command_name check_http_cust_hostname command_line /usr/lib/nagios/plugins/check_http -H '$_HOSTHTTP_HOST_NAME$' -I '$HOSTADDRESS$' } define service { hostgroup_name http service_description http servicegroups http check_command check_http_cust_hostname } when I add a host to the http service group that does not have _http_host_name set, I silently end up with http requests with the host name header set to the verbatim string $_HOSTHTTP_HOST_NAME$. I would prefer to get a warning. How do I handle this gracefully? Is there anything Icinga could do for me in this case? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users