Re: [monit] Monit: Testing Alert path

I'd like to be able to exercise the alert e-mail function ad hoc,
not just when a trigger is fired off in a monit job config.

I'm a relative neophyte here, so this might be wrong, but how about
just adding a stanza that tests for the presence of a test file.
Then your command line trigger is "rm testfile". Would that work for
you?

That's essentially what I'm doing now.

However, it's kind of dirty (having an extra job running just for
that), and I'm looking at putting together some sort of automation
testing/verification that alert messages are able to get through.
Using something to externally test the alert system once per day and
if no alert arrives, then something in the alert path is broken.

-dave

--

"The only contributions France has given to popular culture in the
last 50 years is Gerard Depardieu and that horny skunk." --SNL