{"id":782,"date":"2011-06-11T15:46:20","date_gmt":"2011-06-11T09:46:20","guid":{"rendered":"http:\/\/blog.amigas.ru\/?p=782"},"modified":"2014-03-17T15:29:21","modified_gmt":"2014-03-17T09:29:21","slug":"monitorix-repair-system-load-average","status":"publish","type":"post","link":"http:\/\/blog.amigas.ru\/?p=782","title":{"rendered":"Monitorix (repair system load average)"},"content":{"rendered":"<p>\u041f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u0438&#8230;..\u043e\u0439. \u041f\u043e\u0441\u043b\u0435 \u0440\u0443\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432\u043e freebsd, \u0432 monitorix \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0433\u0440\u0430\u0444\u0438\u043a \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. <span style=\"text-decoration: underline;\">\u0412 \/var\/log\/monitorix \u0441\u0442\u0430\u043b\u0438 \u0441\u044b\u043f\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f:<\/span><br \/>\n<code><br \/>\nFri Jun 10 15:48:04 2011 - SIGTERM caught, exiting.<br \/>\nDied at \/usr\/local\/sbin\/monitorix line 58.<br \/>\nFri Jun 10 15:48:05 2011 - Starting Monitorix version 2.1.2 (pid 23356).<br \/>\nERROR: while updating \/usr\/local\/share\/monitorix\/system.rrd: \/usr\/local\/share\/monitorix\/system.rrd: conversion of '0,<br \/>\nERROR: while updating \/usr\/local\/share\/monitorix\/system.rrd: \/usr\/local\/share\/monitorix\/system.rrd: conversion of '0,<br \/>\nERROR: while updating \/usr\/local\/share\/monitorix\/system.rrd: \/usr\/local\/share\/monitorix\/system.rrd: conversion of '0,<br \/>\nERROR: while updating \/usr\/local\/share\/monitorix\/system.rrd: \/usr\/local\/share\/monitorix\/system.rrd: conversion of '0,<br \/>\nERROR: while updating \/usr\/local\/share\/monitorix\/system.rrd: \/usr\/local\/share\/monitorix\/system.rrd: conversion of '0,<br \/>\nERROR: while updating \/usr\/local\/share\/monitorix\/system.rrd: \/usr\/local\/share\/monitorix\/system.rrd: conversion of '0,<br \/>\nERROR: while updating \/usr\/local\/share\/monitorix\/system.rrd: \/usr\/local\/share\/monitorix\/system.rrd: conversion of '0,<br \/>\nERROR: while updating \/usr\/local\/share\/monitorix\/system.rrd: \/usr\/local\/share\/monitorix\/system.rrd: conversion of '0,<br \/>\nERROR: while updating \/usr\/local\/share\/monitorix\/system.rrd: \/usr\/local\/share\/monitorix\/system.rrd: conversion of '0,<br \/>\n\u0420\u0435\u0448\u0438\u043b \u0441\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u0441 \u0430\u0432\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041f\u043e\u0441\u043b\u0435 3-\u0445 \u0447\u0430\u0441\u043e\u0432\u043e\u0433\u043e \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435(\u0437\u0430\u043e\u0434\u043d\u043e \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b), \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e. \u0412\u0441\u0451 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043e\u043e\u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e. \u041e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u0440\u0443\u0441\u0441\u043a\u043e\u0439 \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \u0434\u0440\u043e\u0431\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438:<br \/>\nvadim# uptime<br \/>\n15:40  up 2 days,  3:42, 1 user, load averages: <span style=\"text-decoration: underline;\">0,01 0,02 0,00<\/span><br \/>\nvadim#<br \/>\n\u0412\u043c\u0435\u0441\u0442\u043e \"\u0442\u043e\u0447\u043a\u0438\" \u0432 \u0438\u043d\u0433\u043b\u0438\u0448 \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u0441\u0442\u043e\u0438\u0442 \"\u0437\u0430\u043f\u044f\u0442\u0430\u044f\" \u0432 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435.<br \/>\n\u0424\u0438\u043a\u0441 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c:<br \/>\n&gt;ee \/usr\/local\/sbin\/monitorix<br \/>\n<strong><span style=\"text-decoration: underline;\">\u0418 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c(\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0440\u043e\u0447\u043a\u0443):<\/span><\/strong><br \/>\nrequire 5.006;<\/p>\n<p>no strict \"vars\";<br \/>\nno warnings \"once\";<br \/>\n#use warnings;<br \/>\nuse LWP::UserAgent;<br \/>\nuse IO::Socket;<br \/>\nuse Getopt::Std;<br \/>\nuse MIME::Lite;<br \/>\nuse POSIX;<br \/>\nuse RRDs;<br \/>\nuse Cwd 'abs_path';<br \/>\n<strong>$ENV{LANG} = \"\";      &lt;-----\u0432\u043e\u0442 \u044d\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438(\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0434\u0435\u0441\u044c!!!)<\/strong><br \/>\n\u0418 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \/usr\/local\/etc\/rc.d\/monitorix restart<br \/>\n<\/code><br \/>\n\u0427\u0435\u0440\u0435\u0437 15 \u043c\u0438\u043d\u0443\u0442 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0441\u0442\u0430\u043b\u0430 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f. \u0410 \u0437\u0430\u043e\u0434\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b \u0441\u043c\u0430\u043b \u0434\u043e\u043d\u044d\u0439\u0448\u0438\u043e\u043d \u0430\u0432\u0442\u043e\u0440\u0443 \u0432 \u0440\u0430\u0437\u043c\u0435\u0440\u0435 3-\u0445 \u0435\u0432\u0440\u043e\u0432, \u0438\u0431\u043e \u0447\u0435\u0441\u0442\u043d\u043e \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u0438&#8230;..\u043e\u0439. \u041f\u043e\u0441\u043b\u0435 \u0440\u0443\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432\u043e freebsd, \u0432 monitorix \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0433\u0440\u0430\u0444\u0438\u043a \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u0412 \/var\/log\/monitorix \u0441\u0442\u0430\u043b\u0438 \u0441\u044b\u043f\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f: Fri Jun 10 15:48:04 2011 &#8212; SIGTERM caught, exiting. Died at \/usr\/local\/sbin\/monitorix line 58. Fri Jun 10 15:48:05 2011 &#8212; Starting Monitorix version 2.1.2 (pid 23356). ERROR: while updating \/usr\/local\/share\/monitorix\/system.rrd: \/usr\/local\/share\/monitorix\/system.rrd: conversion of &#8216;0, ERROR: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[63],"tags":[149,47,64],"class_list":["post-782","post","type-post","status-publish","format-standard","hentry","category-web-freebsd","tag-freebsd","tag-web","tag-statistika"],"views":1110,"_links":{"self":[{"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=\/wp\/v2\/posts\/782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=782"}],"version-history":[{"count":7,"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=\/wp\/v2\/posts\/782\/revisions"}],"predecessor-version":[{"id":2049,"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=\/wp\/v2\/posts\/782\/revisions\/2049"}],"wp:attachment":[{"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=782"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.amigas.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}