Hi all,
I've got my clients setup for local config and am having problems with some commands in the localclient.cfg files.
I am trying to ignore certain filesystems and have the line "DISK %^/media.*/ IGNORE" setup to ignore any portable hardware. This is identical to the example given in Xymon's man pages, except "oracle" has been changed to "media". However, this doesn't seem to do anything at all, it's as if Xymon is ignoring this configuration option. Other configuration options set in my client's localclient.cfg do work as expected, so it can't be a problem with xymon reading the localclient.cfg file.
Anything to help me figure out what on earth is going on would be greatly appreciated.
Cheers,
Calum
Hi,
For a weird reason, I had to escape the first "/" to have it working. So I recommend to try:
DISK %^\/media.* IGNORE
Le 02/08/2018 à 15:46, Calum Martin a écrit :
Hi all,
I've got my clients setup for local config and am having problems with some commands in the localclient.cfg files.
I am trying to ignore certain filesystems and have the line "DISK %^/media.*/ IGNORE" setup to ignore any portable hardware. This is identical to the example given in Xymon's man pages, except "oracle" has been changed to "media". However, this doesn't seem to do anything at all, it's as if Xymon is ignoring this configuration option. Other configuration options set in my client's localclient.cfg do work as expected, so it can't be a problem with xymon reading the localclient.cfg file.
Anything to help me figure out what on earth is going on would be greatly appreciated.
Cheers,
Calum
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- Cordialement, Damien Martins
Hi All,
Thanks for getting back to me Damien, unfortunately I still have these issues despite following your advice and trying to escape the forward slashes. My problem still persists both when I configure the analysis on the clients or the server.
Is xymon able to log line skips in analysis.cfg due to syntax errors etc? Would the debug option for xymond_client log this?
Cheers, Calum
On 02/08/18 15:27, Damien Martins wrote:
Hi,
For a weird reason, I had to escape the first "/" to have it working. So I recommend to try:
DISK %^\/media.* IGNORE
Le 02/08/2018 à 15:46, Calum Martin a écrit :
Hi all,
I've got my clients setup for local config and am having problems with some commands in the localclient.cfg files.
I am trying to ignore certain filesystems and have the line "DISK %^/media.*/ IGNORE" setup to ignore any portable hardware. This is identical to the example given in Xymon's man pages, except "oracle" has been changed to "media". However, this doesn't seem to do anything at all, it's as if Xymon is ignoring this configuration option. Other configuration options set in my client's localclient.cfg do work as expected, so it can't be a problem with xymon reading the localclient.cfg file.
Anything to help me figure out what on earth is going on would be greatly appreciated.
Cheers,
Calum
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
On Fri, 2018-08-24 at 12:36 +0100, Calum Martin wrote:
Hi All,
Thanks for getting back to me Damien, unfortunately I still have these issues despite following your advice and trying to escape the forward slashes. My problem still persists both when I configure the analysis on the clients or the server.
Hi,
Try putting the entry in double-quotes. For some of our servers we have used:
DISK "%^/run/user/" IGNORE INODE "%^/run/user/" IGNORE
(We ignore these as they are tmpfs.)
So in your case:
DISK "%^/media" IGNORE
and a similar INODE entry if you want to.
John.
-- John Horne | Senior Operations Analyst | Technology and Information Services University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK
[http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>
This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, University of Plymouth accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. University of Plymouth does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form.
participants (3)
-
cdm46@ast.cam.ac.uk
-
damien@makelofine.org
-
john.horne@plymouth.ac.uk