[Xymon] File Monitoring

Jamison Maxwell jamison at newasterisk.com
Tue Jan 10 20:51:33 CET 2012


Ah, thanks so much for the clarification.


Jamison Maxwell

________________________________
From: Larry Barber [lebarber at gmail.com]
Sent: Tuesday, January 10, 2012 2:34 PM
To: Jamison Maxwell
Subject: Re: [Xymon] File Monitoring

No, you can have a per-machine specification in addition to the platform specification:


       The file is divided into sections, delimited by "[name]" lines.  A section name can be either an operating system identifier - linux, solaris,  hp-ux,
       aix,  freebsd,  openbsd,  netbsd,  darwin  - or a hostname. When deciding which section to send to a client, Xymon will first look for a section named
       after the hostname of the client; if such a section does not exist, it will look for a section named by the operating system of the client. So you can
       configure special configurations for individual hosts, and have a default configuration for all other hosts of a certain type.

Thanks,
Larry Barber

On Tue, Jan 10, 2012 at 1:09 PM, Jamison Maxwell <jamison at newasterisk.com<mailto:jamison at newasterisk.com>> wrote:
Oops, mis-typed, and if I only wanted it for one host?  Or is the only option to have all machines of that platform send that data despite it only existing on one system?  I was under the impression that both types of specification, hosts and platforms were available in client-local.cfg.


Jamison Maxwell
p. 770 605 6653<tel:770%20605%206653>
jamison at newasterisk.com<mailto:jamison at newasterisk.com>

________________________________
From: Root, Paul [Paul.Root at CenturyLink.com]
Sent: Tuesday, January 10, 2012 2:08 PM
To: Jamison Maxwell; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: RE: [Xymon] File Monitoring

Well it should be client-local.cfg not client.local.cfg.  and it isn’t a per machine definition, it’s a platform definition. You’d want something like:

[linux]
File:/mnt/fs/test

Paul Root    - Engineer III
Managed Services Systems - CenturyLink


From: xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf Of Jamison Maxwell
Sent: Tuesday, January 10, 2012 12:31 PM
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] File Monitoring

I am trying to monitor a file, this file is located at /mnt/fs/test, however, when I configure it in client-local.cfg and analysis.cfg I still get the "No Files Checked" message with a clear status.  Is there something I'm missing here?

analysis.cfg:
HOST=hostname.domain.com<http://hostname.domain.com>
        FILE /mnt/fs/test SIZE>1 COLOR=red

client.local.cfg:
HOST=hostname.domain.com<http://hostname.domain.com>
        file:/mnt/fs/test

I have other entries, such as LOG configured under this host, and they work fine, but just this file test.

Any help is appreciated,
Jamison Maxwell

________________________________
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.

_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120110/b59471ac/attachment.html>


More information about the Xymon mailing list