2.0.0b3 email notifications missing graphs

Hello there,

I noticed that since the update to 2.0.0b3 (from 1.6.0p18 cre) all email notifications are missing the performance graphs. In WATO they show up just fine. So I created a new instance and there the same error happens.

Formalities first:
CMK version : 2.0.0b3 (CRE)
OS version : Ubuntu 20.04.1 LTS
Error message : ERROR: Failed to decode graphs: Expecting value: line 1 column 1 (char 0)

Description:
On a fresh 2.0.0b3 instance email notifications are created without graphs.
The notification log shows the following error message:

2021-01-12 15:45:35,702 [20] [cmk.base.notify] ----------------------------------------------------------------------
2021-01-12 15:45:35,702 [20] [cmk.base.notify] Got raw notification (cuda009) context with 36 variables
2021-01-12 15:45:35,704 [20] [cmk.base.notify] Global rule 'Notify all contacts of a host/service via HTML email'...
2021-01-12 15:45:35,704 [20] [cmk.base.notify]  -> matches!
2021-01-12 15:45:35,704 [20] [cmk.base.notify]    - adding notification of TSW via mail
2021-01-12 15:45:35,705 [20] [cmk.base.notify] Executing 1 notifications:
2021-01-12 15:45:35,705 [20] [cmk.base.notify]   * notifying TSW via mail, parameters: (no parameters), bulk: no
2021-01-12 15:45:35,705 [20] [cmk.base.notify]      executing /omd/sites/test_2/share/check_mk/notifications/mail
2021-01-12 15:45:37,015 [20] [cmk.base.notify]      Output: ERROR: Failed to decode graphs: Expecting value: line 1 column 1 (char 0)
2021-01-12 15:45:37,015 [20] [cmk.base.notify]      Output: URL: http://localhost:5003/test_2/check_mk/ajax_graph_images.py?host=cuda009&service=_HOST_
2021-01-12 15:45:37,015 [20] [cmk.base.notify]      Output: Data: b'<!DOCTYPE HTML>\n<html><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type" /><link href="themes/modern-dark/images/favicon.ico" rel="shortcut icon" type="image/ico" /><title>Page not found</title><link href="themes/modern-dark/theme-2.0.0b3.css" rel="stylesheet" type="text/css" /><script type="text/javascript" src="js/main_min-2.0.0b3.js"></script></head><body data-theme="modern-dark" class="main"><div id="top_heading"><div class="titlebar"><a href="#" onfocus="if (this.blur) this.blur();" onclick="this.innerHTML=&#x27;Reloading...&#x27;; document.location.reload();" class="title">Page not found</a><div class="breadcrumb"><span>Nowhere</span><a href="javascript:document.location.reload(false)">Page not found</a></div></div><table id="page_menu_bar" class="menubar"><tr><td class="menues"><div id="page_menu_dropdown_display" class="menucontainer"><div id="popup_trigger_menu_display" class="popup_trigger"><a href="javascript:void(0);" target="_self" onclick="cmk.popup_menu.toggle_popup(event, this, &quot;menu_display&quot;, {&quot;type&quot;: &quot;inline&quot;}, null, null, null,  false);" onmouseenter="cmk.popup_menu.switch_popup_menu_group(this, &quot;menu&quot;, null)" onmouseleave="cmk.popup_menu.stop_popup_menu_group_switch(this)" class="popup_trigger"><h2>View</h2></a><div id="menu_display" class="menu less"><div class="topic"><div class="topic_title">General display options</div><div class="entry enabled basic"><a href="ajax_graph_images.py?host=cuda009&amp;service=_HOST_" target="_top"><img src="themes/modern-dark/images/icon_frameurl.svg" class="icon" /><span>This page without navigation</span></a></div><div class="entry enabled basic"><a href="index.py?start_url=ajax_graph_images.py%3Fhost%3Dcuda009%26service%3D_HOST_" target="_top"><img src="themes/modern-dark/images/icon_pageurl.svg" class="icon" /><span>This page with navigation</span></a></div></div></div></div></div><div id="page_menu_dropdown_help" class="menucontainer"><div id="popup_trigger_menu_help" class="popup_trigger"><a href="javascript:void(0);" target="_self" onclick="cmk.popup_menu.toggle_popup(event, this, &quot;menu_help&quot;, {&quot;type&quot;: &quot;inline&quot;}, null, null, null,  false);" onmouseenter="cmk.popup_menu.switch_popup_menu_group(this, &quot;menu&quot;, null)" onmouseleave="cmk.popup_menu.stop_popup_menu_group_switch(this)" class="popup_trigger"><h2>Help</h2></a><div id="menu_help" class="menu less"><div class="topic"><div class="topic_title">Context sensitive help</div><div id="menu_entry_inline_help" class="entry disabled basic"><a href="javascript:void(0)" onclick="cmk.help.toggle();cmk.page_menu.close_active_dropdown();"><img src="themes/modern-dark/images/icon_help.svg" class="icon" /><span>Toggle inline help</span></a></div></div><div class="topic"><div class="topic_title">Articles in the user guide</div><div class="entry enabled basic"><a href="https://checkmk.com/cms_index.html" target="_blank"><img src="themes/modern-dark/images/icon_manual.svg" class="icon" /><span>Checkmk - The official guide</span></a></div></div></div></div></div></td><td class="shortcuts"></td></tr><tr id="suggestions"><td colspan="3"></td></tr></table></div><div id="page_menu_popups"></div><div id="main_page_content"><div class="error">This page was not found. Sorry.</div></div><script type="text/javascript">\ncmk.utils.content_scrollbar("main_page_content")\n\n</script>\n<script type="text/javascript">\ncmk.visibility_detection.initialize();\n</script>\n</body></html>'
2021-01-12 15:45:37,015 [20] [cmk.base.notify]      Output: Spooled mail to local mail transmission agent
2021-01-12 15:46:22,332 [20] [cmk.base.notify] ----------------------------------------------------------------------

So apparently check_mk tries to retrieve the graph from an address that doesn’t exist and obviously the decoder can’t decode the “page not found” message that Apache sends back.
Since this happens in a fresh instance with just one host and one user added, I don’t think, taht I messed up anything in the configuration but I’m open for suggestions :slight_smile:

Hi,

same issue for me. I already wrote an email to the feedback-2.0 address.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact @fayepal if you think this should be re-opened.