<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">All,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">think i have to apologize….. you’re right, my idea doesn’t work.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Dave’s solution works, just tested.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Nevertheless it’s a bit foolish that powershell client cannot report „non present“ disks that have been present…..<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Greetings<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Christian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:35.4pt"><b>Von:</b> David Boyer <davieb@gmail.com>
<br>
<b>Gesendet:</b> Mittwoch, 20. April 2022 22:04<br>
<b>An:</b> me@tdiehl.org<br>
<b>Cc:</b> Becker Christian <christian.becker@rhein-zeitung.net>; xymon@xymon.com<br>
<b>Betreff:</b> Re: [Xymon] Can Xymon alert for a missing disk on windows<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Dave<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">On Wed, Apr 20, 2022 at 3:16 PM <<a href="mailto:me@tdiehl.org">me@tdiehl.org</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal" style="margin-left:35.4pt">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="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Ffs1.mydomain.com%2F&data=05%7C01%7Cchristian.becker%40rhein-zeitung.net%7C092c7bea6e264e986aed08da2308f62f%7C4fed923898bc4f3b96450b99f4d1b669%7C0%7C1%7C637860818648835197%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Gf2KKsYhPP%2Bw2q8s7gkv%2BGl8sfubFhzPNSbMKYlTmlM%3D&reserved=0" 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="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.xymon.com%2Fmailman%2Flistinfo%2Fxymon&data=05%7C01%7Cchristian.becker%40rhein-zeitung.net%7C092c7bea6e264e986aed08da2308f62f%7C4fed923898bc4f3b96450b99f4d1b669%7C0%7C1%7C637860818648835197%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WYXOPT57L%2Bkfsedoos3Jh98VJxurCn%2B2Xz9Thg7kXvI%3D&reserved=0" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>