Nagios Core 4.3.2 xdata/xodtemplate.c bug
Posted: Thu May 11, 2017 8:44 pm
Upgadeded nagios 4.3.2 tonight and did the normal config check, got the following:
WARNING: The normal_retry_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
Couldn't find a reference to normal_retry_interval in any of my object config files.
From the script (xdata/xodtemplate.c) looks like it's got a typo in the error message?
else if(!strcmp(variable, "retry_interval") || !strcmp(variable, "retry_check_interval")) {
if(!strcmp(variable, "retry_check_interval"))
logit(NSLOG_CONFIG_WARNING, TRUE, "WARNING: The normal_retry_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.\n");
temp_host->retry_interval = strtod(value, NULL);
temp_host->have_retry_interval = TRUE;
I did find retry_check_interval in a couple of my object config files, changed to retry_interval and the script completes clean.
All looks to be working well so pretty sure I got that right. Hopefully this helps someone else. Thanks!
WARNING: The normal_retry_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
Couldn't find a reference to normal_retry_interval in any of my object config files.
From the script (xdata/xodtemplate.c) looks like it's got a typo in the error message?
else if(!strcmp(variable, "retry_interval") || !strcmp(variable, "retry_check_interval")) {
if(!strcmp(variable, "retry_check_interval"))
logit(NSLOG_CONFIG_WARNING, TRUE, "WARNING: The normal_retry_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.\n");
temp_host->retry_interval = strtod(value, NULL);
temp_host->have_retry_interval = TRUE;
I did find retry_check_interval in a couple of my object config files, changed to retry_interval and the script completes clean.
All looks to be working well so pretty sure I got that right. Hopefully this helps someone else. Thanks!