PowerCLI

  • 1.  Custom NFS Disconnect Alarm

    Posted Dec 04, 2024 11:39 AM

    Hi...hopefully in the right community

    Is there a way to create a critical alarm with SMTP alerting for this type of NFS disconnect entry\event from the vobd.log?

    [vob.vmfs.nfs.server.disconnect] Lost connection to the server


  • 2.  RE: Custom NFS Disconnect Alarm

    Posted Dec 07, 2024 03:54 AM

    VMware has built-in alarms for datastore connectivity issues.
    You can configure these alarms in vSphere to notify you via email when a datastore gets disconnected.

    In the vSphere Client, go to "Monitor" > "Alarms" for the host or datastore.
    Create or modify an alarm with these settings:
    Trigger: Datastore connection state changes to "disconnected".
    Action: Send an email alert (SMTP must be configured in vCenter).

    This won't directly monitor the vobd.log, but it will catch similar disconnect events that the hypervisor tracks.