{"id":5850,"date":"2017-07-12T21:53:35","date_gmt":"2017-07-13T01:53:35","guid":{"rendered":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/?p=5850"},"modified":"2024-05-28T15:43:51","modified_gmt":"2024-05-28T19:43:51","slug":"server-monitoring-instructions-for-services-customers","status":"publish","type":"post","link":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2017\/07\/server-monitoring-instructions-for-services-customers\/","title":{"rendered":"Server Monitoring Instructions for Services Customers"},"content":{"rendered":"<p>&nbsp;<\/p>\n<h2>What Are You Installing?<\/h2>\n<p>For general information about the monitoring software check out the\u00a0<a href=\"http:\/\/www.webperformance.com\/load-testing-tools\/server-monitoring\/\">product information<\/a>. The software is designed to be installed on production systems, and does not modify the registry or anything outside of the installation directory. \u00a0The downside is that on Windows the software is not a service and must be started by hand before the test.\u00a0<b><\/b>There are two modes of working&#8211; either the statistics can be collected by hand from each server and emailed to our engineers, OR the firewall has to be modified to open two ports to connect to the monitor. \u00a0Note that each server requires a different two ports, each of which needs to be configured both on the firewall and on the server, so most often customers choose to collect the server stats files by hand. Obviously this is sub-optimal, and we are working on a different architecture that requires less configuration.<\/p>\n<p>&nbsp;<\/p>\n<h2><b>Download Installers<\/b><\/h2>\n<div><a href=\"http:\/\/www.webperformance.com\/download\/\">http:\/\/www.webperformance.com\/download\/<\/a><\/div>\n<div><\/div>\n<div>The installer you&#8217;re looking for is for the Server Monitor. \u00a0 Click on green Server Monitor button to download the default Windows 64-bit monitoring software. Click on &#8220;Other platforms&#8221; to reveal\u00a0the download links for other operating systems.<\/div>\n<div><\/div>\n<div><img decoding=\"async\" src=\"https:\/\/attachments.highrisemail.com\/213112\/qhtXTZ83QtuSkuF41IMK_Screen%20Shot%202016-03-15%20at%205.35.04%20PM.png\" \/><\/div>\n<div><\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<h2>Installation<\/h2>\n<div><a href=\"http:\/\/files.webperformance.com\/manuals\/manual60\/Content\/Server_Monitoring_Agent.htm\">Installation<\/a> is\u00a0as easy as using the windows installer, or untar&#8217;ing a file on Linux.\u00a0Either <a href=\"http:\/\/files.webperformance.com\/manuals\/manual60\/Content\/Manual_Performance_Data_Collection.htm\">the firewall can be opened up to the ports<\/a> required for live monitoring, or you can just email us\u00a0the test results.<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<h2><b>Windows\u00a0Operation<\/b><\/h2>\n<div><\/div>\n<div><a href=\"http:\/\/files.webperformance.com\/manuals\/manual60\/Content\/Server_Agent_Commands.htm\">Controlling from the Command Line<\/a><\/div>\n<div><\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n<h2><b>Linux Operation<\/b><\/h2>\n<div><\/div>\n<div>\n<div>\n<p>On Linux just run .\/Start and then <b>enter start-log on the app&#8217;s commandline.<\/b> If you don&#8217;t explicitly start data collection then no data will be collected \ud83d\ude41<\/p>\n<p>Note: After the test be sure to type &#8220;quit&#8221; on the same app commandline to make sure that all of the data is saved.<\/p>\n<p>Notice on my machine it does throw some errors because multicast isn&#8217;t available, and in some other environments you might have some other kind of similar log spew. All that matters is that it prints the path to the logfile after you run start-log:<\/p><\/div>\n<div><\/div>\n<div>(note I bold and color some text below for emphasis)<\/div>\n<div><\/div>\n<\/div>\n<div><span class=\"font\">This is important: if you SSH into the server, run the monitor in screen or some similar utility. The monitor isn&#8217;t a daemon or background process. It&#8217;ll die the moment your SSH session times out, unless you do something to keep it up.<\/span><\/div>\n<div><\/div>\n<div><b>lane@lane-debian:~\/playground\/wpservermonitor-x64_6.6.14851$ .\/Start\u00a0<\/b><\/div>\n<div><span class=\"colour\">[21:42:51.300] Starting logger: ConsoleLogger.<\/span><\/div>\n<div><span class=\"colour\">[21:42:51.302] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/span><\/div>\n<div><span class=\"colour\">Diagnostic settings:<\/span><\/div>\n<div><span class=\"colour\">AWS.progress=true<\/span><\/div>\n<div><span class=\"colour\">Debug.show_time=true<\/span><\/div>\n<div><span class=\"colour\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/span><\/div>\n<div><\/div>\n<div><span class=\"colour\">[21:42:51.302] Switching to logger: FileAndConsoleLogger: \/home\/lane\/playground\/wpservermonitor-x64_6.6.14851\/diagnostic.log<\/span><\/div>\n<div><span class=\"colour\">[21:42:51.304] Starting logger: FileAndConsoleLogger: \/home\/lane\/playground\/wpservermonitor-x64_6.6.14851\/diagnostic.log.<\/span><\/div>\n<div><span class=\"colour\">\u00a0(switched from ConsoleLogger)<\/span><\/div>\n<div><span class=\"colour\">[21:42:51.305] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/span><\/div>\n<div><span class=\"colour\">Diagnostic settings:<\/span><\/div>\n<div><span class=\"colour\">AWS.progress=true<\/span><\/div>\n<div><span class=\"colour\">Debug.show_time=true<\/span><\/div>\n<div><span class=\"colour\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/span><\/div>\n<div><\/div>\n<div>[21:42:51.806] Web Performance Server Monitoring Agent version 6.6.14851 now monitoring.<\/div>\n<div>[21:42:51.806] Using hostname override: 192.168.10.147<\/div>\n<div>[21:42:51.807] Agent listening on port 1099.<\/div>\n<div><span class=\"colour\">java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface<\/span><\/div>\n<div><span class=\"colour\">\u00a0\u00a0\u00a0 at java.net.PlainDatagramSocketImpl.socketSetOption0(Native Method)<\/span><\/div>\n<div><span class=\"colour\">\u00a0\u00a0\u00a0 at java.net.PlainDatagramSocketImpl.socketSetOption(PlainDatagramSocketImpl.java:74)<\/span><\/div>\n<div><span class=\"colour\">\u00a0\u00a0\u00a0 at java.net.AbstractPlainDatagramSocketImpl.setOption(AbstractPlainDatagramSocketImpl.java:309)<\/span><\/div>\n<div><span class=\"colour\">\u00a0\u00a0\u00a0 at java.net.MulticastSocket.setInterface(MulticastSocket.java:471)<\/span><\/div>\n<div><span class=\"colour\">\u00a0\u00a0\u00a0 at jtools.net.MulticastServerThread.run(MulticastServerThread.java:112)<\/span><\/div>\n<div><span class=\"colour\">\u00a0\u00a0\u00a0 at java.lang.Thread.run(Thread.java:745)<\/span><\/div>\n<div><span class=\"colour\">[21:42:51.819] Error subscribing for automatic detection from Web Performance Tester<\/span><\/div>\n<div><span class=\"colour\">java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface<\/span><\/div>\n<div><span class=\"colour\">\u00a0\u00a0\u00a0 at java.net.PlainDatagramSocketImpl.socketSetOption0(Native Method)<\/span><\/div>\n<div><span class=\"colour\">\u00a0\u00a0\u00a0 at java.net.PlainDatagramSocketImpl.socketSetOption(PlainDatagramSocketImpl.java:74)<\/span><\/div>\n<div><span class=\"colour\">\u00a0\u00a0\u00a0 at java.net.AbstractPlainDatagramSocketImpl.setOption(AbstractPlainDatagramSocketImpl.java:309)<\/span><\/div>\n<div><span class=\"colour\">\u00a0\u00a0\u00a0 at java.net.MulticastSocket.setInterface(MulticastSocket.java:471)<\/span><\/div>\n<div><span class=\"colour\">\u00a0\u00a0\u00a0 at jtools.net.MulticastServerThread.run(MulticastServerThread.java:112)<\/span><\/div>\n<div><span class=\"colour\">\u00a0\u00a0\u00a0 at java.lang.Thread.run(Thread.java:745)<\/span><\/div>\n<div>[21:42:51.847] Agent waiting for test controller or command to begin recording data.<\/div>\n<div>Use the &#8220;quit&#8221; command to stop the agent.<\/div>\n<div><b>start-log<\/b><\/div>\n<div><span class=\"colour\"><b>[21:42:55.922] ServerMonitorAgent: prepared for test 2017_07_12_214255_EDT_8cfdc_agent_log. Results will be logged to \/home\/lane\/.webperformance\/AgentLogs\/2017_07_12_214255_edt_8cfdc_agent_log.dat<\/b><\/span><\/div>\n<div><span class=\"highlight\"><span class=\"colour\"><b><span class=\"font\"><span class=\"size\">Save<\/span><\/span><\/b><\/span><\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;<br \/>\nWhat Are You Installing?<br \/>\nFor general information about the monitoring software check out the\u00a0<a href=\"http:\/\/www.webperformance.com\/load-testing-tools\/server-monitoring\/\">product information<\/a>. The software is designed to be installed on production systems, and does not modify the registry or anything outside of the installation directory. \u00a0The downside is that on Windows the software is not a service and must be started by hand before the test.\u00a0There are two modes of working&#8211; either the statistics can be collected by hand from each server and emailed to our engineers, OR the firewall has to be modified to open two ports to connect to the monitor. \u00a0Note that each server &hellip; <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2017\/07\/server-monitoring-instructions-for-services-customers\/\">Continue reading &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,195],"tags":[],"class_list":["post-5850","post","type-post","status-publish","format-standard","hentry","category-load-testing","category-load-testing-services"],"_links":{"self":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/5850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/comments?post=5850"}],"version-history":[{"count":8,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/5850\/revisions"}],"predecessor-version":[{"id":6407,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/5850\/revisions\/6407"}],"wp:attachment":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/media?parent=5850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/categories?post=5850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/tags?post=5850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}