I am attempting to trigger an analytics event using AnalyticsEventTriggerViaLibrary and not having any luck.

I have created the event within the Management Client, and associated an alarm with it. When I manually test the event within the Management Client, the alarm is raised and shows up in the Smart Client. When I attempt to trigger the same event via the sample code, nothing happens. I was sure to put the correct name in. I suspect it is a firewall issue, but I have disabled the firewall on the management server’s host OS and that is the only firewall I have the ability to check. The Management Server is using the default Analytics port of 9090.

Since posting this I have attempted running the AnalyticsEventTriggerViaLibrary.exe locally on management server itself, and it IS able to trigger the event and alarm as expected, which seems to confirm my suspicion that it’s a firewall issue. Before I involve my network team on this, I’d like to be able to change the port that the event is being sent on, and am unable to find that in the code anywhere.

Okay I’ve solved my own issue. The management server was behind a VPN, when I moved it to another network location I was able to send analytics events without issue.