{"id":764,"date":"2011-08-10T09:38:23","date_gmt":"2011-08-10T03:38:23","guid":{"rendered":"http:\/\/notes.norfolks.org\/?p=764"},"modified":"2012-12-07T16:50:28","modified_gmt":"2012-12-07T10:50:28","slug":"%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-centreon","status":"publish","type":"post","link":"https:\/\/notes.norfolks.fun\/?p=764","title":{"rendered":"\u0422\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u0432 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 Centreon"},"content":{"rendered":"<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Centreon<br \/>\n<a href=\"http:\/\/www.opennet.ru\/base\/net\/nagios_setup2.txt.html\">http:\/\/www.opennet.ru\/base\/net\/nagios_setup2.txt.html<\/a><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong><br \/>\n<code>Critical: gd.so not loaded in php.ini<\/code><br \/>\n<strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<pre lang=\"text\">apt-get install php5-gd<\/pre>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong><br \/>\n<code>Warning: ldap.so not loaded in php.ini<\/code><br \/>\n<strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<pre lang=\"text\">apt-get install php5-ldap<\/pre>\n<p><code>(\u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c LDAP-\u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e)<\/code><\/p>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430:<\/strong><br \/>\n\u041f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0432\u0445\u043e\u0434\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 <strong>&#171;invalid user&#187;<\/strong><br \/>\n<strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><br \/>\n\u041d\u0443\u0436\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c MD5-\u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f admin \u0432 \u0411\u0414 centreon_db (\u0432 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0431\u044b\u043b\u0430 \u0431\u0430\u0437\u0430 centreon):<\/p>\n<p>\u041d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0441 Centreon&#8217;\u043e\u043c:<\/p>\n<p>1) Generate md5 password from command line<\/p>\n<pre lang=\"text\">[me@server]#php -r 'echo md5(\"apalar\");'    [apalar is your desired password]\r\n[me@server]#498a04524f33a0d8c46672038a38422e<\/pre>\n<p>2) Update md5 password in centreon_db database in MySQL command line<\/p>\n<pre lang=\"text\">mysql> use centreon_db;\r\nDatabase changed\r\nmysql> UPDATE contact SET contact_passwd='498a04524f33a0d8c46672038a38422e' where contact_alias='admin';               \r\nQuery OK, 1 row affected (0.00 sec)\r\nRows matched: 1  Changed: 1  Warnings: 0<\/pre>\n<p><a href=\"https:\/\/sites.google.com\/a\/thetnaing.com\/therunningone\/centreon-invalid-user-login-error\">\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Centreon http:\/\/www.opennet.ru\/base\/net\/nagios_setup2.txt.html \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: Critical: gd.so not loaded in php.ini \u0420\u0435\u0448\u0435\u043d\u0438\u0435: apt-get install php5-gd \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: Warning: ldap.so not loaded in php.ini \u0420\u0435\u0448\u0435\u043d\u0438\u0435: apt-get install php5-ldap (\u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c LDAP-\u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e) \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u041f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0432\u0445\u043e\u0434\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 &#171;invalid user&#187; \u0420\u0435\u0448\u0435\u043d\u0438\u0435: &hellip; <a href=\"https:\/\/notes.norfolks.fun\/?p=764\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,8],"tags":[],"class_list":["post-764","post","type-post","status-publish","format-standard","hentry","category-linux","category-8"],"_links":{"self":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=764"}],"version-history":[{"count":9,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/764\/revisions"}],"predecessor-version":[{"id":1420,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/764\/revisions\/1420"}],"wp:attachment":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}