{"id":12,"date":"2003-04-29T23:08:40","date_gmt":"2003-04-29T22:08:40","guid":{"rendered":"http:\/\/www.yelloworb.com\/freebsd\/?p=12"},"modified":"2003-04-29T23:08:40","modified_gmt":"2003-04-29T22:08:40","slug":"cricket-once-more","status":"publish","type":"post","link":"https:\/\/www.yelloworb.com\/freebsd\/2003\/04\/cricket-once-more\/","title":{"rendered":"Cricket once more"},"content":{"rendered":"<p>Started to configure and tweak Cricket to fit my needs to monitor the temperature from the two TINIs I have here. <\/p>\n<p>\nI&#8217;m not sure exactley how far the ports installation goes in the <a href=\"http:\/\/cricket.sourceforge.net\/support\/doc\/beginner.html\">Installing Cricket for the Complete Beginner<\/a> documentation. Most of the configuration up to 7 is done. Though the Cricket home directory is set to \/usr\/local\/cricket instead of \/home\/cricket.<\/p>\n<p>\n<!--more--><br \/>\nAfter you have copied the config you want and modified it accordingly you are going to compile it but before doing so you much do the following:<\/p>\n<pre>mv cricket-conf.pl.dist cricket-conf.pl<\/pre>\n<p>so that cricket can find the script and run it.<\/p>\n<p>\nSo after a while of fiddling with the config files I  succefully created my own config.<\/p>\n<p>\nThe Default file in the cricket-config\/proxycache looks like this:<\/p>\n<blockquote>\n<pre>target --default--\n        short-desc   =  \"\"\n        client       =  \"\"\n        variable     =  \"\"\n        target-type  =  proxycache\n\ndatasource      variable-value\n        ds-source  =  \"exec:0:\/usr\/local\/jdk1.3.1\/bin\/java -cp '\/usr\/local\/cricket\/exec\/proxycache\/lib\/tinisoap.jar:\/usr\/local\/cricket\/exec\/proxycache\/lib\/minml2.jar:\/usr\/local\/cricket\/exec\/proxycache\/' ProxyCacheTiniSoapClientTester %client% %variable%\"\n        rrd-ds-type  =  GAUGE\n\ntargetType      proxycache\n        ds  =  \"variable-value\"<\/pre>\n<\/blockquote>\n<p>and then I made a file called variable looking like this:<\/p>\n<pre>target ute\n        short-desc = \"The temperature outside at Riksdalersgatan 46, Gothenburg, Sweden\"\n        client = tini-temp\n        variable = ute\n\ntarget inne\n        short-desc = \"The temperature inside at Riksdalersgatan 46, Gothenburg, Sweden\"\n        client = tini-trial\n        variable = inside<\/pre>\n<p>Though these compiled fine I realized that the ProxyCacheTiniSoapClient does not do what is supposed to do. Have to fix but that does not belong here anymore.<\/p>\n<p>\n","protected":false},"excerpt":{"rendered":"<p>Started to configure and tweak Cricket to fit my needs to monitor the temperature from the two TINIs I have here. I&#8217;m not sure exactley how far the ports installation goes in the Installing Cricket for the Complete Beginner documentation. &hellip; <a href=\"https:\/\/www.yelloworb.com\/freebsd\/2003\/04\/cricket-once-more\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-monitoring-tools"],"_links":{"self":[{"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":0,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}