Posts

MikroTik Router Netwatch Monitoring

Image
MikroTik Netwatch Monitoring In this video I will show you how to setup Netwatch setting in MikroTik Router: Tool -> Netwatch and configuration as the introduction. Netwatch monitors the state of hosts on the network. Monitoring can be done with the following probe types: 1) ICMP - pings to a specified IP address - hosts, with an option to adjust threshold values 2) Simple - uses ping, without use of advanced metrics 3) TCP conn, to test the TCP connection 4) HTTP GET/HTTPS GET, request against a server you are monitoring 5) DNS - sends DNS query and checks for response. For each entry in the Netwatch table, you can specify an IP address, ping interval, and console scripts. The main advantage of Netwatch is its ability to issue arbitrary console commands on host state changes. Script:  UP:   /tool e-mail send to=youremail@mail.com subject="ISP-1 is UP" body="Dear Admin, The ISP-1 connection is UP on $[/system clock get time]" DOWN: /tool e-mail send to=youremail@...

How to Install and Configure SAMBA on Ubuntu 24.04 - Tech with Vichka

Image
  Introduction: Samba is an open-source utility that enables file sharing between machines running on a single network. It enables Linux machines to share files with machines running different operating systems, such as Windows. Prerequisites: - Ubuntu system (this guide uses Ubuntu 24.04. The same steps work on other Ubuntu). - Sudo privileges. - A text editor (this tutorial uses Nano). Most Linux package managers have Samba in their default repository. To configure Samba on Ubuntu, follow the steps below: Step 0./ Update package sudo apt-get update Step 1./ Install samba package sudo apt install samba Step 2./ Create a directory /tmp/sambashare that you want to share via samba sudo mkdir -p /tmp/sambashare sudo chmod 777 /tmp/sambashare sudo chmod 777 /tmp Step 3./ Configure shared directory Append the following configuration: {sambashare} comment = Samba And Linux path = /tmp/sambashare read only = no browsable = yes sudo nano /etc/samba/smb.conf s...