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.
Dave
On Wed, Apr 20, 2022 at 3:16 PM <me at tdiehl.org> wrote:
Hi Christian,
On Tue, 19 Apr 2022, Becker Christian wrote:
Tom,
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.
Example:
HOST=WINDOWSSERVER DISK C 85 90 DISK D 55 70
(Pls note that changes like this could take some minutes before they are reflected by xymon.)
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.
I cannot get the above to work.
I have a file in analysis.d with the following in it: HOST=fs1.mydomain.com DISK C 90 95 DISK D 93 95 This was there when the D drive went offline and Xymon never alerted.
To test further, I dropped the warning for the D drive to 78 which is less than the current usage of 79% and I added the below. DISK z 93 95 What I found was the D drive went yellow as expected but the Z drive is ignored as it does not exist.
I am running 4.3.30 from the Terebithia rpms.
Any other suggestions?
Regards,
-- Tom me at tdiehl.org
Regards and good luck! Christian
-----Urspr?ngliche Nachricht----- Von: Xymon <xymon-bounces at xymon.com> Im Auftrag von me at tdiehl.org Gesendet: Donnerstag, 14. April 2022 22:58 An: xymon at xymon.com Betreff: [Xymon] Can Xymon alert for a missing disk on windows?
Hi,
Is there a way to have Xymon alert if a disk is missing on a Windows
server?
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?
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.
My Google foo has not yielded anything useful but I feel like this
should be possible without resorting to Powershell weirdness.
Regards,
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon