Integrating Xymon Monitor with
Send Text and SMS Messages from Xymon Monitor
PageGate can be integrated with Xymon Monitor by having Xymon's alerting system use a script to pass messages to PageGate's GetASCII API.
Since Xymon is a linux/unix based program and PageGate is a Windows based program, you will need to install PageGate on a Windows based system and create a shared directory that both Xymon and PageGate have read, write and modify access to.
Next, you'll need to configure PageGate's GetASCII API to monitor the shared directory:
1) Open the PageGate Admin.
2) Go to Interfaces - GetAscii - Settings.
3) Set the 'Polling Directory' to the shared directory that Xymon will output data to.
4) Check Enabled.
5) Click Apply.
5a) If prompted, you do want to enable this for all existing groups and recipients.
Then you'll need to configure Xymon to pass the alerts to PageGate.
For basic information about Xymon's scripting, have a look at their documentation here:
There are a few things we'll need to modify to configure the script to pass to GetAscii.
First, we'll need to change the name of the script being run from smsalert to sendpage. To do that, you'll want to change this segment from this:
Next, we'll want to set the following as contents of the "sendpage" file, which would need to be made executable:
printf "$RCPT\nFromXymon\n$BBALPHAMSG" > /path-to-windows-share/message.asc
After making those changes, Xymon should now be able to output alerts to PageGate for delivery as SMS.