[Xymon] Can Xymon alert for a missing disk on windows

Timothy Williams tlwilliams4 at vcu.edu
Thu Apr 28 20:47:51 CEST 2022


First, make sure the xymonclient_config.xml contains the
line <clientremotecfgexec>1</clientremotecfgexec> to tell the script to get
the remote config file from Xymon server.

*Tim Williams*

Windows Server
*Operating Systems Analyst*

On Thu, Apr 28, 2022 at 1:54 PM <me at tdiehl.org> wrote:

> Hi,
>
> Resending this as I sent it from the wrong address and figured it would get
> moderated.
>
> Sorry for the duplicate message.
>
>
> On Wed, 20 Apr 2022, David Boyer wrote:
>
> > 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.
>
> That sounds like a great idea, however I cannot for the life of me get
> Xymon
> to see any files. The msgs column just stays clear.
>
> I have added the following to client-local.cfg:
> [host=fs1.mydomain.com]
> file:D:\Canary_DO_NOT_Delete.txt
>
> as well as "FILE D:\Canary_DO_NOT_Delete.txt" to analysis.cfg file.
>
> I also see the following in the powershell client log:
> 2022-04-28 12:57:38.030  Connecting to host XX.XX.XX.178
> 2022-04-28 12:57:38.061  Sent 112 bytes to server
> 2022-04-28 12:57:38.265  Received 0 bytes from server
> 2022-04-28 12:57:38.265  XymonProcessRuntimeCheck finished
>
> Based on the above it looks like the Xymon server is not sending the
> client-local
> data to the client. Is there something I need to do to get Xymon to send
> the
> client-local data to the client or am I missing something else?
>
> Regards,
>
> --
> Tom                     me at tdiehl.org
>
> >
> > 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
> >>
> >_______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20220428/30e0f18e/attachment.htm>


More information about the Xymon mailing list