1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Installing HostMon - Simple Host Monitor and Application Dashboard - on Windows</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="Install HostMon On Windows,Run HostMon On Windows,Application Dashboard,HostMon,Windows System Monitoring,Heimdall Alternative,DashMachine Alternative,Homer Alternative,Service Monitoring,Browser Based,System Administration,Microsoft,Windows,Microsoft Windows,Javascript,Express,Host Dashboard,Host Monitor,Install Guide,NodeJS,Home Lab,Ping,Web Based Tools,WOL,Wake-On-LAN,Web Based,Web Server,Apache Guacamole,How To,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Installing HostMon - Simple Host Monitor and Application Dashboard - on Windows">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Installing HostMon - Simple Host Monitor and Application Dashboard - on Windows</h1>
- </div>
- <div></div>
- <div id="content">
- <h2>What is HostMon?</h2>
- <blockquote>
- <p><em>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.<br />
- <br />
- The HostMon application is written in javascript and uses a SQLite database backend. -<a href="https://github.com/i12bretro/HostMon" target="_blank">https://github.com/i12bretro/HostMon</a></em></p>
- </blockquote>
- <ol>
- <li>Log into the Windows device</li>
- <li>Download the latest HostMon release <a href="https://github.com/i12bretro/HostMon/releases/latest" target="_blank">Download</a></li>
- <li>Download NodeJS <a href="https://nodejs.org/en/download/current/" target="_blank">Download</a></li>
- <li>Install NodeJS, accepting all defaults</li>
- <li>Extract the downloaded HostMon files</li>
- <li>Rename the extracted folder HostMon</li>
- <li>Cut the HostMon folder to a location it can safely run from, C:\Program Files\HostMon in this example</li>
- <li>Hold the SHIFT key and right click in the white space > Open PowerShell windows here...</li>
- <li>Run the following commands in the PowerShell window
- <div class="codeBlock PS"># install dependencies<br />
- npm install<br />
- # run npm audit<br />
- npm audit fix<br />
- # run hostmon<br />
- node .\server.js</div>
- </li>
- <li>Open a web browser and navigate to http://DNSorIP:3000</li>
- <li>Welcome to HostMon</li>
- </ol>
- <h2>Run HostMon as a Service (Optional, but recommended)</h2>
- <ol>
- <li>Press CTRL + C to kill the running HostMon process</li>
- <li>Click on the Start Button > Type task > Launch Task Scheduler</li>
- <li>Right click the Task Scheduler Library folder in the left pane > Create Basic Task...</li>
- <li>Set the name to HostMon and optionally set a Description > Click Next</li>
- <li>For the Trigger, select When the computer starts > Click Next</li>
- <li>For the Action, select Start a program > Click Next</li>
- <li>Complete the form fields as follows:
- <p>Program/script: "%ProgramFiles%\nodejs\node.exe"<br />
- Add arguments: "%ProgramFiles%\HostMon\server.js"<br />
- Start in: %ProgramFiles%\HostMon</p>
- </li>
- <li>Click Next</li>
- <li>Check the Open the Properties dialog checkbox > Click Finish</li>
- <li>In the Properties dialog, click the Change User or Group... button</li>
- <li>Type System in the Object name field > Click OK</li>
- <li>Check the Run with highest privileges box</li>
- <li>Click OK to create the scheduled task</li>
- <li>Right click the HostMon task > Run</li>
- <li>Refresh the open web browser to verify HostMon is now running from the scheduled task</li>
- </ol>
- </div>
- </div>
- </body>
- </html>
-
|