Trigger Google Monitor Alert via local script

Is there a way I could trigger a Google Monitor alert from a script that runs on a Compute Engine VM?

1 Like

Hello @tacoma50 ,Welcome on Google Cloud Community.

Most probably yes, by using custom metrics. Any specific reason for such config?

–
cheers,
DamianS
LinkedIn medium.com Cloudskillsboost Sessionize Youtube

Hi
I have a local file on a VM that I want to monitor for 3 things: it’s age, size and contents.