What Is PHP Server Monitor?

There is a PHP script that checks whether your website and server are running. Each server user can be assigned a mobile number and an email address, and each user can manage their services and websites using the web-based user interface. With PHP Server Monitor, an open-source tool, you can test your servers (IP addresses, domain names) for issues or have an email or SMS sent when something goes wrong. Users and administrators can both view graphs of uptime and response time on the HTTP status code, which is used to check websites.

PHP Server Monitor Demo

What AssistNix Serve?

1. Application Consultation For PHP Server Monitor Open Source Software

AssistNix Open source adoption, management, governance, and compliance are components of our end-to-end solutions and services. We provide Putting your business vision into practice with an open source roadmap while converting your costs into savings with a team of consultants from different verticals and domains.

2. PHP Server Monitor On Premises Installation And Configuration.

Open source adoption, management, governance, and compliance are components of our end-to-end solutions and services. We provide Putting your business vision into practice with an open source roadmap while converting your costs into savings with a team of consultants from different verticals and domains.

3. Issues Fixes On Self Hosted Servers.

There are many advantages to hosting your Cloud Applications with us; for example, reduced expenses, instant deployment, and reduced administration expenses.

Low maintenance

Allow us to handle all your hardware and software issues so you can focus on your applications. Only worry about maintaining the internet connection.

Anywhere - Anytime

You can have access to your cloud application from anywhere in the world when it is running on an Internet server.

Dedicated Server

An integrated online server hosts your application and provides access to all the systems you need.

Less Risk

You have no risk at all since there are no long-term service contracts. Terralogic only charges you for what you use. you can check pricing here.

4. PHP Server Monitor User Guide & Application Use.

Your data is fully under your control when you self-host your software. Your organization's firewall can protect your data. We keep all your critical information in-house and we do not share it with anyone else. Your data can be accessed without an internet connection, which is especially important. In deciding the terms and conditions, you need to know exactly where your data is stored and what regulations need to be met.

5. PHP Server Monitor Application Hosting.

To ensure that our users have a positive experience with AssistNix, we also offer excellent application user guides. The user guide utilizes simple language, images, logical hierarchies and flows, a table of contents, searchable content, easily accessible content, a decent design, as well as references to other resources.

Key Features Of PHP Server Monitor

PHP Server Monitor has all the features you need to accelerate your business growth and provide exceptional customer experiences.

List Of Key Features 

· Monitoring of websites and services (ports)
· SMS and email notifications
· Monitoring of HTTP status codes
· Search for specific items on the website based on regular expressions
· Analyze the historical uptime and latency graphs.
· Configure two levels of user authentication (administrators and regular users).
· Maintain a log of outgoing emails, messages, and connection errors.
· Schedule automatic server checks with cron jobs.

PHP Server Monitor Installation

In case you are using Virtual Hosting, you must ensure that the DNS entry points to your domain or if you do not have one, you must use local hosts file. Open the php.ini file and make these adjustments to prevent PHP Server Monitor from throwing some installation errors. Log in to the MySQL/MariaDB database that PHP Server Monitor will need to create a new database (replace the database, username, and password with your preferred ones).

PHP Server Monitor Installation In Ubuntu/Debian/Centos/RHEL

How To Install PHP Server Monitor In Ubuntu 16.04 / Debian 9

# sudo apt-get update

# sudo apt-get install -y apache2 mariadb-server php5.6 php5.6-curl php5.6-mysql php5..6-cli php5.6-xml wget

How To Install PHP Server Monitor In CentOS 7 / RHEL 7

# yum install -y httpd mariadb-server php php-curl php-cli php-mysql php-pdo wget php-xml wget

# systemctl start  mariadb

# systemctl start  httpd

# systemctl enable mariadb

# systemctl enable httpd

Create Database

# mysql -u root -p
# create database phpmonitordb;
# grant all on phpmonitordb.* to 'phpmonitoruser'@'localhost' identified by 'phpmonitorpassword';
# flush privileges;
# exit

Configure PHP Server Monitor

Ubuntu 16.04 / Debian 9

# cd /var/www/html
# sudo wget

CentOS 7 / RHEL 7

# cd /var/www/html
# wget 

Extract the downloaed file and rename it.

Ubuntu 16.04 / Debian 9

# sudo tar -zxvf phpservermon-3.2.0.tar.gz
# sudo  mv phpservermon-3.2.0 phpservermon

CentOS 7 / RHEL 7

# tar -zxvf phpservermon-3.2.0.tar.gz
# mv phpservermon-3.2.0 phpservermon

Update the timezone in the php.ini file.

Ubuntu 16.04 / Debian 9

# sudo vi /etc/php/5.6/apache2/php.ini

CentOS 7 / RHEL 7

# vi /etc/php.ini

Set the timezone something like this. Change America/New_York with your time zone. More time zone here.

date.timezone = America/New_York

Create a config.php in the phpservermon directory

Ubuntu 16.04 / Debian 9

$ sudo vi /var/www/html/phpservermon/config.php

CentOS 7 / RHEL 7

# vi /var/www/html/phpservermon/config.php

Paste the below content into the file.

<?php
define('PSM_DB_PREFIX', 'monitor_');
define('PSM_DB_USER', 'phpmonitoruser');
define('PSM_DB_PASS', 'phpmonitorpassword');
define('PSM_DB_NAME', 'phpmonitordb');
define('PSM_DB_HOST', 'localhost');
define('PSM_DB_PORT', '3306');
define('PSM_DEBUG', true);

