I've been trying to run a python batch file in Solarwinds as 'Execute an External Program' for an alert, this is in hopes for text alerts from GOVnotify to be sent to another team when the windows failover cluster service goes down.
I have followed this links instructions: https://documentation.solarwinds.com/en/success_center/orionplatform/content/core-executing-an-external-program-sw1052.htm , I've tested running the script manually on the server with a specified account which works as I get a text when ran manually, I have made sure the action is approved in the database manager on our Orion server and I've tested trying to run it with an non critical service from the alerts section in solarwinds which also didn't work. Also I've made sure the alert actually shows as an alert in alerts and activity when I manually turn the service off. Any help would be much appreciated
)
Basically I've tried everything I can think of to test and always get stuck at the last step, I've copy and pasted the script below:
----------------
from notifications_python_client.notifications import NotificationsAPIClient
notifications_client = NotificationsAPIClient("solarwinds-a96465c4-5c38-4fa3-987d-db787d5ca3ce-919044c2-085a-44d3-8cda-9b88d26fa08a")
print ("Sending Text...")
response = notifications_client.send_sms_notification(
phone_number='+44...', # required string
template_id='20affd47-862d-489f-9651-e01eb8fa6856', # required UUID string
)
print (response)
print ("done")
-------------

