{"id":22523,"date":"2013-01-23T09:36:00","date_gmt":"2013-01-23T09:36:00","guid":{"rendered":"http:\/\/blog.open-e.com\/?p=22523"},"modified":"2025-07-07T11:16:50","modified_gmt":"2025-07-07T11:16:50","slug":"how-to-monitor-your-open-e-dss-v7","status":"publish","type":"post","link":"https:\/\/www.open-e.com\/blog\/how-to-monitor-your-open-e-dss-v7\/","title":{"rendered":"How to monitor your Open-E DSS V7"},"content":{"rendered":"<p>\t\t\t\t<strong>System monitoring is an important part of daily administrative tasks. Following our recent <a href=\"http:\/\/www.open-e.com\/support\/library\/webinars-and-videos\/\" target=\"_blank\" rel=\"noopener\">webinars<\/a>, showing the ways we can monitor our Open-E DSS V7, we decided to prepare a how-to instruction for you.<\/strong><\/p>\n<div style=\"border: #993333 5px solid; float: right; padding: 10px; margin: 5px; font-size: 20px; width: 300px; text-align: left; margin-left: 20px;\">\n<p>This article is outdated as the functionality has been improved. In order to get the updated information, go to the article: <a href=\"http:\/\/blog.open-e.com\/monitoring-open-e-dss-v7-and-open-e-joviandss-with-check-mk\/\" target=\"_blank\" rel=\"noopener\">Monitoring Open-E DSS V7 and Open-E JovianDSS with Check_MK<\/a><\/p>\n<\/div>\n<p>We will show you how to configure the necessary tools, update your <a href=\"http:\/\/www.open-e.com\/products\/open-e-data-storage-software-v7\/\" target=\"_blank\" rel=\"noopener\">Open-E DSS V7<\/a> and finally, access and use the monitoring interface.<\/p>\n<h3><strong>What is Nagios, OMD and check_mk? <\/strong><\/h3>\n<p>Before we jump into a configuration process, you may need a quick introduction to the tools we will mention in this post.<\/p>\n<p><strong>Nagios<\/strong> is one of the most popular open-source monitoring software applications. It offers monitoring and alerting for servers, switches, applications and services.<\/p>\n<p><strong>OMD <\/strong>(Open Monitoring Distribution) bundles Nagios together with many important add-ons and can easily be installed on every major Linux distribution. Using it, we can avoid compiling and integrating Nagios add-ons manually.<\/p>\n<p><strong>Check_mk<\/strong> is a status GUI written in Python which supports user definable views and is able to display the status of several sites in one combined view. A very intuitive design and an easy operation are one of the strongest points of this tool.<\/p>\n<p>The following instruction was made in Ubuntu. However, a similar configuration can be made in other Linux distributions.<\/p>\n<h3><strong>Installing and configuring OMD<\/strong><\/h3>\n<p>We start with the installation and configuration of OMD packages. Please follow the steps below:<\/p>\n<ol>\n<ol>\n<li>From root level*, update and upgrade your distribution\u2019s package index using the following commands:\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">apt-get update<\/pre>\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">apt-get upgrade<\/pre>\n<p>In addition you can upgrade your distribution\u2019s kernel:<\/p>\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">apt-get dist-upgrade<\/pre>\n<p><em>*You may need to use &#8220;sudo su \u2013&#8221; command, as Ubuntu do not login root by default.<\/em><\/li>\n<li>In order to install the OMD package, go to <a href=\"http:\/\/www.omdistro.org\/\" target=\"_blank\" rel=\"noopener\">OMD website<\/a> and navigate to <strong>Downloads <\/strong>section.<\/li>\n<li>Go to <a href=\"http:\/\/labs.consol.de\/nagios\/omd-repository\/\" target=\"_blank\" rel=\"noopener\">package repositories<\/a> and choose the relevant version of the repository (in our case it will be \u201cUbuntu Precise 12.04\u201d).<\/li>\n<li>Install the relevant GPG key in Ubuntu.<\/li>\n<\/ol>\n<\/ol>\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">gpg --keyserver keys.gnupg.net --recv-keys F8C1CA08A57B9ED7<\/pre>\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">gpg --armor --export F8C1CA08A57B9ED7 | apt-key add -<\/pre>\n<ol>\n<ol>\n<li>Next, we enable the stable release repository (in our case, it is the one dedicated to Ubuntu Precise 12.04):<\/li>\n<\/ol>\n<\/ol>\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">echo 'deb http:\/\/labs.consol.de\/OMD\/ubuntu precise main' \n&gt;&gt; \/etc\/apt\/sources.list<\/pre>\n<ol>\n<li>Following the installation, we run apt-get update to refresh our distribution repository:\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">apt-get update<\/pre>\n<\/li>\n<li>We then install the OMD:<\/li>\n<li>\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">apt-get install omd-0.56<\/pre>\n<\/li>\n<\/ol>\n<p>Following the installation of OMD repository, we go to our Open-E DSS V7 server to perform an additional configuration and install a small update.<\/p>\n<h3>Applying the small update to Open-E DSS V7<\/h3>\n<div style=\"border: #999999 1px solid; float: right; padding: 5px; margin: 2px; font-size: 11px; width: 190px; text-align: left; margin-left: 15px; margin-bottom: 20px;\">Click <a href=\"http:\/\/kb.open-e.com\/How-can-I-obtain-and-apply-a-small-update-to-my-Open-E-software_63.html\" target=\"_blank\" rel=\"noopener\">here<\/a>, to find out how to obtain small updates. Please note, it is always best to confirm with our technical support, before installing any updates to your system.<\/div>\n<p>To install the necessary update, we need to log in to our Open-E DSS V7 GUI and do the following:<\/p>\n<ol>\n<ol>\n<li>From the <strong>Maintenance <\/strong>tab, select <strong>System update<\/strong> and navigate to <strong>System software update<\/strong>.<\/li>\n<li>Click <strong>Choose File <\/strong>to pick the small update <a href=\"ftp:\/\/software:UuPpDdAaTtEe@ftp.open-e.com\/In_Engineering_Phase\/check_mk\/23-04-2013\/upd_70139c-DSS-V7-up12.upd\">upd_70139-DSS-V7.upd<\/a>, then click on <strong>upload and apply<\/strong>.<img decoding=\"async\" class=\"\" style=\"display: block; margin: 20px auto;\" src=\"http:\/\/blog.open-e.com\/wp-content\/uploads\/2013\/01\/monit1.png\" alt=\"system software update\" width=\"550\" \/>You will then need to manually restart the system.<\/li>\n<li>Go to <strong>Maintenance <\/strong>tab, <strong>Shutdown<\/strong>, find <strong>System Restart <\/strong>and click on <strong>Restart <\/strong>button in order to reboot the server.<\/li>\n<\/ol>\n<\/ol>\n<p>After the installation, the small update will be visible in the menu (it can be removed by clicking on the trash bin).<\/p>\n<p><img decoding=\"async\" class=\"\" style=\"display: block; margin: 20px auto;\" src=\"http:\/\/blog.open-e.com\/wp-content\/uploads\/2013\/01\/monit2.png\" alt=\"small update\" width=\"550\" \/><\/p>\n<h3>Enabling API in Open-E DSS V7<\/h3>\n<ol>\n<li>Go to <strong>Setup <\/strong>tab and <strong>Administrator settings<\/strong>, then navigate to <strong>CLI\/API Configuration<\/strong>.<\/li>\n<li>Tick the box to <strong>Use CLI\/API<\/strong>, then specify port <strong>&#8211; 22223<\/strong> and password.<br \/>\n<img decoding=\"async\" class=\"\" style=\"display: block; margin: 20px auto;\" src=\"http:\/\/blog.open-e.com\/wp-content\/uploads\/2013\/01\/monit3.png\" alt=\"cli configuration\" width=\"550\" \/><\/li>\n<li>In order to use the CLI\/API functionality without password, you need to generate ssh key. You can do it by expanding <strong>show advanced<\/strong> menu and clicking on the <strong>generate and download<\/strong> button.<img decoding=\"async\" class=\"\" style=\"display: block; margin: 20px auto;\" src=\"http:\/\/blog.open-e.com\/wp-content\/uploads\/2013\/01\/monit4.png\" alt=\"cli configuration\" width=\"550\" \/><\/li>\n<li>Save the file in the relevant location (in this example, we will call it \u201cdss60.key\u201d).<br \/>\nTo be able to use the ssh key in our Linux distribution, we may create a NAS share and then mount it in Ubuntu.<\/p>\n<div style=\"border: #999999 1px solid; float: right; padding: 5px; margin: 2px; font-size: 13px; width: 190px; text-align: left; margin-left: 15px;\">Go to <a href=\"http:\/\/www.open-e.com\/download\/library-document-document_file\/get\/561\/\">manual<\/a>, to find out how to create a NAS volume and a NAS share in Open-E DSS V7.<\/div>\n<\/li>\n<li>After creating a NAS share, enable SMB with &#8220;Guest&#8221; access and NFS access (with default settings) for that share, so you will be able to use it under Ubuntu.<\/li>\n<li>Connect to the created share (via IP address of your storage server e.g. Run -&gt; \\\\192.168.232.60) and copy the ssh key to the \u201cTest\u201d share.<\/li>\n<li>In Ubuntu, create directory \/mnt\/test:\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">mkdir \/mnt\/test<\/pre>\n<\/li>\n<li>Mount our Open-E DSS V7 share to that location:\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">mount \u2013t nfs 192.168.232.60:\/test \/mnt\/test<\/pre>\n<\/li>\n<li>Now, you can copy the file to the OMD folder (\/opt\/omd) \u2013 created during installation. You can use midnight commander to copy the file.<\/li>\n<li>The next step is the creation of a new site (ours will be called \u201cdssmonitor\u201d)\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">omd create dssmonitor<\/pre>\n<p>What you get is:<\/p>\n<ul>\n<li>\u2022 a site directory with preconfigured configuration files<\/li>\n<li>\u2022 a new user &#8220;dssmonitor&#8221; and a new group &#8220;dssmonitor&#8221; (identical with the name of your site). The new user is also a member of the group omd, which is created during installation.<\/li>\n<\/ul>\n<\/li>\n<li>Then, we start the omd on our newly created site:\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">omd start<\/pre>\n<p>We are now ready to perform an additional configuration of OMD.<\/li>\n<li>We edit the file \u201c\/opt\/omd\/sites\/dssmonitor\/etc\/check_mk\/main.mk\u201d (we can use mcedit command for that purpose):\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">mcedit \/opt\/omd\/sites\/dssmonitor\/etc\/check_mk\/main.mk<\/pre>\n<\/li>\n<li>In the relevant space, we insert the host\u2019s IP and type of the protocol used:\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">all_hosts = [\u2018192.168.232.60|ssh\u2019]<\/pre>\n<\/li>\n<li>Next, we append the following entries, to define commands that will be used to connect to API (see convention below):\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">datasource_programs = [ (\u201c<strong>ssh \u2013p<\/strong> <em>default port number<\/em> <strong>\u2013 i <\/strong> <em>\nssh key's location path<\/em> <strong>\u2013l<\/strong> <em>username for API  + host IP + command \nthat will be run over API to DSS<\/em><strong>, <\/strong><strong>[\u2018<\/strong><em>protocol used<\/em><strong>\u2019] ,<\/strong> \n<em>in which section our monitoring statuses will be shown<\/em>)<strong>, ]<\/strong><\/pre>\n<p>In our case, it will be:<\/p>\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">datasource_programs = [ (\u201cssh \u2013p 22223 \u2013i \/omd\/dss60.key \u2013l \napi 192.168.232.60 check_mk_agent\u201d, [\u2018ssh\u2019], ALL_HOSTS ), ]<\/pre>\n<\/li>\n<li>Save changes to file.<\/li>\n<li>The important part is to ensure the correct ownership (our OMD user) and access permission (read and execute for owner only) of our ssh key.<\/li>\n<li>To change the owner of our ssh key file, we use the following command:\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">chown dssmonitor \/omd\/dss60.key<\/pre>\n<\/li>\n<li>To change access permission, so only the owner has read and execute rights, we use:\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">chmod 500 \/cmd\/dss.key<\/pre>\n<\/li>\n<li>Then, we log to OMD as dssmonitor using \u201csu\u201d command:\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">su dssmonitor<\/pre>\n<\/li>\n<li>To test the configuration, we can run &#8220;api&#8221; command:\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">ssh \u2013p 22223 \u2013i \/omd\/dss60.key \u2013l api 192.168.232.60 check_mk_agent<\/pre>\n<p>When prompted to continue connecting type <strong>yes<\/strong>.<br \/>\nThe output will be returned in the terminal, which will later be interpreted in check_mk tool.<\/li>\n<li>We need to run two more commands:<br \/>\nFirst will do the following: retrieve data from our Open-E DSS V7, find all available services, and list them:<\/p>\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">check_mk -I<\/pre>\n<p>The second, will reload the OMD configuration and validate that it is working properly:<\/p>\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">check_mk -O<\/pre>\n<\/li>\n<\/ol>\n<h3>Monitoring the Open-E DSS V7<\/h3>\n<ol>\n<li>In order to check the status of our Open-E DSS V7 in OMD, go to your internet browser and navigate to the following address: <em>your Ubuntu IP*\/name of your site<\/em> &#8211; in our case it will be:\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">192.168.232.58\/dssmonitor<\/pre>\n<p>*you can check the IP of your Ubuntu using the <strong>ifconfig <\/strong>command<\/li>\n<li>When prompted for a username and password \u2013 the default credentials are:\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">Username: omdadmin<\/pre>\n<pre style=\"margin-top: 5px; margin-bottom: 5x;\">Password: omd<\/pre>\n<\/li>\n<li>We will then be able to choose one of the available GUIs. In our example we will go for <strong>\u201cCheck_MK Multisite\u201d <\/strong><\/li>\n<li>When in GUI, from available views, choose <strong>Hosts -&gt; All hosts<\/strong>, and select the relevant host (see below).<img decoding=\"async\" class=\"\" style=\"display: block; margin: 20px auto;\" src=\"http:\/\/blog.open-e.com\/wp-content\/uploads\/2013\/01\/monit51.png\" alt=\"host view\" \/><\/li>\n<\/ol>\n<p>You will then see the statuses of all available services (that are being monitored by the tool):<\/p>\n<p><img decoding=\"async\" class=\"\" style=\"display: block; margin: 20px auto;\" src=\"http:\/\/blog.open-e.com\/wp-content\/uploads\/2013\/01\/monit61.png\" alt=\"monitor view\" \/><\/p>\n<p>You will also have access to detailed statistics (including graphs) about each service:<\/p>\n<p><img decoding=\"async\" class=\"\" style=\"display: block; margin: 20px auto;\" src=\"http:\/\/blog.open-e.com\/wp-content\/uploads\/2013\/01\/monit71.png\" alt=\"detailed view\" \/><\/p>\n<p>The services that you can monitor with the tool include:<\/p>\n<ul>\n<li>CPU load<\/li>\n<li>CPU utilization<\/li>\n<li>Disk IO Summary<\/li>\n<li>NI information<\/li>\n<li>Memory utilization<\/li>\n<li>TCP connections<\/li>\n<li>Uptime<\/li>\n<li>NAS Volume space taken<\/li>\n<li>and many more&#8230;<\/li>\n<\/ul>\n<p>Check out the videos below and watch our engineers performing the same configuration (English and German version).<\/p>\n<p style=\"text-align: center;\"><iframe loading=\"lazy\" src=\"http:\/\/player.vimeo.com\/video\/55595199\" width=\"300\" height=\"200\"><\/iframe><\/p>\n<p style=\"text-align: center;\"><iframe loading=\"lazy\" src=\"http:\/\/player.vimeo.com\/video\/56005694\" width=\"300\" height=\"200\"><\/iframe><\/p>\n<div style=\"font-size: 10px; text-align: left;\">The names of actual companies and products mentioned herein may be the trademarks of their respective owners.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>System monitoring is an important part of daily administrative tasks. Following our recent webinars, showing the ways we can monitor our Open-E DSS V7, we decided to prepare a how-to&nbsp;&#8230;<\/p>\n","protected":false},"author":12,"featured_media":55846,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[765],"tags":[62,408,466],"class_list":["post-22523","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-e-legacy-products","tag-api","tag-monitoring","tag-open-e-dss-v7"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/posts\/22523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/comments?post=22523"}],"version-history":[{"count":1,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/posts\/22523\/revisions"}],"predecessor-version":[{"id":55195,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/posts\/22523\/revisions\/55195"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/media\/55846"}],"wp:attachment":[{"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/media?parent=22523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/categories?post=22523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.open-e.com\/blog\/wp-json\/wp\/v2\/tags?post=22523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}