Xymon Mailing List Archive search

no reports because of full root disk - workaround

3 messages in this thread

list Christoph Zechner · Fri, 22 Oct 2021 09:47:30 +0200 ·
Hi,

a while ago, we encountered a rather annoying problem: if the root disk of our Linux servers got full between two xymon checks, we were not notified, because xymon was not able to report this, due to to remaining space. It did not matter whether the machine was in xymon local mode or not (we wanted to be sure).

We then found a workaround for this problem:

* creating a ramdisk (10 MB should suffice)
* mount it as /var/lib/xymon/temp (unlike "tmp" originally)
* change the tmp location in xymonclient.cfg
* restart xymon-client

This allows the system to send reports even if the root disk is completely full and there's no need for repartitioning or adding other disks.

Any thoughts about that? Are there any repercussions I did not think about? I'd love to hear your opinions.

Thanks in advance!

Cheers
Christoph
list Henrik Størner · Fri, 22 Oct 2021 09:56:02 +0200 ·
Your Xymon monitor should flag the status as purple, due to missing updates from the client.

Regards,
Henrik

Christoph Zechner skrev den 22-10-2021 09:47:
quoted from Christoph Zechner
Hi,

a while ago, we encountered a rather annoying problem: if the root disk of our Linux servers got full between two xymon checks, we were not notified, because xymon was not able to report this, due to to remaining space. It did not matter whether the machine was in xymon local mode or not (we wanted to be sure).

We then found a workaround for this problem:

* creating a ramdisk (10 MB should suffice)
* mount it as /var/lib/xymon/temp (unlike "tmp" originally)
* change the tmp location in xymonclient.cfg
* restart xymon-client

This allows the system to send reports even if the root disk is completely full and there's no need for repartitioning or adding other disks.

Any thoughts about that? Are there any repercussions I did not think about? I'd love to hear your opinions.

Thanks in advance!

Cheers
Christoph
list Christoph Zechner · Fri, 22 Oct 2021 09:57:44 +0200 ·
Hi,
quoted from Henrik Størner

On 22/10/2021 09:56, Henrik St?rner wrote:
Your Xymon monitor should flag the status as purple, due to missing updates from the client.
Yes, it does, but there are circumstances where we wanted a quicker response and it takes a bit until the purple status kicks in.

Cheers
Christoph
quoted from Henrik Størner
Regards,
Henrik

Christoph Zechner skrev den 22-10-2021 09:47:
Hi,

a while ago, we encountered a rather annoying problem: if the root disk of our Linux servers got full between two xymon checks, we were not notified, because xymon was not able to report this, due to to remaining space. It did not matter whether the machine was in xymon local mode or not (we wanted to be sure).

We?then?found?a?workaround?for?this?problem:

*?creating?a?ramdisk?(10?MB?should?suffice)
*?mount?it?as?/var/lib/xymon/temp?(unlike?"tmp"?originally)
*?change?the?tmp?location?in?xymonclient.cfg
*?restart?xymon-client
quoted from Henrik Størner

This allows the system to send reports even if the root disk is completely full and there's no need for repartitioning or adding other disks.

Any thoughts about that? Are there any repercussions I did not think about? I'd love to hear your opinions.

Thanks?in?advance!

Cheers
Christoph
Xymon?mailing?list
Xymon at xymon.com <