/opennms-assemblies/http-remoting/src/main/webapp/index.html

https://github.com/ajakubo1/opennms · HTML · 116 lines · 109 code · 0 blank · 7 comment · 0 complexity · fc9a19434f638a805137703bed6e45c1 MD5 · raw file

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>OpenNMS Remote Poller</title>
  5. <link rel="stylesheet" type="text/css" href="../opennms/css/styles.css" media="screen" />
  6. <link rel="stylesheet" type="text/css" href="../opennms/css/gwt-asset.css" media="screen" />
  7. <link rel="stylesheet" type="text/css" href="../opennms/css/onms-gwt-chrome.css" media="screen" />
  8. <link rel="stylesheet" type="text/css" href="../opennms/css/print.css" media="print" />
  9. <style type="text/css">
  10. .download-link {
  11. background-color: #659324;
  12. background-image: linear-gradient(#81BC2E, #659324);
  13. background-repeat: repeat-x;
  14. border: 0 none;
  15. border-radius: 6px 6px 6px 6px;
  16. box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2), 0 -1px 0 0 rgba(0, 0, 0, 0.3) inset;
  17. color: #FFFFFF;
  18. font-size: 16px;
  19. font-weight: normal;
  20. padding: 5px;
  21. text-align: left;
  22. text-decoration: none;
  23. text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  24. /* Hide the links by default, they are shown based on a jquery HEAD command */
  25. display: none;
  26. }
  27. .download-link.unavailable {
  28. background-color: #656565;
  29. background-image: linear-gradient(#818181, #656565);
  30. background-repeat: repeat-x;
  31. }
  32. .download-link P {
  33. font-size: 12px;
  34. padding-left:1.8em;
  35. margin: 0px;
  36. }
  37. </style>
  38. <script type="text/javascript" src="js/jquery-2.0.3.js"></script>
  39. <script type="text/javascript">
  40. // Shorthand for 'onload'
  41. $(function() {
  42. $.getJSON('js/properties.json', function (json) {
  43. // Change all 'version' spans to the correct version
  44. $('.version').html(json.projectVersion);
  45. // Check to see if the installer EXE is present on the system; if so, show the download link.
  46. $.ajax({
  47. url: 'opennms-remote-poller-windows-' + json.projectVersion + '.exe',
  48. method: 'HEAD',
  49. error: function()
  50. {
  51. $('#download-unavailable').css("display", "inline-block");
  52. },
  53. success: function()
  54. {
  55. $('#download-local').css("display", "inline-block");
  56. }
  57. });
  58. }
  59. );
  60. });
  61. </script>
  62. </head>
  63. <body>
  64. <div id='header'>
  65. <h1 id='headerlogo'><a href='../opennms/index.jsp'><img src="../opennms/images/logo.png" alt='OpenNMS Web Console Home'/></a></h1>
  66. <div id='headerinfo' style='height:56px;'>
  67. <h2>OpenNMS Remote Poller</h2>
  68. </div>
  69. </div>
  70. <p style="padding:10px;">
  71. You can launch the remote poller by using Java Web Start. Just click
  72. below to get started.
  73. </p>
  74. <div style="padding:0px 10px 10px 10px">
  75. <h2><a href="webstart/app.jnlp">Remote Poller with GUI</a></h2>
  76. <p>
  77. Starts the remote poller with an interactive GUI. On first start, it will prompt you for authentication credentials
  78. and the name of the monitoring location for this remote poller. These values will be stored in a configuration file so
  79. that subsequent invocations can be done without the GUI, allowing background operation of the remote poller.
  80. </p>
  81. <h2><a href="webstart/headless.jnlp">Remote Poller without GUI</a></h2>
  82. <p>
  83. Starts the remote poller in the background without a status GUI. You must run the GUI version of the remote poller
  84. at least once to configure your monitoring location.
  85. </p>
  86. </div>
  87. <p style="padding:0px 10px 10px 10px">
  88. The remote poller software can also be installed as a system package on your local machine.
  89. </p>
  90. <div style="padding:0px 10px 10px 10px">
  91. <h2>RPM-based Linux (Red Hat, Fedora)</h2>
  92. <p>After configuring the OpenNMS yum repository, you can install the <code>opennms-remote-poller</code> package via yum.</p>
  93. <h2>APT-based Linux (Debian, Ubuntu)</h2>
  94. <p>After configuring the OpenNMS apt repository, you can install the <code>opennms-remote-poller</code> package via apt-get.</p>
  95. <h2>Microsoft Windows</h2>
  96. <!--
  97. <p>
  98. There are two ways to install the OpenNMS remote poller on Windows. You can either install it as a Windows service that
  99. wraps Java Web Start or you can install it with a local copy of the JAR. Both install options are available from the following
  100. installer package.
  101. </p>
  102. -->
  103. <p>
  104. The following installer package can be used to register the Java Web Start version of the remote poller as a Windows service.
  105. </p>
  106. <div id="download-local" class="download-link">
  107. <span>&#x25BC; <a href="opennms-remote-poller-windows-1.13.0-SNAPSHOT.exe" style="color:#FFFF88;">OpenNMS Remote Poller Installer</a></span>
  108. <p>Windows 2000, XP, 2003, Vista, 2008, 7, 8, 2012</p>
  109. <p>Version <span class="version">Unknown</span></p>
  110. </div>
  111. <div id="download-unavailable" class="download-link unavailable">
  112. <span>The Windows installer is not available for download.</span>
  113. </div>
  114. </div>
  115. </body>
  116. </html>