Description of problem: When the plugin is run, it fails with syntax error and unexpected end of file. Code is missing from a plugin file. File corruption suspected: plugins/http_loadtime Version-Release number of selected component (if applicable): 2.0.25-2 and 2.0.25-1 How reproducible: Install package and compare the code of the plugin to the git code. Steps to Reproduce: 1. yum install --enablerepo=epel-testing munin-node 2. cat /usr/share/munin/plugins/http_loadtime |wc -l gives 77 lines 3. Actual results: 77 Expected results: https://github.com/munin-monitoring/munin/blob/devel/plugins/node.d/http_loadtime has 110 lines and a different checksum. Additional info: bash-4.1$ munin-run --debug http_loadtime # Processing plugin configuration from /etc/munin/plugin-conf.d/amavis # Processing plugin configuration from /etc/munin/plugin-conf.d/df # Processing plugin configuration from /etc/munin/plugin-conf.d/fw_ # Processing plugin configuration from /etc/munin/plugin-conf.d/hddtemp_smartctl # Processing plugin configuration from /etc/munin/plugin-conf.d/http # Processing plugin configuration from /etc/munin/plugin-conf.d/munin-node # Processing plugin configuration from /etc/munin/plugin-conf.d/postfix # Processing plugin configuration from /etc/munin/plugin-conf.d/sendmail # Setting up environment # Environment target = http://www.hi.is # About to run '/etc/munin/plugins/http_loadtime' /etc/munin/plugins/http_loadtime: line 78: syntax error: unexpected end of file
Sorry! I was a bit too quick on the trigger. There are numerous errors in the original file on the 2.0 version branch. This has nothing to do with the packaging of munin-node. Still this plugin is severely broken. I would like to suggest using the devel branch for this plugin.
Have you tried replacing the 2.1 plugin for the one found in the 2.0 package? does it actually work without additional changes?
Line 45 of /usr/share/munin/plugins/http_loadtime has an 'if' statement that has no ending 'fi' This is what causes it to fail.
the issue (and fix) mentioned in comment #3 exists on EL7 and Fedora 21 as well.
(In reply to d. johnson from comment #2) > Have you tried replacing the 2.1 plugin for the one found in the 2.0 > package? does it actually work without additional changes? Yes, I have replaced the 2.0 version branch with the devel version and it works fine on Red Hat 6 and CentOS 6. The config is very well described in the script, it takes a comma separated list of urls. Munin then shows graphs of loadtime for each url in the list. My config as an example: [http_loadtime] env.target http://www.hi.is/node/2249,http://english.hi.is/node/5020 Hopefully this will help lots of users. Best regards, Anna.
munin-2.0.25-11.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-2cb381df2e
munin-2.0.25-11.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-7461361430
munin-2.0.25-11.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-8a2521ca09
munin-2.0.25-11.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-41976a321c
munin-2.0.25-11.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b515c26e35
munin-2.0.25-11.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-7cdbc3807c
munin-2.0.25-11.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-7cdbc3807c
munin-2.0.25-11.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-7461361430
munin-2.0.25-11.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-8a2521ca09
munin-2.0.25-11.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-41976a321c
munin-2.0.25-11.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b515c26e35
munin-2.0.25-11.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-2cb381df2e
munin-2.0.25-11.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
munin-2.0.25-11.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
munin-2.0.25-11.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
munin-2.0.25-11.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
munin-2.0.25-11.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
munin-2.0.25-11.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.