{"id":76,"date":"2008-11-05T17:55:00","date_gmt":"2008-11-05T17:55:00","guid":{"rendered":"https:\/\/knielsen-hq.org\/w\/?p=76"},"modified":"2021-09-01T07:55:03","modified_gmt":"2021-09-01T07:55:03","slug":"hobbit-monitoring","status":"publish","type":"post","link":"https:\/\/knielsen-hq.org\/w\/hobbit-monitoring\/","title":{"rendered":"Hobbit monitoring"},"content":{"rendered":"\n<p>After setting up <a href=\"http:\/\/hobbitmon.sourceforge.net\/\">Hobbit monitoring<\/a> on my home network, I discovered a curious issue with the Zyxel P-2602HW router that <a href=\"https:\/\/www.fullrate.dk\/\">Fullrate<\/a> delivers with their ADSL products: The Telnet administration port occasionally times-out connection attemps:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/blog\/img\/hobbitmon-img1.png\" alt=\"\"\/><figcaption> <\/figcaption><\/figure>\n\n\n\n<p>I really like the <a href=\"http:\/\/hobbitmon.sourceforge.net\/\">Hobbit monitoring tool<\/a>, I have used it ever since I heard about it when I met the author, Henrik Storner, at a local LUG meeting. It really obeys my favorite software principle, &#8220;simple things should be simple, complex things should be possible&#8221; (and it only helps that it works similarly to BigBrother, which I learned on a previous job).<\/p>\n\n\n\n<p>Setting it up is litterally as simple as this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">    sudo apt-get install hobbit hobbit-plugins\n<\/pre>\n\n\n\n<p>That sets up a lot of useful monitoring (network, disk, memory, cpu, &#8230;), everything with very reasonable defaults. Then it was just a matter of adding a few lines in <code>\/etc\/hobbit\/bb-hosts<\/code> for the routers, other hosts, and uplink peer node. It will be interesting to see how stable the shiny new Fullrate connection is!<\/p>\n\n\n\n<p>Hobbit comes preconfigured with a lot of nice stuff. It&#8217;s not just the basic stuff, either. It automatically sets up monitoring of configured <code>apt<\/code> repositories so that alerts appear when new security patches are available. And when I set up https\/SSL on my local Apache (using <a href=\"https:\/\/www.startssl.com\/\">StartSSL<\/a> to obtain a free, valid certificate!), just adding a <code>https:\/\/1.2.3.5\/<\/code> entry in <code>\/etc\/hobbit\/bb-hosts<\/code> provides not only monitoring of the service running, but also of when the certificate is about to expire, which in almost a year&#8217;s time I would be bound to forget otherwise. Custom monitoring is both easy and flexible to add ass well (haven&#8217;t needed that on the home network yet, though).<\/p>\n\n\n\n<p>And why do I need to monitor my home network? Well, I believe any network where one cares at all about it working should be monitored (and if one does not care, why not turn the power off, save some CO2 pollution?)<\/p>\n\n\n\n<p>Well, I don&#8217;t really use the Telnet administration port on the router that often, so it is not a problem for me. Except that of course I want to avoid alarms about this, as there is probably nothing I can do about it, complaining to Fullrate does not really seem either worthwhile or likely to help.<\/p>\n\n\n\n<p>Hobbit has a simple way to do this, just add <code>badtelnet:&lt;ignore&gt;:&lt;warn&gt;:&lt;error&gt;<\/code> to the entry in <code>\/etc\/hobbit\/bb-hosts<\/code> (numbers are levels for ignore, warning, and error):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">    1.2.3.4     zyxel               # telnet badtelnet:1:3:4\n<\/pre>\n\n\n\n<p>Annoyingly, I first omitted the <code>telnet<\/code> entry on the line, leaving only the <code>badtelnet<\/code>, which neither works nor gives any errors. The documentation is not extremely clear on this point, so I had to sleep on it until I vaguely remembered that I might have run into the same problem a couple of years ago, but had completely forgotten. Hopefully now that I blogged it I will not forget again!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After setting up Hobbit monitoring on my home network, I discovered a curious issue with the Zyxel P-2602HW router that Fullrate delivers with their ADSL products: The Telnet administration port occasionally times-out connection attemps: I really like the Hobbit monitoring tool, I have used it ever since I heard about it when I met the&hellip; <a class=\"more-link\" href=\"https:\/\/knielsen-hq.org\/w\/hobbit-monitoring\/\">Continue reading <span class=\"screen-reader-text\">Hobbit monitoring<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[11],"_links":{"self":[{"href":"https:\/\/knielsen-hq.org\/w\/wp-json\/wp\/v2\/posts\/76"}],"collection":[{"href":"https:\/\/knielsen-hq.org\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/knielsen-hq.org\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/knielsen-hq.org\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/knielsen-hq.org\/w\/wp-json\/wp\/v2\/comments?post=76"}],"version-history":[{"count":1,"href":"https:\/\/knielsen-hq.org\/w\/wp-json\/wp\/v2\/posts\/76\/revisions"}],"predecessor-version":[{"id":77,"href":"https:\/\/knielsen-hq.org\/w\/wp-json\/wp\/v2\/posts\/76\/revisions\/77"}],"wp:attachment":[{"href":"https:\/\/knielsen-hq.org\/w\/wp-json\/wp\/v2\/media?parent=76"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/knielsen-hq.org\/w\/wp-json\/wp\/v2\/categories?post=76"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/knielsen-hq.org\/w\/wp-json\/wp\/v2\/tags?post=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}