Installing HostMon - Simple Host Monitor and Application Dashboard - on Windows
#HostMon #ApplicationDashboard #HostMonitor
Full steps can be found at https://i12bretro.github.io/tutorials/0705.html
--------------------------------------------------------------------
What is HostMon?
--------------------------------------------------------------------
HostMon is a simple web-based host monitor and application dashboard. It can be used to monitor the real-time status of hosts and services running in your homelab environment. In addition to monitoring, HostMon has built-in Wake-On-LAN (WOL) capability, SSH client, real-time ping output and the ability to link to your existing Apache Guacamole installation to remotely control hosts from the within browser.
The HostMon application is written in javascript and uses a SQLite database backend. - https://github.com/i12bretro/HostMon
01. Log into the Windows device
02. Download the latest HostMon release https://github.com/i12bretro/HostMon/releases/latest
03. Download NodeJS https://nodejs.org/en/download/current/
04. Install NodeJS, accepting all defaults
05. Extract the downloaded HostMon files
06. Rename the extracted folder HostMon
07. Cut the HostMon folder to a location it can safely run from, C:\Program Files\HostMon in this example
08. Hold the SHIFT key and right click in the white space ≫ Open PowerShell windows here...
09. Run the following commands in the PowerShell window
# install dependencies
npm install
# run npm audit
npm audit fix
# run hostmon
node .\server.js
10. Open a web browser and navigate to http://DNSorIP:3000
11. Welcome to HostMon
--------------------------------------------------------------------
Run HostMon as a Service (Optional, but recommended)
--------------------------------------------------------------------
01. Press CTRL + C to kill the running HostMon process
02. Click on the Start Button ≫ Type task ≫ Launch Task Scheduler
03. Right click the Task Scheduler Library folder in the left pane ≫ Create Basic Task...
04. Set the name to HostMon and optionally set a Description ≫ Click Next
05. For the Trigger, select When the computer starts ≫ Click Next
06. For the Action, select Start a program ≫ Click Next
07. Complete the form fields as follows:
Program/script: "%ProgramFiles%\nodejs\node.exe"
Add arguments: "%ProgramFiles%\HostMon\server.js"
Start in: %ProgramFiles%\HostMon
08. Click Next
09. Check the Open the Properties dialog checkbox ≫ Click Finish
10. In the Properties dialog, click the Change User or Group... button
11. Type System in the Object name field ≫ Click OK
12. Check the Run with highest privileges box
13. Click OK to create the scheduled task
14. Right click the HostMon task ≫ Run
15. Refresh the open web browser to verify HostMon is now running from the scheduled task
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro