{"id":9432,"date":"2020-04-11T09:35:58","date_gmt":"2020-04-10T23:35:58","guid":{"rendered":"https:\/\/nsrd.info\/blog\/?p=9432"},"modified":"2020-04-11T09:36:01","modified_gmt":"2020-04-10T23:36:01","slug":"networker-basics-enhanced-webwatch","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2020\/04\/11\/networker-basics-enhanced-webwatch\/","title":{"rendered":"NetWorker Basics \u2013 Enhanced Webwatch"},"content":{"rendered":"\n<p>By the time I&#8217;d finished my previous <em><a aria-label=\"webwatch (opens in a new tab)\" href=\"https:\/\/nsrd.info\/blog\/2020\/04\/05\/networker-basics-a-simple-prototype-web-based-nsrwatch\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"aioseop-link\">webwatch<\/a><\/em>, I was regretting that the third section of data I&#8217;d chosen to test with was volume data. It&#8217;s not to say volume data isn&#8217;t useful, but it&#8217;s not really want <em>nsrwatch<\/em> shows.<\/p>\n\n\n\n<p>So yesterday I decided to fix it, and came up with v2 of webwatch. This version now breaks up the bottom third of the display to include messages and alerts, instead of volumes.<\/p>\n\n\n\n<p>I also rethought and simplified the architecture \u2013 there&#8217;s no data gathering service that runs separately now, it&#8217;s just built into the CGI itself.<\/p>\n\n\n\n<p>Here&#8217;s a couple of views of &#8216;webwatch_2&#8217;, first without any running sessions, then with running sessions:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1478\" height=\"1122\" src=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2020\/04\/webwatch_2-01.png\" alt=\"\" class=\"wp-image-9433\" srcset=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2020\/04\/webwatch_2-01.png 1478w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2020\/04\/webwatch_2-01-300x228.png 300w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2020\/04\/webwatch_2-01-1024x777.png 1024w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2020\/04\/webwatch_2-01-768x583.png 768w\" sizes=\"auto, (max-width: 1478px) 100vw, 1478px\" \/><figcaption>webwatch_2 with no active sessions<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1478\" height=\"1122\" src=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2020\/04\/webwatch_2-02.png\" alt=\"\" class=\"wp-image-9434\" srcset=\"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2020\/04\/webwatch_2-02.png 1478w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2020\/04\/webwatch_2-02-300x228.png 300w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2020\/04\/webwatch_2-02-1024x777.png 1024w, https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2020\/04\/webwatch_2-02-768x583.png 768w\" sizes=\"auto, (max-width: 1478px) 100vw, 1478px\" \/><figcaption>webwatch_2 with active sessions<\/figcaption><\/figure>\n\n\n\n<p>The prototype now just comprises of two files:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>webwatch_2.cgi, <em>and<\/em><\/li><li>webwatch_2.css<\/li><\/ul>\n\n\n\n<p>I&#8217;ve created a simple zip file containing both, plus a readme, to help explain how you can get them installed and operational within a CGI-enabled webserver. You can <strong><a href=\"https:\/\/nsrd.info\/scripts\/webwatch_2_distro.zip\" class=\"aioseop-link\">download the zip file here<\/a><\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By the time I&#8217;d finished my previous webwatch, I was regretting that the third section of data I&#8217;d chosen to&hellip;<\/p>\n","protected":false},"author":1,"featured_media":8120,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6,16,20],"tags":[1249,679,1317],"class_list":["post-9432","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-basics","category-networker","category-scripting","tag-networker","tag-nsrwatch","tag-rest-api"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/nsrd.info\/blog\/wp-content\/uploads\/2019\/05\/bigStock-Update.jpg","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-2s8","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/9432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/comments?post=9432"}],"version-history":[{"count":2,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/9432\/revisions"}],"predecessor-version":[{"id":9436,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/9432\/revisions\/9436"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media\/8120"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=9432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=9432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=9432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}