<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 13/03/16 17:41, Jason Brockdorf via
Xymon wrote:<br>
</div>
<blockquote cite="mid:mailman.28.1457851280.716.xymon@xymon.com"
type="cite">
<div id="yui_3_16_0_1_1457737557649_39508"><span>Well, I figured
it out.</span></div>
<div id="yui_3_16_0_1_1457737557649_39507"><span><br>
</span></div>
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39506"><span
id="yui_3_16_0_1_1457737557649_39505">I uninstalled and
reinstalled xymon server to see if using all stock would help
and it didn't. All I added back into hosts.cfg was ONLY the
IPs and hostnames with no page definitions.</span></div>
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39488"><span><br>
</span></div>
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39522"><span
id="yui_3_16_0_1_1457737557649_39521">It was then either one
of two things that I noticed (I didn't wait long enough
between doing both of them to know which one fixed it...)</span></div>
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39523"><span><br>
</span></div>
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39524"><span
id="yui_3_16_0_1_1457737557649_39530">First: I commented out
the default </span>#directory<span class="" style="white-space:pre-wrap;" id="yui_3_16_0_1_1457737557649_39533"> </span>/etc/xymon/hosts.d
line (because I noticed everything above was working and
everything below was not) and then I noticed something else
while waiting for it to update:</div>
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39524"><br>
</div>
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39524">In my
history.log there was a bunch of lines: 2016-03-13
00:15:10.061160 Cannot create
/var/lib/xymon/histlogs/someservername/cpu: File exists
(someservername was one of the offenders)</div>
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39524"><br>
</div>
</blockquote>
Well, this was certainly one of the problems...<br>
<br>
<blockquote cite="mid:mailman.28.1457851280.716.xymon@xymon.com"
type="cite">
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39524">So I went and
deleted everything in /var/lib/xymon/histlogs</div>
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39524"><br>
After that everything magically started to appear on the main
page. I believe it was deleting the directories in histlogs
that fixed it because they didn't all come back at once, they
came back a few at a time (just as my winscp was deleting the
directories serially instead of all at once) but that could be
the client updates were coming in at different times as well
*shrug*.</div>
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39524"><br>
</div>
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39524">I'm sure it
was something I did wrong but it was extremely frustrating to
say the least. Perhaps Xymon could try to append (is that
appropriate for those files?) in such a situation instead of
just logging an error and giving up?</div>
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39524"><br>
</div>
</blockquote>
The problem is that it was a file, and it should be a directory.
Xymon doesn't delete the file (because it might contain valuable
information), but it needs a directory to store it's information in
multiple files. So the best it can do is log a message to "alert"
you.<br>
<br>
<blockquote cite="mid:mailman.28.1457851280.716.xymon@xymon.com"
type="cite">
<div dir="ltr" id="yui_3_16_0_1_1457737557649_39524">Thanks for
all your help everyone that tried.</div>
</blockquote>
<br>
Glad it is working for you now.<br>
<br>
Regards,<br>
Adam<br>
<div class="moz-signature">-- <br>
Adam Goryachev
Website Managers
<a class="moz-txt-link-abbreviated" href="http://www.websitemanagers.com.au">www.websitemanagers.com.au</a></div>
</body>
</html>