💡
When you have a limited theory of willpower, you're constantly on alert, constantly monitoring yourself. 'Am I tired? Am I hungry? Do I need a break? How am I feeling?' And at the first sign that something is flagging, you think, 'I need a rest or a boost.' - Carol S. Dweck

Change ownership of the directory.

Ubuntu 16.04 / Debian 9

$ sudo chown -R www-data:www-data /var/www/html/phpservermon

Ubuntu 16.04 / Debian 9

# chown -R apache:apache /var/www/html/phpservermon

Restart the Apache service.

Ubuntu 16.04 / Debian 9

$ sudo systemctl restart apache2

CentOS 7 / RHEL 7

# systemctl restart httpd

Firewall (CentOS / RHEL)

FirewallD

# firewall-cmd --permanent --add-service=http
# firewall-cmd --reload

IPTables

# iptables -I INPUT -m tcp -p tcp --dport 80 -j ACCEPT
# service iptables save

Setup PHP Server Monitor

Open up your web browser and point to the URL
http://your.ip.addr.ess/phpservermon

Fill up the details such as username, password, and email for the PHP Server Monitor installation and then click the Install button to begin the installation.


Please check for any errors on this installation page. If there are no errors, then we are good to go.

Access PHP Server Monitor


PHP Server Monitor Dashboard:

We will now monitor the service by going to Servers >> Add new.

Fill up your server information on this page and click Save. For a demo, we will monitor the HTTPS service.


Now, the new check has been added to PHP Server Monitor. If you see the below screenshot, none of the services were checked for Last online and Latency. Click on Update to get the status of services.

Now, you should get the Last online and Latency information about all services including your service.

Step By Step Guide Of How To Use PHP Server Monitor By AssistNix

This AssistNix tutorial explains how to install and use the PHP Server Monitor Tool.

1. Download PHPServerMonitor

You can grab PHP Server Monitor by downloading the tar.gz file or using the Git link below.

http://www.phpservermonitor.org/download/

2. Download Composer

PHP installer scripts are included with Composer. Installing Composer requires downloading it, verifying that it isn't corrupted, and using it to install it.

Once you are in your home directory, you can run the installer with curl:

cd ~

curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php

3. Start the Server Up, Build the Database

Use the following commands to create a new database in our MySQL/MariaDB database and store information for PHP Server Monitor. (Use your preferred credentials for the database, username, and password).

4. Configure the Database

The PHP Server Monitor database can be created through the MySQL/MariaDB web interface of PHPMyAdmin if you have that installed on your system.

5. Create a Monitor

You can add a new site to monitor by going to Monitoring -> Servers -> Add New, filling in the necessary information and clicking on Save.

6. Configure the Scheduler/CRON

It is necessary to install a Cron job scheduler on your system and add an entry to a cron file to enable PHP Server Monitor to automatically check the status of your servers/services at regular intervals.

$ sudo pacman -S cronie
$ sudo systemctl start cronie
$ sudo systemctl enable cronie

FAQs For PHP Server Monitor Application

1. What kind of services Assistnix provide?

At AssistNix, we offer a complete consulting service for open source applications, like PHP Server Monitor, in addition to installing and configuring PHP Server Monitor on-site. If you have issues with your self-hosted server, we offer services to fix the problems, so that you will not face any issues. Apart from all this, we also offer highly professional and trustworthy Magento hosting services. These services can be enjoyed at very low rates as well. The quality of our services is never compromised in our effort to offer affordable rates.

2. Are there Assistnix demos or trial versions available?

There is a demo or trial version of AssistNix available for download. Our trial and demo services have been made available to the general public so that those who are unsure whether they would like to utilize our service can try it out for free.

With AssistNix, you can view a demo of your favourite open source application in real time, with demos of all major open source applications, we provide hosting space and support for community-driven apps. AssistNix provides applications, security, and compliance consultation, maintenance, and support well suited to the specific needs of your organization.

Using our expertise, you can spend your time on business expansion instead of managing applications. You don't need to spend precious time managing infrastructure or specifications because we provide product and technology services.

3. How can I receive Assistnix support?

Contacting AssistNix is a simple and straightforward process. We offer several ways for our clients to reach out to us. According to your membership level, you may contact us by email, phone, via our support portal, or via our support forums. You can always count on our team to provide you with the assistance you need. We will take care of any problem you're experiencing. Our team will respond as soon as possible no matter how you contact us.

4. How does the AssistNix team’s work?

All our staff members have high level skills and experience. They always pay attention to every detail when providing services to clients. Please contact us if you would like to have a chance to trial our service so that you can see how we work. You will receive consulting services, hosting services, and distribution of open source software from us. Support is provided to all our customers from the starting point until the end of the project. If you have any questions or concerns, please feel free to contact us at any time.

5. Is Assistnix provide free services?

AssistNix does not offer free services. Payment is required in order to use the service. One of the best things about our service is that it is very affordable. Therefore, you need not worry about your budget when taking advantage of our impeccable services. You can be assured that our highly professional and impeccable services will not break your budget. But there is no free service available at AssistNix. For a free trial, you can test out our service to see if it's worth it. If you think it's worth it, you can make a purchase from us.

6. What is the pricing of AssistNix?

AssistNix prices are very reasonable, as mentioned previously. If you choose to use our services, you will be pleasantly surprised. A budget estimate will be prepared for you when you come to us. We promise not to go over that budget estimate. If there are small variations from the estimate budget, we will inform you first. We maintain an extremely transparent pricing system so that our customers know exactly what they are paying for. We offer very affordable services at AssistNix, so contact us today.

PHP Server Monitor - AssistNix
// //