Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Server Monitor Laravel Package

spatie/laravel-server-monitor

Monitor the health of your servers from Laravel. Includes built-in checks (disk, memory, processes, etc.), easy custom checks, and notifications via Slack or email when something goes wrong.

View on GitHub
Deep Wiki
Context7

title: Manually modifying hosts and checks weight: 1

All configured checks are stored in the checks table in the database. Every check is related to one host from the hosts table. The various server-monitor commands manipulate the data these two tables:

  • server-monitor:add-host adds a host in the hosts table and creates checks in the check table related to that host.
  • server-monitor:delete-host deletes a host and all related checks
  • server-monitor:list-hosts lists all hosts
  • server-monitor:list-checks lists detailed information about all checks

You can also manually manipulate the rows of both tables. These fields can be manipulated in the hosts table:

  • name: the name of the host that will be checked.
  • ssh_user: the name of the ssh user the package should use when connecting to the remote server.
  • port: the port that should be used when connecting to the server. If this is empty port 22 will be used.
  • ip: if this field contains an ip-address we'll use that instead of the name when connecting to a server
  • custom_properties: see the section on using custom properties

These are the fields you can manipulate in the checks table:

  • host_id: the id of the host in the hosts table on which this check will be performed.
  • type: this value determines which check should be performed. The value should correspond to one of the keys in checks keys in the config file eg diskspace, mysql, ...
  • enabled: if this contains 0 the check won't be executed.
  • custom_properties: see the section on using custom properties

All other fields in the checks and hosts tables are managed by the package and should not be manually modified.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai