Blog - //.nkotov
  • 🏠
  • #️⃣
  • 🗒
  • #>_

Monitoring

A collection of 2 posts
BASH monitoring server and alert in Telegram
Bash

BASH monitoring server and alert in Telegram

These actions are intended to set up quick server monitoring without launching any separate monitoring. Create folder: mkdir /usr/local/tamagent Create file tamagent.sh: nano /usr/local/tamagent/tamagent.sh Write the script in the file: #!/bin/bash ######################### #GLOBAL VARIABLES ID_USER="XXXXXXX" # ID USER in TELEGRAM
29 Dec 2023 2 min read
Example bash script fro status server and website
Bash

Example bash script fro status server and website

Here is an example of a simple bash script that can be used to check the status of a server: #!/bin/bash # Define the server address server=http://example.com # Use the curl command to check the server's HTTP response code response=$(curl -s -o /dev/null -w
26 Dec 2023 1 min read
Page 1 of 1
Blog - //.nkotov © 2025
  • Donates
Powered by Ghost