{"id":6904,"date":"2013-06-03T07:00:35","date_gmt":"2013-06-03T05:00:35","guid":{"rendered":"http:\/\/nolabnoparty.com\/?p=6904"},"modified":"2014-05-04T13:16:10","modified_gmt":"2014-05-04T11:16:10","slug":"installing-widgets-in-centreon","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/installing-widgets-in-centreon\/","title":{"rendered":"Installing widgets in Centreon"},"content":{"rendered":"<p><span style=\"text-transform: none; background-color: #ffffff; text-indent: 0px; letter-spacing: normal; display: inline !important; font: 12px\/17px verdana, arial, serif; white-space: normal; float: none; color: #585858; word-spacing: 0px; -webkit-text-stroke-width: 0px;\"><img decoding=\"async\" style=\"background-image: none; margin: 10px auto 5px; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widget01\" alt=\"widget01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widget01.jpg\" width=\"602\" height=\"202\" border=\"0\" \/><\/span><\/p>\n<p><span style=\"text-transform: none; background-color: #ffffff; text-indent: 0px; letter-spacing: normal; display: inline !important; font: 12px\/17px verdana, arial, serif; white-space: normal; float: none; color: #585858; word-spacing: 0px; -webkit-text-stroke-width: 0px;\">You can customize the Centreon web interface building <strong>your own dashboard<\/strong> using the Centreon widgets.<\/span><\/p>\n<p>With this solution you can <strong>extend the Centreon functionalities<\/strong> configuring the monitor system in the way that best fit into your corporate network environment.<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<h2>Prerequisites<\/h2>\n<ul>\n<li>Linux distribution CentOS 6.x<\/li>\n<li>Working Nagios environment<\/li>\n<li>Configured Centreon application<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>Download widgets templates<\/h2>\n<p>From Centreon website <a href=\"http:\/\/www.centreon.com\/Content-Download\/download-centreon-widgets\" target=\"_blank\" rel=\"noopener\">download<\/a> available templates to be installed in your system.<\/p>\n<p><img decoding=\"async\" style=\"background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widget02\" alt=\"widget02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widget02.jpg\" width=\"600\" height=\"396\" border=\"0\" \/><\/p>\n<p>Widgets <strong>files .gz<\/strong>\u00a0have to be extracted in the <em>\/usr\/local\/centreon\/www\/widgets\/<\/em> directory.<\/p>\n<blockquote><p>tar \u2013vxzf \/install\/<span style=\"color: #ff0000;\">widgetname<\/span>.tar.tg<\/p><\/blockquote>\n<p><span style=\"color: #0000a0;\"># cd \/usr\/local\/centreon\/www\/widgets\/<br \/>\n# tar -vxzf \/install\/centreon-widget-host-monitoring-1.1.2.tar.gz<br \/>\n# tar -vxzf \/install\/centreon-widget-hostgroup-monitoring-1.1.1.tar.gz<br \/>\n# tar -vxzf \/install\/centreon-widget-servicegroup-monitoring-1.1.0.tar.gz<br \/>\n# tar -vxzf \/install\/centreon-widget-service-monitoring-1.1.2.tar.gz<\/span><\/p>\n<p><img decoding=\"async\" style=\"background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widget03\" alt=\"widget03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widget03.jpg\" width=\"600\" height=\"310\" border=\"0\" \/><\/p>\n<p>Rename folders to reflect the <strong>widgets default configuration<\/strong> path then assign <strong>files ownership<\/strong> to user centreon.<\/p>\n<p><span style=\"color: #0000a0;\"># mv centreon-widget-host-monitoring-1.1.2\/ host-monitoring<br \/>\n# mv centreon-widget-hostgroup-monitoring-1.1.1\/ hostgroup-monitoring<br \/>\n# mv centreon-widget-service-monitoring-1.1.2\/ service-monitoring<br \/>\n# mv centreon-widget-servicegroup-monitoring-1.1.0\/ servicegroup-monitoring<\/span><\/p>\n<p><span style=\"color: #0000a0;\">#chow centreon:centreon * -R<\/span><\/p>\n<p><img decoding=\"async\" style=\"background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widget04\" alt=\"widget04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widget04.jpg\" width=\"600\" height=\"323\" border=\"0\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Install the widgets<\/h2>\n<p>From your browser, open Centreon and enter the credentials to<strong> login in the system<\/strong>.<\/p>\n<p><img decoding=\"async\" style=\"background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widget05\" alt=\"widget05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widget05.jpg\" width=\"331\" height=\"272\" border=\"0\" \/><\/p>\n<p>Go to <strong>Administration &gt; Modules &gt; Widgets &gt; Setup<\/strong> menu to see the list of available widgets.<\/p>\n<p><img decoding=\"async\" style=\"background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widget06\" alt=\"widget06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widget06.jpg\" width=\"600\" height=\"283\" border=\"0\" \/><\/p>\n<p>Under <strong>Actions<\/strong> field click on the icon to install the desired widget then click <strong>OK<\/strong> in the popup window to confirm the installation.<\/p>\n<p><img decoding=\"async\" style=\"background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widget07\" alt=\"widget07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widget07.jpg\" width=\"600\" height=\"220\" border=\"0\" \/><\/p>\n<p>Once the widgets have been installed, the <strong>Actions<\/strong> icons change. Clicking this new icon (recycle bin), the <strong>widget is uninstalled<\/strong> from the system.<\/p>\n<p><img decoding=\"async\" style=\"background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widget08\" alt=\"widget08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widget08.jpg\" width=\"600\" height=\"88\" border=\"0\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Widgets configuration<\/h2>\n<p>From Centreon main screen, click <strong>Home &gt; Custom Views<\/strong> menu. Click <strong>Add view<\/strong> button to configure a view.<\/p>\n<p><img decoding=\"async\" style=\"background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widgets11\" alt=\"widgets11\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widgets11.jpg\" width=\"600\" height=\"86\" border=\"0\" \/><\/p>\n<p>Type a <strong>View name<\/strong>, select the <strong>Layout<\/strong> then click <strong>Submit<\/strong>.<\/p>\n<p><img decoding=\"async\" style=\"background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widgets12\" alt=\"widgets12\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widgets12.jpg\" width=\"600\" height=\"174\" border=\"0\" \/><\/p>\n<p>Click <strong>Add widget<\/strong> button.<\/p>\n<p><img decoding=\"async\" style=\"background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widgets14\" alt=\"widgets14\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widgets14.jpg\" width=\"600\" height=\"87\" border=\"0\" \/><\/p>\n<p>Type a <strong>Widget Title<\/strong>, select the widget type you want to install then click <strong>Submit<\/strong>.<\/p>\n<p><img decoding=\"async\" style=\"background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widgets15\" alt=\"widgets15\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widgets15.jpg\" width=\"600\" height=\"177\" border=\"0\" \/><\/p>\n<p>Install all the views and widgets you may need following these steps. If you set up different views, you can show all of them in sequence by configuring a <strong>Rotation<\/strong> time.<\/p>\n<p><img decoding=\"async\" style=\"background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widgets16\" alt=\"widgets16\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widgets16.jpg\" width=\"366\" height=\"164\" border=\"0\" \/><\/p>\n<p>The <strong>final result<\/strong> with four views configured.<\/p>\n<p><img decoding=\"async\" style=\"background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border: 0px;\" title=\"widgets17\" alt=\"widgets17\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/05\/widgets17.jpg\" width=\"600\" height=\"363\" border=\"0\" \/><\/p>\n<p>You can also <a href=\"http:\/\/documentation.centreon.com\/docs\/centreon\/en\/latest\/extending\/widgets\/howtowrite.html\" target=\"_blank\" rel=\"noopener\">create your own widgets<\/a> following the instructions in the Centreon website.<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" title=\"\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can customize the Centreon web interface building your own dashboard using the Centreon widgets. With this solution you can extend the Centreon functionalities configuring the monitor system in the way that best fit into your corporate network environment.<\/p>\n","protected":false},"author":3,"featured_media":6890,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[899,898,902],"tags":[628,639,634,627],"class_list":["post-6904","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-analysis-en","category-monitoring-en","category-plugins-en","tag-centreon-en","tag-data-analysis","tag-monitoring-en","tag-widgets","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/6904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=6904"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/6904\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/6890"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=6904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=6904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=6904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}