The FileMaker Server (FMS) monitor works by connecting to a mail transfer server and optionally checking for the existence of a specified mail account.
When you select "FileMaker Server (FMS)" from the Service Type pop-up menu, the following sheet will appear:
Note: This checker is only for use with FileMaker Server. If you're using FileMaker Pro as a server, use the FileMaker Pro (FMP) service type.
Tip: FileMaker Server will also respond to a FileMaker Pro (FMP) monitor. You can use that instead of, or in addition to, a FileMaker Server (FMS) monitor.
This checker works by running the "fmsadmin" shell command to communicate with the server. You must have the FileMaker Server Admin package installed on the computer to use this command. This package is automatically installed with FileMaker Server, or can be installed separately from the FileMaker Server CD.
To use this checker, you must configure FileMaker Server to allow remote administration. To do this, open the "FileMaker Server Admin" application and connect to your server. Click the "Configure" icon, and select the "Administration" tab. Then check the "Allow remote users to administer FileMaker Server" box.
The optional "Send username" and "Send password" fields can be used as needed, depending on how you've set up your administration security in the same "Administration" tab as above.
You can use the "Result should contain" field to check the result of the "fmsadmin" command for any desired string. You can use this, for example, to verify that a desired database is being served.
Tip: You can run the "fmsadmin list files" command using the Mac OS X Terminal to see what the result normally looks like. For more information, see the FileMaker Server documentation.
The FileMaker Server (FMS) monitor runs the "fmsadmin" shell command to communicate to the server. The exact command it sends is as follows:
fmsadmin -i <ip address> [-u <user>] [-p <password>] list files
The username and password options are only included if they are checked in the monitor's settings.
The monitor then checks the result of the command for the "Result should contain" string. If the specified string is found, the test is successful.
If the fmsadmin command is not installed on the computer, the test will fail with a "command not found" error.
If an error code is returned when attempting to run the fmsadmin command, the test will fail with an error.
If the fmsadmin command is not able to communicate with the server, the test will fail with a "server not found" error.
If the result does not contain the specified string, the test will fail with an "incorrect contents" error.
If the command does not complete, the test will fail with a timeout error.