Frequently Asked Questions¶
What are the differences between the user levels?¶
There are 2 user levels available: regular user and administrator.
- Manage servers.
- Manage users.
- Edit global configuration.
- View the status of their assigned servers.
- View the history and logs of their assigned servers.
- Run the updater on their assigned servers.
What is the difference between a service and a website?¶
For services, the monitor only attempts to connect to the IP address and specified port to check whether the server is listening on that port. For example, if you are running a webserver it will usually listen on port 80 for incoming connections. So if the monitor is able to connect to the server on port 80, you know the webserver is running and accepting connections. It does not, however, mean that your website is available to your users, because it might have PHP errors or database problems. This can be monitored using the website type with a pattern search as described above.
Are requests made by the monitor included in my website statistics?¶
Mozilla/5.0 (compatible; phpservermon/3.0.1; +http://www.phpservermonitor.org)
What is the log retention period?¶
The monitor uses 2 different tables in the database to store history information regarding servers. The first one is called the “uptime” table. This one keeps full track of the past 7 days, so that detailed information is available (e.g. which checks failed/passed etc). This allows the monitor to create a detailed graph on the server info page. In order to prevent the uptime table growing beyond reasonable, after a week the uptime records are archived to a different table. Archiving means that per day only one record is stored with averages. This still allows some basic statistics, although they are not as detailed as the uptime records.
The retention period tells the monitor how long to keep records in the archive table.
How can I change the text of the email / SMS?¶
Go to the folder “src/lang”, open the language file that corresponds to the selected language (default is English (“en_US.lang.php”)). Scroll all the way to the bottom until you spot this line:
'notifications' => array(
After that you will see the lines that hold the notification messages. For example:
'off_sms' => 'Server \'%LABEL%\' is DOWN: ip=%IP%, port=%PORT%. Error=%ERROR%',
The first part of this line, ‘off_sms’, is the name of the notification. You should not change this. The second part is the actual message. There are a few variables you can use in your message:
- %LABEL% - The name of the server
- %IP% - The ip of the server
- %PORT% - The port of the server
- %ERROR% - This one only works for the off_* messages and contains the error returned by the monitor