Steps to Use Xymon Monitor with PageGate
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:
http://xymon.sourceforge.net/xymon/help/xymon-alerts.html#scripts
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:
SCRIPT /usr/local/bin/smsalert
to this:
SCRIPT /usr/local/bin/sendpage
Next, we'll want to set the following as contents of the "sendpage" file, which would need to be made executable:
#!/bin/sh
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.
NotePage, Inc.
PO Box 296
Hanover, MA 02339