Testing alert recipients

I know about the test-alert.php function for immediately causing an alert to be sent but is there a way to test alerts for a host that doesn’t actually require doing something to put it in an alerting state? I’m starting to get requests from various users/groups to have separate notification emails sent to them and would like to show them that “yes you will get the email” without having to “break” the host in question.

Yes, you can go to the device and settings Capture.
image

then alerts this will run the alert rules to see if you have a match.

also, you could go the global settings and then email and click test transport.

you could also do alert testing with different rules and use the transports.

https://docs.librenms.org/#Alerting/Testing/#transports

You could also reverse the test in the alert. Let’s say you’re testing for a CPU over 90%, you could test for it being over 10% instead - you’re just moving the goal post of the alert to verify it triggers.

1 Like