{"id":3441,"date":"2016-12-06T14:32:16","date_gmt":"2016-12-06T13:32:16","guid":{"rendered":"http:\/\/tomaskalabis.com\/wordpress\/?p=3441"},"modified":"2016-12-06T14:32:16","modified_gmt":"2016-12-06T13:32:16","slug":"nagios-add-an-user-access-web-interface","status":"publish","type":"post","link":"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/","title":{"rendered":"Nagios &#8211; Add an user access to the web\u00a0interface"},"content":{"rendered":"<h3>Nagios &#8211; Add an user access to the web\u00a0interface<\/h3>\n<p>Create a new user with permission to view Nagios Web interface on Ubuntu Linux 12.04.2<\/p>\n<pre class=\"lang:default decode:true\">htpasswd \/etc\/nagios3\/htpasswd.users user1<\/pre>\n<p>On the Nagios server create a new user:<\/p>\n<pre class=\"lang:default decode:true\">\/etc\/init.d\/apache2 restart<\/pre>\n<p>now restart Apache2 service<\/p>\n<figure id=\"attachment_3442\" aria-describedby=\"caption-attachment-3442\" style=\"width: 494px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2016\/12\/nag-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-3442 size-large\" src=\"http:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2016\/12\/nag-1-494x147.png\" alt=\"nag-1\" width=\"494\" height=\"147\" srcset=\"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2016\/12\/nag-1-494x147.png 494w, https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2016\/12\/nag-1-288x86.png 288w, https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2016\/12\/nag-1-768x229.png 768w, https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2016\/12\/nag-1.png 1028w\" sizes=\"(max-width: 494px) 100vw, 494px\" \/><\/a><figcaption id=\"caption-attachment-3442\" class=\"wp-caption-text\">Nagios: It appears as though you do not have permission to view information for any of the hosts you requested\u2026<\/figcaption><\/figure>\n<p>If you login into Nagios web interface&#8230; you meet this error message.<\/p>\n<pre class=\"lang:default decode:true\">find \/ | grep cgi.cfg\r\nsudo vi \/etc\/nagios3\/cgi.cfg<\/pre>\n<p>edit your cgi.cfg &#8211; if you dont now, where is it use find) and add user1 to:<\/p>\n<ul>\n<li>System\/Process Information Access<\/li>\n<li>Global Host Information Access<\/li>\n<li>Global Service Information Access<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>Reload Nagios and Apache2.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nagios &#8211; Add an user access to the web\u00a0interface Create a new user with permission to view Nagios Web interface on Ubuntu Linux 12.04.2 htpasswd \/etc\/nagios3\/htpasswd.users user1 On the Nagios &#8230;<\/p>\n","protected":false},"author":2,"featured_media":2130,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[140,34],"tags":[137,124,131],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Nagios - Add an user access to the web\u00a0interface<\/title>\n<meta name=\"description\" content=\"Nagios - Add an user access to the web\u00a0interface If you need add new user to the Nagios web interface follow this post:\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/\" \/>\n<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Nagios - Add an user access to the web\u00a0interface\" \/>\n<meta property=\"og:description\" content=\"Nagios - Add an user access to the web\u00a0interface If you need add new user to the Nagios web interface follow this post:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/\" \/>\n<meta property=\"og:site_name\" content=\"tomaskalabis.com\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-06T13:32:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2014\/08\/icon_nagios.png\" \/>\n\t<meta property=\"og:image:width\" content=\"181\" \/>\n\t<meta property=\"og:image:height\" content=\"176\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Tomas Kalabis\" \/>\n<meta name=\"twitter:label1\" content=\"Napsal(a)\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tomas Kalabis\" \/>\n\t<meta name=\"twitter:label2\" content=\"Odhadovan\u00e1 doba \u010dten\u00ed\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuta\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/\",\"url\":\"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/\",\"name\":\"Nagios - Add an user access to the web\u00a0interface\",\"isPartOf\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2014\/08\/icon_nagios.png\",\"datePublished\":\"2016-12-06T13:32:16+00:00\",\"dateModified\":\"2016-12-06T13:32:16+00:00\",\"author\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/8e7e83f618a561ed3734a38cef4cf1d6\"},\"description\":\"Nagios - Add an user access to the web\u00a0interface If you need add new user to the Nagios web interface follow this post:\",\"breadcrumb\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/#breadcrumb\"},\"inLanguage\":\"cs\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"cs\",\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/#primaryimage\",\"url\":\"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2014\/08\/icon_nagios.png\",\"contentUrl\":\"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2014\/08\/icon_nagios.png\",\"width\":181,\"height\":176},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tomaskalabis.com\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Nagios &#8211; Add an user access to the web\u00a0interface\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/#website\",\"url\":\"https:\/\/tomaskalabis.com\/wordpress\/\",\"name\":\"tomaskalabis.com\",\"description\":\"my personal blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tomaskalabis.com\/wordpress\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"cs\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/8e7e83f618a561ed3734a38cef4cf1d6\",\"name\":\"Tomas Kalabis\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"cs\",\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9f7e4796b38d5720e8a07b918f423311?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9f7e4796b38d5720e8a07b918f423311?s=96&d=retro&r=g\",\"caption\":\"Tomas Kalabis\"},\"sameAs\":[\"https:\/\/x.com\/tomaskalabis\"],\"url\":\"https:\/\/tomaskalabis.com\/wordpress\/author\/kalabis\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Nagios - Add an user access to the web\u00a0interface","description":"Nagios - Add an user access to the web\u00a0interface If you need add new user to the Nagios web interface follow this post:","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/","og_locale":"cs_CZ","og_type":"article","og_title":"Nagios - Add an user access to the web\u00a0interface","og_description":"Nagios - Add an user access to the web\u00a0interface If you need add new user to the Nagios web interface follow this post:","og_url":"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/","og_site_name":"tomaskalabis.com","article_published_time":"2016-12-06T13:32:16+00:00","og_image":[{"width":181,"height":176,"url":"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2014\/08\/icon_nagios.png","type":"image\/png"}],"author":"Tomas Kalabis","twitter_misc":{"Napsal(a)":"Tomas Kalabis","Odhadovan\u00e1 doba \u010dten\u00ed":"1 minuta"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/","url":"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/","name":"Nagios - Add an user access to the web\u00a0interface","isPartOf":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/#primaryimage"},"image":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/#primaryimage"},"thumbnailUrl":"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2014\/08\/icon_nagios.png","datePublished":"2016-12-06T13:32:16+00:00","dateModified":"2016-12-06T13:32:16+00:00","author":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/8e7e83f618a561ed3734a38cef4cf1d6"},"description":"Nagios - Add an user access to the web\u00a0interface If you need add new user to the Nagios web interface follow this post:","breadcrumb":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/#breadcrumb"},"inLanguage":"cs","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/"]}]},{"@type":"ImageObject","inLanguage":"cs","@id":"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/#primaryimage","url":"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2014\/08\/icon_nagios.png","contentUrl":"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2014\/08\/icon_nagios.png","width":181,"height":176},{"@type":"BreadcrumbList","@id":"https:\/\/tomaskalabis.com\/wordpress\/nagios-add-an-user-access-web-interface\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tomaskalabis.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Nagios &#8211; Add an user access to the web\u00a0interface"}]},{"@type":"WebSite","@id":"https:\/\/tomaskalabis.com\/wordpress\/#website","url":"https:\/\/tomaskalabis.com\/wordpress\/","name":"tomaskalabis.com","description":"my personal blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tomaskalabis.com\/wordpress\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"cs"},{"@type":"Person","@id":"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/8e7e83f618a561ed3734a38cef4cf1d6","name":"Tomas Kalabis","image":{"@type":"ImageObject","inLanguage":"cs","@id":"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9f7e4796b38d5720e8a07b918f423311?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9f7e4796b38d5720e8a07b918f423311?s=96&d=retro&r=g","caption":"Tomas Kalabis"},"sameAs":["https:\/\/x.com\/tomaskalabis"],"url":"https:\/\/tomaskalabis.com\/wordpress\/author\/kalabis\/"}]}},"jetpack_featured_media_url":"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2014\/08\/icon_nagios.png","_links":{"self":[{"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/posts\/3441"}],"collection":[{"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/comments?post=3441"}],"version-history":[{"count":1,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/posts\/3441\/revisions"}],"predecessor-version":[{"id":3443,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/posts\/3441\/revisions\/3443"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/media\/2130"}],"wp:attachment":[{"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/media?parent=3441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/categories?post=3441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/tags?post=3441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}