{"id":1072,"date":"2020-04-10T11:41:02","date_gmt":"2020-04-10T11:41:02","guid":{"rendered":"http:\/\/blog.successionua.com\/?p=1072"},"modified":"2020-04-10T11:41:02","modified_gmt":"2020-04-10T11:41:02","slug":"%d0%a3%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-gui-%d0%b4%d1%8f-nagios-vshell2","status":"publish","type":"post","link":"https:\/\/geckich.space\/?p=1072","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 GUI \u0434\u044f Nagios Vshell2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u041e\u0421 &#8211; Unumtu 18.04, \u043d\u043e \u0441 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f\u043c\u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0439 \u041e\u0421<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0439 \u043f\u0430\u043a\u0435\u0442 (\u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0447\u0442\u043e apache2, php, nagios \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u0438 \u043d\u0430\u0442\u0441\u0440\u043e\u0435\u043d\u044b):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install php7.2-intl<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0430\u0440\u0445\u0438\u0432 \u0441 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u043e\u0439 \u043e\u0442\u0441\u044e\u0434\u0430:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/NagiosEnterprises\/nagiosvshell\/tree\/2.x\">https:\/\/github.com\/NagiosEnterprises\/nagiosvshell\/tree\/2.x<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0438 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget https:\/\/github.com\/NagiosEnterprises\/nagiosvshell\/archive\/2.x.zip\nunzip 2.x.zip\ncd nagiosvshell-2.x\/\nnano config.php<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u0442\u0440\u043e\u043a\u0438, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u044b \u0436\u0438\u0440\u043d\u044b\u043c \u0448\u0440\u0438\u0444\u0442\u043e\u043c. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u0434\u043b\u044f nagios3, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440. \u0423 \u043c\u0435\u043d\u044f \u0443\u0436\u0435 \u0431\u044b\u043b nagios 4, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432\u043d\u0443\u0447\u043d\u0443\u044e. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u043e\u043f\u0440\u0430\u0432\u043a\u0438 \u0434\u043b\u044f \u043f\u0443\u0442\u0435\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0441\u0430\u0439\u0442\u0430 \u0438 \u0444\u0430\u0439\u043b\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e Nagios GUI \u0434\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0432 \u0441\u043a\u043e\u0431\u043a\u0438 &#8221; \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <strong>$custom = array(<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php\nCustom values\n#\nAdd any custom values here. If a value is empty, the default value defined\nbelow is used.\n$custom = array(\n'targetdir' => '',\n'apacheconfdir' => '',\n'apacheconffile' => '',\n'apacheuser' => '',\n'apachegroup' => '',\n'etc_conf' => '',\n'htpasswd_file' => '',\n# See config\/vshell.conf for explanations of each value\n'vshell_baseurl' => '',\n'TTL' => '',\n'update_interval' => '',\n'nagios_coreurl' => '',\n'lang' => '',\n);\nDefault values\n#\nDo not edit these defaults\n$defaults = array();\n$defaults['debian'] = array(\n<strong>'targetdir' => '\/usr\/local\/vshell2'<\/strong>,\n<strong>'apacheconfdir' => '\/etc\/apache2\/sites-enabled',\n'apacheconffile' => 'vshell2.conf',<\/strong>\n'apacheuser' => 'www-data',\n'apachegroup' => 'www-data',\n'etc_conf' => 'vshell2.conf',\n<strong>'htpasswd_file' => '\/etc\/nagios3\/htpasswd.users',<\/strong>\n'vshell_baseurl' => 'vshell2',\n<strong>'nagios_coreurl' => 'nagios3',<\/strong>\n'TTL' => '90',\n'update_interval' => '90',\n'lang' => 'en_GB',\n);\n$defaults['redhat'] = array(\n'targetdir' => '\/usr\/local\/vshell2',\n'apacheconfdir' => '\/etc\/httpd\/conf.d',\n'apacheconffile' => 'vshell2.conf',\n'apacheuser' => 'apache',\n'apachegroup' => 'apache',\n'etc_conf' => 'vshell2.conf',\n'htpasswd_file' => '\/etc\/nagios\/passwd',\n'vshell_baseurl' => 'vshell2',\n'nagios_coreurl' => 'nagios',\n'TTL' => '90',\n'update_interval' => '90',\n'lang' => 'en_GB',\n);<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0451\u043c \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c install.php:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chmod +x install.php<br>.\/install.php<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u043a\u0440\u0438\u043f\u0442 \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u0432\u0441\u0451 \u0441\u0430\u043c. \u0418 \u0435\u0441\u043b\u0438 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u044b\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0432 \u043a\u043e\u043d\u0444\u0438\u0433-\u0444\u0430\u0439\u043b\u0435, \u0442\u043e \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u0443\u0432\u0438\u0434\u0438\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0443 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 http:\/\/your_server_ip\/vshell2<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"726\" src=\"http:\/\/blog.geckich.site\/wp-content\/uploads\/2020\/04\/image-1024x726.png\" alt=\"\" class=\"wp-image-1073\" srcset=\"https:\/\/geckich.space\/wp-content\/uploads\/2020\/04\/image-1024x726.png 1024w, https:\/\/geckich.space\/wp-content\/uploads\/2020\/04\/image-300x213.png 300w, https:\/\/geckich.space\/wp-content\/uploads\/2020\/04\/image-768x544.png 768w, https:\/\/geckich.space\/wp-content\/uploads\/2020\/04\/image.png 1456w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0441\u043b\u0438 \u0432\u0438\u0434\u0438\u0442\u0435 \u043e\u0448\u0438\u0431\u043a\u0443 500 \u0438\u043b\u0438 \u0435\u0449\u0451 \u0447\u0442\u043e &#8211; \u043b\u043e\u043f\u0430\u0442\u0438\u043c \u043b\u043e\u0433\u0438 apache (\/var\/log\/apache2\/error.log) \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041e\u0421 &#8211; Unumtu 18.04, \u043d\u043e \u0441 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f\u043c\u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0439 \u041e\u0421 \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0439 \u043f\u0430\u043a\u0435\u0442 (\u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0447\u0442\u043e apache2, php, nagios \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u0438 \u043d\u0430\u0442\u0441\u0440\u043e\u0435\u043d\u044b): apt-get install php7.2-intl \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0430\u0440\u0445\u0438\u0432 \u0441 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u043e\u0439 \u043e\u0442\u0441\u044e\u0434\u0430: https:\/\/github.com\/NagiosEnterprises\/nagiosvshell\/tree\/2.x \u041d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0438 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438: wget https:\/\/github.com\/NagiosEnterprises\/nagiosvshell\/archive\/2.x.zip unzip 2.x.zip cd nagiosvshell-2.x\/ nano config.php \u0421\u0442\u0440\u043e\u043a\u0438, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 &hellip; <a href=\"https:\/\/geckich.space\/?p=1072\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 GUI \u0434\u044f Nagios Vshell2<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10,7],"tags":[138,48,140,137,75,139],"class_list":["post-1072","post","type-post","status-publish","format-standard","hentry","category-linux","category-sysadmin","tag-apache","tag-linux","tag-monitoring","tag-nagios","tag-ubuntu","tag-vshell"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/1072","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1072"}],"version-history":[{"count":1,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/1072\/revisions"}],"predecessor-version":[{"id":1074,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/1072\/revisions\/1074"}],"wp:attachment":[{"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1072"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1072"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}