MAZAREDO HYBRID CLOUD SENTINEL

Last Updated: 09:19:34 PM Refresh in: 30s DASHBOARD ABOUT/SETUP 🏠 Main Site

🚀 Join the Monitoring Network

Follow these steps to link your machine to the dashboard.

1 Download PowerShell Portable

This monitoring tool requires PowerShell v7 or higher.

📥 Download PowerShell ZIP (Direct Link)

Once downloaded, extract the contents to: D:\atools\pwsh\

2 Open CMD as Administrator

High-level permissions are required to read hardware specs:

  1. Click your Start button and type cmd.
  2. Right-click Command Prompt and select "Run as Administrator".

3 Run the Agent

Option A: Copy this into your Administrator CMD (Windows):

D:\atools\pwsh\pwsh.exe -Command "$os=(Get-CimInstance Win32_OperatingSystem).Caption;$cpu=(Get-CimInstance Win32_Processor).Name;$ram=[math]::Round((Get-CimInstance Win32_PhysicalMemory|Measure-Object Capacity -Sum).Sum/1GB,2);$disk=[math]::Round((Get-PSDrive C).Free/1GB,2);$ip=(Get-CimInstance Win32_NetworkAdapterConfiguration|Where-Object {$_.IPEnabled -eq $true}).IPAddress[0];Invoke-RestMethod -Uri 'http://isko.freehostia.com/projects/mhcs/update_node.php' -Method Post -Body @{hostname=$env:COMPUTERNAME;ip=$ip;os=$os;cpu=$cpu;ram=$ram;disk=$disk}"

Option B: Copy this into your Git Bash (Windows):

IP=$(ipconfig | grep "IPv4" | head -n1 | cut -d: -f2 | xargs); HN=$(hostname | tr -d '\r'); OS=$(lsb_release -sd | tr -d '\r'); CPU=$(grep -m 1 'model name' /proc/cpuinfo | cut -d: -f2 | xargs | tr -d '\r'); RAM=$(grep MemTotal /proc/meminfo | awk '{printf "%.0f", $2/1048576}'); DISK=$(df -h / | awk 'NR==2 {print $4}' | sed 's/[G\r]//'); winpty curl -X POST --data-urlencode "ip=$IP" --data-urlencode "hostname=$HN" --data-urlencode "os=$OS" --data-urlencode "cpu=$CPU" --data-urlencode "ram=$RAM" --data-urlencode "disk=$DISK" "http://isko.freehostia.com/projects/mhcs/update_node.php"; sleep 3; exit

Option C: Copy this into your Linux Terminal (Ubuntu/Debian):

IP=$(hostname -I | awk '{print $1}'); HN=$(hostname); OS=$(lsb_release -sd); CPU=$(grep -m1 "model name" /proc/cpuinfo | cut -d: -f2 | xargs); RAM=$(free -g | awk '/^Mem:/{print $2}'); DISK=$(df -h / | awk '$NF=="/"{print $4}' | sed 's/G//'); curl -X POST --data-urlencode "ip=$IP" --data-urlencode "hostname=$HN" --data-urlencode "os=$OS" --data-urlencode "cpu=$CPU" --data-urlencode "ram=$RAM" --data-urlencode "disk=$DISK" "http://isko.freehostia.com/projects/mhcs/update_node.php"

🎉 Once finished: If you see SYNC_OK in the terminal, your node has connected!

View results here: [ 🛰️ Go to Dashboard ]