0705.html 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Installing HostMon - Simple Host Monitor and Application Dashboard - on Windows</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <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">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Installing HostMon - Simple Host Monitor and Application Dashboard - on Windows">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  12. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  13. <script type="text/javascript" src="includes/js/steps.js"></script>
  14. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  15. </head>
  16. <body>
  17. <div id="gridContainer">
  18. <div class="topMargin"></div>
  19. <div id="listName" class="topMargin">
  20. <h1>Installing HostMon - Simple Host Monitor and Application Dashboard - on Windows</h1>
  21. </div>
  22. <div></div>
  23. <div id="content">
  24. <h2>What is HostMon?</h2>
  25. <blockquote>
  26. <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 />
  27. <br />
  28. 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>
  29. </blockquote>
  30. <ol>
  31. <li>Log into the Windows device</li>
  32. <li>Download the latest HostMon release <a href="https://github.com/i12bretro/HostMon/releases/latest" target="_blank">Download</a></li>
  33. <li>Download NodeJS <a href="https://nodejs.org/en/download/current/" target="_blank">Download</a></li>
  34. <li>Install NodeJS, accepting all defaults</li>
  35. <li>Extract the downloaded HostMon files</li>
  36. <li>Rename the extracted folder HostMon</li>
  37. <li>Cut the HostMon folder to a location it can safely run from, C:\Program Files\HostMon in this example</li>
  38. <li>Hold the SHIFT key and right click in the white space &gt; Open PowerShell windows here...</li>
  39. <li>Run the following commands in the PowerShell window
  40. <div class="codeBlock PS"># install dependencies<br />
  41. npm install<br />
  42. # run npm audit<br />
  43. npm audit fix<br />
  44. # run hostmon<br />
  45. node .\server.js</div>
  46. </li>
  47. <li>Open a web browser and navigate to http://DNSorIP:3000</li>
  48. <li>Welcome to HostMon</li>
  49. </ol>
  50. <h2>Run HostMon as a Service (Optional, but recommended)</h2>
  51. <ol>
  52. <li>Press CTRL + C to kill the running HostMon process</li>
  53. <li>Click on the Start Button &gt; Type task &gt; Launch Task Scheduler</li>
  54. <li>Right click the Task Scheduler Library folder in the left pane &gt; Create Basic Task...</li>
  55. <li>Set the name to HostMon and optionally set a Description &gt; Click Next</li>
  56. <li>For the Trigger, select When the computer starts &gt; Click Next</li>
  57. <li>For the Action, select Start a program &gt; Click Next</li>
  58. <li>Complete the form fields as follows:
  59. <p>Program/script: &quot;%ProgramFiles%\nodejs\node.exe&quot;<br />
  60. Add arguments: &quot;%ProgramFiles%\HostMon\server.js&quot;<br />
  61. Start in: %ProgramFiles%\HostMon</p>
  62. </li>
  63. <li>Click Next</li>
  64. <li>Check the Open the Properties dialog checkbox &gt; Click Finish</li>
  65. <li>In the Properties dialog, click the Change User or Group... button</li>
  66. <li>Type System in the Object name field &gt; Click OK</li>
  67. <li>Check the Run with highest privileges box</li>
  68. <li>Click OK to create the scheduled task</li>
  69. <li>Right click the HostMon task &gt; Run</li>
  70. <li>Refresh the open web browser to verify HostMon is now running from the scheduled task</li>
  71. </ol>
  72. </div>
  73. </div>
  74. </body>
  75. </html>