[Xymon] /var/core/ files

Nick Pettefar Nick at Pettefar.com
Thu Aug 8 17:12:13 CEST 2013


Thanks Martin, I'll give that a try.

Regards,

Nick Pettefar


On 8 August 2013 16:06, Ward, Martin <Martin.Ward at colt.net> wrote:

>  Hi Nick,****
>
> ** **
>
> In the analysis.cfg file you can test for the existence or otherwise of a
> file or files. The section from the man page is:****
>
> ** **
>
> ----****
>
>      FILE filename [color] [things to check] [TRACK]****
>
> ** **
>
>      DIR  directoryname  [color]  [size<MAXSIZE]   [size>MINSIZE]****
>
>      [TRACK]****
>
> ** **
>
>      These entries control the status of the "files" column. They****
>
>      allow  you  to  check  on  various data for files and direc-****
>
>      tories.****
>
> ** **
>
>      filename and directoryname are  names  of  files  or  direc-****
>
>      tories,  with  a full path. You can use a regular expression****
>
>      to match the names of files and directories reported by  the****
>
>      client, if you prefix the expression with a '%' character.****
>
> ----****
>
> Since you want the non-existance of a core file to be green you could
> create an entry like this:****
>
> ** **
>
> HOST=*****
>
>   FILE=/var/core/* red noexist****
>
> ** **
>
> Which should report the FILE column as green if nothing exists in
> /var/core and red if anything appears.****
>
> ** **
>
> I haven’t tried this so you may need to poke at it a little, but hopefully
> it will give you a starting point.****
>
> ** **
>
> |\/|****
>
> ** **
>
> *From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Nick
> Pettefar
> *Sent:* 08 August 2013 15:44
> *To:* xymon
> *Subject:* [Xymon] /var/core/ files****
>
> ** **
>
> Is there a way to be alerted if any core files are created in /var/core/
> (Solaris 10)?  Just the presence of any core* file is sufficient.
> ****
>
>
> Regards,
>
> Nick Pettefar****
>   [Colt Disclaimer] This email is from an entity of the Colt group of
> companies. Colt Group S.A., K2 Building, Forte 1, 2a rue Albert Borschette,
> L-1246 Luxembourg, R.C.S. B115679. Corporate and contact information for
> our entities can be found at
> http://colt.net/uk/en/Colt-Group-of-Companies/index.htm. Internet
> communications are not secure and Colt does not accept responsibility for
> the accurate transmission of this message. Content of this email or its
> attachments is not legally or contractually binding unless expressly
> previously agreed in writing by Colt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130808/56f61f87/attachment.html>


More information about the Xymon mailing list