Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've configured monit tests and alerts — but I want to make sure that everything in my alert stack (outgoing email servers, sms email gateways…) is functioning properly. Is there a handy way to fire off a dummy test alert?

share|improve this question
add comment

1 Answer

up vote 9 down vote accepted

I usually restart a trivial service (like ntp) that I'm monitoring in order to test the alerts.

I did find this suggestion in the mailing list archives...

It's a way to leverage the alert reminder functionality in Monit to ensure that the alert path is functioning properly. Basically, a periodic reminder. Tune the cycle to your liking and you'll be able to control the testing time.

  check file alerttest with path /.nonexistent
    alert address@hidden with reminder on 500 cycles
share|improve this answer
    
A dead man's switch, nice! –  John Bachir Nov 7 '11 at 23:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.