{"id":1800,"date":"2014-05-11T15:41:01","date_gmt":"2014-05-11T22:41:01","guid":{"rendered":"https:\/\/digitalnigel.com\/wordpress\/?p=1800"},"modified":"2014-05-11T15:41:01","modified_gmt":"2014-05-11T22:41:01","slug":"cacti-poller-issues","status":"publish","type":"post","link":"https:\/\/digitalnigel.com\/wordpress\/?p=1800","title":{"rendered":"Cacti Poller Issues"},"content":{"rendered":"<p>Cacti has proven to be a pretty useful tool in my experience, but recently, one of my installations seemed to be plagued with random graph drop outs.<\/p>\n<p><a href=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2014\/05\/Cacti_PHP_Poller.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1802\" src=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2014\/05\/Cacti_PHP_Poller.png\" alt=\"Cacti_PHP_Poller\" width=\"595\" height=\"266\" srcset=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2014\/05\/Cacti_PHP_Poller.png 595w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2014\/05\/Cacti_PHP_Poller-150x67.png 150w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2014\/05\/Cacti_PHP_Poller-300x134.png 300w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><\/a><\/p>\n<p>I&#8217;d not seen this sort of issue before that wasn&#8217;t related to network issues, but Smokeping, and other network tests didn&#8217;t show any issues with connectivity. Additionally, the Cacti poller logs didn&#8217;t seem to indicate any errors, but would say that the polling run had completed, and polled X number of hosts, but X was fewer than the total.<\/p>\n<p>Unfortunately, it didn&#8217;t seem that my google fu was strong in this instance, or other people haven&#8217;t run into this much, so I hadn&#8217;t been able to find much in terms of causes or solutions. Which, as everyone knows, leaves the only remaining course of random guessing.<\/p>\n<p>So, I decided to try using the Spine poller, rather than the default PHP one. This required (in ubuntu) installing the cacti-spine package, configuring the \/etc\/cacti\/spine.conf file with the proper database details, and choosing the Spine poller in the Cacti admin interface.<\/p>\n<p><a href=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2014\/05\/Cacti_Spine_Poller.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1801\" src=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2014\/05\/Cacti_Spine_Poller.png\" alt=\"Cacti_Spine_Poller\" width=\"595\" height=\"266\" srcset=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2014\/05\/Cacti_Spine_Poller.png 595w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2014\/05\/Cacti_Spine_Poller-150x67.png 150w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2014\/05\/Cacti_Spine_Poller-300x134.png 300w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><\/a><\/p>\n<p>Which as you can see magically fixed my Cacti graphs. I&#8217;m still not sure why the default poller was neglecting to poll certain hosts intermittently, but even if the default poller is working well, the Spine poller is a LARGE amount faster, so it&#8217;s certainly recommended, especially if you have larger numbers of hosts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cacti has proven to be a pretty useful tool in my experience, but recently, one of my installations seemed to be plagued with random graph drop outs. I&#8217;d not seen this sort of issue before that wasn&#8217;t related to network &hellip; <a href=\"https:\/\/digitalnigel.com\/wordpress\/?p=1800\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,6],"tags":[],"class_list":["post-1800","post","type-post","status-publish","format-standard","hentry","category-electronics","category-technology"],"_links":{"self":[{"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1800"}],"version-history":[{"count":1,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1800\/revisions"}],"predecessor-version":[{"id":1803,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1800\/revisions\/1803"}],"wp:attachment":[{"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}