PHP code example of insenseanalytics / nova-server-monitor
1. Go to this page and download the library: Download insenseanalytics/nova-server-monitor library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
insenseanalytics / nova-server-monitor example snippets
'providers' => [
...,
Insenseanalytics\NovaServerMonitor\ToolServiceProvider::class,
]
public function tools()
{
\Insenseanalytics\NovaServerMonitor\NovaServerMonitor::make()
->onConnection('server_monitor')->hosts(['example1.com'])
->checks(['mysql']),
}