Search Head is showing the following errors every time a search is executed.
sendmodalert - Invoking modular alert action=sendmn for search " app="search" type="saved"ERROR sendmodalert - Error in 'sendalert' command: Alert action "sendmn" not found.ERROR SearchScheduler - Error in 'sendalert' command: Alert action "sendmn" not found., search='sendalert sendmn
splunk btool savedsearches list --debug to find which saved searches are configured with action.sendmn = 1. This will help pinpoint the specific alert(s) causing the error.alert_actions.conf for "sendmn" Definition:
splunk btool alert_actions list --debug to inspect the merged alert_actions.conf configuration. Look for a stanza named [sendmn].[sendmn] is missing, it confirms that the alert action's definition is not available to Splunk.is_custom = 1 is set and that the path to the script (if it's a custom script) is correct and accessible.$SPLUNK_HOME/etc/apps/<app_name>/default/alert_actions.conf or $SPLUNK_HOME/etc/apps/<app_name>/local/alert_actions.conf.alert_actions.conf file containing the [sendmn] stanza is in the correct app directory and that Splunk has the necessary read permissions.bin directory of the app (e.g., $SPLUNK_HOME/etc/apps/<app_name>/bin/) and have execute permissions.splunkd.log for additional errors related to sendmodalert or sendalert that might provide more context, such as issues with script execution or file access.Use btool to troubleshoot configurations
action.sendmn = 1 from Saved Searches:
savedsearches.conf file(s) and remove or comment out the action.sendmn = 1 entry for the affected alerts.savedsearches.conf to reference the correct action name.alert_actions.conf:
alert_actions.conf file.alert_actions.conf file in the local directory of the app where the alert action should reside (e.g., $SPLUNK_HOME/etc/apps/<app_name>/local/alert_actions.conf).
[sendmn]
is_custom = 1
label = Send MN Notification
description = Sends a notification to the MN system.
command = <path_to_script>/sendmn_script.py
command attribute points to the actual script that the alert action should execute.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |