Xymon Mailing List Archive search

usb disk not showing

list Norbert Kriegenburg
Mon, 28 Nov 2022 16:36:36 +0100
Message-Id: <CAF2AMSjFLUM_=user-6e8c081b1c85@xymon.invalid>

Hi Kris,

the disk and inode section are generated by the client script for the OS,
in your case it is the xymonclient-linux,sh (in the client bin dir).
Normally the command there is df -lP -x $EXCLUDES...
This will only use the local filesystems and excludes a lot of non usual fs.
You can just remove the "l" from the df call, or, if this is not enough,
remove the "-x $EXCLUDES" as well (or modify the EXCLUDE generation line)..
You can run the script at the shell manually to immediately see the results.

This has nothing to do with the analysis.cfg file at server side, this only
defines the rules for alerting, but can only use info which is provided by
the client beforehand.

Hope that points you to the right direction.

Norbert

Am Mo., 28. Nov. 2022 um 14:58 Uhr schrieb Kris Springer <
user-c2caa0a7a8d5@xymon.invalid>:
I've recently installed a xymon server on Debian to monitor my home
network, and I'd like the server to also show the status of a USB drive
I have plugged into it.  The drive is listed as /dev/sda and mounted at
/media/user/USB-1TB
It is listed in the xymon client data, but it doesn't show up on the
'disk' or 'inode' columns at all.  I've commented out the default IGNORE
rules from analysis.cfg and even tried adding the following as a host
specific test, but still nothing appears.
DISK /dev/sda 80 90
INODE /dev/sda 80 90

Anyone have a clue they could give me?

--
Kris Springer