<div dir="ltr"><div>Try setting it up for a file to exist on the drive.  If the drive goes offline, the file will become non-existent and should alert.</div><div><br></div><div>Dave<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 20, 2022 at 3:16 PM <<a href="mailto:me@tdiehl.org">me@tdiehl.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Christian,<br>
<br>
On Tue, 19 Apr 2022, Becker Christian wrote:<br>
<br>
> Tom,<br>
><br>
><br>
> the following should do it for you: try to include the disks of the mentioned windows server in analysis.cfg with the needed options, even if they already show up in the disk section.<br>
><br>
> Example:<br>
><br>
> HOST=WINDOWSSERVER<br>
>       DISK   C   85   90<br>
>       DISK   D   55   70<br>
><br>
> (Pls note that changes like this could take some minutes before they are reflected by xymon.)<br>
><br>
> Now xymon knows that you explicitly want to know about these disks. You can verify this if you add a disk in this section that doesn't exist on the windows server: after a couple of minutes, xymon should report this disk as red in the disk section.<br>
<br>
I cannot get the above to work.<br>
<br>
I have a file in analysis.d with the following in it:<br>
HOST=<a href="http://fs1.mydomain.com" rel="noreferrer" target="_blank">fs1.mydomain.com</a><br>
     DISK C 90 95<br>
     DISK D 93 95<br>
This was there when the D drive went offline and Xymon never alerted.<br>
<br>
To test further, I dropped the warning for the D drive to 78 which is less than<br>
the current usage of 79% and I added the below.<br>
     DISK z 93 95<br>
What I found was the D drive went yellow as expected but the Z drive is ignored<br>
as it does not exist.<br>
<br>
I am running 4.3.30 from the Terebithia rpms.<br>
<br>
Any other suggestions?<br>
<br>
Regards,<br>
<br>
-- <br>
Tom                     <a href="mailto:me@tdiehl.org" target="_blank">me@tdiehl.org</a><br>
<br>
><br>
><br>
> Regards and good luck!<br>
> Christian<br>
><br>
><br>
> -----Ursprüngliche Nachricht-----<br>
> Von: Xymon <<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>> Im Auftrag von <a href="mailto:me@tdiehl.org" target="_blank">me@tdiehl.org</a><br>
> Gesendet: Donnerstag, 14. April 2022 22:58<br>
> An: <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
> Betreff: [Xymon] Can Xymon alert for a missing disk on windows?<br>
><br>
> Hi,<br>
><br>
> Is there a way to have Xymon alert if a disk is missing on a Windows server?<br>
><br>
> I have the win_ps_client installed on them and I see the disks listed in the client data. Is it possible to configure Xymon to alert is one of those disks is missing?<br>
><br>
> We had a server that one of the disks went off line after updates were installed and the machine was rebooted (Thanks Microsoft). Xymon was happy but the users were not.<br>
><br>
> My Google foo has not yielded anything useful but I feel like this should be possible without resorting to Powershell weirdness.<br>
><br>
> Regards,<br>
><br>
>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>