[Xymon] Xymon mtime (on Windows client)
peter.wain at delwp.vic.gov.au
peter.wain at delwp.vic.gov.au
Mon Dec 18 22:52:48 CET 2017
Hi David
I tried using xymonPSClient but get then same results.
I think the problem is somewhere in the analysis file.
The line I am using is
FILE /bginfo/Junk.txt RED mtime<600
I have also tried
FILE c:/bginfo/Junk.txt RED mtime<600
without success.
Cheers
Peter Wain|Senior Infrastructure Support | Strategy, Capability and
Innovation Division
Forest, Fire and Regions | Department of Environment, Land, Water and
Planning
Level 3, 8 Nicholson Street, East Melbourne VIC 3002
M: 0490 416 756 T:(03)96379645 E: Peter.Wain at delwp.vic.gov.au
From: David Baldwin <david.baldwin at ausport.gov.au>
To: <peter.wain at delwp.vic.gov.au>, <xymon at xymon.com>,
Date: 15/12/2017 11:56 AM
Subject: Re: [Xymon] Xymon mtime (on Windows client)
Peter,
Which client are you running? BBWin or Powershell?
I was just dealing with this issue - I have some files that should be
generated each day and so wanted to check MTIME did not get too old.
Problem was, when the file was generated it appeared to be really old, and
took about 11 hours before the test worked - coincidentally what the local
time zone offset is. Turns out BBWin generates epoch time (seconds since
1/1/1970) with timezone offset applied.
So I switched to using Powershell client on those hosts and problem
solved.
Windows client XymonPSClient has been updated to v2.27. You can download
it here:
https://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/
David.
Hi
I am attempting (without much luck) to get the mtime working. I want an
alert to change to red if the file is older than 10 minutes. The file
resides on a Windows 2012r2 box.
The details are
Server Ubuntu 16.04.3.LTS
Xymon: xymon-4.3.28
Client-local.cfg
[MGTPW0D01W]
FILE:C:/Bginfo/Junk.txt
Analysis.cfg
HOST=MGTPW0D01W
FILE /Bginfo/junk.txt mtime<300 RED
XYMON
The Xymon display page shows the file is older than 10 minutes but does
not update the display.
Any help would be greatly appreciated.
Cheers
Peter
Peter Wain|Senior Infrastructure Support | Strategy, Capability and
Innovation Division
Forest, Fire and Regions | Department of Environment, Land, Water and
Planning
Level 3, 8 Nicholson Street, East Melbourne VIC 3002
M: 0490 416 756 T:(03)96379645 E: Peter.Wain at delwp.vic.gov.au
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
--
David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Digital Information Management and Technology
Australian Sports Commission http://ausport.gov.au
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au 1 Leverrier Street Bruce ACT 2617
Our Values: RESPECT + INTEGRITY + TEAMWORK + EXCELLENCE
Keep up to date with what's happening in Australian sport visit
www.ausport.gov.au
This message is intended for the addressee named and may contain
confidential and privileged information. If you are not the intended
recipient please note that any form of distribution, copying or use of
this communication or the information in it is strictly prohibited and may
be unlawful. If you receive this message in error, please delete it and
notify the sender.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 6081 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 889 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 931 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 985 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 890 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 15109 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment-0005.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2318 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment-0006.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 6081 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment-0007.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 889 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment-0008.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 931 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment-0009.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 985 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment-0010.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 890 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment-0011.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Wain_Peter.vcf
Type: application/octet-stream
Size: 451 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171219/a1ad742d/attachment.obj>
More information about the Xymon
mailing list