<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi folks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m currently building a new Xymon server and I’m going from Centos 5 running Xymon 4.3.4 to RHEL 8 running Xymon 4.3.30-1. I’ve also switched to using the Terabithia RPM’s and I’ve gone from the old sourceforge Devmon to the new Github
 devmon. So all in all, quite a bit of change . <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve had to do quite a lot of changing of paths in config files and scripts due to the different layout when using Terabithia but I’m happy I’ve made all those changes correctly.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However, when trying to run devmon using “./devmon --readbbhosts -vvvvv” I’m getting an error of
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#4472C4">[22-09-29@10:41:50] Unable to open file '/etc/xymon/hosts.cfg' (No such file or directory)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4">Exiting subroutine via next at /opt/devmon/modules/dm_config.pm line 1548 (#1)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4">    (W exiting) You are exiting a subroutine by unconventional means, such<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4">    as a goto, or a loop control statement.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4">Label not found for "next FILEREAD" at /opt/devmon/modules/dm_config.pm line<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4">        1548 (#2)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4">    (F) You named a loop to continue, but you're not currently in a loop of<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4">    that name, not even if you count where you were called from.  See<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4">    "last" in perlfunc.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4">Uncaught exception from user code:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4">        Label not found for "next FILEREAD" at /opt/devmon/modules/dm_config.pm line 1548.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4">        dm_config::read_hosts_cfg() called at /opt/devmon/modules/dm_config.pm line 575<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#4472C4">        dm_config::initialize("0.22.06") called at ./devmon line 27</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve checked permissions on /etc/xymon/hosts.cfg and it’s 666 (probably only needs to be 644 but I made it 666 to try and solve this)
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The only thing I can think of is that I’ve only got 1 entry in the hosts.cfg file and that’s an include for the /etc/xymon/hosts.d directory but that does seem to be being read by devmon as it lists all the checks it’s doing before the
 error.  (EG “Checking if     # testip matches NET:.” ) <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Has anyone seen this kind of error before and have any idea about how I might fix it?
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:navy;mso-fareast-language:EN-GB">Thanks,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:navy;mso-fareast-language:EN-GB">Neil Simmonds.
</span><span style="mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
Studio is a trading name of Studio Retail Ltd which is authorised and regulated by the Financial Conduct Authority for consumer credit and general insurance. Studio Retail Ltd are members of the Finance and Leasing Association (FLA). Registered in England.
 No: 718151. Registered Office: Church Bridge House, Henry Street, Accrington, BB5 4EE NOTE: This email and any information contained within or attached in a separate file is confidential and intended solely for the Individual to whom it is addressed. The information
 or data included is solely for the purpose indicated or previously agreed. Any information or data included with this e-mail remains the property of Studio Retail Ltd and the recipient will refrain from utilising the information for any purpose other than
 that indicated and upon request will destroy the information and remove it from their records. Any views or opinions presented are solely those of the author and do not necessarily represent those of Studio Retail Ltd. If you are not the intended recipient,
 be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. No warranties or assurances are made in relation to the safety and content of this e-mail and any
 attachments. No liability is accepted for any consequences arising from it. Studio Retail Ltd reserves the right to monitor all e-mail communications through its internal and external networks. If you have received this email in error, please notify our careline
 on +44(0) 371 200 0378.
</body>
</html>