New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

insenseanalytics/nova-server-monitor

A Laravel Nova tool for Spatie's Server Monitor library.
61,579 65
Install
composer require insenseanalytics/nova-server-monitor
Latest Version:v0.1
PHP:>=7.1.0
Laravel:10 – 13
License:MIT
Last Updated:Oct 7, 2020
Links: GitHub  ·  Packagist
Maintainer: paras-malhotra

A Laravel Nova Tool for Spatie's Server Monitor Library

Packagist License Latest Stable Version Total Downloads

This Nova tool allows you to monitor server health checks such as database, redis, diskspace, elasticsearch, etc. It depends on the Spatie Server Monitor library.

screenshot of the backup tool

Quick Installation

You can install this tool into a Laravel app that uses Nova via composer:

composer require insenseanalytics/nova-server-monitor

Next, if you do not have package discovery enabled, you need to register the provider in the config/app.php file:

'providers' => [
    ...,
    Insenseanalytics\NovaServerMonitor\ToolServiceProvider::class,
]

Finally, register the tool in your NovaServiceProvider.php file:

public function tools()
{
  \Insenseanalytics\NovaServerMonitor\NovaServerMonitor::make()
    ->onConnection('server_monitor')->hosts(['example1.com'])
    ->checks(['mysql']),
}

Specify your database connection using the onConnection method. Typically the server that monitors your app's checks would be a separate app, and we would make a separate connection in config/database.php that connects to the monitoring server's database. If you want to display all checks and hosts, you do not need to call the hosts and checks methods.

Contributing

We are open to PRs as long as they're backed by tests and a small description of the feature added / problem solved.

License

The MIT License (MIT). Please see License File for more information.

Related Packages

epartment/nova-dependency-container

A Laravel Nova field container allowing to depend on other fields values

4,709,624 378
eminiarts/nova-tabs

Laravel Nova - Tabs.

4,631,018 464
ebess/advanced-nova-media-library

Laravel Nova tools for managing the Spatie media library.

3,922,900 616
spatie/nova-tags-field

A tags field for Nova apps

2,375,999 301
kabbouchi/nova-impersonate

A Laravel Nova field allows you to authenticate as your users.

2,275,623 234

Version History

Version Released PHP License
v0.1 >=7.1.0 MIT