{"id":1375,"date":"2012-08-01T10:23:25","date_gmt":"2012-08-01T17:23:25","guid":{"rendered":"http:\/\/xiehang.com\/blog\/?p=1375"},"modified":"2012-08-01T10:23:25","modified_gmt":"2012-08-01T17:23:25","slug":"how-to-get-rid-of-nagios-alert","status":"publish","type":"post","link":"https:\/\/xiehang.com\/blog\/2012\/08\/01\/how-to-get-rid-of-nagios-alert\/","title":{"rendered":"How to get rid of Nagios alert"},"content":{"rendered":"

Be aware this is a joke. \ud83d\ude00<\/p>\n

I had alert from a memcached service that mentioning for all the time that hit rate was too low, after checking it I found it was actually because the traffic was too low (the site was not in production yet), so how to solve this problem?<\/p>\n

After thinking of various “serious” solutions, I finally turned to running a script, keep hitting the entries (actually, only one specific entry) in the cache, so to raise the hit rate to a level that makes Nagios stop alerting me.<\/p>\n

OK, OK, I know this is bad, but fun, isn’t it?<\/p>\n

Actually this causes another thinking – if there is a particular key having high miss rate, do we care? If we do then the monitoring mechanism won’t work for that case …<\/p>\n","protected":false},"excerpt":{"rendered":"

Be aware this is a joke. \ud83d\ude00 I had alert from a memcached service that mentioning for all the time that hit rate was too low, after checking it I found it was actually because the traffic was too low (the site was not in production yet), so how to solve this problem? After thinking […]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[353,352,351],"_links":{"self":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/1375"}],"collection":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/comments?post=1375"}],"version-history":[{"count":1,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/1375\/revisions"}],"predecessor-version":[{"id":1376,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/1375\/revisions\/1376"}],"wp:attachment":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/media?parent=1375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/categories?post=1375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/tags?post=1375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}