From 743fbe2a7287e4eed15da39213d730f318f8be62 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Fri, 13 Feb 2026 19:30:20 +0100 Subject: [PATCH 01/87] Recommit for updates in build 23 --- doc/_index.html | 153 ++++++ doc/css/common.css | 8 + doc/css/full_list.css | 58 ++ doc/css/style.css | 497 +++++++++++++++++ doc/file.README.html | 185 +++++++ doc/frames.html | 22 + doc/index.html | 185 +++++++ doc/js/app.js | 314 +++++++++++ doc/js/full_list.js | 216 ++++++++ doc/js/jquery.js | 4 + doc/puppet_class_list.html | 106 ++++ doc/puppet_classes/confdroid_nagios.html | 121 +++++ ...fdroid_nagios_3A_3Aclient_3A_3Atarget.html | 130 +++++ ...onfdroid_nagios_3A_3Amain_3A_3Aconfig.html | 132 +++++ .../confdroid_nagios_3A_3Amain_3A_3Adirs.html | 498 ++++++++++++++++++ ...nfdroid_nagios_3A_3Amain_3A_3Ainstall.html | 180 +++++++ .../confdroid_nagios_3A_3Amain_3A_3Auser.html | 176 +++++++ .../confdroid_nagios_3A_3Aparams.html | 433 +++++++++++++++ ...nfdroid_nagios_3A_3Aserver_3A_3Afiles.html | 136 +++++ ...droid_nagios_3A_3Aserver_3A_3Aservice.html | 136 +++++ doc/top-level-namespace.html | 98 ++++ 21 files changed, 3788 insertions(+) create mode 100644 doc/_index.html create mode 100644 doc/css/common.css create mode 100644 doc/css/full_list.css create mode 100644 doc/css/style.css create mode 100644 doc/file.README.html create mode 100644 doc/frames.html create mode 100644 doc/index.html create mode 100644 doc/js/app.js create mode 100644 doc/js/full_list.js create mode 100644 doc/js/jquery.js create mode 100644 doc/puppet_class_list.html create mode 100644 doc/puppet_classes/confdroid_nagios.html create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Auser.html create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Aparams.html create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html create mode 100644 doc/top-level-namespace.html diff --git a/doc/_index.html b/doc/_index.html new file mode 100644 index 0000000..1246ffa --- /dev/null +++ b/doc/_index.html @@ -0,0 +1,153 @@ + + + + + + + Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
+ + +

Documentation by YARD 0.9.36

+
+

Alphabetic Index

+ +

Puppet Class Listing A-Z

+ + + + + + +
+ + + + +
+ + + + + + + + + +

File Listing

+ + +
+ + +
+ +
+ + + +
+ + \ No newline at end of file diff --git a/doc/css/common.css b/doc/css/common.css new file mode 100644 index 0000000..d28b093 --- /dev/null +++ b/doc/css/common.css @@ -0,0 +1,8 @@ +/* Ensure the search bar doesn't overlap with links */ +.fixed_header { + padding-bottom: 25px; +} + +#full_list { + padding-top: 15px; +} diff --git a/doc/css/full_list.css b/doc/css/full_list.css new file mode 100644 index 0000000..fa35982 --- /dev/null +++ b/doc/css/full_list.css @@ -0,0 +1,58 @@ +body { + margin: 0; + font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; + font-size: 13px; + height: 101%; + overflow-x: hidden; + background: #fafafa; +} + +h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; } +.clear { clear: both; } +.fixed_header { position: fixed; background: #fff; width: 100%; padding-bottom: 10px; margin-top: 0; top: 0; z-index: 9999; height: 70px; } +#search { position: absolute; right: 5px; top: 9px; padding-left: 24px; } +#content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3ujo6Ly8vCoqKjY2NkZGRtTU1MTExDw8PE5OTj4+PkhISNDQ0MrKylpaWrS0tOrq6nBwcKysrLi4uLq6ul5eXlxcXGJiYoaGhuDg4H5+fvz8/KKiohgYGCwsLFZWVgQEBFBQUMzMzDg4OFhYWBoaGvDw8NbW1pycnOLi4ubm5kBAQKqqqiQkJCAgIK6urnJyckpKSjQ0NGpqatLS0sDAwCYmJnx8fEJCQlRUVAoKCggICLCwsOTk5ExMTPb29ra2tmZmZmhoaNzc3KCgoBISEiIiIgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCAAAACwAAAAAEAAQAAAHaIAAgoMgIiYlg4kACxIaACEJCSiKggYMCRselwkpghGJBJEcFgsjJyoAGBmfggcNEx0flBiKDhQFlIoCCA+5lAORFb4AJIihCRbDxQAFChAXw9HSqb60iREZ1omqrIPdJCTe0SWI09GBACH5BAkIAAAALAAAAAAQABAAAAdrgACCgwc0NTeDiYozCQkvOTo9GTmDKy8aFy+NOBA7CTswgywJDTIuEjYFIY0JNYMtKTEFiRU8Pjwygy4ws4owPyCKwsMAJSTEgiQlgsbIAMrO0dKDGMTViREZ14kYGRGK38nHguHEJcvTyIEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDAggPg4iJAAMJCRUAJRIqiRGCBI0WQEEJJkWDERkYAAUKEBc4Po1GiKKJHkJDNEeKig4URLS0ICImJZAkuQAhjSi/wQyNKcGDCyMnk8u5rYrTgqDVghgZlYjcACTA1sslvtHRgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCQARAtOUoQRGRiFD0kJUYWZhUhKT1OLhR8wBaaFBzQ1NwAlkIszCQkvsbOHL7Y4q4IuEjaqq0ZQD5+GEEsJTDCMmIUhtgk1lo6QFUwJVDKLiYJNUd6/hoEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4uen4ICCA+IkIsDCQkVACWmhwSpFqAABQoQF6ALTkWFnYMrVlhWvIKTlSAiJiVVPqlGhJkhqShHV1lCW4cMqSkAR1ofiwsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; } +#full_list { padding: 0; list-style: none; margin-left: 0; margin-top: 80px; font-size: 1.1em; } +#full_list ul { padding: 0; } +#full_list li { padding: 0; margin: 0; list-style: none; } +#full_list li .item { padding: 5px 5px 5px 12px; } +#noresults { padding: 7px 12px; background: #fff; } +#content.insearch #noresults { margin-left: 7px; } +li.collapsed ul { display: none; } +li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; } +li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; } +li { color: #888; cursor: pointer; } +li.deprecated { text-decoration: line-through; font-style: italic; } +li.odd { background: #f0f0f0; } +li.even { background: #fafafa; } +.item:hover { background: #ddd; } +li small:before { content: "("; } +li small:after { content: ")"; } +li small.search_info { display: none; } +a, a:visited { text-decoration: none; color: #05a; } +li.clicked > .item { background: #05a; color: #ccc; } +li.clicked > .item a, li.clicked > .item a:visited { color: #eee; } +li.clicked > .item a.toggle { opacity: 0.5; background-position: bottom right; } +li.collapsed.clicked a.toggle { background-position: top right; } +#search input { border: 1px solid #bbb; border-radius: 3px; } +#full_list_nav { margin-left: 10px; font-size: 0.9em; display: block; color: #aaa; } +#full_list_nav a, #nav a:visited { color: #358; } +#full_list_nav a:hover { background: transparent; color: #5af; } +#full_list_nav span:after { content: ' | '; } +#full_list_nav span:last-child:after { content: ''; } + +#content h1 { margin-top: 0; } +li { white-space: nowrap; cursor: normal; } +li small { display: block; font-size: 0.8em; } +li small:before { content: ""; } +li small:after { content: ""; } +li small.search_info { display: none; } +#search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; } +#content.insearch #search { background-position: center right; } +#search input { width: 110px; } + +#full_list.insearch ul { display: block; } +#full_list.insearch .item { display: none; } +#full_list.insearch .found { display: block; padding-left: 11px !important; } +#full_list.insearch li a.toggle { display: none; } +#full_list.insearch li small.search_info { display: block; } diff --git a/doc/css/style.css b/doc/css/style.css new file mode 100644 index 0000000..eb0dbc8 --- /dev/null +++ b/doc/css/style.css @@ -0,0 +1,497 @@ +html { + width: 100%; + height: 100%; +} +body { + font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; + font-size: 13px; + width: 100%; + margin: 0; + padding: 0; + display: flex; + display: -webkit-flex; + display: -ms-flexbox; +} + +#nav { + position: relative; + width: 100%; + height: 100%; + border: 0; + border-right: 1px dotted #eee; + overflow: auto; +} +.nav_wrap { + margin: 0; + padding: 0; + width: 20%; + height: 100%; + position: relative; + display: flex; + display: -webkit-flex; + display: -ms-flexbox; + flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex: 1 0; +} +#resizer { + position: absolute; + right: -5px; + top: 0; + width: 10px; + height: 100%; + cursor: col-resize; + z-index: 9999; +} +#main { + flex: 5 1; + -webkit-flex: 5 1; + -ms-flex: 5 1; + outline: none; + position: relative; + background: #fff; + padding: 1.2em; + padding-top: 0.2em; + box-sizing: border-box; +} + +@media (max-width: 920px) { + .nav_wrap { width: 100%; top: 0; right: 0; overflow: visible; position: absolute; } + #resizer { display: none; } + #nav { + z-index: 9999; + background: #fff; + display: none; + position: absolute; + top: 40px; + right: 12px; + width: 500px; + max-width: 80%; + height: 80%; + overflow-y: scroll; + border: 1px solid #999; + border-collapse: collapse; + box-shadow: -7px 5px 25px #aaa; + border-radius: 2px; + } +} + +@media (min-width: 920px) { + body { height: 100%; overflow: hidden; } + #main { height: 100%; overflow: auto; } + #search { display: none; } +} + +#main img { max-width: 100%; } +h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; } +h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; } +h1.title { margin-bottom: 10px; } +h1.alphaindex { margin-top: 0; font-size: 22px; } +h2 { + padding: 0; + padding-bottom: 3px; + border-bottom: 1px #aaa solid; + font-size: 1.4em; + margin: 1.8em 0 0.5em; + position: relative; +} +h2 small { font-weight: normal; font-size: 0.7em; display: inline; position: absolute; right: 0; } +h2 small a { + display: block; + height: 20px; + border: 1px solid #aaa; + border-bottom: 0; + border-top-left-radius: 5px; + background: #f8f8f8; + position: relative; + padding: 2px 7px; +} +.clear { clear: both; } +.inline { display: inline; } +.inline p:first-child { display: inline; } +.docstring, .tags, #filecontents { font-size: 15px; line-height: 1.5145em; } +.docstring p > code, .docstring p > tt, .tags p > code, .tags p > tt { + color: #c7254e; background: #f9f2f4; padding: 2px 4px; font-size: 1em; + border-radius: 4px; +} +.docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; } +.docstring h1 { font-size: 1.2em; } +.docstring h2 { font-size: 1.1em; } +.docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; } +.summary_desc .object_link a, .docstring .object_link a { + font-family: monospace; font-size: 1.05em; + color: #05a; background: #EDF4FA; padding: 2px 4px; font-size: 1em; + border-radius: 4px; +} +.rdoc-term { padding-right: 25px; font-weight: bold; } +.rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; } +.summary_desc pre.code .object_link a, .docstring pre.code .object_link a { + padding: 0px; background: inherit; color: inherit; border-radius: inherit; +} + +/* style for */ +#filecontents table, .docstring table { border-collapse: collapse; } +#filecontents table th, #filecontents table td, +.docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; } +#filecontents table tr:nth-child(odd), +.docstring table tr:nth-child(odd) { background: #eee; } +#filecontents table tr:nth-child(even), +.docstring table tr:nth-child(even) { background: #fff; } +#filecontents table th, .docstring table th { background: #fff; } + +/* style for
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
t
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; +f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() +{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html new file mode 100644 index 0000000..178ce50 --- /dev/null +++ b/doc/puppet_class_list.html @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + Puppet Class List + + + +
+
+

Puppet Class List

+ + + +
+ + +
+ + diff --git a/doc/puppet_classes/confdroid_nagios.html b/doc/puppet_classes/confdroid_nagios.html new file mode 100644 index 0000000..9e30c2d --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios.html @@ -0,0 +1,121 @@ + + + + + + + Puppet Class: confdroid_nagios + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
+ + +

Puppet Class: confdroid_nagios

+
+ + +
+
Defined in:
+
+ manifests/init.pp +
+
+
+ +

Summary

+ Class initializes the confdroid_nagios Module. + +

Overview

+
+
+ +

confdroid_nagios::init.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

+ +
+
+ + + +
+ + + +
+
+ + + + +
+
+
+
+6
+7
+8
+
+
# File 'manifests/init.pp', line 6
+
+class confdroid_nagios {
+  include confdroid_nagios::params
+}
+
+ + + + + + + + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html new file mode 100644 index 0000000..2c4d4c0 --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html @@ -0,0 +1,130 @@ + + + + + + + Puppet Class: confdroid_nagios::client::target + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
+ + +

Puppet Class: confdroid_nagios::client::target

+
+ +
+
Inherits:
+
confdroid_nagios::params
+
+ + +
+
Defined in:
+
+ manifests/client/target.pp +
+
+
+ +

Summary

+ Class manages client target configuration for the confdroid_nagios module. + +

Overview

+
+
+ +

confdroid_nagios::client::target.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

+ +
+
+ + + +
+ + + +
+ + + + + +
+
+
+
+6
+7
+8
+9
+10
+
+
# File 'manifests/client/target.pp', line 6
+
+class confdroid_nagios::client::target (
+
+) inherits confdroid_nagios::params {
+  # Manage target configuration here
+}
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html new file mode 100644 index 0000000..1f7d3c9 --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html @@ -0,0 +1,132 @@ + + + + + + + Puppet Class: confdroid_nagios::main::config + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
+ + +

Puppet Class: confdroid_nagios::main::config

+
+ +
+
Inherits:
+
confdroid_nagios::params
+
+ + +
+
Defined in:
+
+ manifests/main/config.pp +
+
+
+ +

Summary

+ Class manages main configuration for the confdroid_nagios module. + +

Overview

+
+
+ +

confdroid_nagios::main::config.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

+ +
+
+ + + +
+ + + +
+ + + + + +
+
+
+
+6
+7
+8
+9
+10
+11
+
+
# File 'manifests/main/config.pp', line 6
+
+class confdroid_nagios::main::config (
+
+) inherits confdroid_nagios::params {
+  include confdroid_nagios::server::service
+  include confdroid_nagios::client::target
+}
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html new file mode 100644 index 0000000..3fa8ada --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html @@ -0,0 +1,498 @@ + + + + + + + Puppet Class: confdroid_nagios::main::dirs + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
+ + +

Puppet Class: confdroid_nagios::main::dirs

+
+ +
+
Inherits:
+
confdroid_nagios::params
+
+ + +
+
Defined in:
+
+ manifests/main/dirs.pp +
+
+
+ +

Summary

+ Class manages main configuration for the confdroid_nagios module. + +

Overview

+
+
+ +

confdroid_nagios::main::dirs.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

+ +
+
+ + + +
+ + + +
+ + + + + +
+
+
+
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+165
+166
+167
+168
+169
+170
+171
+172
+173
+174
+175
+176
+177
+178
+179
+180
+181
+182
+183
+184
+185
+186
+187
+188
+189
+190
+191
+192
+193
+194
+
+
# File 'manifests/main/dirs.pp', line 6
+
+class confdroid_nagios::main::dirs (
+
+) inherits confdroid_nagios::params {
+  require confdroid_nagios::main::user
+
+  # main directory
+  file { $ng_main_dir:
+    ensure   => directory,
+    path     => $ng_main_dir,
+    owner    => 'root',
+    group    => 'root',
+    mode     => '0755',
+    selrange => s0,
+    selrole  => object_r,
+    seltype  => nagios_etc_t,
+    seluser  => system_u,
+  }
+
+  # /usr/lib64/nagios dir required for plugins
+  file { $ng_lib_dir:
+    ensure   => directory,
+    path     => $ng_lib_dir,
+    owner    => 'root',
+    group    => 'root',
+    mode     => '0755',
+    selrange => s0,
+    selrole  => object_r,
+    seltype  => lib_t,
+    seluser  => system_u,
+  }
+
+  # /var/spool/nagios
+  file { $ng_spool_dir:
+    ensure   => directory,
+    path     => $ng_spool_dir,
+    owner    => $ng_user,
+    group    => $ng_user,
+    mode     => '0755',
+    selrange => s0,
+    selrole  => object_r,
+    seltype  => nagios_spool_t,
+    seluser  => system_u,
+  }
+
+  if $fqdn == $ng_nagios_server {
+    # /etc/nagios/conf.d
+    file { $ng_conf_d_dir:
+      ensure   => directory,
+      path     => $ng_conf_d_dir,
+      owner    => 'root',
+      group    => $ng_user,
+      mode     => '0750',
+      selrange => s0,
+      selrole  => object_r,
+      seltype  => nagios_etc_t,
+      seluser  => system_u,
+    }
+
+    # /etc/nagios/objects
+    file { $ng_objects_dir:
+      ensure   => directory,
+      path     => $ng_objects_dir,
+      owner    => 'root',
+      group    => $ng_user,
+      mode     => '0750',
+      selrange => s0,
+      selrole  => object_r,
+      seltype  => nagios_etc_t,
+      seluser  => system_u,
+    }
+
+    # /etc/nagios/private
+    file { $ng_private_dir:
+      ensure   => directory,
+      path     => $ng_private_dir,
+      owner    => 'root',
+      group    => $ng_user,
+      mode     => '0750',
+      selrange => s0,
+      selrole  => object_r,
+      seltype  => nagios_etc_t,
+      seluser  => system_u,
+    }
+
+    # include dir
+    file { $ng_usr_incl:
+      ensure   => directory,
+      path     => $ng_usr_incl,
+      owner    => 'root',
+      group    => 'root',
+      mode     => '0755',
+      selrange => s0,
+      selrole  => object_r,
+      seltype  => usr_t,
+      seluser  => system_u,
+    }
+
+    # log dir
+    file { $ng_log_dir:
+      ensure   => directory,
+      path     => $ng_log_dir,
+      owner    => $ng_user,
+      group    => $ng_user,
+      mode     => '0750',
+      selrange => s0,
+      selrole  => object_r,
+      seltype  => nagios_log_t,
+      seluser  => system_u,
+    }
+
+    # log archives
+    file { $ng_log_archives:
+      ensure   => directory,
+      path     => $ng_log_archives,
+      owner    => $ng_user,
+      group    => $ng_user,
+      mode     => '0750',
+      selrange => s0,
+      selrole  => object_r,
+      seltype  => nagios_log_t,
+      seluser  => system_u,
+    }
+
+    # /usr/share/nagios
+    file { $ng_usr_share:
+      ensure   => directory,
+      path     => $ng_usr_share,
+      owner    => 'root',
+      group    => 'root',
+      mode     => '0755',
+      selrange => s0,
+      selrole  => object_r,
+      seltype  => usr_t,
+      seluser  => system_u,
+    }
+
+    #  /usr/share/nagios/html
+    file { $ng_share_html:
+      ensure   => directory,
+      path     => $ng_share_html,
+      owner    => 'root',
+      group    => 'root',
+      mode     => '0755',
+      selrange => s0,
+      selrole  => object_r,
+      seltype  => usr_t,
+      seluser  => system_u,
+    }
+
+    # run dir for pid file
+    file { $ng_run_dir:
+      ensure   => directory,
+      path     => $ng_run_dir,
+      owner    => 'nagios',
+      group    => 'nagios',
+      mode     => '0750',
+      selrange => s0,
+      selrole  => object_r,
+      seltype  => nagios_var_run_t,
+      seluser  => system_u,
+    }
+
+    # cmd dir
+    file { $ng_cmd_dir:
+      ensure   => directory,
+      path     => $ng_cmd_dir,
+      owner    => 'nagios',
+      group    => 'nagios',
+      mode     => '0775',
+      selrange => s0,
+      selrole  => object_r,
+      seltype  => nagios_spool_t,
+      seluser  => system_u,
+    }
+
+    # checkresults dir
+    file { $ng_checkresults_dir:
+      ensure   => directory,
+      path     => $ng_checkresults_dir,
+      owner    => 'nagios',
+      group    => 'nagios',
+      mode     => '0770',
+      selrange => s0,
+      selrole  => object_r,
+      seltype  => nagios_spool_t,
+      seluser  => system_u,
+    }
+  }
+}
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html new file mode 100644 index 0000000..0ed430d --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html @@ -0,0 +1,180 @@ + + + + + + + Puppet Class: confdroid_nagios::main::install + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
+ + +

Puppet Class: confdroid_nagios::main::install

+
+ +
+
Inherits:
+
confdroid_nagios::params
+
+ + +
+
Defined in:
+
+ manifests/main/install.pp +
+
+
+ +

Summary

+ Class manages installation matters for the confdroid_nagios module. + +

Overview

+
+
+ +

confdroid_nagios::main::install.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

+ +
+
+ + + +
+ + + +
+ + + + + +
+
+
+
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+
+
# File 'manifests/main/install.pp', line 6
+
+class confdroid_nagios::main::install (
+
+) inherits confdroid_nagios::params {
+  require confdroid_resources
+
+  if $ng_nagios_server == $fqdn {
+    # if our FQDN matches the configured Nagios server FQDN, install both server-
+    # and client packages.We'll need httpd installed
+    require confdroid_apache
+
+    package { $ng_reqpackages_server:
+      ensure => $ng_pkg_ensure,
+    }
+    package { $ng_reqpackages_client:
+      ensure => $ng_pkg_ensure,
+    }
+  }
+
+  # if we are not the nagios server, install only client packages
+  if $fqdn != $ng_nagios_server {
+    package { $ng_reqpackages_client:
+      ensure => $ng_pkg_ensure,
+    }
+
+    # if we want to use NRPE on clients, install it
+    if $ng_include_nrpe == true {
+      require confdroid_nrpe
+    }
+  }
+}
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Auser.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Auser.html new file mode 100644 index 0000000..590bfa1 --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Auser.html @@ -0,0 +1,176 @@ + + + + + + + Puppet Class: confdroid_nagios::main::user + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
+ + +

Puppet Class: confdroid_nagios::main::user

+
+ +
+
Inherits:
+
confdroid_nagios::params
+
+ + +
+
Defined in:
+
+ manifests/main/user.pp +
+
+
+ +

Summary

+ Class manages user configuration for the confdroid_nagios module. + +

Overview

+
+
+ +

confdroid_nagios::main::user.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

+ +
+
+ + + +
+ + + +
+ + + + + +
+
+
+
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+
+
# File 'manifests/main/user.pp', line 6
+
+class confdroid_nagios::main::user (
+
+) inherits confdroid_nagios::params {
+  require confdroid_nagios::main::install
+
+  if $ng_nagios_server == $fqdn {
+    group { $ng_user:
+      ensure    => present,
+      name      => $ng_user,
+      gid       => $ng_u_uid,
+      allowdupe => false,
+    }
+
+    user { $ng_user:
+      ensure     => present,
+      name       => $ng_user,
+      allowdupe  => false,
+      comment    => $ng_u_comment,
+      uid        => $ng_u_uid,
+      gid        => $ng_u_uid,
+      groups     => $ng_u_groups,
+      managehome => true,
+      home       => $ng_u_home,
+      shell      => $ng_u_shell,
+      require    => Group[$ng_user],
+    }
+  }
+}
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html new file mode 100644 index 0000000..164fd83 --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -0,0 +1,433 @@ + + + + + + + Puppet Class: confdroid_nagios::params + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
+ + +

Puppet Class: confdroid_nagios::params

+ + +

Summary

+ Class holds all parameters for the confdroid_nagios module and is +inherited by all classes except defines. + +

Overview

+
+
+ +

confdroid_nagios::params.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

+ +
+
+ + + +
+

Parameters:

+
    + +
  • + + ng_nagios_server + + + (String) + + + (defaults to: 'nagios.example.net') + + + — +
    +

    The hostname or IP address of the Nagios server. This will determine the installation selection and the of the clients to connect to the Nagios server.

    +
    + +
  • + +
  • + + ng_reqpackages_server + + + (Array) + + + (defaults to: ['nagios','nagios-devel']) + + + — +
    +

    An array of packages to be installed on the Nagios server.

    +
    + +
  • + +
  • + + ng_reqpackages_client + + + (Array) + + + (defaults to: ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common']) + + + — +
    +

    An array of packages to be installed on the Nagios clients.

    +
    + +
  • + +
  • + + ng_pkg_ensure + + + (String) + + + (defaults to: 'present') + + + — +
    +

    The ensure value for all packages. Default is ‘present’.

    +
    + +
  • + +
  • + + ng_user + + + (String) + + + (defaults to: 'nagios') + + + — +
    +

    The name of the Nagios user to be created on the Nagios server. Default is ‘nagios’.

    +
    + +
  • + +
  • + + ng_u_comment + + + (String) + + + (defaults to: 'Nagios User') + + + — +
    +

    The comment field for the Nagios user. Default is ‘Nagios User’.

    +
    + +
  • + +
  • + + ng_u_groups + + + (String) + + + (defaults to: 'nagios') + + + — +
    +

    The group(s) to which the Nagios user should be added. Default is ‘nagios’.

    +
    + +
  • + +
  • + + ng_u_shell + + + (String) + + + (defaults to: '/sbin/nologin') + + + — +
    +

    The login shell for the Nagios user. Default is ‘/sbin/nologin’.

    +
    + +
  • + +
  • + + ng_u_home + + + (String) + + + (defaults to: '/home/nagios') + + + — +
    +

    The home directory for the Nagios user. Default is ‘/home/nagios’.

    +
    + +
  • + +
  • + + ng_u_uid + + + (Integer) + + + (defaults to: 1004) + + + — +
    +

    The user ID for the Nagios user. Default is 1004.

    +
    + +
  • + +
  • + + ng_include_nrpe + + + (Boolean) + + + (defaults to: true) + + + — +
    +

    Whether to include the NRPE client on the Nagios clients. Default is true.

    +
    + +
  • + +
+ + + +
+ + + + + +
+
+
+
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+
+
# File 'manifests/params.pp', line 26
+
+class confdroid_nagios::params (
+
+# main
+  String $ng_nagios_server     = 'nagios.example.net',
+  Array $ng_reqpackages_server = ['nagios','nagios-devel'],
+  Array $ng_reqpackages_client = ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common'],
+  String $ng_pkg_ensure        = 'present',
+  Boolean $ng_include_nrpe     = true,
+
+# user
+  String $ng_user              = 'nagios',
+  String $ng_u_comment         = 'Nagios User',
+  String $ng_u_groups          = 'nagios',
+  String $ng_u_shell           = '/sbin/nologin',
+  String $ng_u_home            = '/home/nagios',
+  Integer $ng_u_uid            = 1004,
+
+) {
+# Default facts
+  $fqdn                     = $facts['networking']['fqdn']
+  $domain                   = $facts['networking']['domain']
+  $os_name                  = $facts['os']['name']
+  $os_release               = $facts['os']['release']['major']
+
+# service
+  $ng_service                 = 'nagios'
+  $ae_service                 = 'httpd'
+
+# directories
+  $ng_main_dir                = '/etc/nagios'
+  $ng_conf_d_dir              = "${ng_main_dir}/conf.d"
+  $ng_objects_dir             = "${ng_main_dir}/objects"
+  $ng_private_dir             = "${ng_main_dir}/private"
+  $ng_usr_incl                = '/usr/include/nagios'
+  $ng_lib_dir                 = '/usr/lib64/nagios'
+  $ng_log_dir                 = '/var/log/nagios'
+  $ng_log_archives            = "${ng_log_dir}/archives"
+  $ng_spool_dir               = '/var/spool/nagios'
+  $ng_usr_share               = '/usr/share/nagios'
+  $ng_share_html              = "${ng_usr_share}/html"
+  $ng_run_dir                 = '/var/run/nagios'
+  $ng_cmd_dir                 = "${ng_spool_dir}/cmd"
+  $ng_checkresults_dir        = "${ng_spool_dir}/checkresults"
+
+# includes must be last
+  include confdroid_nagios::main::config
+}
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html new file mode 100644 index 0000000..2b5d9c0 --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html @@ -0,0 +1,136 @@ + + + + + + + Puppet Class: confdroid_nagios::server::files + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
+ + +

Puppet Class: confdroid_nagios::server::files

+
+ +
+
Inherits:
+
confdroid_nagios::params
+
+ + +
+
Defined in:
+
+ manifests/server/files.pp +
+
+
+ +

Summary

+ Class manages server file configuration for the confdroid_nagios module. + +

Overview

+
+
+ +

confdroid_nagios::server::files.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

+ +
+
+ + + +
+ + + +
+ + + + + +
+
+
+
+6
+7
+8
+9
+10
+11
+12
+13
+
+
# File 'manifests/server/files.pp', line 6
+
+class confdroid_nagios::server::files (
+
+) inherits confdroid_nagios::params {
+  require confdroid_nagios::main::dirs
+#  if $ng_nagios_server == $fqdn {
+#    #config here
+#  }
+}
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html new file mode 100644 index 0000000..6302d36 --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -0,0 +1,136 @@ + + + + + + + Puppet Class: confdroid_nagios::server::service + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
+ + +

Puppet Class: confdroid_nagios::server::service

+
+ +
+
Inherits:
+
confdroid_nagios::params
+
+ + +
+
Defined in:
+
+ manifests/server/service.pp +
+
+
+ +

Summary

+ Class manages services for the confdroid_nagios module. + +

Overview

+
+
+ +

confdroid_nagios::server::service.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

+ +
+
+ + + +
+ + + +
+ + + + + +
+
+
+
+6
+7
+8
+9
+10
+11
+12
+13
+
+
# File 'manifests/server/service.pp', line 6
+
+class confdroid_nagios::server::service (
+
+) inherits confdroid_nagios::params {
+  require confdroid_nagios::server::files
+#  if $ng_nagios_server == $fqdn {
+#    #config here
+#  }
+}
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/doc/top-level-namespace.html b/doc/top-level-namespace.html new file mode 100644 index 0000000..5d6b54b --- /dev/null +++ b/doc/top-level-namespace.html @@ -0,0 +1,98 @@ + + + + + + + Top Level Namespace + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
+ + +

Top Level Namespace + + + +

+
+ + + + + + + + + + + +
+ + + + + + + + + + +
+ + + +
+ + \ No newline at end of file From 336344f924458f7208b297da63497d8f8a037d75 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Fri, 13 Feb 2026 19:45:53 +0100 Subject: [PATCH 02/87] Recommit for updates in build 24 --- .../confdroid_nagios_3A_3Aparams.html | 6 ++---- ...droid_nagios_3A_3Aserver_3A_3Aservice.html | 20 +++++++++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 164fd83..6c3e14c 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -365,8 +365,7 @@ inherited by all classes except defines. 68 69 70 -71 -72 +71
# File 'manifests/params.pp', line 26
@@ -396,8 +395,7 @@ class confdroid_nagios::params (
   $os_release               = $facts['os']['release']['major']
 
 # service
-  $ng_service                 = 'nagios'
-  $ae_service                 = 'httpd'
+  $ng_nagios_service          = 'nagios'
 
 # directories
   $ng_main_dir                = '/etc/nagios'
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
index 6302d36..71478f6 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
@@ -108,7 +108,13 @@
 10
 11
 12
-13
+13 +14 +15 +16 +17 +18 +19
# File 'manifests/server/service.pp', line 6
@@ -117,9 +123,15 @@ class confdroid_nagios::server::service (
 
 ) inherits confdroid_nagios::params {
   require confdroid_nagios::server::files
-#  if $ng_nagios_server == $fqdn {
-#    #config here
-#  }
+  if $ng_nagios_server == $fqdn {
+    service { $ng_nagios_service:
+      ensure     => running,
+      name       => $ng_nagios_service,
+      enable     => true,
+      hasrestart => true,
+      hasstatus  => true,
+    }
+  }
 }
From da716a4d8116ffb3e710682407c0f78688904ee8 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 14 Feb 2026 15:42:45 +0100 Subject: [PATCH 03/87] Recommit for updates in build 25 --- doc/_index.html | 5 + doc/puppet_class_list.html | 9 +- .../confdroid_nagios_3A_3Aparams.html | 180 +++++++++++++++++- ...nfdroid_nagios_3A_3Aserver_3A_3Afiles.html | 22 ++- ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 130 +++++++++++++ 5 files changed, 334 insertions(+), 12 deletions(-) create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html diff --git a/doc/_index.html b/doc/_index.html index 1246ffa..23ab099 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -108,6 +108,11 @@ +
  • + confdroid_nagios::server::nagios + +
  • +
  • confdroid_nagios::server::service diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index 178ce50..89e8b8a 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -92,7 +92,14 @@
  • -
  • +
  • + +
  • + + +
  • diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 6c3e14c..25c6ca5 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -79,6 +79,8 @@ confdroid_nagios::client::target
    + confdroid_nagios::server::nagios
    + confdroid_nagios::server::service
    @@ -305,6 +307,24 @@ inherited by all classes except defines. —

    Whether to include the NRPE client on the Nagios clients. Default is true.

    +
    + +
  • + +
  • + + ng_use_https + + + (Boolean) + + + (defaults to: false) + + + — +
    +

    Whether to configure the Nagios web interface to use HTTPS. Default is false. We recommend using a reverse proxy with SSL termination in front of the Nagios web interface, so this is disabled by default.

  • @@ -320,10 +340,6 @@ inherited by all classes except defines.
     
     
    -26
    -27
    -28
    -29
     30
     31
     32
    @@ -365,10 +381,88 @@ inherited by all classes except defines.
     68
     69
     70
    -71
    +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 -
    # File 'manifests/params.pp', line 26
    +        
    # File 'manifests/params.pp', line 30
     
     class confdroid_nagios::params (
     
    @@ -387,6 +481,9 @@ class confdroid_nagios::params (
       String $ng_u_home            = '/home/nagios',
       Integer $ng_u_uid            = 1004,
     
    +# httpd
    +  Boolean $ng_use_https       = false,
    +
     ) {
     # Default facts
       $fqdn                     = $facts['networking']['fqdn']
    @@ -413,6 +510,77 @@ class confdroid_nagios::params (
       $ng_cmd_dir                 = "${ng_spool_dir}/cmd"
       $ng_checkresults_dir        = "${ng_spool_dir}/checkresults"
     
    +# files
    +  $ng_nagios_cfg_file         = "${ng_main_dir}/nagios.cfg"
    +  $ng_nagios_cfg_erb          = 'confdroid_nagios/nagios/nagios_cfg.erb'
    +
    +## old
    +  $ng_main_config             = "${ng_main_dir}/nagios.cfg"
    +  $ng_cgi_cfg_file            = "${ng_main_dir}/cgi.cfg"
    +  $ng_cgi_cfg_erb             = 'confdroid_nagios/nagios/cgi_cfg.erb'
    +  $ng_htpasswd_file           = "${ng_main_dir}/passwd"
    +  $ng_htpasswd_head           = 'confdroid_nagios/nagios/htpasswd_head.erb'
    +  $ng_htpasswd_rule           = 'confdroid_nagios/nagios/htpasswd_rule.erb'
    +  $ng_taccgi_erb              = 'confdroid_nagios/selinux/taccgi.erb'
    +  $ng_statcgi_erb             = 'confdroid_nagios/selinux/statuscgi.erb'
    +  $ng_statdat_erb             = 'confdroid_nagios/selinux/statusdat.erb'
    +  $ng_checknrpe_erb           = 'confdroid_nagios/selinux/checknrpe.erb'
    +  $ng_checknagios_erb         = 'confdroid_nagios/selinux/checknagios.erb'
    +  $ng_nagios_conf             = '/etc/httpd/conf.d/nagios.conf'
    +  $ng_nagios_conf_erb         = 'confdroid_nagios/httpd/nagios_conf.erb'
    +  $ng_welcome_conf            = '/etc/httpd/conf.d/welcome.conf'
    +  $ng_welcome_conf_erb        = 'confdroid_nagios/httpd/welcome_conf.erb'
    +  $ng_forward_conf            = '/etc/httpd/conf.d/nagios_forward.conf'
    +  $ng_forward_conf_erb        = 'confdroid_nagios/httpd/forward_conf.erb'
    +  $ng_get_cert_erb            = 'confdroid_nagios/certbot/get_cert.erb'
    +  $ng_unless_get_cert         = 'confdroid_nagios/certbot/unless_get_cert.erb'
    +  $ng_unless_renew_erb        = 'confdroid_nagios/certbot/unless_renew_cert.erb'
    +  $ng_index_html_file         = '/var/www/html/index.html'
    +  $ng_index_html_erb          = 'confdroid_nagios/httpd/index_html.erb'
    +  $ng_ssl_vhost_file          = '/etc/httpd/conf.d/nagios_ssl.conf'
    +  $ng_ssl_vhost_erb           = 'confdroid_nagios/httpd/nagios_ssl_vhost.erb'
    +  $ng_resource_erb            = 'confdroid_nagios/nagios/resource_cfg.erb'
    +  $ng_grep_erb                = 'confdroid_nagios/selinux/grep.erb'
    +
    +# certbot
    +  $ng_certbot_main_dir        = '/etc/letsencrypt'
    +  $ng_certbot_archive         = "${ng_certbot_main_dir}/archive"
    +  $ng_certbot_check           = "${ng_certbot_archive}/${ng_webserver_name}/cert1.pem"
    +  $ng_certbot_live            = "${ng_certbot_main_dir}/live"
    +
    +# nagios
    +  $ng_target_templates        = "${ng_conf_d_dir}/nagios_templates.cfg"
    +  $ng_templates_head_erb      = 'confdroid_nagios/nagios/templates_cfg_head.erb'
    +  $ng_templates_rule_erb      = 'confdroid_nagios/nagios/templates_cfg_rule.erb'
    +  $ng_tgt_timeperiods_base    = "${ng_conf_d_dir}/nagios_timeperiods.cfg"
    +  $ng_tgt_timep_add           = "${ng_conf_d_dir}/nagios_timeperiods_add.cfg"
    +  $ng_tgt_timep_head_erb      = 'confdroid_nagios/nagios/timeperiods_cfg_head.erb'
    +  $ng_tgt_timep_rule_erb      = 'confdroid_nagios/nagios/timeperiods_cfg_rule.erb'
    +  $ng_target_localhost        = "${ng_conf_d_dir}/nagios_localhost.cfg"
    +  $ng_target_host             = "${ng_conf_d_dir}/nagios_host.cfg"
    +  $ng_target_hostgroup_base   = "${ng_conf_d_dir}/nagios_hostgroups_base.cfg"
    +  $ng_tgt_hostgroup_add       = "${ng_conf_d_dir}/nagios_hostgroups_add.cfg"
    +  $ng_tgt_hostgrp_head_erb    = 'confdroid_nagios/nagios/hostgroups_cfg_head.erb'
    +  $ng_tgt_hostgrp_rule_erb    = 'confdroid_nagios/nagios/hostgroups_cfg_rule.erb'
    +  $ng_target_hostdep          = "${ng_conf_d_dir}/nagios_hostdependency.cfg"
    +  $ng_target_hostesc          = "${ng_conf_d_dir}/nagios_hostescalation.cfg"
    +  $ng_target_hostext          = "${ng_conf_d_dir}/nagios_hostextinfo.cfg"
    +  $ng_target_service          = "${ng_conf_d_dir}/nagios_service.cfg"
    +  $ng_target_svcgrp_base      = "${ng_conf_d_dir}/nagios_servicegroups_base.cfg"
    +  $ng_tgt_servicegroup_add    = "${ng_conf_d_dir}/nagios_servicegroups_add.cfg"
    +  $ng_tgt_svcgrp_head_erb     = 'confdroid_nagios/nagios/svcgroups_cfg_head.erb'
    +  $ng_tgt_svcgrp_rule_erb     = 'confdroid_nagios/nagios/svcgroups_cfg_rule.erb'
    +  $ng_target_base_contact     = "${ng_conf_d_dir}/nagios_contact_base.cfg"
    +  $ng_target_add_contact      = "${ng_conf_d_dir}/nagios_contact_add.cfg"
    +  $ng_contacts_head_erb       = 'confdroid_nagios/nagios/contacts_cfg_head.erb'
    +  $ng_contacts_rule_erb       = 'confdroid_nagios/nagios/contacts_cfg_rule.erb'
    +  $ng_tgt_contactgroup_base   = "${ng_conf_d_dir}/nagios_contactgroup_base.cfg"
    +  $ng_tgt_contactgroup_add    = "${ng_conf_d_dir}/nagios_contactgroup_add.cfg"
    +  $ng_cntctgrps_head_erb      = 'confdroid_nagios/nagios/contactgroups_cfg_head.erb'
    +  $ng_cntctgrps_rule_erb      = 'confdroid_nagios/nagios/contactgroups_cfg_rule.erb'
    +  $ng_target_command          = "${ng_conf_d_dir}/nagios_commands_base.cfg"
    +  $ng_nagios_service_cmd      = 'check_nagios!/var/log/nagios/status.dat!5!/usr/sbin/nagios'
    +
     # includes must be last
       include confdroid_nagios::main::config
     }
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html index 2b5d9c0..f2adc0e 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html @@ -77,7 +77,7 @@

    Summary

    - Class manages server file configuration for the confdroid_nagios module. + Class manages configuration files for the confdroid_nagios module.

    Overview

    @@ -108,7 +108,13 @@ 10 11 12 -13
    +13 +14 +15 +16 +17 +18 +19
    # File 'manifests/server/files.pp', line 6
    @@ -117,9 +123,15 @@ class confdroid_nagios::server::files (
     
     ) inherits confdroid_nagios::params {
       require confdroid_nagios::main::dirs
    -#  if $ng_nagios_server == $fqdn {
    -#    #config here
    -#  }
    +  if $ng_nagios_server == $fqdn {
    +    file { $ng_nagios_cfg_file:
    +      ensure  => file,
    +      owner   => $ng_user,
    +      group   => $ng_user,
    +      mode    => '0644',
    +      content => template($ng_nagios_cfg_erb),
    +    }
    +  }
     }
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html new file mode 100644 index 0000000..1ee4440 --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html @@ -0,0 +1,130 @@ + + + + + + + Puppet Class: confdroid_nagios::server::nagios + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Puppet Class: confdroid_nagios::server::nagios

    +
    + +
    +
    Inherits:
    +
    confdroid_nagios::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/server/nagios.pp +
    +
    +
    + +

    Summary

    + Class manages nagios resources for the confdroid_nagios module. + +

    Overview

    +
    +
    + +

    confdroid_nagios::server::nagios.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    + +
    +
    + + + +
    + + + +
    + + + + + +
    +
    +
    +
    +6
    +7
    +8
    +9
    +10
    +
    +
    # File 'manifests/server/nagios.pp', line 6
    +
    +class confdroid_nagios::server::nagios (
    +
    +) inherits confdroid_nagios::params {
    +  # config here
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file From 5560538f363846e1cc04ebc5e937945cb2de566c Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 14 Feb 2026 15:44:29 +0100 Subject: [PATCH 04/87] Recommit for updates in build 26 --- .../confdroid_nagios_3A_3Aserver_3A_3Afiles.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html index f2adc0e..f25fecb 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html @@ -114,7 +114,8 @@ 16 17 18 -19 +19 +20
    # File 'manifests/server/files.pp', line 6
    @@ -130,6 +131,7 @@ class confdroid_nagios::server::files (
           group   => $ng_user,
           mode    => '0644',
           content => template($ng_nagios_cfg_erb),
    +      notify  => Service[$ng_nagios_service],
         }
       }
     }
    From 48483b71f09468b0afb6cfd14f72475403c5bc1a Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 14 Feb 2026 15:47:15 +0100 Subject: [PATCH 05/87] Recommit for updates in build 27 --- .../confdroid_nagios_3A_3Aparams.html | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 25c6ca5..c9cf8d6 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -453,13 +453,7 @@ inherited by all classes except defines. 140 141 142 -143 -144 -145 -146 -147 -148 -149 +143
    # File 'manifests/params.pp', line 30
    @@ -542,12 +536,6 @@ class confdroid_nagios::params (
       $ng_resource_erb            = 'confdroid_nagios/nagios/resource_cfg.erb'
       $ng_grep_erb                = 'confdroid_nagios/selinux/grep.erb'
     
    -# certbot
    -  $ng_certbot_main_dir        = '/etc/letsencrypt'
    -  $ng_certbot_archive         = "${ng_certbot_main_dir}/archive"
    -  $ng_certbot_check           = "${ng_certbot_archive}/${ng_webserver_name}/cert1.pem"
    -  $ng_certbot_live            = "${ng_certbot_main_dir}/live"
    -
     # nagios
       $ng_target_templates        = "${ng_conf_d_dir}/nagios_templates.cfg"
       $ng_templates_head_erb      = 'confdroid_nagios/nagios/templates_cfg_head.erb'
    
    From 1937b9fd5c61076fce690e802657ca156776076b Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 15:55:55 +0100
    Subject: [PATCH 06/87] Recommit for updates in build 28
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 58 +++++++++++++------
     1 file changed, 41 insertions(+), 17 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index c9cf8d6..56c828d 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -325,6 +325,24 @@ inherited by all classes except defines.
             —
             

    Whether to configure the Nagios web interface to use HTTPS. Default is false. We recommend using a reverse proxy with SSL termination in front of the Nagios web interface, so this is disabled by default.

    +
    + + + +
  • + + ng_event_broker_module + + + (String) + + + (defaults to: '') + + + — +
    +

    The event broker module to be used in the Nagios configuration. Default is an empty string, which means no event broker module will be configured. You can specify a module like ‘mod_gearman’ to enable the Gearman event broker module, for example.

  • @@ -340,10 +358,6 @@ inherited by all classes except defines.
     
     
    -30
    -31
    -32
    -33
     34
     35
     36
    @@ -453,27 +467,37 @@ inherited by all classes except defines.
     140
     141
     142
    -143
    +143 +144 +145 +146 +147 +148 +149 +150
    -
    # File 'manifests/params.pp', line 30
    +        
    # File 'manifests/params.pp', line 34
     
     class confdroid_nagios::params (
     
     # main
    -  String $ng_nagios_server     = 'nagios.example.net',
    -  Array $ng_reqpackages_server = ['nagios','nagios-devel'],
    -  Array $ng_reqpackages_client = ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common'],
    -  String $ng_pkg_ensure        = 'present',
    -  Boolean $ng_include_nrpe     = true,
    +  String $ng_nagios_server          = 'nagios.example.net',
    +  Array $ng_reqpackages_server      = ['nagios','nagios-devel'],
    +  Array $ng_reqpackages_client      = ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common'],
    +  String $ng_pkg_ensure             = 'present',
    +  Boolean $ng_include_nrpe          = true,
     
     # user
    -  String $ng_user              = 'nagios',
    -  String $ng_u_comment         = 'Nagios User',
    -  String $ng_u_groups          = 'nagios',
    -  String $ng_u_shell           = '/sbin/nologin',
    -  String $ng_u_home            = '/home/nagios',
    -  Integer $ng_u_uid            = 1004,
    +  String $ng_user                   = 'nagios',
    +  String $ng_u_comment              = 'Nagios User',
    +  String $ng_u_groups               = 'nagios',
    +  String $ng_u_shell                = '/sbin/nologin',
    +  String $ng_u_home                 = '/home/nagios',
    +  Integer $ng_u_uid                 = 1004,
    +
    +# nagios_cfg settings
    +  String $ng_event_broker_module     = '',
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From 4fa3a6fb75fd4592d6bc7bd224d80510956ff1c2 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 15:59:53 +0100
    Subject: [PATCH 07/87] Recommit for updates in build 29
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 34 +++++++++++++++----
     1 file changed, 27 insertions(+), 7 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 56c828d..eabac60 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -343,6 +343,24 @@ inherited by all classes except defines.
             —
             

    The event broker module to be used in the Nagios configuration. Default is an empty string, which means no event broker module will be configured. You can specify a module like ‘mod_gearman’ to enable the Gearman event broker module, for example.

    +
    + + + +
  • + + ng_glob_host_evt_handler + + + (String) + + + (defaults to: '') + + + — +
    +

    The global host event handler to be used in the Nagios configuration. Default is an empty string, which means no global host event handler will be configured. You can specify a command like ‘notify-host-by-email’ to set a global host event handler that sends email notifications for host events, for example.

  • @@ -358,11 +376,6 @@ inherited by all classes except defines.
     
     
    -34
    -35
    -36
    -37
    -38
     39
     40
     41
    @@ -474,10 +487,16 @@ inherited by all classes except defines.
     147
     148
     149
    -150
    +150 +151 +152 +153 +154 +155 +156
    -
    # File 'manifests/params.pp', line 34
    +        
    # File 'manifests/params.pp', line 39
     
     class confdroid_nagios::params (
     
    @@ -498,6 +517,7 @@ class confdroid_nagios::params (
     
     # nagios_cfg settings
       String $ng_event_broker_module     = '',
    +  String $ng_glob_host_evt_handler   = '',
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From c653713e8fb52f5f824cedec987f4957935d7064 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 16:02:26 +0100
    Subject: [PATCH 08/87] Recommit for updates in build 30
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 34 +++++++++++++++----
     1 file changed, 27 insertions(+), 7 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index eabac60..3bb8fba 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -361,6 +361,24 @@ inherited by all classes except defines.
             —
             

    The global host event handler to be used in the Nagios configuration. Default is an empty string, which means no global host event handler will be configured. You can specify a command like ‘notify-host-by-email’ to set a global host event handler that sends email notifications for host events, for example.

    +
    + + + +
  • + + ng_glob_svc_evt_handler + + + (String) + + + (defaults to: '') + + + — +
    +

    The global service event handler to be used in the Nagios configuration. Default is an empty string, which means no global service event handler will be configured. You can specify a command like ‘notify-service-by-email’ to set a global service event handler that sends email notifications for service events, for example.

  • @@ -376,11 +394,6 @@ inherited by all classes except defines.
     
     
    -39
    -40
    -41
    -42
    -43
     44
     45
     46
    @@ -493,10 +506,16 @@ inherited by all classes except defines.
     153
     154
     155
    -156
    +156 +157 +158 +159 +160 +161 +162
    -
    # File 'manifests/params.pp', line 39
    +        
    # File 'manifests/params.pp', line 44
     
     class confdroid_nagios::params (
     
    @@ -518,6 +537,7 @@ class confdroid_nagios::params (
     # nagios_cfg settings
       String $ng_event_broker_module     = '',
       String $ng_glob_host_evt_handler   = '',
    +  String $ng_glob_svc_evt_handler    = '',
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From 903279b55e3ee4bffe359d963990405ae1679c0e Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 16:23:43 +0100
    Subject: [PATCH 09/87] Recommit for updates in build 31
    
    ---
     doc/puppet_classes/confdroid_nagios_3A_3Aparams.html | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 3bb8fba..a1d4ae8 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -102,7 +102,7 @@ inherited by all classes except defines.
     
    -

    confdroid_nagios::params.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    +

    confdroid_nagios::params Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    From 521e41acc61783d1c4ea3d25e124d27a4dc1e101 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 14 Feb 2026 16:25:48 +0100 Subject: [PATCH 10/87] Recommit for updates in build 32 --- .../confdroid_nagios_3A_3Aparams.html | 34 +++++++++++++++---- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index a1d4ae8..7851692 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -379,6 +379,24 @@ inherited by all classes except defines. —

    The global service event handler to be used in the Nagios configuration. Default is an empty string, which means no global service event handler will be configured. You can specify a command like ‘notify-service-by-email’ to set a global service event handler that sends email notifications for service events, for example.

    +
    + + + +
  • + + ng_check_workers + + + (String) + + + (defaults to: '') + + + — +
    +

    The number of check worker processes to be configured in the Nagios configuration. Default is an empty string, which means no specific number of check worker processes will be configured. You can specify a number like ‘5’ to set the number of check worker processes to 5, for example.

  • @@ -394,11 +412,6 @@ inherited by all classes except defines.
     
     
    -44
    -45
    -46
    -47
    -48
     49
     50
     51
    @@ -512,10 +525,16 @@ inherited by all classes except defines.
     159
     160
     161
    -162
    +162 +163 +164 +165 +166 +167 +168
    -
    # File 'manifests/params.pp', line 44
    +        
    # File 'manifests/params.pp', line 49
     
     class confdroid_nagios::params (
     
    @@ -538,6 +557,7 @@ class confdroid_nagios::params (
       String $ng_event_broker_module     = '',
       String $ng_glob_host_evt_handler   = '',
       String $ng_glob_svc_evt_handler    = '',
    +  String $ng_check_workers           = '',
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From 83f463f351f956205023c6e56647decbcc99d069 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 16:33:53 +0100
    Subject: [PATCH 11/87] Recommit for updates in build 33
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 126 ++++++++++++++++--
     1 file changed, 114 insertions(+), 12 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 7851692..8c975a0 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -397,6 +397,96 @@ inherited by all classes except defines.
             —
             

    The number of check worker processes to be configured in the Nagios configuration. Default is an empty string, which means no specific number of check worker processes will be configured. You can specify a number like ‘5’ to set the number of check worker processes to 5, for example.

    +
    + + + +
  • + + ng_log_file + + + (String) + + + (defaults to: '/var/log/nagios/nagios.log') + + + — +
    +

    The path to the Nagios log file. Default is ‘/var/log/nagios/nagios.log’.

    +
    + +
  • + +
  • + + ng_object_cache_file + + + (String) + + + (defaults to: '/var/spool/nagios/objects.cache') + + + — +
    +

    The path to the Nagios object cache file. Default is ‘/var/spool/nagios/objects.cache’.

    +
    + +
  • + +
  • + + ng_precached_obj_file + + + (String) + + + (defaults to: '/var/spool/nagios/objects.precache') + + + — +
    +

    The path to the Nagios precached object file. Default is ‘/var/spool/nagios/objects.precache’.

    +
    + +
  • + +
  • + + ng_resource_file + + + (String) + + + (defaults to: '/etc/nagios/private/resource.cfg') + + + — +
    +

    The path to the Nagios resource file. Default is ‘/etc/nagios/private/resource.cfg’.

    +
    + +
  • + +
  • + + ng_status_file + + + (String) + + + (defaults to: '/var/log/nagios/status.dat') + + + — +
    +

    The path to the Nagios status file. Default is ‘/var/log/nagios/status.dat’.

  • @@ -412,16 +502,6 @@ inherited by all classes except defines.
     
     
    -49
    -50
    -51
    -52
    -53
    -54
    -55
    -56
    -57
    -58
     59
     60
     61
    @@ -531,10 +611,26 @@ inherited by all classes except defines.
     165
     166
     167
    -168
    +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184
    -
    # File 'manifests/params.pp', line 49
    +        
    # File 'manifests/params.pp', line 59
     
     class confdroid_nagios::params (
     
    @@ -558,6 +654,12 @@ class confdroid_nagios::params (
       String $ng_glob_host_evt_handler   = '',
       String $ng_glob_svc_evt_handler    = '',
       String $ng_check_workers           = '',
    +  String $ng_log_file                = '/var/log/nagios/nagios.log',
    +  String $ng_object_cache_file       = '/var/spool/nagios/objects.cache',
    +  String $ng_precached_obj_file      = '/var/spool/nagios/objects.precache',
    +  String $ng_resource_file           = '/etc/nagios/private/resource.cfg',
    +  String $ng_status_file             = '/var/log/nagios/status.dat',
    +
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From 3a0316fd893e9c0fef6d3012cdd52918ed71243e Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 16:39:37 +0100
    Subject: [PATCH 12/87] Recommit for updates in build 34
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 156 +++++++++++++++---
     1 file changed, 137 insertions(+), 19 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 8c975a0..bef9b13 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -102,7 +102,7 @@ inherited by all classes except defines.
     
    -

    confdroid_nagios::params Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    +

    confdroid_nagios::params Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com) file. Default is ‘/var/spool/nagios/objects.precache’.

    @@ -450,7 +450,7 @@ inherited by all classes except defines. —
    -

    The path to the Nagios precached object file. Default is ‘/var/spool/nagios/objects.precache’.

    +

    The path to the Nagios precached object

    @@ -487,6 +487,114 @@ inherited by all classes except defines. —

    The path to the Nagios status file. Default is ‘/var/log/nagios/status.dat’.

    +
    + + + +
  • + + ng_status_upd_interval + + + (String) + + + (defaults to: '10') + + + — +
    +

    The interval for updating the Nagios status file. Default is ‘10’.

    +
    + +
  • + +
  • + + ng_check_ext_commands + + + (String) + + + (defaults to: '1') + + + — +
    +

    Whether to enable external command checking in the Nagios configuration. Default is ‘1’, which means external command checking will be enabled. You can set this to ‘0’ to disable external command checking if needed.

    +
    + +
  • + +
  • + + ng_command_file + + + (String) + + + (defaults to: '/var/spool/nagios/cmd/nagios.cmd') + + + — +
    +

    The path to the Nagios command file. Default is ‘/var/spool/nagios/cmd/nagios.cmd’.

    +
    + +
  • + +
  • + + ng_lock_file + + + (String) + + + (defaults to: '/var/run/nagios/nagios.pid') + + + — +
    +

    The path to the Nagios lock file. Default is ‘/var/run/nagios/nagios.pid’.

    +
    + +
  • + +
  • + + ng_temp_file + + + (String) + + + (defaults to: '/var/spool/nagios/nagios.tmp') + + + — +
    +

    The path to the Nagios temporary file. Default is ‘/var/spool/nagios/nagios.tmp’.

    +
    + +
  • + +
  • + + ng_temp_path + + + (String) + + + (defaults to: '/tmp') + + + — +
    +

    The path to the Nagios temporary directory. Default is ‘/tmp’.

  • @@ -502,20 +610,6 @@ inherited by all classes except defines.
     
     
    -59
    -60
    -61
    -62
    -63
    -64
    -65
    -66
    -67
    -68
    -69
    -70
    -71
    -72
     73
     74
     75
    @@ -627,10 +721,29 @@ inherited by all classes except defines.
     181
     182
     183
    -184
    +184 +185 +186 +187 +188 +189 +190 +191 +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203
    -
    # File 'manifests/params.pp', line 59
    +        
    # File 'manifests/params.pp', line 73
     
     class confdroid_nagios::params (
     
    @@ -659,7 +772,12 @@ class confdroid_nagios::params (
       String $ng_precached_obj_file      = '/var/spool/nagios/objects.precache',
       String $ng_resource_file           = '/etc/nagios/private/resource.cfg',
       String $ng_status_file             = '/var/log/nagios/status.dat',
    -
    +  String $ng_status_upd_interval     = '10',
    +  String $ng_check_ext_commands      = '1',
    +  String $ng_command_file            = '/var/spool/nagios/cmd/nagios.cmd',
    +  String $ng_lock_file               = '/var/run/nagios/nagios.pid',
    +  String $ng_temp_file               = '/var/spool/nagios/nagios.tmp',
    +  String $ng_temp_path               = '/tmp',
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From 448cfbf4f6ae2d0757291a193a633129000d2571 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 16:47:46 +0100
    Subject: [PATCH 13/87] Recommit for updates in build 35
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 289 ++++++++++++++++--
     1 file changed, 257 insertions(+), 32 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index bef9b13..07daed4 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -599,6 +599,207 @@ inherited by all classes except defines.
           
         
       
    +    
  • + + ng_event_broker_options + + + (String) + + + (defaults to: '-1') + + + — +
    +

    The options for the Nagios event broker. Default is ‘-1’, which means no specific options will be configured. You can specify options like ‘–log-level=debug’ to set the log level for the event broker, for example.

    +
    + +
  • + +
  • + + ng_log_rotation_method + + + (String) + + + (defaults to: 'h') + + + — +
    +

    The method for log rotation in the Nagios configuration. Default is ‘h’, which means hourly log rotation. You can set this to ‘d’ for daily log rotation, ‘w’ for weekly log rotation, or ‘m’ for monthly log rotation if needed.

    +
    + +
  • + +
  • + + ng_log_archive_path + + + (String) + + + (defaults to: '/var/log/nagios/archives') + + + — +
    +

    The path to the Nagios log archive directory. Default is ‘/var/log/nagios/archives’.

    +
    + +
  • + +
  • + + ng_use_syslog + + + (String) + + + (defaults to: '1') + + + — +
    +

    Whether to use syslog for logging in the Nagios configuration. Default is ‘1’, which means syslog will be used for logging. You can set this to ‘0’ to disable syslog logging if needed.

    +
    + +
  • + +
  • + + ng_log_notifications + + + (String) + + + (defaults to: '1') + + + — +
    +

    Whether to log notifications in the Nagios configuration. Default is ‘1’, which means notifications will be logged. You can set this to ‘0’ to disable logging of notifications if needed.

    +
    + +
  • + +
  • + + ng_log_service_retries + + + (String) + + + (defaults to: '1') + + + — +
    +

    Whether to log service retries in the Nagios configuration. Default is ‘1’, which means service retries will be logged. You can set this to ‘0’ to disable logging of service retries if needed.

    +
    + +
  • + +
  • + + ng_log_host_retries + + + (String) + + + (defaults to: '1') + + + — +
    +

    Whether to log host retries in the Nagios configuration. Default is ‘1’, which means host retries will be logged. You can set this to ‘0’ to disable logging of host retries if needed.

    +
    + +
  • + +
  • + + ng_log_event_handlers + + + (String) + + + (defaults to: '1') + + + — +
    +

    Whether to log event handlers in the Nagios configuration. Default is ‘1’, which means event handlers will be logged. You can set this to ‘0’ to disable logging of event handlers if needed.

    +
    + +
  • + +
  • + + ng_log_initial_states + + + (String) + + + (defaults to: '0') + + + — +
    +

    Whether to log initial states in the

    +
    + +
  • + +
  • + + ng_log_current_states + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_log_external_commands + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_log_passive_checks + + + (String) + + + (defaults to: '1') + + +
  • + @@ -610,32 +811,6 @@ inherited by all classes except defines.
     
     
    -73
    -74
    -75
    -76
    -77
    -78
    -79
    -80
    -81
    -82
    -83
    -84
    -85
    -86
    -87
    -88
    -89
    -90
    -91
    -92
    -93
    -94
    -95
    -96
    -97
    -98
     99
     100
     101
    @@ -740,10 +915,48 @@ inherited by all classes except defines.
     200
     201
     202
    -203
    +203 +204 +205 +206 +207 +208 +209 +210 +211 +212 +213 +214 +215 +216 +217 +218 +219 +220 +221 +222 +223 +224 +225 +226 +227 +228 +229 +230 +231 +232 +233 +234 +235 +236 +237 +238 +239 +240 +241
    -
    # File 'manifests/params.pp', line 73
    +        
    # File 'manifests/params.pp', line 99
     
     class confdroid_nagios::params (
     
    @@ -763,10 +976,6 @@ class confdroid_nagios::params (
       Integer $ng_u_uid                 = 1004,
     
     # nagios_cfg settings
    -  String $ng_event_broker_module     = '',
    -  String $ng_glob_host_evt_handler   = '',
    -  String $ng_glob_svc_evt_handler    = '',
    -  String $ng_check_workers           = '',
       String $ng_log_file                = '/var/log/nagios/nagios.log',
       String $ng_object_cache_file       = '/var/spool/nagios/objects.cache',
       String $ng_precached_obj_file      = '/var/spool/nagios/objects.precache',
    @@ -778,6 +987,22 @@ class confdroid_nagios::params (
       String $ng_lock_file               = '/var/run/nagios/nagios.pid',
       String $ng_temp_file               = '/var/spool/nagios/nagios.tmp',
       String $ng_temp_path               = '/tmp',
    +  String $ng_event_broker_options    = '-1',
    +  String $ng_event_broker_module     = '',
    +  String $ng_glob_host_evt_handler   = '',
    +  String $ng_glob_svc_evt_handler    = '',
    +  String $ng_check_workers           = '',
    +  String $ng_log_rotation_method     = 'h',
    +  String $ng_log_archive_path        = '/var/log/nagios/archives',
    +  String $ng_use_syslog              = '1',
    +  String $ng_log_notifications       = '1',
    +  String $ng_log_service_retries     = '1',
    +  String $ng_log_host_retries        = '1',
    +  String $ng_log_event_handlers      = '1',
    +  String $ng_log_initial_states      = '0',
    +  String $ng_log_current_states      = '1',
    +  String $ng_log_external_commands   = '1',
    +  String $ng_log_passive_checks      = '1',
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From 1a5fedcb4ac75e822882661d2f0d381216ec442b Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 18:08:21 +0100
    Subject: [PATCH 14/87] Recommit for updates in build 36
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 2213 +++++++++++++----
     1 file changed, 1786 insertions(+), 427 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 07daed4..124026d 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -94,16 +94,10 @@
       
     
     
    -  

    Summary

    - Class holds all parameters for the confdroid_nagios module and is -inherited by all classes except defines. -

    Overview

    -

    confdroid_nagios::params Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com) file. Default is ‘/var/spool/nagios/objects.precache’.

    -
    @@ -124,11 +118,6 @@ inherited by all classes except defines. (defaults to: 'nagios.example.net') - — -
    -

    The hostname or IP address of the Nagios server. This will determine the installation selection and the of the clients to connect to the Nagios server.

    -
    -
  • @@ -142,11 +131,6 @@ inherited by all classes except defines. (defaults to: ['nagios','nagios-devel']) - — -
    -

    An array of packages to be installed on the Nagios server.

    -
    -
  • @@ -160,11 +144,6 @@ inherited by all classes except defines. (defaults to: ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common']) - — -
    -

    An array of packages to be installed on the Nagios clients.

    -
    -
  • @@ -178,119 +157,6 @@ inherited by all classes except defines. (defaults to: 'present') - — -
    -

    The ensure value for all packages. Default is ‘present’.

    -
    - -
  • - -
  • - - ng_user - - - (String) - - - (defaults to: 'nagios') - - - — -
    -

    The name of the Nagios user to be created on the Nagios server. Default is ‘nagios’.

    -
    - -
  • - -
  • - - ng_u_comment - - - (String) - - - (defaults to: 'Nagios User') - - - — -
    -

    The comment field for the Nagios user. Default is ‘Nagios User’.

    -
    - -
  • - -
  • - - ng_u_groups - - - (String) - - - (defaults to: 'nagios') - - - — -
    -

    The group(s) to which the Nagios user should be added. Default is ‘nagios’.

    -
    - -
  • - -
  • - - ng_u_shell - - - (String) - - - (defaults to: '/sbin/nologin') - - - — -
    -

    The login shell for the Nagios user. Default is ‘/sbin/nologin’.

    -
    - -
  • - -
  • - - ng_u_home - - - (String) - - - (defaults to: '/home/nagios') - - - — -
    -

    The home directory for the Nagios user. Default is ‘/home/nagios’.

    -
    - -
  • - -
  • - - ng_u_uid - - - (Integer) - - - (defaults to: 1004) - - - — -
    -

    The user ID for the Nagios user. Default is 1004.

    -
    -
  • @@ -304,100 +170,83 @@ inherited by all classes except defines. (defaults to: true) - — -
    -

    Whether to include the NRPE client on the Nagios clients. Default is true.

    -
    -
  • - ng_use_https - - - (Boolean) - - - (defaults to: false) - - - — -
    -

    Whether to configure the Nagios web interface to use HTTPS. Default is false. We recommend using a reverse proxy with SSL termination in front of the Nagios web interface, so this is disabled by default.

    -
    - -
  • - -
  • - - ng_event_broker_module + ng_user (String) - (defaults to: '') + (defaults to: 'nagios') - — -
    -

    The event broker module to be used in the Nagios configuration. Default is an empty string, which means no event broker module will be configured. You can specify a module like ‘mod_gearman’ to enable the Gearman event broker module, for example.

    -
    -
  • - ng_glob_host_evt_handler + ng_u_comment (String) - (defaults to: '') + (defaults to: 'Nagios User') - — -
    -

    The global host event handler to be used in the Nagios configuration. Default is an empty string, which means no global host event handler will be configured. You can specify a command like ‘notify-host-by-email’ to set a global host event handler that sends email notifications for host events, for example.

    -
    -
  • - ng_glob_svc_evt_handler + ng_u_groups (String) - (defaults to: '') + (defaults to: 'nagios') - — -
    -

    The global service event handler to be used in the Nagios configuration. Default is an empty string, which means no global service event handler will be configured. You can specify a command like ‘notify-service-by-email’ to set a global service event handler that sends email notifications for service events, for example.

    -
    -
  • - ng_check_workers + ng_u_shell (String) - (defaults to: '') + (defaults to: '/sbin/nologin') - — -
    -

    The number of check worker processes to be configured in the Nagios configuration. Default is an empty string, which means no specific number of check worker processes will be configured. You can specify a number like ‘5’ to set the number of check worker processes to 5, for example.

    -
    +
  • + +
  • + + ng_u_home + + + (String) + + + (defaults to: '/home/nagios') + + +
  • + +
  • + + ng_u_uid + + + (Integer) + + + (defaults to: 1004) +
  • @@ -412,11 +261,6 @@ inherited by all classes except defines. (defaults to: '/var/log/nagios/nagios.log') - — -
    -

    The path to the Nagios log file. Default is ‘/var/log/nagios/nagios.log’.

    -
    -
  • @@ -430,11 +274,6 @@ inherited by all classes except defines. (defaults to: '/var/spool/nagios/objects.cache') - — -
    -

    The path to the Nagios object cache file. Default is ‘/var/spool/nagios/objects.cache’.

    -
    -
  • @@ -448,11 +287,6 @@ inherited by all classes except defines. (defaults to: '/var/spool/nagios/objects.precache') - — -
    -

    The path to the Nagios precached object

    -
    -
  • @@ -466,11 +300,6 @@ inherited by all classes except defines. (defaults to: '/etc/nagios/private/resource.cfg') - — -
    -

    The path to the Nagios resource file. Default is ‘/etc/nagios/private/resource.cfg’.

    -
    -
  • @@ -484,11 +313,6 @@ inherited by all classes except defines. (defaults to: '/var/log/nagios/status.dat') - — -
    -

    The path to the Nagios status file. Default is ‘/var/log/nagios/status.dat’.

    -
    -
  • @@ -502,11 +326,6 @@ inherited by all classes except defines. (defaults to: '10') - — -
    -

    The interval for updating the Nagios status file. Default is ‘10’.

    -
    -
  • @@ -520,11 +339,6 @@ inherited by all classes except defines. (defaults to: '1') - — -
    -

    Whether to enable external command checking in the Nagios configuration. Default is ‘1’, which means external command checking will be enabled. You can set this to ‘0’ to disable external command checking if needed.

    -
    -
  • @@ -538,11 +352,6 @@ inherited by all classes except defines. (defaults to: '/var/spool/nagios/cmd/nagios.cmd') - — -
    -

    The path to the Nagios command file. Default is ‘/var/spool/nagios/cmd/nagios.cmd’.

    -
    -
  • @@ -556,11 +365,6 @@ inherited by all classes except defines. (defaults to: '/var/run/nagios/nagios.pid') - — -
    -

    The path to the Nagios lock file. Default is ‘/var/run/nagios/nagios.pid’.

    -
    -
  • @@ -574,11 +378,6 @@ inherited by all classes except defines. (defaults to: '/var/spool/nagios/nagios.tmp') - — -
    -

    The path to the Nagios temporary file. Default is ‘/var/spool/nagios/nagios.tmp’.

    -
    -
  • @@ -592,11 +391,6 @@ inherited by all classes except defines. (defaults to: '/tmp') - — -
    -

    The path to the Nagios temporary directory. Default is ‘/tmp’.

    -
    -
  • @@ -610,10 +404,57 @@ inherited by all classes except defines. (defaults to: '-1') - — -
    -

    The options for the Nagios event broker. Default is ‘-1’, which means no specific options will be configured. You can specify options like ‘–log-level=debug’ to set the log level for the event broker, for example.

    -
    +
  • + +
  • + + ng_event_broker_module + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_glob_host_evt_handler + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_glob_svc_evt_handler + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_check_workers + + + (String) + + + (defaults to: '') +
  • @@ -628,11 +469,6 @@ inherited by all classes except defines. (defaults to: 'h') - — -
    -

    The method for log rotation in the Nagios configuration. Default is ‘h’, which means hourly log rotation. You can set this to ‘d’ for daily log rotation, ‘w’ for weekly log rotation, or ‘m’ for monthly log rotation if needed.

    -
    -
  • @@ -646,11 +482,6 @@ inherited by all classes except defines. (defaults to: '/var/log/nagios/archives') - — -
    -

    The path to the Nagios log archive directory. Default is ‘/var/log/nagios/archives’.

    -
    -
  • @@ -664,11 +495,6 @@ inherited by all classes except defines. (defaults to: '1') - — -
    -

    Whether to use syslog for logging in the Nagios configuration. Default is ‘1’, which means syslog will be used for logging. You can set this to ‘0’ to disable syslog logging if needed.

    -
    -
  • @@ -682,11 +508,6 @@ inherited by all classes except defines. (defaults to: '1') - — -
    -

    Whether to log notifications in the Nagios configuration. Default is ‘1’, which means notifications will be logged. You can set this to ‘0’ to disable logging of notifications if needed.

    -
    -
  • @@ -700,11 +521,6 @@ inherited by all classes except defines. (defaults to: '1') - — -
    -

    Whether to log service retries in the Nagios configuration. Default is ‘1’, which means service retries will be logged. You can set this to ‘0’ to disable logging of service retries if needed.

    -
    -
  • @@ -718,11 +534,6 @@ inherited by all classes except defines. (defaults to: '1') - — -
    -

    Whether to log host retries in the Nagios configuration. Default is ‘1’, which means host retries will be logged. You can set this to ‘0’ to disable logging of host retries if needed.

    -
    -
  • @@ -736,11 +547,6 @@ inherited by all classes except defines. (defaults to: '1') - — -
    -

    Whether to log event handlers in the Nagios configuration. Default is ‘1’, which means event handlers will be logged. You can set this to ‘0’ to disable logging of event handlers if needed.

    -
    -
  • @@ -754,11 +560,6 @@ inherited by all classes except defines. (defaults to: '0') - — -
    -

    Whether to log initial states in the

    -
    -
  • @@ -800,6 +601,1358 @@ inherited by all classes except defines.
  • +
  • + + ng_glob_host_evt_handler + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_glob_svc_evt_handler + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_svc_int_check_delay + + + (String) + + + (defaults to: 's') + + +
  • + +
  • + + ng_max_svc_check_spread + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_svc_interleave_factor + + + (String) + + + (defaults to: 's') + + +
  • + +
  • + + ng_host_int_check_delay + + + (String) + + + (defaults to: 's') + + +
  • + +
  • + + ng_max_host_check_spread + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_max_concurrent_checks + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_check_res_reaper_freq + + + (String) + + + (defaults to: '10') + + +
  • + +
  • + + ng_max_check_res_reap_time + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_check_result_path + + + (String) + + + (defaults to: '/var/spool/nagios/checkresults') + + +
  • + +
  • + + ng_max_check_res_file_age + + + (String) + + + (defaults to: '3600') + + +
  • + +
  • + + ng_cached_h_check_horizon + + + (String) + + + (defaults to: '15') + + +
  • + +
  • + + ng_cached_s_check_horizon + + + (String) + + + (defaults to: '15') + + +
  • + +
  • + + ng_pred_host_dep_checks + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_pred_svc_dep_checks + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_soft_state_dependencies + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_time_change_threshold + + + (String) + + + (defaults to: '900') + + +
  • + +
  • + + ng_auto_reschedule_checks + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_auto_reschedule_intval + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_auto_reschedule_window + + + (String) + + + (defaults to: '180') + + +
  • + +
  • + + ng_service_check_timeout + + + (String) + + + (defaults to: '60') + + +
  • + +
  • + + ng_host_check_timeout + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_event_handler_timeout + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_notification_timeout + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_ocsp_timeout + + + (String) + + + (defaults to: '5') + + +
  • + +
  • + + ng_perfdata_timeout + + + (String) + + + (defaults to: '5') + + +
  • + +
  • + + ng_retain_state_inf + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_state_retention_file + + + (String) + + + (defaults to: '/var/spool/nagios/retention.dat') + + +
  • + +
  • + + ng_retention_update_intval + + + (String) + + + (defaults to: '60') + + +
  • + +
  • + + ng_use_ret_program_state + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_use_ret_scheduling_info + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_ret_host_attr_mask + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ret_service_attr_mask + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ret_proc_host_attr_mask + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ret_proc_svc_attr_mask + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ret_contact_h_attr_mask + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ret_contact_s_attr_mask + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_interval_length + + + (String) + + + (defaults to: '60') + + +
  • + +
  • + + ng_check_for_updates + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_bare_update_check + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_use_aggr_host_checking + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_execute_service_checks + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_accept_pass_svc_checks + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_execute_host_checks + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_accept_pass_host_checks + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_enable_notifications + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_enable_event_handlers + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_process_perf_data + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_host_perfdata_command + + + (String) + + + (defaults to: 'process-host-perfdata') + + +
  • + +
  • + + ng_svc_perfdata_command + + + (String) + + + (defaults to: 'process-service-perfdata') + + +
  • + +
  • + + ng_host_perfdata_file + + + (String) + + + (defaults to: '/var/spool/nagios/host-perfdata') + + +
  • + +
  • + + ng_service_perfdata_file + + + (String) + + + (defaults to: '/var/spool/nagios/service-perfdata') + + +
  • + +
  • + + ng_host_perfdata_template + + + (String) + + + (defaults to: '[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$') + + +
  • + +
  • + + ng_svc_perfdata_template + + + (String) + + + (defaults to: '[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$') + + +
  • + +
  • + + ng_host_perfdata_file_mode + + + (String) + + + (defaults to: 'a') + + +
  • + +
  • + + ng_svc_perfdata_file_mode + + + (String) + + + (defaults to: 'a') + + +
  • + +
  • + + ng_h_perfdata_proc_intval + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_s_perfdata_proc_intval + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_h_perfdata_proc_cmd + + + (String) + + + (defaults to: 'process-host-perfdata-file') + + +
  • + +
  • + + ng_s_perfdata_proc_cmd + + + (String) + + + (defaults to: 'process-service-perfdata-file') + + +
  • + +
  • + + ng_h_perfdata_proc_e_res + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_s_perfdata_proc_e_res + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_obsess_over_services + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ocsp_command + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_obsess_over_hosts + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ochp_command + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_translate_pass_h_checks + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_pass_h_checks_are_soft + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_check_orphaned_svc + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_check_orphaned_hosts + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_check_service_freshness + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_svc_fresh_check_intval + + + (String) + + + (defaults to: '60') + + +
  • + +
  • + + ng_svc_check_timeout_state + + + (String) + + + (defaults to: 'c') + + +
  • + +
  • + + ng_check_host_freshness + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_host_fresh_check_intval + + + (String) + + + (defaults to: '60') + + +
  • + +
  • + + ng_add_freshness_latency + + + (String) + + + (defaults to: '15') + + +
  • + +
  • + + ng_enable_flap_detection + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_low_svc_flap_threshold + + + (String) + + + (defaults to: '5.0') + + +
  • + +
  • + + ng_high_svc_flap_threshold + + + (String) + + + (defaults to: '20.0') + + +
  • + +
  • + + ng_low_h_flap_threshold + + + (String) + + + (defaults to: '5.0') + + +
  • + +
  • + + ng_high_h_flap_threshold + + + (String) + + + (defaults to: '20.0') + + +
  • + +
  • + + ng_date_format + + + (String) + + + (defaults to: 'us') + + +
  • + +
  • + + ng_use_timezone_offset + + + (Boolean) + + + (defaults to: false) + + +
  • + +
  • + + ng_use_timezone + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_illegal_obj_name_chars + + + (String) + + + (defaults to: '`~!$%^&*|\'"<>?,()=') + + +
  • + +
  • + + ng_ill_macro_output_chars + + + (String) + + + (defaults to: '`~$&|\'"<>') + + +
  • + +
  • + + ng_use_regexp_matching + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_true_regexp_matching + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_daemon_dumps_core + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_use_large_inst_tweaks + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_enable_env_macros + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_free_child_process_mem + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_child_proc_fork_twice + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_debug_level + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_debug_verbosity + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_debug_file + + + (String) + + + (defaults to: '/var/spool/nagios/nagios.debug') + + +
  • + +
  • + + ng_max_debug_file_size + + + (String) + + + (defaults to: '1000000') + + +
  • + +
  • + + ng_allow_empty_hostgroups + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_check_workers + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_host_down_svc_checks + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_enable_load_ctl_options + + + (Boolean) + + + (defaults to: false) + + +
  • + +
  • + + ng_loadctl_options + + + (String) + + + (defaults to: 'jobs_max=100;backoff_limit=10;rampup_change=5') + + +
  • + +
  • + + ng_use_https + + + (Boolean) + + + (defaults to: false) + + +
  • + @@ -811,152 +1964,255 @@ inherited by all classes except defines.
     
     
    -99
    -100
    -101
    -102
    -103
    -104
    -105
    -106
    -107
    -108
    -109
    -110
    -111
    -112
    -113
    -114
    -115
    -116
    -117
    -118
    -119
    -120
    -121
    -122
    -123
    -124
    -125
    -126
    -127
    -128
    -129
    -130
    -131
    -132
    -133
    -134
    -135
    -136
    -137
    -138
    -139
    -140
    -141
    -142
    -143
    -144
    -145
    -146
    -147
    -148
    -149
    -150
    -151
    -152
    -153
    -154
    -155
    -156
    -157
    -158
    -159
    -160
    -161
    -162
    -163
    -164
    -165
    -166
    -167
    -168
    -169
    -170
    -171
    -172
    -173
    -174
    -175
    -176
    -177
    -178
    -179
    -180
    -181
    -182
    -183
    -184
    -185
    -186
    -187
    -188
    -189
    -190
    -191
    -192
    -193
    -194
    -195
    -196
    -197
    -198
    -199
    -200
    -201
    -202
    -203
    -204
    -205
    -206
    -207
    -208
    -209
    -210
    -211
    -212
    -213
    -214
    -215
    -216
    -217
    -218
    -219
    -220
    -221
    -222
    -223
    -224
    -225
    -226
    -227
    -228
    -229
    -230
    -231
    -232
    -233
    -234
    -235
    -236
    -237
    -238
    -239
    -240
    -241
    +404 +405 +406 +407 +408 +409 +410 +411 +412 +413 +414 +415 +416 +417 +418 +419 +420 +421 +422 +423 +424 +425 +426 +427 +428 +429 +430 +431 +432 +433 +434 +435 +436 +437 +438 +439 +440 +441 +442 +443 +444 +445 +446 +447 +448 +449 +450 +451 +452 +453 +454 +455 +456 +457 +458 +459 +460 +461 +462 +463 +464 +465 +466 +467 +468 +469 +470 +471 +472 +473 +474 +475 +476 +477 +478 +479 +480 +481 +482 +483 +484 +485 +486 +487 +488 +489 +490 +491 +492 +493 +494 +495 +496 +497 +498 +499 +500 +501 +502 +503 +504 +505 +506 +507 +508 +509 +510 +511 +512 +513 +514 +515 +516 +517 +518 +519 +520 +521 +522 +523 +524 +525 +526 +527 +528 +529 +530 +531 +532 +533 +534 +535 +536 +537 +538 +539 +540 +541 +542 +543 +544 +545 +546 +547 +548 +549 +550 +551 +552 +553 +554 +555 +556 +557 +558 +559 +560 +561 +562 +563 +564 +565 +566 +567 +568 +569 +570 +571 +572 +573 +574 +575 +576 +577 +578 +579 +580 +581 +582 +583 +584 +585 +586 +587 +588 +589 +590 +591 +592 +593 +594 +595 +596 +597 +598 +599 +600 +601 +602 +603 +604 +605 +606 +607 +608 +609 +610 +611 +612 +613 +614 +615 +616 +617 +618 +619 +620 +621 +622 +623 +624 +625 +626 +627 +628 +629 +630 +631 +632 +633 +634 +635 +636 +637 +638 +639 +640 +641 +642 +643 +644 +645 +646 +647 +648 +649
    -
    # File 'manifests/params.pp', line 99
    +        
    # File 'manifests/params.pp', line 404
     
     class confdroid_nagios::params (
     
    @@ -1003,6 +2259,109 @@ class confdroid_nagios::params (
       String $ng_log_current_states      = '1',
       String $ng_log_external_commands   = '1',
       String $ng_log_passive_checks      = '1',
    +  String $ng_glob_host_evt_handler   = '',
    +  String $ng_glob_svc_evt_handler    = '',
    +  String $ng_svc_int_check_delay     = 's',
    +  String $ng_max_svc_check_spread    = '30',
    +  String $ng_svc_interleave_factor   = 's',
    +  String $ng_host_int_check_delay    = 's',
    +  String $ng_max_host_check_spread   = '30',
    +  String $ng_max_concurrent_checks   = '0',
    +  String $ng_check_res_reaper_freq   = '10',
    +  String $ng_max_check_res_reap_time = '30',
    +  String $ng_check_result_path       = '/var/spool/nagios/checkresults',
    +  String $ng_max_check_res_file_age  = '3600',
    +  String $ng_cached_h_check_horizon  = '15',
    +  String $ng_cached_s_check_horizon  = '15',
    +  String $ng_pred_host_dep_checks    = '1',
    +  String $ng_pred_svc_dep_checks     = '1',
    +  String $ng_soft_state_dependencies = '0',
    +  String $ng_time_change_threshold   = '900',
    +  String $ng_auto_reschedule_checks  = '0',
    +  String $ng_auto_reschedule_intval  = '30',
    +  String $ng_auto_reschedule_window  = '180',
    +  String $ng_service_check_timeout   = '60',
    +  String $ng_host_check_timeout      = '30',
    +  String $ng_event_handler_timeout   = '30',
    +  String $ng_notification_timeout    = '30',
    +  String $ng_ocsp_timeout            = '5',
    +  String $ng_perfdata_timeout        = '5',
    +  String $ng_retain_state_inf        = '1',
    +  String $ng_state_retention_file    = '/var/spool/nagios/retention.dat',
    +  String $ng_retention_update_intval = '60',
    +  String $ng_use_ret_program_state   = '1',
    +  String $ng_use_ret_scheduling_info = '1',
    +  String $ng_ret_host_attr_mask      = '0',
    +  String $ng_ret_service_attr_mask   = '0',
    +  String $ng_ret_proc_host_attr_mask = '0',
    +  String $ng_ret_proc_svc_attr_mask  = '0',
    +  String $ng_ret_contact_h_attr_mask = '0',
    +  String $ng_ret_contact_s_attr_mask = '0',
    +  String $ng_interval_length         = '60',
    +  String $ng_check_for_updates       = '1',
    +  String $ng_bare_update_check       = '0',
    +  String $ng_use_aggr_host_checking  = '0',
    +  String $ng_execute_service_checks  = '1',
    +  String $ng_accept_pass_svc_checks  = '1',
    +  String $ng_execute_host_checks     = '1',
    +  String $ng_accept_pass_host_checks = '1',
    +  String $ng_enable_notifications    = '1',
    +  String $ng_enable_event_handlers   = '1',
    +  String $ng_process_perf_data       = '0',
    +  String $ng_host_perfdata_command   = 'process-host-perfdata',
    +  String $ng_svc_perfdata_command    = 'process-service-perfdata',
    +  String $ng_host_perfdata_file      = '/var/spool/nagios/host-perfdata',
    +  String $ng_service_perfdata_file   = '/var/spool/nagios/service-perfdata',
    +  String $ng_host_perfdata_template  = '[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$',
    +  String $ng_svc_perfdata_template   = '[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$',
    +  String $ng_host_perfdata_file_mode = 'a',
    +  String $ng_svc_perfdata_file_mode  = 'a',
    +  String $ng_h_perfdata_proc_intval  = '0',
    +  String $ng_s_perfdata_proc_intval  = '0',
    +  String $ng_h_perfdata_proc_cmd     = 'process-host-perfdata-file',
    +  String $ng_s_perfdata_proc_cmd     = 'process-service-perfdata-file',
    +  String $ng_h_perfdata_proc_e_res   = '1',
    +  String $ng_s_perfdata_proc_e_res   = '1',
    +  String $ng_obsess_over_services    = '0',
    +  String $ng_ocsp_command            = '',
    +  String $ng_obsess_over_hosts       = '0',
    +  String $ng_ochp_command            = '',
    +  String $ng_translate_pass_h_checks = '0',
    +  String $ng_pass_h_checks_are_soft  = '0',
    +  String $ng_check_orphaned_svc      = '1',
    +  String $ng_check_orphaned_hosts    = '1',
    +  String $ng_check_service_freshness = '1',
    +  String $ng_svc_fresh_check_intval  = '60',
    +  String $ng_svc_check_timeout_state = 'c',
    +  String $ng_check_host_freshness    = '0',
    +  String $ng_host_fresh_check_intval = '60',
    +  String $ng_add_freshness_latency   = '15',
    +  String $ng_enable_flap_detection   = '1',
    +  String $ng_low_svc_flap_threshold  = '5.0',
    +  String $ng_high_svc_flap_threshold = '20.0',
    +  String $ng_low_h_flap_threshold    = '5.0',
    +  String $ng_high_h_flap_threshold   = '20.0',
    +  String $ng_date_format             = 'us',
    +  Boolean $ng_use_timezone_offset    = false,
    +  String $ng_use_timezone            = '',
    +  String $ng_illegal_obj_name_chars  = '`~!$%^&*|\'"<>?,()=',
    +  String $ng_ill_macro_output_chars  = '`~$&|\'"<>',
    +  String $ng_use_regexp_matching     = '0',
    +  String $ng_true_regexp_matching    = '0',
    +  String $ng_daemon_dumps_core       = '0',
    +  String $ng_use_large_inst_tweaks   = '0',
    +  String $ng_enable_env_macros       = '0',
    +  String $ng_free_child_process_mem  = '1',
    +  String $ng_child_proc_fork_twice   = '1',
    +  String $ng_debug_level             = '0',
    +  String $ng_debug_verbosity         = '1',
    +  String $ng_debug_file              = '/var/spool/nagios/nagios.debug',
    +  String $ng_max_debug_file_size     = '1000000',
    +  String $ng_allow_empty_hostgroups  = '0',
    +  String $ng_check_workers           = '',
    +  String $ng_host_down_svc_checks    = '0',
    +  Boolean $ng_enable_load_ctl_options = false,
    +  String $ng_loadctl_options         = 'jobs_max=100;backoff_limit=10;rampup_change=5',
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From e15e4cfe3d655926eed0c2336e774d40c3c4af1e Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 18:11:29 +0100
    Subject: [PATCH 15/87] Recommit for updates in build 37
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 938 +++++++++++++-----
     1 file changed, 700 insertions(+), 238 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 124026d..080759a 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -94,10 +94,16 @@
       
     
     
    +  

    Summary

    + Class holds all parameters for the confdroid_nagios module and is +inherited by all classes except defines. +

    Overview

    +

    confdroid_nagios::params Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    +
    @@ -118,6 +124,11 @@ (defaults to: 'nagios.example.net') + — +
    +

    The hostname or IP address of the Nagios server. This will determine the installation selection and the of the clients to connect to the Nagios server.

    +
    +
  • @@ -131,6 +142,11 @@ (defaults to: ['nagios','nagios-devel']) + — +
    +

    An array of packages to be installed on the Nagios server.

    +
    +
  • @@ -144,6 +160,11 @@ (defaults to: ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common']) + — +
    +

    An array of packages to be installed on the Nagios clients.

    +
    +
  • @@ -157,18 +178,10 @@ (defaults to: 'present') -
  • - -
  • - - ng_include_nrpe - - - (Boolean) - - - (defaults to: true) - + — +
    +

    The ensure value for all packages. Default is ‘present’.

    +
  • @@ -183,6 +196,11 @@ (defaults to: 'nagios') + — +
    +

    The name of the Nagios user to be created on the Nagios server. Default is ‘nagios’.

    +
    +
  • @@ -196,6 +214,11 @@ (defaults to: 'Nagios User') + — +
    +

    The comment field for the Nagios user. Default is ‘Nagios User’.

    +
    +
  • @@ -209,6 +232,11 @@ (defaults to: 'nagios') + — +
    +

    The group(s) to which the Nagios user should be added. Default is ‘nagios’.

    +
    +
  • @@ -222,6 +250,11 @@ (defaults to: '/sbin/nologin') + — +
    +

    The login shell for the Nagios user. Default is ‘/sbin/nologin’.

    +
    +
  • @@ -235,6 +268,11 @@ (defaults to: '/home/nagios') + — +
    +

    The home directory for the Nagios user. Default is ‘/home/nagios’.

    +
    +
  • @@ -248,161 +286,46 @@ (defaults to: 1004) -
  • - -
  • - - ng_log_file - - - (String) - - - (defaults to: '/var/log/nagios/nagios.log') - + — +
    +

    The user ID for the Nagios user. Default is 1004.

    +
  • - ng_object_cache_file + ng_include_nrpe - (String) + (Boolean) - (defaults to: '/var/spool/nagios/objects.cache') + (defaults to: true) + — +
    +

    Whether to include the NRPE client on the Nagios clients. Default is true.

    +
    +
  • - ng_precached_obj_file + ng_use_https - (String) + (Boolean) - (defaults to: '/var/spool/nagios/objects.precache') + (defaults to: false) -
  • - -
  • - - ng_resource_file - - - (String) - - - (defaults to: '/etc/nagios/private/resource.cfg') - - -
  • - -
  • - - ng_status_file - - - (String) - - - (defaults to: '/var/log/nagios/status.dat') - - -
  • - -
  • - - ng_status_upd_interval - - - (String) - - - (defaults to: '10') - - -
  • - -
  • - - ng_check_ext_commands - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_command_file - - - (String) - - - (defaults to: '/var/spool/nagios/cmd/nagios.cmd') - - -
  • - -
  • - - ng_lock_file - - - (String) - - - (defaults to: '/var/run/nagios/nagios.pid') - - -
  • - -
  • - - ng_temp_file - - - (String) - - - (defaults to: '/var/spool/nagios/nagios.tmp') - - -
  • - -
  • - - ng_temp_path - - - (String) - - - (defaults to: '/tmp') - - -
  • - -
  • - - ng_event_broker_options - - - (String) - - - (defaults to: '-1') - + — +
    +

    Whether to configure the Nagios web interface to use HTTPS. Default is false. We recommend using a reverse proxy with SSL termination in front of the Nagios web interface, so this is disabled by default.

    +
  • @@ -417,6 +340,11 @@ (defaults to: '') + — +
    +

    The event broker module to be used in the Nagios configuration. Default is an empty string, which means no event broker module will be configured. You can specify a module like ‘mod_gearman’ to enable the Gearman event broker module, for example.

    +
    +
  • @@ -430,6 +358,11 @@ (defaults to: '') + — +
    +

    The global host event handler to be used in the Nagios configuration. Default is an empty string, which means no global host event handler will be configured. You can specify a command like ‘notify-host-by-email’ to set a global host event handler that sends email notifications for host events, for example.

    +
    +
  • @@ -443,6 +376,11 @@ (defaults to: '') + — +
    +

    The global service event handler to be used in the Nagios configuration. Default is an empty string, which means no global service event handler will be configured. You can specify a command like ‘notify-service-by-email’ to set a global service event handler that sends email notifications for service events, for example.

    +
    +
  • @@ -456,6 +394,227 @@ (defaults to: '') + — +
    +

    The number of check worker processes to be configured in the Nagios configuration. Default is an empty string, which means no specific number of check worker processes will be configured. You can specify a number like ‘5’ to set the number of check worker processes to 5, for example.

    +
    + +
  • + +
  • + + ng_log_file + + + (String) + + + (defaults to: '/var/log/nagios/nagios.log') + + + — +
    +

    The path to the Nagios log file. Default is ‘/var/log/nagios/nagios.log’.

    +
    + +
  • + +
  • + + ng_object_cache_file + + + (String) + + + (defaults to: '/var/spool/nagios/objects.cache') + + + — +
    +

    The path to the Nagios object cache file. Default is ‘/var/spool/nagios/objects.cache’.

    +
    + +
  • + +
  • + + ng_precached_obj_file + + + (String) + + + (defaults to: '/var/spool/nagios/objects.precache') + + + — +
    +

    The path to the Nagios precached object file. Default is ‘/var/spool/nagios/objects.precache’.

    +
    + +
  • + +
  • + + ng_resource_file + + + (String) + + + (defaults to: '/etc/nagios/private/resource.cfg') + + + — +
    +

    The path to the Nagios resource file. Default is ‘/etc/nagios/private/resource.cfg’.

    +
    + +
  • + +
  • + + ng_status_file + + + (String) + + + (defaults to: '/var/log/nagios/status.dat') + + + — +
    +

    The path to the Nagios status file. Default is ‘/var/log/nagios/status.dat’.

    +
    + +
  • + +
  • + + ng_status_upd_interval + + + (String) + + + (defaults to: '10') + + + — +
    +

    The interval for updating the Nagios status file. Default is ‘10’.

    +
    + +
  • + +
  • + + ng_check_ext_commands + + + (String) + + + (defaults to: '1') + + + — +
    +

    Whether to enable external command checking in the Nagios configuration. Default is ‘1’, which means external command checking will be enabled. You can set this to ‘0’ to disable external command checking if needed.

    +
    + +
  • + +
  • + + ng_command_file + + + (String) + + + (defaults to: '/var/spool/nagios/cmd/nagios.cmd') + + + — +
    +

    The path to the Nagios command file. Default is ‘/var/spool/nagios/cmd/nagios.cmd’.

    +
    + +
  • + +
  • + + ng_lock_file + + + (String) + + + (defaults to: '/var/run/nagios/nagios.pid') + + + — +
    +

    The path to the Nagios lock file. Default is ‘/var/run/nagios/nagios.pid’.

    +
    + +
  • + +
  • + + ng_temp_file + + + (String) + + + (defaults to: '/var/spool/nagios/nagios.tmp') + + + — +
    +

    The path to the Nagios temporary file. Default is ‘/var/spool/nagios/nagios.tmp’.

    +
    + +
  • + +
  • + + ng_temp_path + + + (String) + + + (defaults to: '/tmp') + + + — +
    +

    The path to the Nagios temporary directory. Default is ‘/tmp’.

    +
    + +
  • + +
  • + + ng_event_broker_options + + + (String) + + + (defaults to: '-1') + + + — +
    +

    The options for the Nagios event broker. Default is ‘-1’, which means no specific options will be configured. You can specify options like ‘–log-level=debug’ to set the log level for the event broker, for example.

    +
    +
  • @@ -469,6 +628,11 @@ (defaults to: 'h') + — +
    +

    The method for log rotation in the Nagios configuration. Default is ‘h’, which means hourly log rotation. You can set this to ‘d’ for daily log rotation, ‘w’ for weekly log rotation, or ‘m’ for monthly log rotation if needed.

    +
    +
  • @@ -482,6 +646,11 @@ (defaults to: '/var/log/nagios/archives') + — +
    +

    The path to the Nagios log archive directory. Default is ‘/var/log/nagios/archives’.

    +
    +
  • @@ -495,6 +664,11 @@ (defaults to: '1') + — +
    +

    Whether to use syslog for logging in the Nagios configuration. Default is ‘1’, which means syslog will be used for logging. You can set this to ‘0’ to disable syslog logging if needed.

    +
    +
  • @@ -508,6 +682,11 @@ (defaults to: '1') + — +
    +

    Whether to log notifications in the Nagios configuration. Default is ‘1’, which means notifications will be logged. You can set this to ‘0’ to disable logging of notifications if needed.

    +
    +
  • @@ -521,6 +700,11 @@ (defaults to: '1') + — +
    +

    Whether to log service retries in the Nagios configuration. Default is ‘1’, which means service retries will be logged. You can set this to ‘0’ to disable logging of service retries if needed.

    +
    +
  • @@ -534,6 +718,11 @@ (defaults to: '1') + — +
    +

    Whether to log host retries in the Nagios configuration. Default is ‘1’, which means host retries will be logged. You can set this to ‘0’ to disable logging of host retries if needed.

    +
    +
  • @@ -547,6 +736,11 @@ (defaults to: '1') + — +
    +

    Whether to log event handlers in the Nagios configuration. Default is ‘1’, which means event handlers will be logged. You can set this to ‘0’ to disable logging of event handlers if needed.

    +
    +
  • @@ -560,6 +754,11 @@ (defaults to: '0') + — +
    +

    Whether to log initial states in the Nagios configuration. Default is ‘0’, which means initial states will not logged. You can set this to ‘1’ to enable logging of initial states if needed.

    +
    +
  • @@ -573,6 +772,11 @@ (defaults to: '1') + — +
    +

    Whether to log current states in the Nagios configuration. Default is ‘1’, which means current states will be logged. You can set this to ‘0’ to disable logging of current states if needed.

    +
    +
  • @@ -586,6 +790,11 @@ (defaults to: '1') + — +
    +

    Whether to log external commands in the Nagios configuration. Default is ‘1’, which means external commands will be logged. You can set this to ‘0’ to disable logging of external commands if needed.

    +
    +
  • @@ -599,31 +808,10 @@ (defaults to: '1') -
  • - -
  • - - ng_glob_host_evt_handler - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_glob_svc_evt_handler - - - (String) - - - (defaults to: '') - + — +
    +

    Whether to log passive checks in the Nagios configuration. Default is ‘1’, which means passive checks will be logged. You can set this to ‘0’ to disable logging of passive checks if needed.

    +
  • @@ -638,6 +826,11 @@ (defaults to: 's') + — +
    +

    The interval for delaying service checks in the Nagios configuration. Default is ‘s’, which means service checks will be delayed until the next scheduled check interval. You can set this to a specific number of seconds (e.g., ‘30’) to delay service checks by that amount of time if needed.

    +
    +
  • @@ -651,6 +844,11 @@ (defaults to: '30') + — +
    +

    The maximum spread for service checks in the Nagios configuration. Default is ‘30’, which means service checks will be spread out over a maximum of 30 seconds. You can set this to a different number of seconds if needed to control how service checks are distributed over time.

    +
    +
  • @@ -664,6 +862,11 @@ (defaults to: 's') + — +
    +

    The interleave factor for service checks in the Nagios configuration. Default is ‘s’, which means service checks will be interleaved based on their scheduled check intervals. You can set this to a specific number (e.g., ‘0.5’) to control the degree of interleaving for service checks if needed.

    +
    +
  • @@ -677,6 +880,11 @@ (defaults to: 's') + — +
    +

    The interval for delaying host checks in the Nagios configuration. Default is ‘s’, which means host checks will be delayed until the next scheduled check interval. You can set this to a specific number of seconds (e.g., ‘30’) to delay host checks by that amount of time if needed.

    +
    +
  • @@ -690,6 +898,11 @@ (defaults to: '30') + — +
    +

    The maximum spread for host checks in the Nagios configuration. Default is ‘30’, which means host checks will be spread out over a maximum of 30 seconds. You can set this to a different number of seconds if needed to control how host checks are distributed over time.

    +
    +
  • @@ -703,6 +916,11 @@ (defaults to: '0') + — +
    +

    The maximum number of concurrent checks in the Nagios configuration. Default is ‘0’, which means there is no limit in the Nagios configuration. This means that Nagios will allow as many concurrent checks as the system can handle. You can set this to a specific number (e.g., ‘10’) to limit the number of concurrent checks if needed to prevent resource exhaustion.

    +
    +
  • @@ -716,6 +934,11 @@ (defaults to: '10') + — +
    +

    The frequency for the check result reaper in the Nagios configuration. Default is ‘10’, which means the check result reaper will run every 10 seconds. You can set this to a different number of seconds if needed to control how often the check result reaper runs.

    +
    +
  • @@ -729,6 +952,11 @@ (defaults to: '30') + — +
    +

    The maximum time for check result reaping in the Nagios configuration. Default is ‘30’, which means check results will be reaped if they are older than 30 seconds. You can set this to a different number of seconds if needed to control how long check results are kept before being reaped.

    +
    +
  • @@ -742,6 +970,11 @@ (defaults to: '/var/spool/nagios/checkresults') + — +
    +

    The path to the Nagios check result directory. Default is ‘/var/spool/nagios/checkresults’.

    +
    +
  • @@ -755,6 +988,11 @@ (defaults to: '3600') + — +
    +

    The maximum age for check result files in the Nagios configuration. Default is ‘3600’, which means check result files will be considered stale and reaped if they are older than 3600 seconds (1 hour). You can set this to a different number of seconds if needed to control how long check result files are kept before being considered stale.

    +
    +
  • @@ -768,6 +1006,11 @@ (defaults to: '15') + — +
    +

    The cached host check horizon in the Nagios configuration. Default is ‘15’, which means host check results will be cached for 15 seconds. You can set this to a different number of seconds if needed to control how long host check results are cached.

    +
    +
  • @@ -781,6 +1024,11 @@ (defaults to: '15') + — +
    +

    The cached service check horizon in the Nagios configuration. Default is ‘15’, which means service check results will be cached for 15 seconds. You can set this to a different number of seconds if needed to control how long service check results are cached.

    +
    +
  • @@ -794,6 +1042,11 @@ (defaults to: '1') + — +
    +

    Whether to perform predictive host dependency checks in the Nagios configuration. Default is ‘1’, which means predictive host dependency checks will be performed. You can set this to ‘0’ to disable predictive host dependency checks. Predictive host dependency checks can help reduce false positives by checking the status of parent hosts before determining the status of child hosts.

    +
    +
  • @@ -807,6 +1060,11 @@ (defaults to: '1') + — +
    +

    Whether to perform predictive service dependency checks in the Nagios configuration. Default is ‘1’, which means predictive service dependency checks will be performed. You can set this to ‘0’ to disable predictive service dependency checks. Predictive service dependency checks can help reduce false positives by checking the status of parent services before determining the status of child services.

    +
    +
  • @@ -820,6 +1078,11 @@ (defaults to: '0') + — +
    +

    Whether to use soft state dependencies in the Nagios configuration. Default is ‘0’, which means soft state dependencies will not be used. You can set this to ‘1’ to enable soft state dependencies if needed. Soft state dependencies allow Nagios to delay the propagation of host and service states based on the number of check attempts and the state of the checks, which can help reduce false positives during transient issues.

    +
    +
  • @@ -833,6 +1096,11 @@ (defaults to: '900') + — +
    +

    The time change threshold in the Nagios configuration. Default is ‘900’, which means a time change of 900 seconds (15 minutes) or more will be considered significant and may trigger certain actions in Nagios. You can set this to a different number of seconds if needed to control how Nagios responds to significant time changes.

    +
    +
  • @@ -846,6 +1114,11 @@ (defaults to: '0') + — +
    +

    Whether to automatically reschedule checks in the Nagios configuration. Default is ‘0’, which means checks will not be automatically rescheduled. You can set this to ‘1’ to enable automatic rescheduling of checks if needed. Automatic rescheduling can help ensure that checks are performed in a timely manner, especially after significant time changes or when the Nagios daemon is restarted.

    +
    +
  • @@ -859,6 +1132,11 @@ (defaults to: '30') + — +
    +

    The interval for automatically rescheduling checks in the Nagios configuration. Default is ‘30’, which means checks will be automatically rescheduled every 30 seconds if automatic rescheduling is enabled. You can set this to a different number of seconds if needed to control how often checks are automatically rescheduled.

    +
    +
  • @@ -872,6 +1150,11 @@ (defaults to: '180') + — +
    +

    The window for automatically rescheduling checks in the Nagios configuration. Default is ‘180’, which means checks will be automatically rescheduled if they are within 180 seconds (3 minutes) of their scheduled check time when automatic rescheduling is enabled. You can set this to a different number of seconds if needed to control the window for automatic rescheduling of checks.

    +
    +
  • @@ -885,6 +1168,11 @@ (defaults to: '60') + — +
    +

    The timeout for service checks in the Nagios configuration. Default is ‘60’, which means service checks will time out after 60 seconds. You can set this to a different number of seconds if needed to control how long Nagios will wait for a service check to complete before timing out.

    +
    +
  • @@ -898,6 +1186,11 @@ (defaults to: '30') + — +
    +

    The timeout for host checks in the Nagios configuration. Default is ‘30’, which means host checks will time out after 30 seconds. You can set this to a different number of seconds if needed to control how long Nagios will wait for a host check to complete before timing out.

    +
    +
  • @@ -911,6 +1204,11 @@ (defaults to: '30') + — +
    +

    The timeout for event handlers in the Nagios configuration. Default is ‘30’, which means event handlers will time out after 30 seconds. You can set this to a different number of seconds if needed to control how long Nagios will wait for an event handler to complete before timing out.

    +
    +
  • @@ -924,6 +1222,11 @@ (defaults to: '30') + — +
    +

    The timeout for notifications in the Nagios configuration. Default is ‘30’, which means notifications will time out after 30 seconds. You can set this to a different number of seconds if needed to control how long Nagios will wait for a notification to be sent before timing out.

    +
    +
  • @@ -937,6 +1240,11 @@ (defaults to: '5') + — +
    +

    The timeout for obsess over service checks in the Nagios configuration. Default is ‘5’, which means obsess over service checks will time out after 5 seconds. You can set this to a different number of seconds if needed to control how long Nagios will wait for an obsess over service check to complete before timing out.

    +
    +
  • @@ -950,6 +1258,11 @@ (defaults to: '5') + — +
    +

    The timeout for processing performance data in the Nagios configuration. Default is ‘5’, which means processing of performance data will time out after 5 seconds. You can set this to a different number of seconds if needed to # control how long Nagios will wait for performance data processing to complete before timing out.

    +
    +
  • @@ -963,6 +1276,11 @@ (defaults to: '1') + — +
    +

    Whether to retain state information in the Nagios configuration. Default is ‘1’, which means state information will be retained. You can set this to ‘0’ to disable retention of state information if needed. Retaining state information allows Nagios to keep track of the current status of hosts and services, which can be useful for reporting and for making informed decisions about notifications and event handling.

    +
    +
  • @@ -976,6 +1294,11 @@ (defaults to: '/var/spool/nagios/retention.dat') + — +
    +

    The path to the Nagios state retention file. Default is ‘/var/spool/nagios/retention.dat’.

    +
    +
  • @@ -989,6 +1312,11 @@ (defaults to: '60') + — +
    +

    The interval for updating the state retention file in the Nagios configuration. Default is ‘60’, which means the state retention file will be updated every 60 seconds. You can set this to a different number of seconds if needed to control how often the state retention file is updated.

    +
    +
  • @@ -1002,6 +1330,11 @@ (defaults to: '1') + — +
    +

    Whether to use the retention program state in the Nagios configuration. Default is ‘1’, which means the retention program state will be used. You can set this to ‘0’ to disable the use of the retention program state if needed. The retention program state allows Nagios to retain the state of the Nagios daemon itself, which can be useful for determining if the daemon was restarted and for controlling how checks and notifications are handled after a restart.

    +
    +
  • @@ -1015,6 +1348,11 @@ (defaults to: '1') + — +
    +

    Whether to use the retention scheduling information in the Nagios configuration. Default is ‘1’, which means the retention scheduling information will be used. You can set this to ‘0’ to disable the use of the retention scheduling information if needed. The retention scheduling information allows Nagios to retain information about the scheduled check times for hosts and services, which can help ensure that checks are performed at the correct times even after a restart.

    +
    +
  • @@ -1028,6 +1366,11 @@ (defaults to: '0') + — +
    +

    The retention host attribute mask in the Nagios configuration. Default is ‘0’, which means no specific host attributes will be retained. You can set this to a specific value (e.g., ‘1’) to control which host attributes are retained in the state retention file if needed.

    +
    +
  • @@ -1041,6 +1384,11 @@ (defaults to: '0') + — +
    +

    The retention service attribute mask in the Nagios configuration. Default is ‘0’, which means no specific service attributes will be retained. You can set this to a specific value (e.g., ‘1’) to control which service attributes are retained in the state retention file if needed.

    +
    +
  • @@ -1054,6 +1402,11 @@ (defaults to: '0') + — +
    +

    The retention processed host attribute mask in the Nagios configuration. Default is ‘0’, which means no specific processed host attributes will be retained. You can set this to a specific value (e.g., ‘1’) to control which processed host attributes are retained in the state retention file if needed.

    +
    +
  • @@ -1067,6 +1420,11 @@ (defaults to: '0') + — +
    +

    The retention processed service attribute mask in the Nagios configuration. Default is ‘0’, which means no specific processed service attributes will be retained. You can set this to a specific value (e.g., ‘1’) to control which processed service attributes are retained in the state retention file if needed.

    +
    +
  • @@ -1080,6 +1438,11 @@ (defaults to: '0') + — +
    +

    The retention contact host attribute mask in the Nagios configuration. Default is ‘0’, which means no specific contact host attributes will be retained. You can set this to a specific value (e.g., ‘1’) to control which contact host attributes are retained in the state retention file if needed.

    +
    +
  • @@ -1093,6 +1456,11 @@ (defaults to: '0') + — +
    +

    The retention contact service attribute mask in the Nagios configuration. Default is ‘0’, which means no specific contact service attributes will be retained. You can set this to a specific value (e.g., ‘1’) to control which contact service attributes are retained in the state retention file if needed.

    +
    +
  • @@ -1106,6 +1474,11 @@ (defaults to: '60') + — +
    +

    The length of the time intervals in the Nagios configuration. Default is ‘60’, which means time intervals will be 60 seconds long. You can set this to a different number of seconds if needed to control the length of time intervals for scheduling checks and other time-based actions in Nagios.

    +
    +
  • @@ -1119,6 +1492,11 @@ (defaults to: '1') + — +
    +

    Whether to check for updates in the Nagios configuration. Default is ‘1’, which means Nagios will check for updates to the Nagios configuration files. You can set this to ‘0’ to disable checking for updates if needed. Checking for updates allows Nagios to detect changes to the configuration files and reload the configuration as needed to apply those changes.

    +
    +
  • @@ -1132,6 +1510,11 @@ (defaults to: '0') + — +
    +

    Whether to perform a bare update check in the Nagios configuration. Default is ‘0’, which means a bare update check will not be performed. You can set this to ‘1’ to enable bare update checks if needed. A bare update check allows Nagios to check for updates to the configuration files without performing a full check of the configuration, which can be useful in certain scenarios.

    +
    +
  • @@ -1145,6 +1528,11 @@ (defaults to: '0') + — +
    +

    Whether to use aggregate host checking in the Nagios configuration. Default is ‘0’, which means aggregate host checking will not be used. You can set this to ‘1’ to enable aggregate host checking if needed. Aggregate host checking allows Nagios to perform checks on groups of hosts and determine the status of the group based on the status of the individual hosts, which can be useful for monitoring clusters or other groups of related hosts.

    +
    +
  • @@ -1158,18 +1546,10 @@ (defaults to: '1') -
  • - -
  • - - ng_accept_pass_svc_checks - - - (String) - - - (defaults to: '1') - + — +
    +

    Whether to execute service checks in the Nagios configuration. Default is ‘1’, which means service checks will be executed. You can set this to ‘0’ to disable execution of service checks if needed.

    +
  • @@ -1184,6 +1564,29 @@ (defaults to: '1') + — +
    +

    Whether to execute host checks in the Nagios configuration. Default is ‘1’, which means host checks will be executed. You can set this to ‘0’ to disable execution of host checks if needed.

    +
    + + + +
  • + + ng_accept_pass_svc_checks + + + (String) + + + (defaults to: '1') + + + — +
    +

    Whether to accept passive service checks in the Nagios configuration. Default is ‘1’, which means passive service checks will be accepted. You can set this to ‘0’ to disable acceptance of passive service checks if needed.

    +
    +
  • @@ -1197,6 +1600,11 @@ (defaults to: '1') + — +
    +

    Whether to accept passive host checks in the Nagios configuration. Default is ‘1’, which means passive host checks will be accepted. You can set this to ‘0’ to disable acceptance of passive host checks if needed.

    +
    +
  • @@ -1210,6 +1618,11 @@ (defaults to: '1') + — +
    +

    Whether to enable notifications in the Nagios configuration. Default is ‘1’, which means notifications will be enabled. You can set this to ‘0’ to disable notifications if needed.

    +
    +
  • @@ -1223,6 +1636,29 @@ (defaults to: '1') + — +
    +

    Whether to enable event handlers in the Nagios configuration. Default is ‘1’, which means event handlers will be enabled. You can set this to ‘0’ to disable event handlers if needed.

    +
    + +
  • + +
  • + + ng_enable_flap_detection + + + (String) + + + (defaults to: '1') + + + — +
    +

    Whether to enable flap detection in the Nagios configuration. Default is ‘1’, which means flap detection will be enabled. You can set this to ‘0’ to disable flap detection if needed.

    +
    +
  • @@ -1236,6 +1672,11 @@ (defaults to: '0') + — +
    +

    Whether to process performance data in the Nagios configuration. Default is ‘1’, which means performance data will be processed. You can set this to ‘0’ to disable processing of performance data if needed.

    +
    +
  • @@ -1249,6 +1690,11 @@ (defaults to: 'process-host-perfdata') + — +
    +

    The command to process host performance data in the Nagios configuration. Default is ”, which means no specific command will be configured for processing host performance data. You can set this to a specific command if needed.

    +
    +
  • @@ -1262,6 +1708,11 @@ (defaults to: 'process-service-perfdata') + — +
    +

    The command to process service performance data in the Nagios configuration. Default is ”, which means no specific command will be configured for processing service performance data. You can set this to a specific command if needed.

    +
    +
  • @@ -1275,6 +1726,11 @@ (defaults to: '/var/spool/nagios/host-perfdata') + — +
    +

    The file to which host performance data will be written in the Nagios configuration. Default is ”, which means no specific file will be configured for host performance data. You can set this to a specific file path if needed.

    +
    +
  • @@ -1288,6 +1744,11 @@ (defaults to: '/var/spool/nagios/service-perfdata') + — +
    +

    The file to which service performance data will be written in the Nagios configuration. Default is ”, which means no specific file will be configured for service performance data. You can set this to a specific file path if needed.

    +
    +
  • @@ -1301,6 +1762,11 @@ (defaults to: '[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$') + — +
    +

    The template for host performance data in the Nagios configuration. Default is ”, which means no specific template will be configured for host performance data. You can set this to a specific template if needed.

    +
    +
  • @@ -1314,6 +1780,11 @@ (defaults to: '[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$') + — +
    +

    The template for service performance data in the Nagios configuration. Default is ”, which means no specific template will be configured for service performance data. You can set this to a specific template if needed.

    +
    +
  • @@ -1327,6 +1798,11 @@ (defaults to: 'a') + — +
    +

    The file mode for host performance data files in the Nagios configuration.

    +
    +
  • @@ -1340,6 +1816,11 @@ (defaults to: 'a') + — +
    +

    The file mode for service performance data files in the Nagios configuration.

    +
    +
  • @@ -1353,6 +1834,11 @@ (defaults to: '0') + — +
    +

    The interval for processing host performance data in the Nagios configuration. Default is ‘0’, which means host performance data will be processed immediately. You can set this to a specific number of seconds if needed to control how often host performance data is processed.

    +
    +
  • @@ -1366,18 +1852,10 @@ (defaults to: '0') -
  • - -
  • - - ng_h_perfdata_proc_cmd - - - (String) - - - (defaults to: 'process-host-perfdata-file') - + — +
    +

    The interval for processing service performance data in the Nagios configuration. Default is ‘0’, which means service performance data will be processed immediately. You can set this to a specific number of seconds if needed to control how often service performance data is processed.

    +
  • @@ -1392,6 +1870,29 @@ (defaults to: 'process-service-perfdata-file') + — +
    +

    The command to process service performance data in the Nagios configuration.

    +
    + + + +
  • + + ng_h_perfdata_proc_cmd + + + (String) + + + (defaults to: 'process-host-perfdata-file') + + + — +
    +

    The command to process host performance data in the Nagios configuration.

    +
    +
  • @@ -1600,19 +2101,6 @@ (defaults to: '15') -
  • - -
  • - - ng_enable_flap_detection - - - (String) - - - (defaults to: '1') - -
  • @@ -1886,19 +2374,6 @@ (defaults to: '0') -
  • - -
  • - - ng_check_workers - - - (String) - - - (defaults to: '') - -
  • @@ -1940,19 +2415,6 @@
  • -
  • - - ng_use_https - - - (Boolean) - - - (defaults to: false) - - -
  • - @@ -1964,6 +2426,8 @@
     
     
    +402
    +403
     404
     405
     406
    @@ -2207,12 +2671,10 @@
     644
     645
     646
    -647
    -648
    -649
    +647
    -
    # File 'manifests/params.pp', line 404
    +        
    # File 'manifests/params.pp', line 402
     
     class confdroid_nagios::params (
     
    
    From c01b9dd09b3717d0a2486c283c5207b535a9750d Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 18:17:41 +0100
    Subject: [PATCH 16/87] Recommit for updates in build 38
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 608 +-----------------
     1 file changed, 1 insertion(+), 607 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 080759a..d92e363 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -1651,8 +1651,6 @@ inherited by all classes except defines.
             (String)
           
           
    -        (defaults to: '1')
    -      
           
             —
             
    @@ -1895,526 +1893,6 @@ inherited by all classes except defines. -
  • - - ng_h_perfdata_proc_e_res - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_s_perfdata_proc_e_res - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_obsess_over_services - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ocsp_command - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_obsess_over_hosts - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ochp_command - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_translate_pass_h_checks - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_pass_h_checks_are_soft - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_check_orphaned_svc - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_check_orphaned_hosts - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_check_service_freshness - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_svc_fresh_check_intval - - - (String) - - - (defaults to: '60') - - -
  • - -
  • - - ng_svc_check_timeout_state - - - (String) - - - (defaults to: 'c') - - -
  • - -
  • - - ng_check_host_freshness - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_host_fresh_check_intval - - - (String) - - - (defaults to: '60') - - -
  • - -
  • - - ng_add_freshness_latency - - - (String) - - - (defaults to: '15') - - -
  • - -
  • - - ng_low_svc_flap_threshold - - - (String) - - - (defaults to: '5.0') - - -
  • - -
  • - - ng_high_svc_flap_threshold - - - (String) - - - (defaults to: '20.0') - - -
  • - -
  • - - ng_low_h_flap_threshold - - - (String) - - - (defaults to: '5.0') - - -
  • - -
  • - - ng_high_h_flap_threshold - - - (String) - - - (defaults to: '20.0') - - -
  • - -
  • - - ng_date_format - - - (String) - - - (defaults to: 'us') - - -
  • - -
  • - - ng_use_timezone_offset - - - (Boolean) - - - (defaults to: false) - - -
  • - -
  • - - ng_use_timezone - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_illegal_obj_name_chars - - - (String) - - - (defaults to: '`~!$%^&*|\'"<>?,()=') - - -
  • - -
  • - - ng_ill_macro_output_chars - - - (String) - - - (defaults to: '`~$&|\'"<>') - - -
  • - -
  • - - ng_use_regexp_matching - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_true_regexp_matching - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_daemon_dumps_core - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_use_large_inst_tweaks - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_enable_env_macros - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_free_child_process_mem - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_child_proc_fork_twice - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_debug_level - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_debug_verbosity - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_debug_file - - - (String) - - - (defaults to: '/var/spool/nagios/nagios.debug') - - -
  • - -
  • - - ng_max_debug_file_size - - - (String) - - - (defaults to: '1000000') - - -
  • - -
  • - - ng_allow_empty_hostgroups - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_host_down_svc_checks - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_enable_load_ctl_options - - - (Boolean) - - - (defaults to: false) - - -
  • - -
  • - - ng_loadctl_options - - - (String) - - - (defaults to: 'jobs_max=100;backoff_limit=10;rampup_change=5') - - -
  • - @@ -2629,49 +2107,7 @@ inherited by all classes except defines. 602 603 604 -605 -606 -607 -608 -609 -610 -611 -612 -613 -614 -615 -616 -617 -618 -619 -620 -621 -622 -623 -624 -625 -626 -627 -628 -629 -630 -631 -632 -633 -634 -635 -636 -637 -638 -639 -640 -641 -642 -643 -644 -645 -646 -647
    +605
    # File 'manifests/params.pp', line 402
    @@ -2782,48 +2218,6 @@ class confdroid_nagios::params (
       String $ng_s_perfdata_proc_intval  = '0',
       String $ng_h_perfdata_proc_cmd     = 'process-host-perfdata-file',
       String $ng_s_perfdata_proc_cmd     = 'process-service-perfdata-file',
    -  String $ng_h_perfdata_proc_e_res   = '1',
    -  String $ng_s_perfdata_proc_e_res   = '1',
    -  String $ng_obsess_over_services    = '0',
    -  String $ng_ocsp_command            = '',
    -  String $ng_obsess_over_hosts       = '0',
    -  String $ng_ochp_command            = '',
    -  String $ng_translate_pass_h_checks = '0',
    -  String $ng_pass_h_checks_are_soft  = '0',
    -  String $ng_check_orphaned_svc      = '1',
    -  String $ng_check_orphaned_hosts    = '1',
    -  String $ng_check_service_freshness = '1',
    -  String $ng_svc_fresh_check_intval  = '60',
    -  String $ng_svc_check_timeout_state = 'c',
    -  String $ng_check_host_freshness    = '0',
    -  String $ng_host_fresh_check_intval = '60',
    -  String $ng_add_freshness_latency   = '15',
    -  String $ng_enable_flap_detection   = '1',
    -  String $ng_low_svc_flap_threshold  = '5.0',
    -  String $ng_high_svc_flap_threshold = '20.0',
    -  String $ng_low_h_flap_threshold    = '5.0',
    -  String $ng_high_h_flap_threshold   = '20.0',
    -  String $ng_date_format             = 'us',
    -  Boolean $ng_use_timezone_offset    = false,
    -  String $ng_use_timezone            = '',
    -  String $ng_illegal_obj_name_chars  = '`~!$%^&*|\'"<>?,()=',
    -  String $ng_ill_macro_output_chars  = '`~$&|\'"<>',
    -  String $ng_use_regexp_matching     = '0',
    -  String $ng_true_regexp_matching    = '0',
    -  String $ng_daemon_dumps_core       = '0',
    -  String $ng_use_large_inst_tweaks   = '0',
    -  String $ng_enable_env_macros       = '0',
    -  String $ng_free_child_process_mem  = '1',
    -  String $ng_child_proc_fork_twice   = '1',
    -  String $ng_debug_level             = '0',
    -  String $ng_debug_verbosity         = '1',
    -  String $ng_debug_file              = '/var/spool/nagios/nagios.debug',
    -  String $ng_max_debug_file_size     = '1000000',
    -  String $ng_allow_empty_hostgroups  = '0',
    -  String $ng_check_workers           = '',
    -  String $ng_host_down_svc_checks    = '0',
    -  Boolean $ng_enable_load_ctl_options = false,
    -  String $ng_loadctl_options         = 'jobs_max=100;backoff_limit=10;rampup_change=5',
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From 9f23ef11a002f5f0b9a92206196255a524eadaed Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 18:23:39 +0100
    Subject: [PATCH 17/87] Recommit for updates in build 39
    
    ---
     doc/puppet_classes/confdroid_nagios_3A_3Aparams.html | 6 +-----
     1 file changed, 1 insertion(+), 5 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index d92e363..ea24881 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -2105,9 +2105,7 @@ inherited by all classes except defines.
     600
     601
     602
    -603
    -604
    -605
    +603
    # File 'manifests/params.pp', line 402
    @@ -2157,8 +2155,6 @@ class confdroid_nagios::params (
       String $ng_log_current_states      = '1',
       String $ng_log_external_commands   = '1',
       String $ng_log_passive_checks      = '1',
    -  String $ng_glob_host_evt_handler   = '',
    -  String $ng_glob_svc_evt_handler    = '',
       String $ng_svc_int_check_delay     = 's',
       String $ng_max_svc_check_spread    = '30',
       String $ng_svc_interleave_factor   = 's',
    
    From cce52758557219ab507ccc715609e2935f9c665e Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 18:35:02 +0100
    Subject: [PATCH 18/87] Recommit for updates in build 40
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 126 +++++++++++++-----
     1 file changed, 96 insertions(+), 30 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index ea24881..f95cf06 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -1643,22 +1643,6 @@ inherited by all classes except defines.
           
         
       
    -    
  • - - ng_enable_flap_detection - - - (String) - - - - — -
    -

    Whether to enable flap detection in the Nagios configuration. Default is ‘1’, which means flap detection will be enabled. You can set this to ‘0’ to disable flap detection if needed.

    -
    - -
  • -
  • ng_process_perf_data @@ -1889,6 +1873,78 @@ inherited by all classes except defines. —

    The command to process host performance data in the Nagios configuration.

    +
    + +
  • + +
  • + + ng_obsess_over_services + + + (String) + + + (defaults to: '0') + + + — +
    +

    Whether to obsess over services in the Nagios configuration. Default is ‘0’, which means not to obsess over services. You can set this to ‘1’ to enable obsessing over services if needed.

    +
    + +
  • + +
  • + + ng_ocsp_command + + + (String) + + + (defaults to: '') + + + — +
    +

    The command to process obsessive service checks in the Nagios configuration. Default is ”, which means no specific command will be configured for obsessive service checks. You can set this to a specific command if needed.

    +
    + +
  • + +
  • + + ng_obsess_over_hosts + + + (String) + + + (defaults to: '0') + + + — +
    +

    Whether to obsess over hosts in the Nagios configuration. Default is ‘0’, which means not to obsess over hosts. You can set this to ‘1’ to enable obsessing over hosts if needed.

    +
    + +
  • + +
  • + + ng_ochp_command + + + (String) + + + (defaults to: '') + + + — +
    +

    The command to process obsessive host checks in the Nagios configuration. Default is ”, which means no specific command will be configured for obsessive host checks. You can set this to a specific command if needed.

  • @@ -1904,18 +1960,6 @@ inherited by all classes except defines.
     
     
    -402
    -403
    -404
    -405
    -406
    -407
    -408
    -409
    -410
    -411
    -412
    -413
     414
     415
     416
    @@ -2105,10 +2149,27 @@ inherited by all classes except defines.
     600
     601
     602
    -603
    +603 +604 +605 +606 +607 +608 +609 +610 +611 +612 +613 +614 +615 +616 +617 +618 +619 +620
    -
    # File 'manifests/params.pp', line 402
    +        
    # File 'manifests/params.pp', line 414
     
     class confdroid_nagios::params (
     
    @@ -2214,6 +2275,11 @@ class confdroid_nagios::params (
       String $ng_s_perfdata_proc_intval  = '0',
       String $ng_h_perfdata_proc_cmd     = 'process-host-perfdata-file',
       String $ng_s_perfdata_proc_cmd     = 'process-service-perfdata-file',
    +  String $ng_obsess_over_services    = '0',
    +  String $ng_ocsp_command            = '',
    +  String $ng_obsess_over_hosts       = '0',
    +  String $ng_ochp_command            = '',
    +
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From 3f357de8d4d30bd58946ceafb04bdbca9b9449a9 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 18:41:39 +0100
    Subject: [PATCH 19/87] Recommit for updates in build 41
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 628 +++++++++++++++++-
     1 file changed, 618 insertions(+), 10 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index f95cf06..ffc1b08 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -1949,6 +1949,536 @@ inherited by all classes except defines.
           
         
       
    +    
  • + + ng_h_perfdata_proc_e_res + + + (String) + + + (defaults to: '1') + + + — +
    +

    The expected result for host performance data processing in the Nagios configuration.

    +
    + +
  • + +
  • + + ng_s_perfdata_proc_e_res + + + (String) + + + (defaults to: '1') + + + — +
    +

    The expected result for service performance data processing in the Nagios configuration.

    +
    + +
  • + +
  • + + ng_max_check_attempts + + + (String) + + + (defaults to: '10') + + +
  • + +
  • + + ng_enable_query_handler + + + (Boolean) + + + (defaults to: false) + + +
  • + +
  • + + ng_query_socket + + + (String) + + + (defaults to: '/var/spool/nagios/cmd/nagios.qh') + + +
  • + +
  • + + ng_translate_pass_h_checks + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_pass_h_checks_are_soft + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_check_orphaned_svc + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_check_orphaned_hosts + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_check_service_freshness + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_svc_fresh_check_intval + + + (String) + + + (defaults to: '60') + + +
  • + +
  • + + ng_svc_check_timeout_state + + + (String) + + + (defaults to: 'c') + + +
  • + +
  • + + ng_check_host_freshness + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_host_fresh_check_intval + + + (String) + + + (defaults to: '60') + + +
  • + +
  • + + ng_add_freshness_latency + + + (String) + + + (defaults to: '15') + + +
  • + +
  • + + ng_enable_flap_detection + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_low_svc_flap_threshold + + + (String) + + + (defaults to: '5.0') + + +
  • + +
  • + + ng_high_svc_flap_threshold + + + (String) + + + (defaults to: '20.0') + + +
  • + +
  • + + ng_low_h_flap_threshold + + + (String) + + + (defaults to: '5.0') + + +
  • + +
  • + + ng_high_h_flap_threshold + + + (String) + + + (defaults to: '20.0') + + +
  • + +
  • + + ng_date_format + + + (String) + + + (defaults to: 'us') + + +
  • + +
  • + + ng_use_timezone_offset + + + (Boolean) + + + (defaults to: false) + + +
  • + +
  • + + ng_use_timezone + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_illegal_obj_name_chars + + + (String) + + + (defaults to: '`~!$%^&*|\'"<>?,()=') + + +
  • + +
  • + + ng_ill_macro_output_chars + + + (String) + + + (defaults to: '`~$&|\'"<>') + + +
  • + +
  • + + ng_use_regexp_matching + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_true_regexp_matching + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_daemon_dumps_core + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_use_large_inst_tweaks + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_enable_env_macros + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_free_child_process_mem + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_child_proc_fork_twice + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_debug_level + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_debug_verbosity + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_debug_file + + + (String) + + + (defaults to: '/var/spool/nagios/nagios.debug') + + +
  • + +
  • + + ng_max_debug_file_size + + + (String) + + + (defaults to: '1000000') + + +
  • + +
  • + + ng_allow_empty_hostgroups + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_host_down_svc_checks + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_enable_load_ctl_options + + + (Boolean) + + + (defaults to: false) + + +
  • + +
  • + + ng_loadctl_options + + + (String) + + + (defaults to: 'jobs_max=100;backoff_limit=10;rampup_change=5') + + +
  • + @@ -1960,10 +2490,6 @@ inherited by all classes except defines.
     
     
    -414
    -415
    -416
    -417
     418
     419
     420
    @@ -2166,10 +2692,53 @@ inherited by all classes except defines.
     617
     618
     619
    -620
    +620 +621 +622 +623 +624 +625 +626 +627 +628 +629 +630 +631 +632 +633 +634 +635 +636 +637 +638 +639 +640 +641 +642 +643 +644 +645 +646 +647 +648 +649 +650 +651 +652 +653 +654 +655 +656 +657 +658 +659 +660 +661 +662 +663
    -
    # File 'manifests/params.pp', line 414
    +        
    # File 'manifests/params.pp', line 418
     
     class confdroid_nagios::params (
     
    @@ -2190,6 +2759,7 @@ class confdroid_nagios::params (
     
     # nagios_cfg settings
       String $ng_log_file                = '/var/log/nagios/nagios.log',
    +  String $ng_max_check_attempts      = '10',
       String $ng_object_cache_file       = '/var/spool/nagios/objects.cache',
       String $ng_precached_obj_file      = '/var/spool/nagios/objects.precache',
       String $ng_resource_file           = '/etc/nagios/private/resource.cfg',
    @@ -2197,14 +2767,13 @@ class confdroid_nagios::params (
       String $ng_status_upd_interval     = '10',
       String $ng_check_ext_commands      = '1',
       String $ng_command_file            = '/var/spool/nagios/cmd/nagios.cmd',
    +  Boolean $ng_enable_query_handler   = false,
    +  String $ng_query_socket            = '/var/spool/nagios/cmd/nagios.qh',
       String $ng_lock_file               = '/var/run/nagios/nagios.pid',
       String $ng_temp_file               = '/var/spool/nagios/nagios.tmp',
       String $ng_temp_path               = '/tmp',
       String $ng_event_broker_options    = '-1',
       String $ng_event_broker_module     = '',
    -  String $ng_glob_host_evt_handler   = '',
    -  String $ng_glob_svc_evt_handler    = '',
    -  String $ng_check_workers           = '',
       String $ng_log_rotation_method     = 'h',
       String $ng_log_archive_path        = '/var/log/nagios/archives',
       String $ng_use_syslog              = '1',
    @@ -2216,6 +2785,8 @@ class confdroid_nagios::params (
       String $ng_log_current_states      = '1',
       String $ng_log_external_commands   = '1',
       String $ng_log_passive_checks      = '1',
    +  String $ng_glob_host_evt_handler   = '',
    +  String $ng_glob_svc_evt_handler    = '',
       String $ng_svc_int_check_delay     = 's',
       String $ng_max_svc_check_spread    = '30',
       String $ng_svc_interleave_factor   = 's',
    @@ -2275,11 +2846,48 @@ class confdroid_nagios::params (
       String $ng_s_perfdata_proc_intval  = '0',
       String $ng_h_perfdata_proc_cmd     = 'process-host-perfdata-file',
       String $ng_s_perfdata_proc_cmd     = 'process-service-perfdata-file',
    +  String $ng_h_perfdata_proc_e_res   = '1',
    +  String $ng_s_perfdata_proc_e_res   = '1',
       String $ng_obsess_over_services    = '0',
       String $ng_ocsp_command            = '',
       String $ng_obsess_over_hosts       = '0',
       String $ng_ochp_command            = '',
    -
    +  String $ng_translate_pass_h_checks = '0',
    +  String $ng_pass_h_checks_are_soft  = '0',
    +  String $ng_check_orphaned_svc      = '1',
    +  String $ng_check_orphaned_hosts    = '1',
    +  String $ng_check_service_freshness = '1',
    +  String $ng_svc_fresh_check_intval  = '60',
    +  String $ng_svc_check_timeout_state = 'c',
    +  String $ng_check_host_freshness    = '0',
    +  String $ng_host_fresh_check_intval = '60',
    +  String $ng_add_freshness_latency   = '15',
    +  String $ng_enable_flap_detection   = '1',
    +  String $ng_low_svc_flap_threshold  = '5.0',
    +  String $ng_high_svc_flap_threshold = '20.0',
    +  String $ng_low_h_flap_threshold    = '5.0',
    +  String $ng_high_h_flap_threshold   = '20.0',
    +  String $ng_date_format             = 'us',
    +  Boolean $ng_use_timezone_offset    = false,
    +  String $ng_use_timezone            = '',
    +  String $ng_illegal_obj_name_chars  = '`~!$%^&*|\'"<>?,()=',
    +  String $ng_ill_macro_output_chars  = '`~$&|\'"<>',
    +  String $ng_use_regexp_matching     = '0',
    +  String $ng_true_regexp_matching    = '0',
    +  String $ng_daemon_dumps_core       = '0',
    +  String $ng_use_large_inst_tweaks   = '0',
    +  String $ng_enable_env_macros       = '0',
    +  String $ng_free_child_process_mem  = '1',
    +  String $ng_child_proc_fork_twice   = '1',
    +  String $ng_debug_level             = '0',
    +  String $ng_debug_verbosity         = '1',
    +  String $ng_debug_file              = '/var/spool/nagios/nagios.debug',
    +  String $ng_max_debug_file_size     = '1000000',
    +  String $ng_allow_empty_hostgroups  = '0',
    +  String $ng_check_workers           = '',
    +  String $ng_host_down_svc_checks    = '0',
    +  Boolean $ng_enable_load_ctl_options = false,
    +  String $ng_loadctl_options         = 'jobs_max=100;backoff_limit=10;rampup_change=5',
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From bee72b458d8a3f35590f0bc584b26ac502c929af Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 18:49:41 +0100
    Subject: [PATCH 20/87] Recommit for updates in build 42
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 36 ++++++++++++++++++-
     1 file changed, 35 insertions(+), 1 deletion(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index ffc1b08..6f831b7 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -2479,6 +2479,32 @@ inherited by all classes except defines.
           
         
       
    +    
  • + + ng_mail_user + + + (String) + + + (defaults to: 'admin@example.net') + + +
  • + +
  • + + ng_page_user + + + (String) + + + (defaults to: 'pageadmin@example.net') + + +
  • + @@ -2735,7 +2761,11 @@ inherited by all classes except defines. 660 661 662 -663
    +663 +664 +665 +666 +667
    # File 'manifests/params.pp', line 418
    @@ -2888,6 +2918,10 @@ class confdroid_nagios::params (
       String $ng_host_down_svc_checks    = '0',
       Boolean $ng_enable_load_ctl_options = false,
       String $ng_loadctl_options         = 'jobs_max=100;backoff_limit=10;rampup_change=5',
    +  String $ng_mail_user               = 'admin@example.net',
    +  String $ng_page_user               = 'pageadmin@example.net',
    +
    +
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From c74d2a8097113c3f8bcb66c6efcc6cee8b2c4642 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 18:58:00 +0100
    Subject: [PATCH 21/87] Recommit for updates in build 43
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 2850 +++++++----------
     1 file changed, 1160 insertions(+), 1690 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 6f831b7..6aaa847 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -94,16 +94,10 @@
       
     
     
    -  

    Summary

    - Class holds all parameters for the confdroid_nagios module and is -inherited by all classes except defines. -

    Overview

    -

    confdroid_nagios::params Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    -
    @@ -124,11 +118,6 @@ inherited by all classes except defines. (defaults to: 'nagios.example.net') - — -
    -

    The hostname or IP address of the Nagios server. This will determine the installation selection and the of the clients to connect to the Nagios server.

    -
    -
  • @@ -142,11 +131,6 @@ inherited by all classes except defines. (defaults to: ['nagios','nagios-devel']) - — -
    -

    An array of packages to be installed on the Nagios server.

    -
    -
  • @@ -160,11 +144,6 @@ inherited by all classes except defines. (defaults to: ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common']) - — -
    -

    An array of packages to be installed on the Nagios clients.

    -
    -
  • @@ -178,119 +157,6 @@ inherited by all classes except defines. (defaults to: 'present') - — -
    -

    The ensure value for all packages. Default is ‘present’.

    -
    - -
  • - -
  • - - ng_user - - - (String) - - - (defaults to: 'nagios') - - - — -
    -

    The name of the Nagios user to be created on the Nagios server. Default is ‘nagios’.

    -
    - -
  • - -
  • - - ng_u_comment - - - (String) - - - (defaults to: 'Nagios User') - - - — -
    -

    The comment field for the Nagios user. Default is ‘Nagios User’.

    -
    - -
  • - -
  • - - ng_u_groups - - - (String) - - - (defaults to: 'nagios') - - - — -
    -

    The group(s) to which the Nagios user should be added. Default is ‘nagios’.

    -
    - -
  • - -
  • - - ng_u_shell - - - (String) - - - (defaults to: '/sbin/nologin') - - - — -
    -

    The login shell for the Nagios user. Default is ‘/sbin/nologin’.

    -
    - -
  • - -
  • - - ng_u_home - - - (String) - - - (defaults to: '/home/nagios') - - - — -
    -

    The home directory for the Nagios user. Default is ‘/home/nagios’.

    -
    - -
  • - -
  • - - ng_u_uid - - - (Integer) - - - (defaults to: 1004) - - - — -
    -

    The user ID for the Nagios user. Default is 1004.

    -
    -
  • @@ -304,100 +170,83 @@ inherited by all classes except defines. (defaults to: true) - — -
    -

    Whether to include the NRPE client on the Nagios clients. Default is true.

    -
    -
  • - ng_use_https - - - (Boolean) - - - (defaults to: false) - - - — -
    -

    Whether to configure the Nagios web interface to use HTTPS. Default is false. We recommend using a reverse proxy with SSL termination in front of the Nagios web interface, so this is disabled by default.

    -
    - -
  • - -
  • - - ng_event_broker_module + ng_user (String) - (defaults to: '') + (defaults to: 'nagios') - — -
    -

    The event broker module to be used in the Nagios configuration. Default is an empty string, which means no event broker module will be configured. You can specify a module like ‘mod_gearman’ to enable the Gearman event broker module, for example.

    -
    -
  • - ng_glob_host_evt_handler + ng_u_comment (String) - (defaults to: '') + (defaults to: 'Nagios User') - — -
    -

    The global host event handler to be used in the Nagios configuration. Default is an empty string, which means no global host event handler will be configured. You can specify a command like ‘notify-host-by-email’ to set a global host event handler that sends email notifications for host events, for example.

    -
    -
  • - ng_glob_svc_evt_handler + ng_u_groups (String) - (defaults to: '') + (defaults to: 'nagios') - — -
    -

    The global service event handler to be used in the Nagios configuration. Default is an empty string, which means no global service event handler will be configured. You can specify a command like ‘notify-service-by-email’ to set a global service event handler that sends email notifications for service events, for example.

    -
    -
  • - ng_check_workers + ng_u_shell (String) - (defaults to: '') + (defaults to: '/sbin/nologin') - — -
    -

    The number of check worker processes to be configured in the Nagios configuration. Default is an empty string, which means no specific number of check worker processes will be configured. You can specify a number like ‘5’ to set the number of check worker processes to 5, for example.

    -
    +
  • + +
  • + + ng_u_home + + + (String) + + + (defaults to: '/home/nagios') + + +
  • + +
  • + + ng_u_uid + + + (Integer) + + + (defaults to: 1004) +
  • @@ -412,10 +261,18 @@ inherited by all classes except defines. (defaults to: '/var/log/nagios/nagios.log') - — -
    -

    The path to the Nagios log file. Default is ‘/var/log/nagios/nagios.log’.

    -
    + + +
  • + + ng_max_check_attempts + + + (String) + + + (defaults to: '10') +
  • @@ -430,11 +287,6 @@ inherited by all classes except defines. (defaults to: '/var/spool/nagios/objects.cache') - — -
    -

    The path to the Nagios object cache file. Default is ‘/var/spool/nagios/objects.cache’.

    -
    -
  • @@ -448,11 +300,6 @@ inherited by all classes except defines. (defaults to: '/var/spool/nagios/objects.precache') - — -
    -

    The path to the Nagios precached object file. Default is ‘/var/spool/nagios/objects.precache’.

    -
    -
  • @@ -466,11 +313,6 @@ inherited by all classes except defines. (defaults to: '/etc/nagios/private/resource.cfg') - — -
    -

    The path to the Nagios resource file. Default is ‘/etc/nagios/private/resource.cfg’.

    -
    -
  • @@ -484,11 +326,6 @@ inherited by all classes except defines. (defaults to: '/var/log/nagios/status.dat') - — -
    -

    The path to the Nagios status file. Default is ‘/var/log/nagios/status.dat’.

    -
    -
  • @@ -502,11 +339,6 @@ inherited by all classes except defines. (defaults to: '10') - — -
    -

    The interval for updating the Nagios status file. Default is ‘10’.

    -
    -
  • @@ -520,11 +352,6 @@ inherited by all classes except defines. (defaults to: '1') - — -
    -

    Whether to enable external command checking in the Nagios configuration. Default is ‘1’, which means external command checking will be enabled. You can set this to ‘0’ to disable external command checking if needed.

    -
    -
  • @@ -538,1464 +365,6 @@ inherited by all classes except defines. (defaults to: '/var/spool/nagios/cmd/nagios.cmd') - — -
    -

    The path to the Nagios command file. Default is ‘/var/spool/nagios/cmd/nagios.cmd’.

    -
    - -
  • - -
  • - - ng_lock_file - - - (String) - - - (defaults to: '/var/run/nagios/nagios.pid') - - - — -
    -

    The path to the Nagios lock file. Default is ‘/var/run/nagios/nagios.pid’.

    -
    - -
  • - -
  • - - ng_temp_file - - - (String) - - - (defaults to: '/var/spool/nagios/nagios.tmp') - - - — -
    -

    The path to the Nagios temporary file. Default is ‘/var/spool/nagios/nagios.tmp’.

    -
    - -
  • - -
  • - - ng_temp_path - - - (String) - - - (defaults to: '/tmp') - - - — -
    -

    The path to the Nagios temporary directory. Default is ‘/tmp’.

    -
    - -
  • - -
  • - - ng_event_broker_options - - - (String) - - - (defaults to: '-1') - - - — -
    -

    The options for the Nagios event broker. Default is ‘-1’, which means no specific options will be configured. You can specify options like ‘–log-level=debug’ to set the log level for the event broker, for example.

    -
    - -
  • - -
  • - - ng_log_rotation_method - - - (String) - - - (defaults to: 'h') - - - — -
    -

    The method for log rotation in the Nagios configuration. Default is ‘h’, which means hourly log rotation. You can set this to ‘d’ for daily log rotation, ‘w’ for weekly log rotation, or ‘m’ for monthly log rotation if needed.

    -
    - -
  • - -
  • - - ng_log_archive_path - - - (String) - - - (defaults to: '/var/log/nagios/archives') - - - — -
    -

    The path to the Nagios log archive directory. Default is ‘/var/log/nagios/archives’.

    -
    - -
  • - -
  • - - ng_use_syslog - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to use syslog for logging in the Nagios configuration. Default is ‘1’, which means syslog will be used for logging. You can set this to ‘0’ to disable syslog logging if needed.

    -
    - -
  • - -
  • - - ng_log_notifications - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to log notifications in the Nagios configuration. Default is ‘1’, which means notifications will be logged. You can set this to ‘0’ to disable logging of notifications if needed.

    -
    - -
  • - -
  • - - ng_log_service_retries - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to log service retries in the Nagios configuration. Default is ‘1’, which means service retries will be logged. You can set this to ‘0’ to disable logging of service retries if needed.

    -
    - -
  • - -
  • - - ng_log_host_retries - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to log host retries in the Nagios configuration. Default is ‘1’, which means host retries will be logged. You can set this to ‘0’ to disable logging of host retries if needed.

    -
    - -
  • - -
  • - - ng_log_event_handlers - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to log event handlers in the Nagios configuration. Default is ‘1’, which means event handlers will be logged. You can set this to ‘0’ to disable logging of event handlers if needed.

    -
    - -
  • - -
  • - - ng_log_initial_states - - - (String) - - - (defaults to: '0') - - - — -
    -

    Whether to log initial states in the Nagios configuration. Default is ‘0’, which means initial states will not logged. You can set this to ‘1’ to enable logging of initial states if needed.

    -
    - -
  • - -
  • - - ng_log_current_states - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to log current states in the Nagios configuration. Default is ‘1’, which means current states will be logged. You can set this to ‘0’ to disable logging of current states if needed.

    -
    - -
  • - -
  • - - ng_log_external_commands - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to log external commands in the Nagios configuration. Default is ‘1’, which means external commands will be logged. You can set this to ‘0’ to disable logging of external commands if needed.

    -
    - -
  • - -
  • - - ng_log_passive_checks - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to log passive checks in the Nagios configuration. Default is ‘1’, which means passive checks will be logged. You can set this to ‘0’ to disable logging of passive checks if needed.

    -
    - -
  • - -
  • - - ng_svc_int_check_delay - - - (String) - - - (defaults to: 's') - - - — -
    -

    The interval for delaying service checks in the Nagios configuration. Default is ‘s’, which means service checks will be delayed until the next scheduled check interval. You can set this to a specific number of seconds (e.g., ‘30’) to delay service checks by that amount of time if needed.

    -
    - -
  • - -
  • - - ng_max_svc_check_spread - - - (String) - - - (defaults to: '30') - - - — -
    -

    The maximum spread for service checks in the Nagios configuration. Default is ‘30’, which means service checks will be spread out over a maximum of 30 seconds. You can set this to a different number of seconds if needed to control how service checks are distributed over time.

    -
    - -
  • - -
  • - - ng_svc_interleave_factor - - - (String) - - - (defaults to: 's') - - - — -
    -

    The interleave factor for service checks in the Nagios configuration. Default is ‘s’, which means service checks will be interleaved based on their scheduled check intervals. You can set this to a specific number (e.g., ‘0.5’) to control the degree of interleaving for service checks if needed.

    -
    - -
  • - -
  • - - ng_host_int_check_delay - - - (String) - - - (defaults to: 's') - - - — -
    -

    The interval for delaying host checks in the Nagios configuration. Default is ‘s’, which means host checks will be delayed until the next scheduled check interval. You can set this to a specific number of seconds (e.g., ‘30’) to delay host checks by that amount of time if needed.

    -
    - -
  • - -
  • - - ng_max_host_check_spread - - - (String) - - - (defaults to: '30') - - - — -
    -

    The maximum spread for host checks in the Nagios configuration. Default is ‘30’, which means host checks will be spread out over a maximum of 30 seconds. You can set this to a different number of seconds if needed to control how host checks are distributed over time.

    -
    - -
  • - -
  • - - ng_max_concurrent_checks - - - (String) - - - (defaults to: '0') - - - — -
    -

    The maximum number of concurrent checks in the Nagios configuration. Default is ‘0’, which means there is no limit in the Nagios configuration. This means that Nagios will allow as many concurrent checks as the system can handle. You can set this to a specific number (e.g., ‘10’) to limit the number of concurrent checks if needed to prevent resource exhaustion.

    -
    - -
  • - -
  • - - ng_check_res_reaper_freq - - - (String) - - - (defaults to: '10') - - - — -
    -

    The frequency for the check result reaper in the Nagios configuration. Default is ‘10’, which means the check result reaper will run every 10 seconds. You can set this to a different number of seconds if needed to control how often the check result reaper runs.

    -
    - -
  • - -
  • - - ng_max_check_res_reap_time - - - (String) - - - (defaults to: '30') - - - — -
    -

    The maximum time for check result reaping in the Nagios configuration. Default is ‘30’, which means check results will be reaped if they are older than 30 seconds. You can set this to a different number of seconds if needed to control how long check results are kept before being reaped.

    -
    - -
  • - -
  • - - ng_check_result_path - - - (String) - - - (defaults to: '/var/spool/nagios/checkresults') - - - — -
    -

    The path to the Nagios check result directory. Default is ‘/var/spool/nagios/checkresults’.

    -
    - -
  • - -
  • - - ng_max_check_res_file_age - - - (String) - - - (defaults to: '3600') - - - — -
    -

    The maximum age for check result files in the Nagios configuration. Default is ‘3600’, which means check result files will be considered stale and reaped if they are older than 3600 seconds (1 hour). You can set this to a different number of seconds if needed to control how long check result files are kept before being considered stale.

    -
    - -
  • - -
  • - - ng_cached_h_check_horizon - - - (String) - - - (defaults to: '15') - - - — -
    -

    The cached host check horizon in the Nagios configuration. Default is ‘15’, which means host check results will be cached for 15 seconds. You can set this to a different number of seconds if needed to control how long host check results are cached.

    -
    - -
  • - -
  • - - ng_cached_s_check_horizon - - - (String) - - - (defaults to: '15') - - - — -
    -

    The cached service check horizon in the Nagios configuration. Default is ‘15’, which means service check results will be cached for 15 seconds. You can set this to a different number of seconds if needed to control how long service check results are cached.

    -
    - -
  • - -
  • - - ng_pred_host_dep_checks - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to perform predictive host dependency checks in the Nagios configuration. Default is ‘1’, which means predictive host dependency checks will be performed. You can set this to ‘0’ to disable predictive host dependency checks. Predictive host dependency checks can help reduce false positives by checking the status of parent hosts before determining the status of child hosts.

    -
    - -
  • - -
  • - - ng_pred_svc_dep_checks - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to perform predictive service dependency checks in the Nagios configuration. Default is ‘1’, which means predictive service dependency checks will be performed. You can set this to ‘0’ to disable predictive service dependency checks. Predictive service dependency checks can help reduce false positives by checking the status of parent services before determining the status of child services.

    -
    - -
  • - -
  • - - ng_soft_state_dependencies - - - (String) - - - (defaults to: '0') - - - — -
    -

    Whether to use soft state dependencies in the Nagios configuration. Default is ‘0’, which means soft state dependencies will not be used. You can set this to ‘1’ to enable soft state dependencies if needed. Soft state dependencies allow Nagios to delay the propagation of host and service states based on the number of check attempts and the state of the checks, which can help reduce false positives during transient issues.

    -
    - -
  • - -
  • - - ng_time_change_threshold - - - (String) - - - (defaults to: '900') - - - — -
    -

    The time change threshold in the Nagios configuration. Default is ‘900’, which means a time change of 900 seconds (15 minutes) or more will be considered significant and may trigger certain actions in Nagios. You can set this to a different number of seconds if needed to control how Nagios responds to significant time changes.

    -
    - -
  • - -
  • - - ng_auto_reschedule_checks - - - (String) - - - (defaults to: '0') - - - — -
    -

    Whether to automatically reschedule checks in the Nagios configuration. Default is ‘0’, which means checks will not be automatically rescheduled. You can set this to ‘1’ to enable automatic rescheduling of checks if needed. Automatic rescheduling can help ensure that checks are performed in a timely manner, especially after significant time changes or when the Nagios daemon is restarted.

    -
    - -
  • - -
  • - - ng_auto_reschedule_intval - - - (String) - - - (defaults to: '30') - - - — -
    -

    The interval for automatically rescheduling checks in the Nagios configuration. Default is ‘30’, which means checks will be automatically rescheduled every 30 seconds if automatic rescheduling is enabled. You can set this to a different number of seconds if needed to control how often checks are automatically rescheduled.

    -
    - -
  • - -
  • - - ng_auto_reschedule_window - - - (String) - - - (defaults to: '180') - - - — -
    -

    The window for automatically rescheduling checks in the Nagios configuration. Default is ‘180’, which means checks will be automatically rescheduled if they are within 180 seconds (3 minutes) of their scheduled check time when automatic rescheduling is enabled. You can set this to a different number of seconds if needed to control the window for automatic rescheduling of checks.

    -
    - -
  • - -
  • - - ng_service_check_timeout - - - (String) - - - (defaults to: '60') - - - — -
    -

    The timeout for service checks in the Nagios configuration. Default is ‘60’, which means service checks will time out after 60 seconds. You can set this to a different number of seconds if needed to control how long Nagios will wait for a service check to complete before timing out.

    -
    - -
  • - -
  • - - ng_host_check_timeout - - - (String) - - - (defaults to: '30') - - - — -
    -

    The timeout for host checks in the Nagios configuration. Default is ‘30’, which means host checks will time out after 30 seconds. You can set this to a different number of seconds if needed to control how long Nagios will wait for a host check to complete before timing out.

    -
    - -
  • - -
  • - - ng_event_handler_timeout - - - (String) - - - (defaults to: '30') - - - — -
    -

    The timeout for event handlers in the Nagios configuration. Default is ‘30’, which means event handlers will time out after 30 seconds. You can set this to a different number of seconds if needed to control how long Nagios will wait for an event handler to complete before timing out.

    -
    - -
  • - -
  • - - ng_notification_timeout - - - (String) - - - (defaults to: '30') - - - — -
    -

    The timeout for notifications in the Nagios configuration. Default is ‘30’, which means notifications will time out after 30 seconds. You can set this to a different number of seconds if needed to control how long Nagios will wait for a notification to be sent before timing out.

    -
    - -
  • - -
  • - - ng_ocsp_timeout - - - (String) - - - (defaults to: '5') - - - — -
    -

    The timeout for obsess over service checks in the Nagios configuration. Default is ‘5’, which means obsess over service checks will time out after 5 seconds. You can set this to a different number of seconds if needed to control how long Nagios will wait for an obsess over service check to complete before timing out.

    -
    - -
  • - -
  • - - ng_perfdata_timeout - - - (String) - - - (defaults to: '5') - - - — -
    -

    The timeout for processing performance data in the Nagios configuration. Default is ‘5’, which means processing of performance data will time out after 5 seconds. You can set this to a different number of seconds if needed to # control how long Nagios will wait for performance data processing to complete before timing out.

    -
    - -
  • - -
  • - - ng_retain_state_inf - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to retain state information in the Nagios configuration. Default is ‘1’, which means state information will be retained. You can set this to ‘0’ to disable retention of state information if needed. Retaining state information allows Nagios to keep track of the current status of hosts and services, which can be useful for reporting and for making informed decisions about notifications and event handling.

    -
    - -
  • - -
  • - - ng_state_retention_file - - - (String) - - - (defaults to: '/var/spool/nagios/retention.dat') - - - — -
    -

    The path to the Nagios state retention file. Default is ‘/var/spool/nagios/retention.dat’.

    -
    - -
  • - -
  • - - ng_retention_update_intval - - - (String) - - - (defaults to: '60') - - - — -
    -

    The interval for updating the state retention file in the Nagios configuration. Default is ‘60’, which means the state retention file will be updated every 60 seconds. You can set this to a different number of seconds if needed to control how often the state retention file is updated.

    -
    - -
  • - -
  • - - ng_use_ret_program_state - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to use the retention program state in the Nagios configuration. Default is ‘1’, which means the retention program state will be used. You can set this to ‘0’ to disable the use of the retention program state if needed. The retention program state allows Nagios to retain the state of the Nagios daemon itself, which can be useful for determining if the daemon was restarted and for controlling how checks and notifications are handled after a restart.

    -
    - -
  • - -
  • - - ng_use_ret_scheduling_info - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to use the retention scheduling information in the Nagios configuration. Default is ‘1’, which means the retention scheduling information will be used. You can set this to ‘0’ to disable the use of the retention scheduling information if needed. The retention scheduling information allows Nagios to retain information about the scheduled check times for hosts and services, which can help ensure that checks are performed at the correct times even after a restart.

    -
    - -
  • - -
  • - - ng_ret_host_attr_mask - - - (String) - - - (defaults to: '0') - - - — -
    -

    The retention host attribute mask in the Nagios configuration. Default is ‘0’, which means no specific host attributes will be retained. You can set this to a specific value (e.g., ‘1’) to control which host attributes are retained in the state retention file if needed.

    -
    - -
  • - -
  • - - ng_ret_service_attr_mask - - - (String) - - - (defaults to: '0') - - - — -
    -

    The retention service attribute mask in the Nagios configuration. Default is ‘0’, which means no specific service attributes will be retained. You can set this to a specific value (e.g., ‘1’) to control which service attributes are retained in the state retention file if needed.

    -
    - -
  • - -
  • - - ng_ret_proc_host_attr_mask - - - (String) - - - (defaults to: '0') - - - — -
    -

    The retention processed host attribute mask in the Nagios configuration. Default is ‘0’, which means no specific processed host attributes will be retained. You can set this to a specific value (e.g., ‘1’) to control which processed host attributes are retained in the state retention file if needed.

    -
    - -
  • - -
  • - - ng_ret_proc_svc_attr_mask - - - (String) - - - (defaults to: '0') - - - — -
    -

    The retention processed service attribute mask in the Nagios configuration. Default is ‘0’, which means no specific processed service attributes will be retained. You can set this to a specific value (e.g., ‘1’) to control which processed service attributes are retained in the state retention file if needed.

    -
    - -
  • - -
  • - - ng_ret_contact_h_attr_mask - - - (String) - - - (defaults to: '0') - - - — -
    -

    The retention contact host attribute mask in the Nagios configuration. Default is ‘0’, which means no specific contact host attributes will be retained. You can set this to a specific value (e.g., ‘1’) to control which contact host attributes are retained in the state retention file if needed.

    -
    - -
  • - -
  • - - ng_ret_contact_s_attr_mask - - - (String) - - - (defaults to: '0') - - - — -
    -

    The retention contact service attribute mask in the Nagios configuration. Default is ‘0’, which means no specific contact service attributes will be retained. You can set this to a specific value (e.g., ‘1’) to control which contact service attributes are retained in the state retention file if needed.

    -
    - -
  • - -
  • - - ng_interval_length - - - (String) - - - (defaults to: '60') - - - — -
    -

    The length of the time intervals in the Nagios configuration. Default is ‘60’, which means time intervals will be 60 seconds long. You can set this to a different number of seconds if needed to control the length of time intervals for scheduling checks and other time-based actions in Nagios.

    -
    - -
  • - -
  • - - ng_check_for_updates - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to check for updates in the Nagios configuration. Default is ‘1’, which means Nagios will check for updates to the Nagios configuration files. You can set this to ‘0’ to disable checking for updates if needed. Checking for updates allows Nagios to detect changes to the configuration files and reload the configuration as needed to apply those changes.

    -
    - -
  • - -
  • - - ng_bare_update_check - - - (String) - - - (defaults to: '0') - - - — -
    -

    Whether to perform a bare update check in the Nagios configuration. Default is ‘0’, which means a bare update check will not be performed. You can set this to ‘1’ to enable bare update checks if needed. A bare update check allows Nagios to check for updates to the configuration files without performing a full check of the configuration, which can be useful in certain scenarios.

    -
    - -
  • - -
  • - - ng_use_aggr_host_checking - - - (String) - - - (defaults to: '0') - - - — -
    -

    Whether to use aggregate host checking in the Nagios configuration. Default is ‘0’, which means aggregate host checking will not be used. You can set this to ‘1’ to enable aggregate host checking if needed. Aggregate host checking allows Nagios to perform checks on groups of hosts and determine the status of the group based on the status of the individual hosts, which can be useful for monitoring clusters or other groups of related hosts.

    -
    - -
  • - -
  • - - ng_execute_service_checks - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to execute service checks in the Nagios configuration. Default is ‘1’, which means service checks will be executed. You can set this to ‘0’ to disable execution of service checks if needed.

    -
    - -
  • - -
  • - - ng_execute_host_checks - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to execute host checks in the Nagios configuration. Default is ‘1’, which means host checks will be executed. You can set this to ‘0’ to disable execution of host checks if needed.

    -
    - -
  • - -
  • - - ng_accept_pass_svc_checks - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to accept passive service checks in the Nagios configuration. Default is ‘1’, which means passive service checks will be accepted. You can set this to ‘0’ to disable acceptance of passive service checks if needed.

    -
    - -
  • - -
  • - - ng_accept_pass_host_checks - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to accept passive host checks in the Nagios configuration. Default is ‘1’, which means passive host checks will be accepted. You can set this to ‘0’ to disable acceptance of passive host checks if needed.

    -
    - -
  • - -
  • - - ng_enable_notifications - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to enable notifications in the Nagios configuration. Default is ‘1’, which means notifications will be enabled. You can set this to ‘0’ to disable notifications if needed.

    -
    - -
  • - -
  • - - ng_enable_event_handlers - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to enable event handlers in the Nagios configuration. Default is ‘1’, which means event handlers will be enabled. You can set this to ‘0’ to disable event handlers if needed.

    -
    - -
  • - -
  • - - ng_process_perf_data - - - (String) - - - (defaults to: '0') - - - — -
    -

    Whether to process performance data in the Nagios configuration. Default is ‘1’, which means performance data will be processed. You can set this to ‘0’ to disable processing of performance data if needed.

    -
    - -
  • - -
  • - - ng_host_perfdata_command - - - (String) - - - (defaults to: 'process-host-perfdata') - - - — -
    -

    The command to process host performance data in the Nagios configuration. Default is ”, which means no specific command will be configured for processing host performance data. You can set this to a specific command if needed.

    -
    - -
  • - -
  • - - ng_svc_perfdata_command - - - (String) - - - (defaults to: 'process-service-perfdata') - - - — -
    -

    The command to process service performance data in the Nagios configuration. Default is ”, which means no specific command will be configured for processing service performance data. You can set this to a specific command if needed.

    -
    - -
  • - -
  • - - ng_host_perfdata_file - - - (String) - - - (defaults to: '/var/spool/nagios/host-perfdata') - - - — -
    -

    The file to which host performance data will be written in the Nagios configuration. Default is ”, which means no specific file will be configured for host performance data. You can set this to a specific file path if needed.

    -
    - -
  • - -
  • - - ng_service_perfdata_file - - - (String) - - - (defaults to: '/var/spool/nagios/service-perfdata') - - - — -
    -

    The file to which service performance data will be written in the Nagios configuration. Default is ”, which means no specific file will be configured for service performance data. You can set this to a specific file path if needed.

    -
    - -
  • - -
  • - - ng_host_perfdata_template - - - (String) - - - (defaults to: '[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$') - - - — -
    -

    The template for host performance data in the Nagios configuration. Default is ”, which means no specific template will be configured for host performance data. You can set this to a specific template if needed.

    -
    - -
  • - -
  • - - ng_svc_perfdata_template - - - (String) - - - (defaults to: '[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$') - - - — -
    -

    The template for service performance data in the Nagios configuration. Default is ”, which means no specific template will be configured for service performance data. You can set this to a specific template if needed.

    -
    - -
  • - -
  • - - ng_host_perfdata_file_mode - - - (String) - - - (defaults to: 'a') - - - — -
    -

    The file mode for host performance data files in the Nagios configuration.

    -
    - -
  • - -
  • - - ng_svc_perfdata_file_mode - - - (String) - - - (defaults to: 'a') - - - — -
    -

    The file mode for service performance data files in the Nagios configuration.

    -
    - -
  • - -
  • - - ng_h_perfdata_proc_intval - - - (String) - - - (defaults to: '0') - - - — -
    -

    The interval for processing host performance data in the Nagios configuration. Default is ‘0’, which means host performance data will be processed immediately. You can set this to a specific number of seconds if needed to control how often host performance data is processed.

    -
    - -
  • - -
  • - - ng_s_perfdata_proc_intval - - - (String) - - - (defaults to: '0') - - - — -
    -

    The interval for processing service performance data in the Nagios configuration. Default is ‘0’, which means service performance data will be processed immediately. You can set this to a specific number of seconds if needed to control how often service performance data is processed.

    -
    - -
  • - -
  • - - ng_s_perfdata_proc_cmd - - - (String) - - - (defaults to: 'process-service-perfdata-file') - - - — -
    -

    The command to process service performance data in the Nagios configuration.

    -
    - -
  • - -
  • - - ng_h_perfdata_proc_cmd - - - (String) - - - (defaults to: 'process-host-perfdata-file') - - - — -
    -

    The command to process host performance data in the Nagios configuration.

    -
    - -
  • - -
  • - - ng_obsess_over_services - - - (String) - - - (defaults to: '0') - - - — -
    -

    Whether to obsess over services in the Nagios configuration. Default is ‘0’, which means not to obsess over services. You can set this to ‘1’ to enable obsessing over services if needed.

    -
    - -
  • - -
  • - - ng_ocsp_command - - - (String) - - - (defaults to: '') - - - — -
    -

    The command to process obsessive service checks in the Nagios configuration. Default is ”, which means no specific command will be configured for obsessive service checks. You can set this to a specific command if needed.

    -
    - -
  • - -
  • - - ng_obsess_over_hosts - - - (String) - - - (defaults to: '0') - - - — -
    -

    Whether to obsess over hosts in the Nagios configuration. Default is ‘0’, which means not to obsess over hosts. You can set this to ‘1’ to enable obsessing over hosts if needed.

    -
    - -
  • - -
  • - - ng_ochp_command - - - (String) - - - (defaults to: '') - - - — -
    -

    The command to process obsessive host checks in the Nagios configuration. Default is ”, which means no specific command will be configured for obsessive host checks. You can set this to a specific command if needed.

    -
    - -
  • - -
  • - - ng_h_perfdata_proc_e_res - - - (String) - - - (defaults to: '1') - - - — -
    -

    The expected result for host performance data processing in the Nagios configuration.

    -
    - -
  • - -
  • - - ng_s_perfdata_proc_e_res - - - (String) - - - (defaults to: '1') - - - — -
    -

    The expected result for service performance data processing in the Nagios configuration.

    -
    - -
  • - -
  • - - ng_max_check_attempts - - - (String) - - - (defaults to: '10') - -
  • @@ -2022,6 +391,1085 @@ inherited by all classes except defines. (defaults to: '/var/spool/nagios/cmd/nagios.qh') +
  • + +
  • + + ng_lock_file + + + (String) + + + (defaults to: '/var/run/nagios/nagios.pid') + + +
  • + +
  • + + ng_temp_file + + + (String) + + + (defaults to: '/var/spool/nagios/nagios.tmp') + + +
  • + +
  • + + ng_temp_path + + + (String) + + + (defaults to: '/tmp') + + +
  • + +
  • + + ng_event_broker_options + + + (String) + + + (defaults to: '-1') + + +
  • + +
  • + + ng_event_broker_module + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_log_rotation_method + + + (String) + + + (defaults to: 'h') + + +
  • + +
  • + + ng_log_archive_path + + + (String) + + + (defaults to: '/var/log/nagios/archives') + + +
  • + +
  • + + ng_use_syslog + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_log_notifications + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_log_service_retries + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_log_host_retries + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_log_event_handlers + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_log_initial_states + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_log_current_states + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_log_external_commands + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_log_passive_checks + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_glob_host_evt_handler + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_glob_svc_evt_handler + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_svc_int_check_delay + + + (String) + + + (defaults to: 's') + + +
  • + +
  • + + ng_max_svc_check_spread + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_svc_interleave_factor + + + (String) + + + (defaults to: 's') + + +
  • + +
  • + + ng_host_int_check_delay + + + (String) + + + (defaults to: 's') + + +
  • + +
  • + + ng_max_host_check_spread + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_max_concurrent_checks + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_check_res_reaper_freq + + + (String) + + + (defaults to: '10') + + +
  • + +
  • + + ng_max_check_res_reap_time + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_check_result_path + + + (String) + + + (defaults to: '/var/spool/nagios/checkresults') + + +
  • + +
  • + + ng_max_check_res_file_age + + + (String) + + + (defaults to: '3600') + + +
  • + +
  • + + ng_cached_h_check_horizon + + + (String) + + + (defaults to: '15') + + +
  • + +
  • + + ng_cached_s_check_horizon + + + (String) + + + (defaults to: '15') + + +
  • + +
  • + + ng_pred_host_dep_checks + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_pred_svc_dep_checks + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_soft_state_dependencies + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_time_change_threshold + + + (String) + + + (defaults to: '900') + + +
  • + +
  • + + ng_auto_reschedule_checks + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_auto_reschedule_intval + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_auto_reschedule_window + + + (String) + + + (defaults to: '180') + + +
  • + +
  • + + ng_service_check_timeout + + + (String) + + + (defaults to: '60') + + +
  • + +
  • + + ng_host_check_timeout + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_event_handler_timeout + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_notification_timeout + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_ocsp_timeout + + + (String) + + + (defaults to: '5') + + +
  • + +
  • + + ng_perfdata_timeout + + + (String) + + + (defaults to: '5') + + +
  • + +
  • + + ng_retain_state_inf + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_state_retention_file + + + (String) + + + (defaults to: '/var/spool/nagios/retention.dat') + + +
  • + +
  • + + ng_retention_update_intval + + + (String) + + + (defaults to: '60') + + +
  • + +
  • + + ng_use_ret_program_state + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_use_ret_scheduling_info + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_ret_host_attr_mask + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ret_service_attr_mask + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ret_proc_host_attr_mask + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ret_proc_svc_attr_mask + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ret_contact_h_attr_mask + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ret_contact_s_attr_mask + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_interval_length + + + (String) + + + (defaults to: '60') + + +
  • + +
  • + + ng_check_for_updates + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_bare_update_check + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_use_aggr_host_checking + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_execute_service_checks + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_accept_pass_svc_checks + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_execute_host_checks + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_accept_pass_host_checks + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_enable_notifications + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_enable_event_handlers + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_process_perf_data + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_host_perfdata_command + + + (String) + + + (defaults to: 'process-host-perfdata') + + +
  • + +
  • + + ng_svc_perfdata_command + + + (String) + + + (defaults to: 'process-service-perfdata') + + +
  • + +
  • + + ng_host_perfdata_file + + + (String) + + + (defaults to: '/var/spool/nagios/host-perfdata') + + +
  • + +
  • + + ng_service_perfdata_file + + + (String) + + + (defaults to: '/var/spool/nagios/service-perfdata') + + +
  • + +
  • + + ng_host_perfdata_template + + + (String) + + + (defaults to: '[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$') + + +
  • + +
  • + + ng_svc_perfdata_template + + + (String) + + + (defaults to: '[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$') + + +
  • + +
  • + + ng_host_perfdata_file_mode + + + (String) + + + (defaults to: 'a') + + +
  • + +
  • + + ng_svc_perfdata_file_mode + + + (String) + + + (defaults to: 'a') + + +
  • + +
  • + + ng_h_perfdata_proc_intval + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_s_perfdata_proc_intval + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_h_perfdata_proc_cmd + + + (String) + + + (defaults to: 'process-host-perfdata-file') + + +
  • + +
  • + + ng_s_perfdata_proc_cmd + + + (String) + + + (defaults to: 'process-service-perfdata-file') + + +
  • + +
  • + + ng_h_perfdata_proc_e_res + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_s_perfdata_proc_e_res + + + (String) + + + (defaults to: '1') + + +
  • + +
  • + + ng_obsess_over_services + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ocsp_command + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_obsess_over_hosts + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_ochp_command + + + (String) + + + (defaults to: '') + +
  • @@ -2438,6 +1886,19 @@ inherited by all classes except defines. (defaults to: '0') +
  • + +
  • + + ng_check_workers + + + (String) + + + (defaults to: '') + +
  • @@ -2505,6 +1966,19 @@ inherited by all classes except defines.
  • +
  • + + ng_use_https + + + (Boolean) + + + (defaults to: false) + + +
  • + @@ -2516,16 +1990,6 @@ inherited by all classes except defines.
     
     
    -418
    -419
    -420
    -421
    -422
    -423
    -424
    -425
    -426
    -427
     428
     429
     430
    @@ -2765,10 +2229,18 @@ inherited by all classes except defines.
     664
     665
     666
    -667
    +667 +668 +669 +670 +671 +672 +673 +674 +675
    -
    # File 'manifests/params.pp', line 418
    +        
    # File 'manifests/params.pp', line 428
     
     class confdroid_nagios::params (
     
    @@ -2921,8 +2393,6 @@ class confdroid_nagios::params (
       String $ng_mail_user               = 'admin@example.net',
       String $ng_page_user               = 'pageadmin@example.net',
     
    -
    -
     # httpd
       Boolean $ng_use_https       = false,
     
    
    From 3e19179245b1c0ecc0e4ad07e4960c586cbb05f9 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 19:41:42 +0100
    Subject: [PATCH 22/87] Recommit for updates in build 47
    
    ---
     .../confdroid_nagios_3A_3Amain_3A_3Adirs.html |  312 +--
     .../confdroid_nagios_3A_3Aparams.html         | 2278 ++---------------
     ...nfdroid_nagios_3A_3Aserver_3A_3Afiles.html |   20 +-
     ...droid_nagios_3A_3Aserver_3A_3Aservice.html |   18 +-
     4 files changed, 355 insertions(+), 2273 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html
    index 3fa8ada..2c62855 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html
    @@ -300,188 +300,188 @@ class confdroid_nagios::main::dirs (
       require confdroid_nagios::main::user
     
       # main directory
    -  file { $ng_main_dir:
    -    ensure   => directory,
    -    path     => $ng_main_dir,
    -    owner    => 'root',
    -    group    => 'root',
    -    mode     => '0755',
    -    selrange => s0,
    -    selrole  => object_r,
    -    seltype  => nagios_etc_t,
    -    seluser  => system_u,
    -  }
    +#  file { $ng_main_dir:
    +#    ensure   => directory,
    +#    path     => $ng_main_dir,
    +#    owner    => 'root',
    +#    group    => 'root',
    +#    mode     => '0755',
    +#    selrange => s0,
    +#    selrole  => object_r,
    +#    seltype  => nagios_etc_t,
    +#    seluser  => system_u,
    +#  }
     
       # /usr/lib64/nagios dir required for plugins
    -  file { $ng_lib_dir:
    -    ensure   => directory,
    -    path     => $ng_lib_dir,
    -    owner    => 'root',
    -    group    => 'root',
    -    mode     => '0755',
    -    selrange => s0,
    -    selrole  => object_r,
    -    seltype  => lib_t,
    -    seluser  => system_u,
    -  }
    +#  file { $ng_lib_dir:
    +#    ensure   => directory,
    +#    path     => $ng_lib_dir,
    +#    owner    => 'root',
    +#    group    => 'root',
    +#    mode     => '0755',
    +#    selrange => s0,
    +#    selrole  => object_r,
    +#    seltype  => lib_t,
    +#    seluser  => system_u,
    +#  }
     
       # /var/spool/nagios
    -  file { $ng_spool_dir:
    -    ensure   => directory,
    -    path     => $ng_spool_dir,
    -    owner    => $ng_user,
    -    group    => $ng_user,
    -    mode     => '0755',
    -    selrange => s0,
    -    selrole  => object_r,
    -    seltype  => nagios_spool_t,
    -    seluser  => system_u,
    -  }
    +#  file { $ng_spool_dir:
    +#    ensure   => directory,
    +#    path     => $ng_spool_dir,
    +#    owner    => $ng_user,
    +#    group    => $ng_user,
    +#    mode     => '0755',
    +#    selrange => s0,
    +#    selrole  => object_r,
    +#    seltype  => nagios_spool_t,
    +#    seluser  => system_u,
    +#  }
     
    -  if $fqdn == $ng_nagios_server {
    +#  if $fqdn == $ng_nagios_server {
         # /etc/nagios/conf.d
    -    file { $ng_conf_d_dir:
    -      ensure   => directory,
    -      path     => $ng_conf_d_dir,
    -      owner    => 'root',
    -      group    => $ng_user,
    -      mode     => '0750',
    -      selrange => s0,
    -      selrole  => object_r,
    -      seltype  => nagios_etc_t,
    -      seluser  => system_u,
    -    }
    +#    file { $ng_conf_d_dir:
    +#      ensure   => directory,
    +#      path     => $ng_conf_d_dir,
    +#      owner    => 'root',
    +#      group    => $ng_user,
    +#      mode     => '0750',
    +#      selrange => s0,
    +#      selrole  => object_r,
    +#      seltype  => nagios_etc_t,
    +#      seluser  => system_u,
    +#    }
     
         # /etc/nagios/objects
    -    file { $ng_objects_dir:
    -      ensure   => directory,
    -      path     => $ng_objects_dir,
    -      owner    => 'root',
    -      group    => $ng_user,
    -      mode     => '0750',
    -      selrange => s0,
    -      selrole  => object_r,
    -      seltype  => nagios_etc_t,
    -      seluser  => system_u,
    -    }
    +#    file { $ng_objects_dir:
    +#      ensure   => directory,
    +#      path     => $ng_objects_dir,
    +#      owner    => 'root',
    +#      group    => $ng_user,
    +#      mode     => '0750',
    +#      selrange => s0,
    +#      selrole  => object_r,
    +#      seltype  => nagios_etc_t,
    +#      seluser  => system_u,
    +#    }
     
         # /etc/nagios/private
    -    file { $ng_private_dir:
    -      ensure   => directory,
    -      path     => $ng_private_dir,
    -      owner    => 'root',
    -      group    => $ng_user,
    -      mode     => '0750',
    -      selrange => s0,
    -      selrole  => object_r,
    -      seltype  => nagios_etc_t,
    -      seluser  => system_u,
    -    }
    +#    file { $ng_private_dir:
    +#      ensure   => directory,
    +#      path     => $ng_private_dir,
    +#      owner    => 'root',
    +#      group    => $ng_user,
    +#      mode     => '0750',
    +#      selrange => s0,
    +#      selrole  => object_r,
    +#      seltype  => nagios_etc_t,
    +#      seluser  => system_u,
    +#    }
     
         # include dir
    -    file { $ng_usr_incl:
    -      ensure   => directory,
    -      path     => $ng_usr_incl,
    -      owner    => 'root',
    -      group    => 'root',
    -      mode     => '0755',
    -      selrange => s0,
    -      selrole  => object_r,
    -      seltype  => usr_t,
    -      seluser  => system_u,
    -    }
    +#    file { $ng_usr_incl:
    +#      ensure   => directory,
    +#      path     => $ng_usr_incl,
    +#      owner    => 'root',
    +#      group    => 'root',
    +#      mode     => '0755',
    +#      selrange => s0,
    +#      selrole  => object_r,
    +#      seltype  => usr_t,
    +#      seluser  => system_u,
    +#    }
     
         # log dir
    -    file { $ng_log_dir:
    -      ensure   => directory,
    -      path     => $ng_log_dir,
    -      owner    => $ng_user,
    -      group    => $ng_user,
    -      mode     => '0750',
    -      selrange => s0,
    -      selrole  => object_r,
    -      seltype  => nagios_log_t,
    -      seluser  => system_u,
    -    }
    +#    file { $ng_log_dir:
    +#      ensure   => directory,
    +#      path     => $ng_log_dir,
    +#      owner    => $ng_user,
    +#      group    => $ng_user,
    +#      mode     => '0750',
    +#      selrange => s0,
    +#      selrole  => object_r,
    +#      seltype  => nagios_log_t,
    +#      seluser  => system_u,
    +#    }
     
         # log archives
    -    file { $ng_log_archives:
    -      ensure   => directory,
    -      path     => $ng_log_archives,
    -      owner    => $ng_user,
    -      group    => $ng_user,
    -      mode     => '0750',
    -      selrange => s0,
    -      selrole  => object_r,
    -      seltype  => nagios_log_t,
    -      seluser  => system_u,
    -    }
    +#    file { $ng_log_archives:
    +#      ensure   => directory,
    +#      path     => $ng_log_archives,
    +#      owner    => $ng_user,
    +#      group    => $ng_user,
    +#      mode     => '0750',
    +#      selrange => s0,
    +#      selrole  => object_r,
    +#      seltype  => nagios_log_t,
    +#      seluser  => system_u,
    +#    }
     
         # /usr/share/nagios
    -    file { $ng_usr_share:
    -      ensure   => directory,
    -      path     => $ng_usr_share,
    -      owner    => 'root',
    -      group    => 'root',
    -      mode     => '0755',
    -      selrange => s0,
    -      selrole  => object_r,
    -      seltype  => usr_t,
    -      seluser  => system_u,
    -    }
    +#    file { $ng_usr_share:
    +#      ensure   => directory,
    +#      path     => $ng_usr_share,
    +#      owner    => 'root',
    +#      group    => 'root',
    +#      mode     => '0755',
    +#      selrange => s0#,
    +#      selrole  => object_r,
    +#      seltype  => usr_t,
    +#      seluser  => system_u,
    +#    }
     
         #  /usr/share/nagios/html
    -    file { $ng_share_html:
    -      ensure   => directory,
    -      path     => $ng_share_html,
    -      owner    => 'root',
    -      group    => 'root',
    -      mode     => '0755',
    -      selrange => s0,
    -      selrole  => object_r,
    -      seltype  => usr_t,
    -      seluser  => system_u,
    -    }
    +#    file { $ng_share_html:
    +#      ensure   => directory,
    +#      path     => $ng_share_html,
    +#      owner    => 'root',
    +#      group    => 'root',
    +#      mode     => '0755',
    +#      selrange => s0,
    +#      selrole  => object_r,
    +#      seltype  => usr_t,
    +#      seluser  => system_u,
    +#    }
     
         # run dir for pid file
    -    file { $ng_run_dir:
    -      ensure   => directory,
    -      path     => $ng_run_dir,
    -      owner    => 'nagios',
    -      group    => 'nagios',
    -      mode     => '0750',
    -      selrange => s0,
    -      selrole  => object_r,
    -      seltype  => nagios_var_run_t,
    -      seluser  => system_u,
    -    }
    +#    file { $ng_run_dir:
    +#      ensure   => directory,
    +#      path     => $ng_run_dir,
    +#      owner    => 'nagios',
    +#      group    => 'nagios',
    +#      mode     => '0750',
    +#      selrange => s0,
    +#      selrole  => object_r,
    +#      seltype  => nagios_var_run_t,
    +#      seluser  => system_u,
    +#    }
     
         # cmd dir
    -    file { $ng_cmd_dir:
    -      ensure   => directory,
    -      path     => $ng_cmd_dir,
    -      owner    => 'nagios',
    -      group    => 'nagios',
    -      mode     => '0775',
    -      selrange => s0,
    -      selrole  => object_r,
    -      seltype  => nagios_spool_t,
    -      seluser  => system_u,
    -    }
    +#    file { $ng_cmd_dir:
    +#      ensure   => directory,
    +#      path     => $ng_cmd_dir,
    +#      owner    => 'nagios',
    +#      group    => 'nagios',
    +#      mode     => '0775',
    +#      selrange => s0,
    +#      selrole  => object_r,
    +#      seltype  => nagios_spool_t,
    +#      seluser  => system_u,
    +#    }
     
         # checkresults dir
    -    file { $ng_checkresults_dir:
    -      ensure   => directory,
    -      path     => $ng_checkresults_dir,
    -      owner    => 'nagios',
    -      group    => 'nagios',
    -      mode     => '0770',
    -      selrange => s0,
    -      selrole  => object_r,
    -      seltype  => nagios_spool_t,
    -      seluser  => system_u,
    -    }
    -  }
    +#    file { $ng_checkresults_dir:
    +#      ensure   => directory,
    +#      path     => $ng_checkresults_dir,
    +#      owner    => 'nagios',
    +#      group    => 'nagios',
    +#      mode     => '0770',
    +#      selrange => s0,
    +#      selrole  => object_r,
    +#      seltype  => nagios_spool_t,
    +#      seluser  => system_u,
    +#    }
    +#  }
     }
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 6aaa847..f9257e9 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -94,10 +94,16 @@ +

    Summary

    + Class holds all parameters for the confdroid_nagios module and is +inherited by all classes except defines. +

    Overview

    +

    confdroid_nagios::params Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    +
    @@ -118,6 +124,11 @@ (defaults to: 'nagios.example.net') + — +
    +

    The hostname or IP address of the Nagios server. This will determine the installation selection and the of the clients to connect to the Nagios server.

    +
    +
  • @@ -131,6 +142,11 @@ (defaults to: ['nagios','nagios-devel']) + — +
    +

    An array of packages to be installed on the Nagios server.

    +
    +
  • @@ -144,6 +160,11 @@ (defaults to: ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common']) + — +
    +

    An array of packages to be installed on the Nagios clients.

    +
    +
  • @@ -157,18 +178,10 @@ (defaults to: 'present') -
  • - -
  • - - ng_include_nrpe - - - (Boolean) - - - (defaults to: true) - + — +
    +

    The ensure value for all packages. Default is ‘present’.

    +
  • @@ -183,6 +196,11 @@ (defaults to: 'nagios') + — +
    +

    The name of the Nagios user to be created on the Nagios server. Default is ‘nagios’.

    +
    +
  • @@ -196,6 +214,11 @@ (defaults to: 'Nagios User') + — +
    +

    The comment field for the Nagios user. Default is ‘Nagios User’.

    +
    +
  • @@ -209,6 +232,11 @@ (defaults to: 'nagios') + — +
    +

    The group(s) to which the Nagios user should be added. Default is ‘nagios’.

    +
    +
  • @@ -222,6 +250,11 @@ (defaults to: '/sbin/nologin') + — +
    +

    The login shell for the Nagios user. Default is ‘/sbin/nologin’.

    +
    +
  • @@ -235,6 +268,11 @@ (defaults to: '/home/nagios') + — +
    +

    The home directory for the Nagios user. Default is ‘/home/nagios’.

    +
    +
  • @@ -248,1721 +286,28 @@ (defaults to: 1004) -
  • - -
  • - - ng_log_file - - - (String) - - - (defaults to: '/var/log/nagios/nagios.log') - + — +
    +

    The user ID for the Nagios user. Default is 1004.

    +
  • - ng_max_check_attempts - - - (String) - - - (defaults to: '10') - - -
  • - -
  • - - ng_object_cache_file - - - (String) - - - (defaults to: '/var/spool/nagios/objects.cache') - - -
  • - -
  • - - ng_precached_obj_file - - - (String) - - - (defaults to: '/var/spool/nagios/objects.precache') - - -
  • - -
  • - - ng_resource_file - - - (String) - - - (defaults to: '/etc/nagios/private/resource.cfg') - - -
  • - -
  • - - ng_status_file - - - (String) - - - (defaults to: '/var/log/nagios/status.dat') - - -
  • - -
  • - - ng_status_upd_interval - - - (String) - - - (defaults to: '10') - - -
  • - -
  • - - ng_check_ext_commands - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_command_file - - - (String) - - - (defaults to: '/var/spool/nagios/cmd/nagios.cmd') - - -
  • - -
  • - - ng_enable_query_handler + ng_include_nrpe (Boolean) - (defaults to: false) + (defaults to: true) -
  • - -
  • - - ng_query_socket - - - (String) - - - (defaults to: '/var/spool/nagios/cmd/nagios.qh') - - -
  • - -
  • - - ng_lock_file - - - (String) - - - (defaults to: '/var/run/nagios/nagios.pid') - - -
  • - -
  • - - ng_temp_file - - - (String) - - - (defaults to: '/var/spool/nagios/nagios.tmp') - - -
  • - -
  • - - ng_temp_path - - - (String) - - - (defaults to: '/tmp') - - -
  • - -
  • - - ng_event_broker_options - - - (String) - - - (defaults to: '-1') - - -
  • - -
  • - - ng_event_broker_module - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_log_rotation_method - - - (String) - - - (defaults to: 'h') - - -
  • - -
  • - - ng_log_archive_path - - - (String) - - - (defaults to: '/var/log/nagios/archives') - - -
  • - -
  • - - ng_use_syslog - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_notifications - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_service_retries - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_host_retries - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_event_handlers - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_initial_states - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_log_current_states - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_external_commands - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_passive_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_glob_host_evt_handler - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_glob_svc_evt_handler - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_svc_int_check_delay - - - (String) - - - (defaults to: 's') - - -
  • - -
  • - - ng_max_svc_check_spread - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_svc_interleave_factor - - - (String) - - - (defaults to: 's') - - -
  • - -
  • - - ng_host_int_check_delay - - - (String) - - - (defaults to: 's') - - -
  • - -
  • - - ng_max_host_check_spread - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_max_concurrent_checks - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_check_res_reaper_freq - - - (String) - - - (defaults to: '10') - - -
  • - -
  • - - ng_max_check_res_reap_time - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_check_result_path - - - (String) - - - (defaults to: '/var/spool/nagios/checkresults') - - -
  • - -
  • - - ng_max_check_res_file_age - - - (String) - - - (defaults to: '3600') - - -
  • - -
  • - - ng_cached_h_check_horizon - - - (String) - - - (defaults to: '15') - - -
  • - -
  • - - ng_cached_s_check_horizon - - - (String) - - - (defaults to: '15') - - -
  • - -
  • - - ng_pred_host_dep_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_pred_svc_dep_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_soft_state_dependencies - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_time_change_threshold - - - (String) - - - (defaults to: '900') - - -
  • - -
  • - - ng_auto_reschedule_checks - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_auto_reschedule_intval - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_auto_reschedule_window - - - (String) - - - (defaults to: '180') - - -
  • - -
  • - - ng_service_check_timeout - - - (String) - - - (defaults to: '60') - - -
  • - -
  • - - ng_host_check_timeout - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_event_handler_timeout - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_notification_timeout - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_ocsp_timeout - - - (String) - - - (defaults to: '5') - - -
  • - -
  • - - ng_perfdata_timeout - - - (String) - - - (defaults to: '5') - - -
  • - -
  • - - ng_retain_state_inf - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_state_retention_file - - - (String) - - - (defaults to: '/var/spool/nagios/retention.dat') - - -
  • - -
  • - - ng_retention_update_intval - - - (String) - - - (defaults to: '60') - - -
  • - -
  • - - ng_use_ret_program_state - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_use_ret_scheduling_info - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_ret_host_attr_mask - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ret_service_attr_mask - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ret_proc_host_attr_mask - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ret_proc_svc_attr_mask - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ret_contact_h_attr_mask - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ret_contact_s_attr_mask - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_interval_length - - - (String) - - - (defaults to: '60') - - -
  • - -
  • - - ng_check_for_updates - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_bare_update_check - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_use_aggr_host_checking - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_execute_service_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_accept_pass_svc_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_execute_host_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_accept_pass_host_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_enable_notifications - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_enable_event_handlers - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_process_perf_data - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_host_perfdata_command - - - (String) - - - (defaults to: 'process-host-perfdata') - - -
  • - -
  • - - ng_svc_perfdata_command - - - (String) - - - (defaults to: 'process-service-perfdata') - - -
  • - -
  • - - ng_host_perfdata_file - - - (String) - - - (defaults to: '/var/spool/nagios/host-perfdata') - - -
  • - -
  • - - ng_service_perfdata_file - - - (String) - - - (defaults to: '/var/spool/nagios/service-perfdata') - - -
  • - -
  • - - ng_host_perfdata_template - - - (String) - - - (defaults to: '[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$') - - -
  • - -
  • - - ng_svc_perfdata_template - - - (String) - - - (defaults to: '[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$') - - -
  • - -
  • - - ng_host_perfdata_file_mode - - - (String) - - - (defaults to: 'a') - - -
  • - -
  • - - ng_svc_perfdata_file_mode - - - (String) - - - (defaults to: 'a') - - -
  • - -
  • - - ng_h_perfdata_proc_intval - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_s_perfdata_proc_intval - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_h_perfdata_proc_cmd - - - (String) - - - (defaults to: 'process-host-perfdata-file') - - -
  • - -
  • - - ng_s_perfdata_proc_cmd - - - (String) - - - (defaults to: 'process-service-perfdata-file') - - -
  • - -
  • - - ng_h_perfdata_proc_e_res - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_s_perfdata_proc_e_res - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_obsess_over_services - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ocsp_command - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_obsess_over_hosts - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ochp_command - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_translate_pass_h_checks - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_pass_h_checks_are_soft - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_check_orphaned_svc - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_check_orphaned_hosts - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_check_service_freshness - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_svc_fresh_check_intval - - - (String) - - - (defaults to: '60') - - -
  • - -
  • - - ng_svc_check_timeout_state - - - (String) - - - (defaults to: 'c') - - -
  • - -
  • - - ng_check_host_freshness - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_host_fresh_check_intval - - - (String) - - - (defaults to: '60') - - -
  • - -
  • - - ng_add_freshness_latency - - - (String) - - - (defaults to: '15') - - -
  • - -
  • - - ng_enable_flap_detection - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_low_svc_flap_threshold - - - (String) - - - (defaults to: '5.0') - - -
  • - -
  • - - ng_high_svc_flap_threshold - - - (String) - - - (defaults to: '20.0') - - -
  • - -
  • - - ng_low_h_flap_threshold - - - (String) - - - (defaults to: '5.0') - - -
  • - -
  • - - ng_high_h_flap_threshold - - - (String) - - - (defaults to: '20.0') - - -
  • - -
  • - - ng_date_format - - - (String) - - - (defaults to: 'us') - - -
  • - -
  • - - ng_use_timezone_offset - - - (Boolean) - - - (defaults to: false) - - -
  • - -
  • - - ng_use_timezone - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_illegal_obj_name_chars - - - (String) - - - (defaults to: '`~!$%^&*|\'"<>?,()=') - - -
  • - -
  • - - ng_ill_macro_output_chars - - - (String) - - - (defaults to: '`~$&|\'"<>') - - -
  • - -
  • - - ng_use_regexp_matching - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_true_regexp_matching - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_daemon_dumps_core - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_use_large_inst_tweaks - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_enable_env_macros - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_free_child_process_mem - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_child_proc_fork_twice - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_debug_level - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_debug_verbosity - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_debug_file - - - (String) - - - (defaults to: '/var/spool/nagios/nagios.debug') - - -
  • - -
  • - - ng_max_debug_file_size - - - (String) - - - (defaults to: '1000000') - - -
  • - -
  • - - ng_allow_empty_hostgroups - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_check_workers - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_host_down_svc_checks - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_enable_load_ctl_options - - - (Boolean) - - - (defaults to: false) - - -
  • - -
  • - - ng_loadctl_options - - - (String) - - - (defaults to: 'jobs_max=100;backoff_limit=10;rampup_change=5') - - -
  • - -
  • - - ng_mail_user - - - (String) - - - (defaults to: 'admin@example.net') - - -
  • - -
  • - - ng_page_user - - - (String) - - - (defaults to: 'pageadmin@example.net') - + — +
    +

    Whether to include the NRPE client on the Nagios clients. Default is true.

    +
  • @@ -1977,6 +322,11 @@ (defaults to: false) + — +
    +

    Whether to configure the Nagios web interface to use HTTPS. Default is false. We recommend using a reverse proxy with SSL termination in front of the Nagios web interface, so this is disabled by default.

    +
    + @@ -1990,257 +340,123 @@
     
     
    -428
    -429
    -430
    -431
    -432
    -433
    -434
    -435
    -436
    -437
    -438
    -439
    -440
    -441
    -442
    -443
    -444
    -445
    -446
    -447
    -448
    -449
    -450
    -451
    -452
    -453
    -454
    -455
    -456
    -457
    -458
    -459
    -460
    -461
    -462
    -463
    -464
    -465
    -466
    -467
    -468
    -469
    -470
    -471
    -472
    -473
    -474
    -475
    -476
    -477
    -478
    -479
    -480
    -481
    -482
    -483
    -484
    -485
    -486
    -487
    -488
    -489
    -490
    -491
    -492
    -493
    -494
    -495
    -496
    -497
    -498
    -499
    -500
    -501
    -502
    -503
    -504
    -505
    -506
    -507
    -508
    -509
    -510
    -511
    -512
    -513
    -514
    -515
    -516
    -517
    -518
    -519
    -520
    -521
    -522
    -523
    -524
    -525
    -526
    -527
    -528
    -529
    -530
    -531
    -532
    -533
    -534
    -535
    -536
    -537
    -538
    -539
    -540
    -541
    -542
    -543
    -544
    -545
    -546
    -547
    -548
    -549
    -550
    -551
    -552
    -553
    -554
    -555
    -556
    -557
    -558
    -559
    -560
    -561
    -562
    -563
    -564
    -565
    -566
    -567
    -568
    -569
    -570
    -571
    -572
    -573
    -574
    -575
    -576
    -577
    -578
    -579
    -580
    -581
    -582
    -583
    -584
    -585
    -586
    -587
    -588
    -589
    -590
    -591
    -592
    -593
    -594
    -595
    -596
    -597
    -598
    -599
    -600
    -601
    -602
    -603
    -604
    -605
    -606
    -607
    -608
    -609
    -610
    -611
    -612
    -613
    -614
    -615
    -616
    -617
    -618
    -619
    -620
    -621
    -622
    -623
    -624
    -625
    -626
    -627
    -628
    -629
    -630
    -631
    -632
    -633
    -634
    -635
    -636
    -637
    -638
    -639
    -640
    -641
    -642
    -643
    -644
    -645
    -646
    -647
    -648
    -649
    -650
    -651
    -652
    -653
    -654
    -655
    -656
    -657
    -658
    -659
    -660
    -661
    -662
    -663
    -664
    -665
    -666
    -667
    -668
    -669
    -670
    -671
    -672
    -673
    -674
    -675
    +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147
    -
    # File 'manifests/params.pp', line 428
    +        
    # File 'manifests/params.pp', line 34
     
     class confdroid_nagios::params (
     
    @@ -2259,140 +475,6 @@ class confdroid_nagios::params (
       String $ng_u_home                 = '/home/nagios',
       Integer $ng_u_uid                 = 1004,
     
    -# nagios_cfg settings
    -  String $ng_log_file                = '/var/log/nagios/nagios.log',
    -  String $ng_max_check_attempts      = '10',
    -  String $ng_object_cache_file       = '/var/spool/nagios/objects.cache',
    -  String $ng_precached_obj_file      = '/var/spool/nagios/objects.precache',
    -  String $ng_resource_file           = '/etc/nagios/private/resource.cfg',
    -  String $ng_status_file             = '/var/log/nagios/status.dat',
    -  String $ng_status_upd_interval     = '10',
    -  String $ng_check_ext_commands      = '1',
    -  String $ng_command_file            = '/var/spool/nagios/cmd/nagios.cmd',
    -  Boolean $ng_enable_query_handler   = false,
    -  String $ng_query_socket            = '/var/spool/nagios/cmd/nagios.qh',
    -  String $ng_lock_file               = '/var/run/nagios/nagios.pid',
    -  String $ng_temp_file               = '/var/spool/nagios/nagios.tmp',
    -  String $ng_temp_path               = '/tmp',
    -  String $ng_event_broker_options    = '-1',
    -  String $ng_event_broker_module     = '',
    -  String $ng_log_rotation_method     = 'h',
    -  String $ng_log_archive_path        = '/var/log/nagios/archives',
    -  String $ng_use_syslog              = '1',
    -  String $ng_log_notifications       = '1',
    -  String $ng_log_service_retries     = '1',
    -  String $ng_log_host_retries        = '1',
    -  String $ng_log_event_handlers      = '1',
    -  String $ng_log_initial_states      = '0',
    -  String $ng_log_current_states      = '1',
    -  String $ng_log_external_commands   = '1',
    -  String $ng_log_passive_checks      = '1',
    -  String $ng_glob_host_evt_handler   = '',
    -  String $ng_glob_svc_evt_handler    = '',
    -  String $ng_svc_int_check_delay     = 's',
    -  String $ng_max_svc_check_spread    = '30',
    -  String $ng_svc_interleave_factor   = 's',
    -  String $ng_host_int_check_delay    = 's',
    -  String $ng_max_host_check_spread   = '30',
    -  String $ng_max_concurrent_checks   = '0',
    -  String $ng_check_res_reaper_freq   = '10',
    -  String $ng_max_check_res_reap_time = '30',
    -  String $ng_check_result_path       = '/var/spool/nagios/checkresults',
    -  String $ng_max_check_res_file_age  = '3600',
    -  String $ng_cached_h_check_horizon  = '15',
    -  String $ng_cached_s_check_horizon  = '15',
    -  String $ng_pred_host_dep_checks    = '1',
    -  String $ng_pred_svc_dep_checks     = '1',
    -  String $ng_soft_state_dependencies = '0',
    -  String $ng_time_change_threshold   = '900',
    -  String $ng_auto_reschedule_checks  = '0',
    -  String $ng_auto_reschedule_intval  = '30',
    -  String $ng_auto_reschedule_window  = '180',
    -  String $ng_service_check_timeout   = '60',
    -  String $ng_host_check_timeout      = '30',
    -  String $ng_event_handler_timeout   = '30',
    -  String $ng_notification_timeout    = '30',
    -  String $ng_ocsp_timeout            = '5',
    -  String $ng_perfdata_timeout        = '5',
    -  String $ng_retain_state_inf        = '1',
    -  String $ng_state_retention_file    = '/var/spool/nagios/retention.dat',
    -  String $ng_retention_update_intval = '60',
    -  String $ng_use_ret_program_state   = '1',
    -  String $ng_use_ret_scheduling_info = '1',
    -  String $ng_ret_host_attr_mask      = '0',
    -  String $ng_ret_service_attr_mask   = '0',
    -  String $ng_ret_proc_host_attr_mask = '0',
    -  String $ng_ret_proc_svc_attr_mask  = '0',
    -  String $ng_ret_contact_h_attr_mask = '0',
    -  String $ng_ret_contact_s_attr_mask = '0',
    -  String $ng_interval_length         = '60',
    -  String $ng_check_for_updates       = '1',
    -  String $ng_bare_update_check       = '0',
    -  String $ng_use_aggr_host_checking  = '0',
    -  String $ng_execute_service_checks  = '1',
    -  String $ng_accept_pass_svc_checks  = '1',
    -  String $ng_execute_host_checks     = '1',
    -  String $ng_accept_pass_host_checks = '1',
    -  String $ng_enable_notifications    = '1',
    -  String $ng_enable_event_handlers   = '1',
    -  String $ng_process_perf_data       = '0',
    -  String $ng_host_perfdata_command   = 'process-host-perfdata',
    -  String $ng_svc_perfdata_command    = 'process-service-perfdata',
    -  String $ng_host_perfdata_file      = '/var/spool/nagios/host-perfdata',
    -  String $ng_service_perfdata_file   = '/var/spool/nagios/service-perfdata',
    -  String $ng_host_perfdata_template  = '[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$',
    -  String $ng_svc_perfdata_template   = '[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$',
    -  String $ng_host_perfdata_file_mode = 'a',
    -  String $ng_svc_perfdata_file_mode  = 'a',
    -  String $ng_h_perfdata_proc_intval  = '0',
    -  String $ng_s_perfdata_proc_intval  = '0',
    -  String $ng_h_perfdata_proc_cmd     = 'process-host-perfdata-file',
    -  String $ng_s_perfdata_proc_cmd     = 'process-service-perfdata-file',
    -  String $ng_h_perfdata_proc_e_res   = '1',
    -  String $ng_s_perfdata_proc_e_res   = '1',
    -  String $ng_obsess_over_services    = '0',
    -  String $ng_ocsp_command            = '',
    -  String $ng_obsess_over_hosts       = '0',
    -  String $ng_ochp_command            = '',
    -  String $ng_translate_pass_h_checks = '0',
    -  String $ng_pass_h_checks_are_soft  = '0',
    -  String $ng_check_orphaned_svc      = '1',
    -  String $ng_check_orphaned_hosts    = '1',
    -  String $ng_check_service_freshness = '1',
    -  String $ng_svc_fresh_check_intval  = '60',
    -  String $ng_svc_check_timeout_state = 'c',
    -  String $ng_check_host_freshness    = '0',
    -  String $ng_host_fresh_check_intval = '60',
    -  String $ng_add_freshness_latency   = '15',
    -  String $ng_enable_flap_detection   = '1',
    -  String $ng_low_svc_flap_threshold  = '5.0',
    -  String $ng_high_svc_flap_threshold = '20.0',
    -  String $ng_low_h_flap_threshold    = '5.0',
    -  String $ng_high_h_flap_threshold   = '20.0',
    -  String $ng_date_format             = 'us',
    -  Boolean $ng_use_timezone_offset    = false,
    -  String $ng_use_timezone            = '',
    -  String $ng_illegal_obj_name_chars  = '`~!$%^&*|\'"<>?,()=',
    -  String $ng_ill_macro_output_chars  = '`~$&|\'"<>',
    -  String $ng_use_regexp_matching     = '0',
    -  String $ng_true_regexp_matching    = '0',
    -  String $ng_daemon_dumps_core       = '0',
    -  String $ng_use_large_inst_tweaks   = '0',
    -  String $ng_enable_env_macros       = '0',
    -  String $ng_free_child_process_mem  = '1',
    -  String $ng_child_proc_fork_twice   = '1',
    -  String $ng_debug_level             = '0',
    -  String $ng_debug_verbosity         = '1',
    -  String $ng_debug_file              = '/var/spool/nagios/nagios.debug',
    -  String $ng_max_debug_file_size     = '1000000',
    -  String $ng_allow_empty_hostgroups  = '0',
    -  String $ng_check_workers           = '',
    -  String $ng_host_down_svc_checks    = '0',
    -  Boolean $ng_enable_load_ctl_options = false,
    -  String $ng_loadctl_options         = 'jobs_max=100;backoff_limit=10;rampup_change=5',
    -  String $ng_mail_user               = 'admin@example.net',
    -  String $ng_page_user               = 'pageadmin@example.net',
    -
     # httpd
       Boolean $ng_use_https       = false,
     
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    index f25fecb..330fea9 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    @@ -124,16 +124,16 @@ class confdroid_nagios::server::files (
     
     ) inherits confdroid_nagios::params {
       require confdroid_nagios::main::dirs
    -  if $ng_nagios_server == $fqdn {
    -    file { $ng_nagios_cfg_file:
    -      ensure  => file,
    -      owner   => $ng_user,
    -      group   => $ng_user,
    -      mode    => '0644',
    -      content => template($ng_nagios_cfg_erb),
    -      notify  => Service[$ng_nagios_service],
    -    }
    -  }
    +#  if $ng_nagios_server == $fqdn {
    +#    file { $ng_nagios_cfg_file:
    +#      ensure  => file,
    +#      owner   => $ng_user,
    +#      group   => $ng_user,
    +#      mode    => '0644',
    +#      content => template($ng_nagios_cfg_erb),
    +#      notify  => Service[$ng_nagios_service],
    +#    }
    +#  }
     }
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html index 71478f6..fa5c65c 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -123,15 +123,15 @@ class confdroid_nagios::server::service ( ) inherits confdroid_nagios::params { require confdroid_nagios::server::files - if $ng_nagios_server == $fqdn { - service { $ng_nagios_service: - ensure => running, - name => $ng_nagios_service, - enable => true, - hasrestart => true, - hasstatus => true, - } - } +# if $ng_nagios_server == $fqdn { +# service { $ng_nagios_service: +# ensure => running, +# name => $ng_nagios_service, +# enable => true, +# hasrestart => true, +# hasstatus => true, +# } +# } }
    From 100017534bca69c9457b8a0ef34bb3def29a3485 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 14 Feb 2026 19:53:27 +0100 Subject: [PATCH 23/87] Recommit for updates in build 48 --- .../confdroid_nagios_3A_3Amain_3A_3Auser.html | 8 +----- .../confdroid_nagios_3A_3Aparams.html | 28 +++---------------- 2 files changed, 5 insertions(+), 31 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Auser.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Auser.html index 590bfa1..877bdc7 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Auser.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Auser.html @@ -125,10 +125,7 @@ 27 28 29 -30 -31 -32 -33
    +30
    # File 'manifests/main/user.pp', line 6
    @@ -142,7 +139,6 @@ class confdroid_nagios::main::user (
         group { $ng_user:
           ensure    => present,
           name      => $ng_user,
    -      gid       => $ng_u_uid,
           allowdupe => false,
         }
     
    @@ -151,8 +147,6 @@ class confdroid_nagios::main::user (
           name       => $ng_user,
           allowdupe  => false,
           comment    => $ng_u_comment,
    -      uid        => $ng_u_uid,
    -      gid        => $ng_u_uid,
           groups     => $ng_u_groups,
           managehome => true,
           home       => $ng_u_home,
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index f9257e9..fa33560 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -275,24 +275,6 @@ inherited by all classes except defines.
           
         
       
    -    
  • - - ng_u_uid - - - (Integer) - - - (defaults to: 1004) - - - — -
    -

    The user ID for the Nagios user. Default is 1004.

    -
    - -
  • -
  • ng_include_nrpe @@ -340,6 +322,8 @@ inherited by all classes except defines.
     
     
    +32
    +33
     34
     35
     36
    @@ -450,13 +434,10 @@ inherited by all classes except defines.
     141
     142
     143
    -144
    -145
    -146
    -147
    +144
  • -
    # File 'manifests/params.pp', line 34
    +        
    # File 'manifests/params.pp', line 32
     
     class confdroid_nagios::params (
     
    @@ -473,7 +454,6 @@ class confdroid_nagios::params (
       String $ng_u_groups               = 'nagios',
       String $ng_u_shell                = '/sbin/nologin',
       String $ng_u_home                 = '/home/nagios',
    -  Integer $ng_u_uid                 = 1004,
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From d229046526dee4368eba6c1f1d9eedf3f0f0e52a Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 20:00:43 +0100
    Subject: [PATCH 24/87] Recommit for updates in build 49
    
    ---
     doc/puppet_classes/confdroid_nagios_3A_3Aparams.html | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index fa33560..6082b3d 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -265,7 +265,7 @@ inherited by all classes except defines.
             (String)
           
           
    -        (defaults to: '/home/nagios')
    +        (defaults to: '/var/spool/nagios')
           
           
             —
    @@ -453,7 +453,7 @@ class confdroid_nagios::params (
       String $ng_u_comment              = 'Nagios User',
       String $ng_u_groups               = 'nagios',
       String $ng_u_shell                = '/sbin/nologin',
    -  String $ng_u_home                 = '/home/nagios',
    +  String $ng_u_home                 = '/var/spool/nagios',
     
     # httpd
       Boolean $ng_use_https       = false,
    
    From 5e1ab3e41db1e8a201e9b889c91a6097d3e53df3 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 20:04:31 +0100
    Subject: [PATCH 25/87] Recommit for updates in build 50
    
    ---
     doc/_index.html                               |  5 ----
     doc/puppet_class_list.html                    | 15 +++-------
     .../confdroid_nagios_3A_3Amain_3A_3Adirs.html |  2 +-
     .../confdroid_nagios_3A_3Aparams.html         | 28 +------------------
     4 files changed, 6 insertions(+), 44 deletions(-)
    
    diff --git a/doc/_index.html b/doc/_index.html
    index 23ab099..37c1140 100644
    --- a/doc/_index.html
    +++ b/doc/_index.html
    @@ -93,11 +93,6 @@
           
                 
         
    -            
  • - confdroid_nagios::main::user - -
  • -
  • confdroid_nagios::params diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index 89e8b8a..222ba19 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -71,35 +71,28 @@
  • -
  • - -
  • - - -
  • +
  • -
  • +
  • -
  • +
  • -
  • +
  • diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html index 2c62855..15febf0 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html @@ -297,7 +297,7 @@ class confdroid_nagios::main::dirs ( ) inherits confdroid_nagios::params { - require confdroid_nagios::main::user + require confdroid_nagios::main::install # main directory # file { $ng_main_dir: diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 6082b3d..5149f07 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -69,8 +69,6 @@ confdroid_nagios::main::dirs
    - confdroid_nagios::main::user
    - confdroid_nagios::main::config
    confdroid_nagios::main::install
    @@ -193,8 +191,6 @@ inherited by all classes except defines. (String) - (defaults to: 'nagios') - —
    @@ -211,8 +207,6 @@ inherited by all classes except defines. (String) - (defaults to: 'Nagios User') - —
    @@ -229,8 +223,6 @@ inherited by all classes except defines. (String) - (defaults to: 'nagios') - —
    @@ -247,8 +239,6 @@ inherited by all classes except defines. (String) - (defaults to: '/sbin/nologin') - —
    @@ -265,8 +255,6 @@ inherited by all classes except defines. (String) - (defaults to: '/var/spool/nagios') - —
    @@ -427,14 +415,7 @@ inherited by all classes except defines. 134 135 136 -137 -138 -139 -140 -141 -142 -143 -144
  • +137
    # File 'manifests/params.pp', line 32
    @@ -448,13 +429,6 @@ class confdroid_nagios::params (
       String $ng_pkg_ensure             = 'present',
       Boolean $ng_include_nrpe          = true,
     
    -# user
    -  String $ng_user                   = 'nagios',
    -  String $ng_u_comment              = 'Nagios User',
    -  String $ng_u_groups               = 'nagios',
    -  String $ng_u_shell                = '/sbin/nologin',
    -  String $ng_u_home                 = '/var/spool/nagios',
    -
     # httpd
       Boolean $ng_use_https       = false,
     
    
    From b5a46a3520ff7f7f35002faf3cc133195d8b94e6 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 20:11:19 +0100
    Subject: [PATCH 26/87] Recommit for updates in build 51
    
    ---
     ...fdroid_nagios_3A_3Aserver_3A_3Aservice.html | 18 +++++++++---------
     1 file changed, 9 insertions(+), 9 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    index fa5c65c..71478f6 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    @@ -123,15 +123,15 @@ class confdroid_nagios::server::service (
     
     ) inherits confdroid_nagios::params {
       require confdroid_nagios::server::files
    -#  if $ng_nagios_server == $fqdn {
    -#    service { $ng_nagios_service:
    -#      ensure     => running,
    -#      name       => $ng_nagios_service,
    -#      enable     => true,
    -#      hasrestart => true,
    -#      hasstatus  => true,
    -#    }
    -#  }
    +  if $ng_nagios_server == $fqdn {
    +    service { $ng_nagios_service:
    +      ensure     => running,
    +      name       => $ng_nagios_service,
    +      enable     => true,
    +      hasrestart => true,
    +      hasstatus  => true,
    +    }
    +  }
     }
    From 894146d4c791014efcac74416cbee385fe1efdfa Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 14 Feb 2026 20:38:09 +0100 Subject: [PATCH 27/87] Recommit for updates in build 52 --- ...onfdroid_nagios_3A_3Aserver_3A_3Aservice.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html index 71478f6..680b704 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -114,7 +114,14 @@ 16 17 18 -19
    +19 +20 +21 +22 +23 +24 +25 +26
    # File 'manifests/server/service.pp', line 6
    @@ -124,12 +131,19 @@ class confdroid_nagios::server::service (
     ) inherits confdroid_nagios::params {
       require confdroid_nagios::server::files
       if $ng_nagios_server == $fqdn {
    +    exec { 'restart_httpd':
    +      command     => 'systemctl restart httpd',
    +      path        => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
    +      refreshonly => true,
    +    }
    +
         service { $ng_nagios_service:
           ensure     => running,
           name       => $ng_nagios_service,
           enable     => true,
           hasrestart => true,
           hasstatus  => true,
    +      requires   => Exec['restart_httpd'],
         }
       }
     }
    From 418e3e1f68c56b3dd2bc4a69970228199fa27ea0 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 14 Feb 2026 20:42:12 +0100 Subject: [PATCH 28/87] Recommit for updates in build 53 --- .../confdroid_nagios_3A_3Aserver_3A_3Aservice.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html index 680b704..5b4e5d4 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -143,7 +143,7 @@ class confdroid_nagios::server::service ( enable => true, hasrestart => true, hasstatus => true, - requires => Exec['restart_httpd'], + require => Exec['restart_httpd'], } } }
    From 7704eea506cc241f96ae261a033464ec06ed120c Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 14 Feb 2026 21:06:16 +0100 Subject: [PATCH 29/87] Recommit for updates in build 54 --- doc/_index.html | 29 +++ doc/puppet_class_list.html | 17 +- .../confdroid_nagios_3A_3Aparams.html | 6 +- ..._nagios_3A_3Aserver_3A_3Aaccess_rules.html | 160 ++++++++++++++ ...nfdroid_nagios_3A_3Aserver_3A_3Afiles.html | 17 +- ...droid_nagios_3A_3Aserver_3A_3Aservice.html | 6 +- doc/puppet_defined_type_list.html | 54 +++++ ...fdroid_nagios_3A_3Aserver_3A_3Aaccess.html | 200 ++++++++++++++++++ 8 files changed, 471 insertions(+), 18 deletions(-) create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html create mode 100644 doc/puppet_defined_type_list.html create mode 100644 doc/puppet_defined_types/confdroid_nagios_3A_3Aserver_3A_3Aaccess.html diff --git a/doc/_index.html b/doc/_index.html index 37c1140..fd87216 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -98,6 +98,11 @@ +
  • + confdroid_nagios::server::access_rules + +
  • +
  • confdroid_nagios::server::files @@ -122,6 +127,30 @@ +

    Defined Type Listing A-Z

    + + + + + + +
    + + + + +
    + diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index 222ba19..8379b72 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -28,6 +28,10 @@ Puppet Classes + + Defined Types + + @@ -78,21 +82,28 @@
  • -
  • +
  • + +
  • + + +
  • -
  • +
  • -
  • +
  • diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 5149f07..c7c4497 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -81,6 +81,8 @@ confdroid_nagios::server::service
    + confdroid_nagios::server::access_rules
    + @@ -415,7 +417,8 @@ inherited by all classes except defines. 134 135 136 -137
  • +137 +138
    # File 'manifests/params.pp', line 32
    @@ -432,6 +435,7 @@ class confdroid_nagios::params (
     # httpd
       Boolean $ng_use_https       = false,
     
    +
     ) {
     # Default facts
       $fqdn                     = $facts['networking']['fqdn']
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
    new file mode 100644
    index 0000000..bf98acb
    --- /dev/null
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
    @@ -0,0 +1,160 @@
    +
    +
    +  
    +    
    +
    +
    +  Puppet Class: confdroid_nagios::server::access_rules
    +  
    +    — Documentation by YARD 0.9.36
    +  
    +
    +
    +  
    +
    +  
    +
    +
    +
    +
    +  
    +
    +  
    +
    +
    +  
    +  
    +    
    +
    +    
    + + +

    Puppet Class: confdroid_nagios::server::access_rules

    +
    + +
    +
    Inherits:
    +
    confdroid_nagios::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/server/access_rules.pp +
    +
    +
    + +

    Summary

    + Class manages presence of /etc/nagios/passwd file. + +

    Overview

    +
    +
    + +

    confdroid_nagios::server::access_rules.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    + +
    +
    + + + +
    + + + +
    + + + + + +
    +
    +
    +
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +
    +
    # File 'manifests/server/access_rules.pp', line 6
    +
    +class confdroid_nagios::server::access_rules (
    +
    +) inherits confdroid_nagios::params {
    +  if $fqdn == $ng_nagios_server {
    +    # manage /etc/nagios/passwd file
    +
    +    concat { $ng_htpasswd_file:
    +      ensure   => present,
    +      path     => $ng_htpasswd_file,
    +      owner    => 'root',
    +      group    => 'apache',
    +      mode     => '0640',
    +      selrange => s0,
    +      selrole  => object_r,
    +      seltype  => nagios_etc_t,
    +      seluser  => system_u,
    +      notify   => Service[$ng_nagios_service],
    +    }
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html index 330fea9..68d9a25 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html @@ -76,15 +76,10 @@ -

    Summary

    - Class manages configuration files for the confdroid_nagios module. -

    Overview

    -

    confdroid_nagios::server::files.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    -
    @@ -101,6 +96,10 @@
     
     
    +2
    +3
    +4
    +5
     6
     7
     8
    @@ -111,14 +110,10 @@
     13
     14
     15
    -16
    -17
    -18
    -19
    -20
    +16
    -
    # File 'manifests/server/files.pp', line 6
    +        
    # File 'manifests/server/files.pp', line 2
     
     class confdroid_nagios::server::files (
     
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    index 5b4e5d4..5e737cf 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    @@ -131,8 +131,8 @@ class confdroid_nagios::server::service (
     ) inherits confdroid_nagios::params {
       require confdroid_nagios::server::files
       if $ng_nagios_server == $fqdn {
    -    exec { 'restart_httpd':
    -      command     => 'systemctl restart httpd',
    +    exec { 'reload_httpd':
    +      command     => 'systemctl reload httpd',
           path        => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
           refreshonly => true,
         }
    @@ -143,7 +143,7 @@ class confdroid_nagios::server::service (
           enable     => true,
           hasrestart => true,
           hasstatus  => true,
    -      require    => Exec['restart_httpd'],
    +      require    => Exec['reload_httpd'],
         }
       }
     }
    diff --git a/doc/puppet_defined_type_list.html b/doc/puppet_defined_type_list.html new file mode 100644 index 0000000..cffa239 --- /dev/null +++ b/doc/puppet_defined_type_list.html @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + Defined Type List + + + +
    +
    +

    Defined Type List

    + + + +
    + + +
    + + diff --git a/doc/puppet_defined_types/confdroid_nagios_3A_3Aserver_3A_3Aaccess.html b/doc/puppet_defined_types/confdroid_nagios_3A_3Aserver_3A_3Aaccess.html new file mode 100644 index 0000000..5a1508a --- /dev/null +++ b/doc/puppet_defined_types/confdroid_nagios_3A_3Aserver_3A_3Aaccess.html @@ -0,0 +1,200 @@ + + + + + + + Defined Type: confdroid_nagios::server::access + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Defined Type: confdroid_nagios::server::access

    +
    +
    +
    Defined in:
    +
    + manifests/server/access.pp +
    +
    +
    + +

    Summary

    + Class manages access configuration for the confdroid_nagios module. + +

    Overview

    +
    +
    + +

    confdroid_nagios::server::access.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    + +
    +
    + + + +
    + +
    +

    Examples:

    + + +
    confdroid_nagios::server::access { 'example':
    +  ng_htpasswd_user     => 'example_user',
    +  ng_htpasswd_password => 'example_password_encrypted',
    +}
    + +
    +

    Parameters:

    +
      + +
    • + + ng_htpasswd_user + + + (Optional[String]) + + + (defaults to: undef) + + + — +
      +

      The username for the Nagios web interface.

      +
      + +
    • + +
    • + + ng_htpasswd_password + + + (Optional[String]) + + + (defaults to: undef) + + + — +
      +

      The encrypted password for the Nagios web interface.

      +
      + +
    • + +
    + + + +
    + + + + + +
    +
    +
    +
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +
    +
    # File 'manifests/server/access.pp', line 13
    +
    +define confdroid_nagios::server::access (
    +  Optional[String] $ng_htpasswd_user     = undef,
    +  Optional[String] $ng_htpasswd_password = undef,
    +) {
    +  $ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
    +  $ng_htpasswd_file = $confdroid_nagios::params::ng_htpasswd_file
    +  $ng_htpasswd_rule = $confdroid_nagios::params::ng_htpasswd_rule
    +  $ng_service       = $confdroid_nagios::params::ng_nagios_service
    +
    +  if $fqdn == $ng_nagios_server {
    +    # create password rules
    +
    +    concat::fragment { $name:
    +      target  => $ng_htpasswd_file,
    +      content => template($ng_htpasswd_rule),
    +    }
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file From 66e28f04820b910bdd3628f5502565926477787d Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 14 Feb 2026 21:29:11 +0100 Subject: [PATCH 30/87] Recommit for updates in build 57 --- doc/file.README.html | 7 +++ doc/index.html | 7 +++ .../confdroid_nagios_3A_3Aparams.html | 52 ++++++++++++++++--- ..._nagios_3A_3Aserver_3A_3Aaccess_rules.html | 16 +++++- ...nfdroid_nagios_3A_3Aserver_3A_3Afiles.html | 17 +++--- ...droid_nagios_3A_3Aserver_3A_3Aservice.html | 4 +- 6 files changed, 89 insertions(+), 14 deletions(-) diff --git a/doc/file.README.html b/doc/file.README.html index 88f28ee..f2ebc2d 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -69,6 +69,9 @@

    WARNING

  • Features

    +
  • Repo Documentation

  • @@ -106,6 +109,10 @@

    if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then )

  • +

    configuring user access

    + +

    ToDo

    +

    Repo Documentation

    See the full Puppet documentation including parameters in docs/index.html

    diff --git a/doc/index.html b/doc/index.html index 7e3e41e..04d68dc 100644 --- a/doc/index.html +++ b/doc/index.html @@ -69,6 +69,9 @@

    WARNING

  • Features

    +
  • Repo Documentation

  • @@ -106,6 +109,10 @@

    if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then )

  • +

    configuring user access

    + +

    ToDo

    +

    Repo Documentation

    See the full Puppet documentation including parameters in docs/index.html

    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index c7c4497..bf8c075 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -297,6 +297,42 @@ inherited by all classes except defines. —

    Whether to configure the Nagios web interface to use HTTPS. Default is false. We recommend using a reverse proxy with SSL termination in front of the Nagios web interface, so this is disabled by default.

    +
    + + + +
  • + + ng_main_user + + + (String) + + + (defaults to: 'nagios') + + + — +
    +

    The username for the Nagios web interface. Default is ‘nagios’.

    +
    + +
  • + +
  • + + ng_main_password + + + (String) + + + (defaults to: 'nagios') + + + — +
    +

    The encrypted password for the Nagios web interface. Default is ‘nagios’.

  • @@ -312,10 +348,6 @@ inherited by all classes except defines.
     
     
    -32
    -33
    -34
    -35
     36
     37
     38
    @@ -418,10 +450,16 @@ inherited by all classes except defines.
     135
     136
     137
    -138
    +138 +139 +140 +141 +142 +143 +144
    -
    # File 'manifests/params.pp', line 32
    +        
    # File 'manifests/params.pp', line 36
     
     class confdroid_nagios::params (
     
    @@ -431,6 +469,8 @@ class confdroid_nagios::params (
       Array $ng_reqpackages_client      = ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common'],
       String $ng_pkg_ensure             = 'present',
       Boolean $ng_include_nrpe          = true,
    +  String $ng_main_user              = 'nagios',
    +  String $ng_main_password          = 'nagios',
     
     # httpd
       Boolean $ng_use_https       = false,
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
    index bf98acb..2639db5 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
    @@ -120,7 +120,14 @@
     22
     23
     24
    -25
    +25 +26 +27 +28 +29 +30 +31 +32
    # File 'manifests/server/access_rules.pp', line 6
    @@ -143,6 +150,13 @@ class confdroid_nagios::server::access_rules (
           seluser  => system_u,
           notify   => Service[$ng_nagios_service],
         }
    +
    +    # manage file header
    +    concat::fragment { 'fle_header':
    +      target  => $ng_htpasswd_file,
    +      content => template($ng_htpasswd_head),
    +      order   => '000',
    +    }
       }
     }
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html index 68d9a25..330fea9 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html @@ -76,10 +76,15 @@ +

    Summary

    + Class manages configuration files for the confdroid_nagios module. +

    Overview

    +

    confdroid_nagios::server::files.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    +
    @@ -96,10 +101,6 @@
     
     
    -2
    -3
    -4
    -5
     6
     7
     8
    @@ -110,10 +111,14 @@
     13
     14
     15
    -16
    +16 +17 +18 +19 +20
    -
    # File 'manifests/server/files.pp', line 2
    +        
    # File 'manifests/server/files.pp', line 6
     
     class confdroid_nagios::server::files (
     
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    index 5e737cf..9a5e1bb 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    @@ -121,7 +121,8 @@
     23
     24
     25
    -26
    +26 +27
    # File 'manifests/server/service.pp', line 6
    @@ -131,6 +132,7 @@ class confdroid_nagios::server::service (
     ) inherits confdroid_nagios::params {
       require confdroid_nagios::server::files
       if $ng_nagios_server == $fqdn {
    +    require confdroid_nagios::server::access_rules
         exec { 'reload_httpd':
           command     => 'systemctl reload httpd',
           path        => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
    
    From 0e8399b67d5fc016d8c3ce6a74a67c292eb89225 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 21:41:14 +0100
    Subject: [PATCH 31/87] Recommit for updates in build 58
    
    ---
     doc/puppet_classes/confdroid_nagios_3A_3Aparams.html      | 8 ++++----
     .../confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html   | 2 +-
     2 files changed, 5 insertions(+), 5 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index bf8c075..e74ff40 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -332,7 +332,7 @@ inherited by all classes except defines.
           
             —
             
    -

    The encrypted password for the Nagios web interface. Default is ‘nagios’.

    +

    The encrypted password for the Nagios web interface. Default is ‘nagios’. Must be properly encrypted using the htpasswd utility.

    @@ -348,7 +348,6 @@ inherited by all classes except defines.
     
     
    -36
     37
     38
     39
    @@ -456,10 +455,11 @@ inherited by all classes except defines.
     141
     142
     143
    -144
    +144 +145
    -
    # File 'manifests/params.pp', line 36
    +        
    # File 'manifests/params.pp', line 37
     
     class confdroid_nagios::params (
     
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
    index 2639db5..b6343a5 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
    @@ -148,7 +148,7 @@ class confdroid_nagios::server::access_rules (
           selrole  => object_r,
           seltype  => nagios_etc_t,
           seluser  => system_u,
    -      notify   => Service[$ng_nagios_service],
    +      notify   => Exec['reload_httpd'],
         }
     
         # manage file header
    
    From afdcc899d43076806462b8876aca5ced0faa3cd4 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 14 Feb 2026 21:44:59 +0100
    Subject: [PATCH 32/87] Recommit for updates in build 59
    
    ---
     .../confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html     | 2 +-
     .../confdroid_nagios_3A_3Aserver_3A_3Aservice.html          | 6 +++---
     2 files changed, 4 insertions(+), 4 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
    index b6343a5..dba7e79 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
    @@ -148,7 +148,7 @@ class confdroid_nagios::server::access_rules (
           selrole  => object_r,
           seltype  => nagios_etc_t,
           seluser  => system_u,
    -      notify   => Exec['reload_httpd'],
    +      notify   => Exec['restart_httpd'],
         }
     
         # manage file header
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    index 9a5e1bb..8dac6fb 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    @@ -133,8 +133,8 @@ class confdroid_nagios::server::service (
       require confdroid_nagios::server::files
       if $ng_nagios_server == $fqdn {
         require confdroid_nagios::server::access_rules
    -    exec { 'reload_httpd':
    -      command     => 'systemctl reload httpd',
    +    exec { 'restart_httpd':
    +      command     => 'systemctl restart httpd',
           path        => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
           refreshonly => true,
         }
    @@ -145,7 +145,7 @@ class confdroid_nagios::server::service (
           enable     => true,
           hasrestart => true,
           hasstatus  => true,
    -      require    => Exec['reload_httpd'],
    +      require    => Exec['restart_httpd'],
         }
       }
     }
    From 58dc4cf2b06cf5072d4941e7998b393e79e40d77 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Thu, 19 Feb 2026 16:23:57 +0100 Subject: [PATCH 33/87] Recommit for updates in build 60 --- .../confdroid_nagios_3A_3Amain_3A_3Adirs.html | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html index 15febf0..e762d0e 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html @@ -289,7 +289,9 @@ 191 192 193 -194
    +194 +195 +196
    # File 'manifests/main/dirs.pp', line 6
    @@ -299,18 +301,19 @@ class confdroid_nagios::main::dirs (
     ) inherits confdroid_nagios::params {
       require confdroid_nagios::main::install
     
    -  # main directory
    -#  file { $ng_main_dir:
    -#    ensure   => directory,
    -#    path     => $ng_main_dir,
    -#    owner    => 'root',
    -#    group    => 'root',
    -#    mode     => '0755',
    -#    selrange => s0,
    -#    selrole  => object_r,
    -#    seltype  => nagios_etc_t,
    -#    seluser  => system_u,
    -#  }
    +  if $ng_nagios_server == $fqdn {
    +    # main directory
    +    file { $ng_main_dir:
    +      ensure   => directory,
    +      path     => $ng_main_dir,
    +      owner    => 'root',
    +      group    => 'root',
    +      mode     => '0755',
    +      selrange => s0,
    +      selrole  => object_r,
    +      seltype  => nagios_etc_t,
    +      seluser  => system_u,
    +    }
     
       # /usr/lib64/nagios dir required for plugins
     #  file { $ng_lib_dir:
    @@ -482,6 +485,7 @@ class confdroid_nagios::main::dirs (
     #      seluser  => system_u,
     #    }
     #  }
    +  }
     }
    From 933485959136d08a154975538196483e836f107e Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Thu, 19 Feb 2026 16:31:22 +0100 Subject: [PATCH 34/87] Recommit for updates in build 61 --- .../confdroid_nagios_3A_3Amain_3A_3Adirs.html | 66 +++++++++---------- ...nfdroid_nagios_3A_3Aserver_3A_3Afiles.html | 4 +- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html index e762d0e..788810c 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html @@ -315,6 +315,32 @@ class confdroid_nagios::main::dirs ( seluser => system_u, } + # /etc/nagios/objects + file { $ng_objects_dir: + ensure => directory, + path => $ng_objects_dir, + owner => 'root', + group => 'nagios', + mode => '0750', + selrange => s0, + selrole => object_r, + seltype => nagios_etc_t, + seluser => system_u, + } + + # /etc/nagios/private + file { $ng_private_dir: + ensure => directory, + path => $ng_private_dir, + owner => 'root', + group => 'nagios', + mode => '0750', + selrange => s0, + selrole => object_r, + seltype => nagios_etc_t, + seluser => system_u, + } + # /usr/lib64/nagios dir required for plugins # file { $ng_lib_dir: # ensure => directory, @@ -332,8 +358,8 @@ class confdroid_nagios::main::dirs ( # file { $ng_spool_dir: # ensure => directory, # path => $ng_spool_dir, -# owner => $ng_user, -# group => $ng_user, +# owner => 'nagios', +# group => 'nagios', # mode => '0755', # selrange => s0, # selrole => object_r, @@ -347,33 +373,7 @@ class confdroid_nagios::main::dirs ( # ensure => directory, # path => $ng_conf_d_dir, # owner => 'root', -# group => $ng_user, -# mode => '0750', -# selrange => s0, -# selrole => object_r, -# seltype => nagios_etc_t, -# seluser => system_u, -# } - - # /etc/nagios/objects -# file { $ng_objects_dir: -# ensure => directory, -# path => $ng_objects_dir, -# owner => 'root', -# group => $ng_user, -# mode => '0750', -# selrange => s0, -# selrole => object_r, -# seltype => nagios_etc_t, -# seluser => system_u, -# } - - # /etc/nagios/private -# file { $ng_private_dir: -# ensure => directory, -# path => $ng_private_dir, -# owner => 'root', -# group => $ng_user, +# group => 'nagios', # mode => '0750', # selrange => s0, # selrole => object_r, @@ -398,8 +398,8 @@ class confdroid_nagios::main::dirs ( # file { $ng_log_dir: # ensure => directory, # path => $ng_log_dir, -# owner => $ng_user, -# group => $ng_user, +# owner => 'nagios', +# group => 'nagios', # mode => '0750', # selrange => s0, # selrole => object_r, @@ -411,8 +411,8 @@ class confdroid_nagios::main::dirs ( # file { $ng_log_archives: # ensure => directory, # path => $ng_log_archives, -# owner => $ng_user, -# group => $ng_user, +# owner => 'nagios', +# group => 'nagios', # mode => '0750', # selrange => s0, # selrole => object_r, diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html index 330fea9..81067f7 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html @@ -127,8 +127,8 @@ class confdroid_nagios::server::files ( # if $ng_nagios_server == $fqdn { # file { $ng_nagios_cfg_file: # ensure => file, -# owner => $ng_user, -# group => $ng_user, +# owner => 'nagios', +# group => 'nagios', # mode => '0644', # content => template($ng_nagios_cfg_erb), # notify => Service[$ng_nagios_service], From 2113da203e237c8d37a22a48bb7e5ebae9887250 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Thu, 19 Feb 2026 16:50:31 +0100 Subject: [PATCH 35/87] Recommit for updates in build 62 --- doc/file.README.html | 4 ++- doc/index.html | 4 ++- .../confdroid_nagios_3A_3Amain_3A_3Adirs.html | 28 +++++++++++++++++-- 3 files changed, 31 insertions(+), 5 deletions(-) diff --git a/doc/file.README.html b/doc/file.README.html index f2ebc2d..c7d9a06 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -106,7 +106,9 @@
    • if FQDN equals the specified ng_nagios_server, nagios server with all required specs is installed, else only nagios client packages and the target specs

    • -

      if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then )

      +

      an additional directory /etc/nagios/conf.d is created to place the custom checks etc. without being overwritten by updates.

      +
    • +

      if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then)

    configuring user access

    diff --git a/doc/index.html b/doc/index.html index 04d68dc..8d46a44 100644 --- a/doc/index.html +++ b/doc/index.html @@ -106,7 +106,9 @@
    • if FQDN equals the specified ng_nagios_server, nagios server with all required specs is installed, else only nagios client packages and the target specs

    • -

      if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then )

      +

      an additional directory /etc/nagios/conf.d is created to place the custom checks etc. without being overwritten by updates.

      +
    • +

      if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then)

    configuring user access

    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html index 788810c..28d7674 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html @@ -291,7 +291,18 @@ 193 194 195 -196 +196 +197 +198 +199 +200 +201 +202 +203 +204 +205 +206 +207
    # File 'manifests/main/dirs.pp', line 6
    @@ -341,6 +352,18 @@ class confdroid_nagios::main::dirs (
           seluser  => system_u,
         }
     
    +    # /etc/nagios/conf.d
    +    file { $ng_conf_d_dir:
    +      ensure   => directory,
    +      path     => $ng_conf_d_dir,
    +      owner    => 'root',
    +      group    => 'nagios',
    +      mode     => '0750',
    +      selrange => s0,
    +      selrole  => object_r,
    +      seltype  => nagios_etc_t,
    +      seluser  => system_u,
    +    }
       # /usr/lib64/nagios dir required for plugins
     #  file { $ng_lib_dir:
     #    ensure   => directory,
    @@ -367,7 +390,7 @@ class confdroid_nagios::main::dirs (
     #    seluser  => system_u,
     #  }
     
    -#  if $fqdn == $ng_nagios_server {
    +
         # /etc/nagios/conf.d
     #    file { $ng_conf_d_dir:
     #      ensure   => directory,
    @@ -484,7 +507,6 @@ class confdroid_nagios::main::dirs (
     #      seltype  => nagios_spool_t,
     #      seluser  => system_u,
     #    }
    -#  }
       }
     }
    From 6cad7116f9966890663bad3a97ac55258c02583d Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Thu, 19 Feb 2026 17:02:05 +0100 Subject: [PATCH 36/87] Recommit for updates in build 63 --- .../confdroid_nagios_3A_3Amain_3A_3Adirs.html | 104 +++++++++++------- 1 file changed, 66 insertions(+), 38 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html index 28d7674..eabcaba 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html @@ -302,7 +302,21 @@ 204 205 206 -207 +207 +208 +209 +210 +211 +212 +213 +214 +215 +216 +217 +218 +219 +220 +221
    # File 'manifests/main/dirs.pp', line 6
    @@ -364,45 +378,32 @@ class confdroid_nagios::main::dirs (
           seltype  => nagios_etc_t,
           seluser  => system_u,
         }
    -  # /usr/lib64/nagios dir required for plugins
    -#  file { $ng_lib_dir:
    -#    ensure   => directory,
    -#    path     => $ng_lib_dir,
    -#    owner    => 'root',
    -#    group    => 'root',
    -#    mode     => '0755',
    -#    selrange => s0,
    -#    selrole  => object_r,
    -#    seltype  => lib_t,
    -#    seluser  => system_u,
    -#  }
     
    -  # /var/spool/nagios
    -#  file { $ng_spool_dir:
    -#    ensure   => directory,
    -#    path     => $ng_spool_dir,
    -#    owner    => 'nagios',
    -#    group    => 'nagios',
    -#    mode     => '0755',
    -#    selrange => s0,
    -#    selrole  => object_r,
    -#    seltype  => nagios_spool_t,
    -#    seluser  => system_u,
    -#  }
    +    # /usr/lib64/nagios dir required for plugins
    +    file { $ng_lib_dir:
    +      ensure   => directory,
    +      path     => $ng_lib_dir,
    +      owner    => 'root',
    +      group    => 'root',
    +      mode     => '0755',
    +      selrange => s0,
    +      selrole  => object_r,
    +      seltype  => lib_t,
    +      seluser  => system_u,
    +    }
     
    -
    -    # /etc/nagios/conf.d
    -#    file { $ng_conf_d_dir:
    -#      ensure   => directory,
    -#      path     => $ng_conf_d_dir,
    -#      owner    => 'root',
    -#      group    => 'nagios',
    -#      mode     => '0750',
    -#      selrange => s0,
    -#      selrole  => object_r,
    -#      seltype  => nagios_etc_t,
    -#      seluser  => system_u,
    -#    }
    +    # /var/spool/nagios
    +    file { $ng_spool_dir:
    +      ensure   => directory,
    +      path     => $ng_spool_dir,
    +      owner    => 'nagios',
    +      group    => 'nagios',
    +      mode     => '0755',
    +      selrange => s0,
    +      selrole  => object_r,
    +      seltype  => nagios_spool_t,
    +      seluser  => system_u,
    +    }
     
         # include dir
     #    file { $ng_usr_incl:
    @@ -508,6 +509,33 @@ class confdroid_nagios::main::dirs (
     #      seluser  => system_u,
     #    }
       }
    +
    +  if $ng_nagios_server  != $fqdn {
    +    # ensure client directories exist on server for potential future use
    +    file { $ng_lib_dir:
    +      ensure   => directory,
    +      path     => $ng_lib_dir,
    +      owner    => 'root',
    +      group    => 'root',
    +      mode     => '0755',
    +      selrange => s0,
    +      selrole  => object_r,
    +      seltype  => usr_t,
    +      seluser  => system_u,
    +    }
    +
    +    file { $ng_spool_dir:
    +      ensure   => directory,
    +      path     => $ng_spool_dir,
    +      owner    => 'nagios',
    +      group    => 'nagios',
    +      mode     => '0755',
    +      selrange => s0,
    +      selrole  => object_r,
    +      seltype  => nagios_spool_t,
    +      seluser  => system_u,
    +    }
    +  }
     }
    From d67a91407c143aa1b86e1c144f7c5c44b483a424 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Thu, 19 Feb 2026 17:47:54 +0100 Subject: [PATCH 37/87] Recommit for updates in build 64 --- .../confdroid_nagios_3A_3Aparams.html | 106 ++---------------- 1 file changed, 12 insertions(+), 94 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index e74ff40..c62594a 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -185,86 +185,6 @@ inherited by all classes except defines. -
  • - - ng_user - - - (String) - - - - — -
    -

    The name of the Nagios user to be created on the Nagios server. Default is ‘nagios’.

    -
    - -
  • - -
  • - - ng_u_comment - - - (String) - - - - — -
    -

    The comment field for the Nagios user. Default is ‘Nagios User’.

    -
    - -
  • - -
  • - - ng_u_groups - - - (String) - - - - — -
    -

    The group(s) to which the Nagios user should be added. Default is ‘nagios’.

    -
    - -
  • - -
  • - - ng_u_shell - - - (String) - - - - — -
    -

    The login shell for the Nagios user. Default is ‘/sbin/nologin’.

    -
    - -
  • - -
  • - - ng_u_home - - - (String) - - - - — -
    -

    The home directory for the Nagios user. Default is ‘/home/nagios’.

    -
    - -
  • -
  • ng_include_nrpe @@ -348,6 +268,16 @@ inherited by all classes except defines.
     
     
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
     37
     38
     39
    @@ -445,21 +375,10 @@ inherited by all classes except defines.
     131
     132
     133
    -134
    -135
    -136
    -137
    -138
    -139
    -140
    -141
    -142
    -143
    -144
    -145
    +134 -
    # File 'manifests/params.pp', line 37
    +        
    # File 'manifests/params.pp', line 27
     
     class confdroid_nagios::params (
     
    @@ -475,7 +394,6 @@ class confdroid_nagios::params (
     # httpd
       Boolean $ng_use_https       = false,
     
    -
     ) {
     # Default facts
       $fqdn                     = $facts['networking']['fqdn']
    
    From 43a754f741ef343f804d9659b7c847256ae5e2bb Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 21 Feb 2026 13:09:22 +0100
    Subject: [PATCH 38/87] Recommit for updates in build 65
    
    ---
     doc/file.README.html | 2 +-
     doc/index.html       | 2 +-
     2 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/doc/file.README.html b/doc/file.README.html
    index c7d9a06..940f80c 100644
    --- a/doc/file.README.html
    +++ b/doc/file.README.html
    @@ -60,7 +60,7 @@
           

    Readme

    -

    +

    • Readme

    • diff --git a/doc/index.html b/doc/index.html index 8d46a44..1ff012c 100644 --- a/doc/index.html +++ b/doc/index.html @@ -60,7 +60,7 @@

      Readme

      -

      +

      • Readme

      • From f9bd74c2c05b49db753dc10fd626bb4975ed6dad Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 21 Feb 2026 13:19:42 +0100 Subject: [PATCH 39/87] Recommit for updates in build 66 --- doc/file.README.html | 2 ++ doc/index.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/doc/file.README.html b/doc/file.README.html index 940f80c..279b121 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -98,6 +98,8 @@

        confdroid_nagios is a Puppet module allowing to fully automate the setup & configuration of the Nagios server, as well as actively adding client hosts and services to the monitoring environment through defines and PuppetDB.

        +

        At this stage, the module is being redeveloped and being built to the latest standards for Puppet 8.

        +

        WARNING

        Attention: Never use this puppet module on systems which have been previously configured manually. It is impossible to predict how and what would have been configured, hence previous configurations outside the scope of this module may be overwritten! Automated configurations require a test environment to verify that the module suits the purpose intended by the user, as well as tune the parameters, before deploying into live production

        diff --git a/doc/index.html b/doc/index.html index 1ff012c..6b6a85f 100644 --- a/doc/index.html +++ b/doc/index.html @@ -98,6 +98,8 @@

        confdroid_nagios is a Puppet module allowing to fully automate the setup & configuration of the Nagios server, as well as actively adding client hosts and services to the monitoring environment through defines and PuppetDB.

        +

        At this stage, the module is being redeveloped and being built to the latest standards for Puppet 8.

        +

        WARNING

        Attention: Never use this puppet module on systems which have been previously configured manually. It is impossible to predict how and what would have been configured, hence previous configurations outside the scope of this module may be overwritten! Automated configurations require a test environment to verify that the module suits the purpose intended by the user, as well as tune the parameters, before deploying into live production

        From c139d477e3c7cb652373986a938afbeb3f9c24dd Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 21 Feb 2026 13:34:11 +0100 Subject: [PATCH 40/87] Recommit for updates in build 67 --- .../confdroid_nagios_3A_3Amain_3A_3Adirs.html | 176 +++++++++--------- 1 file changed, 88 insertions(+), 88 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html index eabcaba..16fe139 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html @@ -406,108 +406,108 @@ class confdroid_nagios::main::dirs ( } # include dir -# file { $ng_usr_incl: -# ensure => directory, -# path => $ng_usr_incl, -# owner => 'root', -# group => 'root', -# mode => '0755', -# selrange => s0, -# selrole => object_r, -# seltype => usr_t, -# seluser => system_u, -# } + file { $ng_usr_incl: + ensure => directory, + path => $ng_usr_incl, + owner => 'root', + group => 'root', + mode => '0755', + selrange => s0, + selrole => object_r, + seltype => usr_t, + seluser => system_u, + } # log dir -# file { $ng_log_dir: -# ensure => directory, -# path => $ng_log_dir, -# owner => 'nagios', -# group => 'nagios', -# mode => '0750', -# selrange => s0, -# selrole => object_r, -# seltype => nagios_log_t, -# seluser => system_u, -# } + file { $ng_log_dir: + ensure => directory, + path => $ng_log_dir, + owner => 'nagios', + group => 'nagios', + mode => '0750', + selrange => s0, + selrole => object_r, + seltype => nagios_log_t, + seluser => system_u, + } # log archives -# file { $ng_log_archives: -# ensure => directory, -# path => $ng_log_archives, -# owner => 'nagios', -# group => 'nagios', -# mode => '0750', -# selrange => s0, -# selrole => object_r, -# seltype => nagios_log_t, -# seluser => system_u, -# } + file { $ng_log_archives: + ensure => directory, + path => $ng_log_archives, + owner => 'nagios', + group => 'nagios', + mode => '0750', + selrange => s0, + selrole => object_r, + seltype => nagios_log_t, + seluser => system_u, + } # /usr/share/nagios -# file { $ng_usr_share: -# ensure => directory, -# path => $ng_usr_share, -# owner => 'root', -# group => 'root', -# mode => '0755', -# selrange => s0#, -# selrole => object_r, -# seltype => usr_t, -# seluser => system_u, -# } + file { $ng_usr_share: + ensure => directory, + path => $ng_usr_share, + owner => 'root', + group => 'root', + mode => '0755', + selrange => s0, + selrole => object_r, + seltype => usr_t, + seluser => system_u, + } # /usr/share/nagios/html -# file { $ng_share_html: -# ensure => directory, -# path => $ng_share_html, -# owner => 'root', -# group => 'root', -# mode => '0755', -# selrange => s0, -# selrole => object_r, -# seltype => usr_t, -# seluser => system_u, -# } + file { $ng_share_html: + ensure => directory, + path => $ng_share_html, + owner => 'root', + group => 'root', + mode => '0755', + selrange => s0, + selrole => object_r, + seltype => usr_t, + seluser => system_u, + } # run dir for pid file -# file { $ng_run_dir: -# ensure => directory, -# path => $ng_run_dir, -# owner => 'nagios', -# group => 'nagios', -# mode => '0750', -# selrange => s0, -# selrole => object_r, -# seltype => nagios_var_run_t, -# seluser => system_u, -# } + file { $ng_run_dir: + ensure => directory, + path => $ng_run_dir, + owner => 'nagios', + group => 'nagios', + mode => '0750', + selrange => s0, + selrole => object_r, + seltype => nagios_var_run_t, + seluser => system_u, + } # cmd dir -# file { $ng_cmd_dir: -# ensure => directory, -# path => $ng_cmd_dir, -# owner => 'nagios', -# group => 'nagios', -# mode => '0775', -# selrange => s0, -# selrole => object_r, -# seltype => nagios_spool_t, -# seluser => system_u, -# } + file { $ng_cmd_dir: + ensure => directory, + path => $ng_cmd_dir, + owner => 'nagios', + group => 'nagios', + mode => '0775', + selrange => s0, + selrole => object_r, + seltype => nagios_spool_t, + seluser => system_u, + } # checkresults dir -# file { $ng_checkresults_dir: -# ensure => directory, -# path => $ng_checkresults_dir, -# owner => 'nagios', -# group => 'nagios', -# mode => '0770', -# selrange => s0, -# selrole => object_r, -# seltype => nagios_spool_t, -# seluser => system_u, -# } + file { $ng_checkresults_dir: + ensure => directory, + path => $ng_checkresults_dir, + owner => 'nagios', + group => 'nagios', + mode => '0770', + selrange => s0, + selrole => object_r, + seltype => nagios_spool_t, + seluser => system_u, + } } if $ng_nagios_server != $fqdn { From fe5553494362171556931861c7ace3c2f6505190 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 21 Feb 2026 13:45:51 +0100 Subject: [PATCH 41/87] Recommit for updates in build 68 --- doc/file.README.html | 2 ++ doc/index.html | 2 ++ .../confdroid_nagios_3A_3Aparams.html | 32 ++++++++++++++++--- ...nfdroid_nagios_3A_3Aserver_3A_3Afiles.html | 20 ++++++------ 4 files changed, 42 insertions(+), 14 deletions(-) diff --git a/doc/file.README.html b/doc/file.README.html index 279b121..346baea 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -111,6 +111,8 @@

        an additional directory /etc/nagios/conf.d is created to place the custom checks etc. without being overwritten by updates.

      • if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then)

        +
      • +

        configures all required directories for server and clients and sets proper permissions and selinux contexts

      configuring user access

      diff --git a/doc/index.html b/doc/index.html index 6b6a85f..a9f8a41 100644 --- a/doc/index.html +++ b/doc/index.html @@ -111,6 +111,8 @@

      an additional directory /etc/nagios/conf.d is created to place the custom checks etc. without being overwritten by updates.

    • if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then)

      +
    • +

      configures all required directories for server and clients and sets proper permissions and selinux contexts

    configuring user access

    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index c62594a..0373d7c 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -253,6 +253,24 @@ inherited by all classes except defines. —

    The encrypted password for the Nagios web interface. Default is ‘nagios’. Must be properly encrypted using the htpasswd utility.

    +
    + +
  • + +
  • + + ng_context_help + + + (String) + + + (defaults to: '1') + + + — +
    +

    Whether to enable the context help in the Nagios web interface. Default is ‘1’.

  • @@ -268,8 +286,6 @@ inherited by all classes except defines.
     
     
    -27
    -28
     29
     30
     31
    @@ -375,10 +391,15 @@ inherited by all classes except defines.
     131
     132
     133
    -134
    +134 +135 +136 +137 +138 +139 -
    # File 'manifests/params.pp', line 27
    +        
    # File 'manifests/params.pp', line 29
     
     class confdroid_nagios::params (
     
    @@ -391,6 +412,9 @@ class confdroid_nagios::params (
       String $ng_main_user              = 'nagios',
       String $ng_main_password          = 'nagios',
     
    +# cgi
    +  String $ng_context_help           = '1',
    +
     # httpd
       Boolean $ng_use_https       = false,
     
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    index 81067f7..f4b96a1 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    @@ -124,16 +124,16 @@ class confdroid_nagios::server::files (
     
     ) inherits confdroid_nagios::params {
       require confdroid_nagios::main::dirs
    -#  if $ng_nagios_server == $fqdn {
    -#    file { $ng_nagios_cfg_file:
    -#      ensure  => file,
    -#      owner   => 'nagios',
    -#      group   => 'nagios',
    -#      mode    => '0644',
    -#      content => template($ng_nagios_cfg_erb),
    -#      notify  => Service[$ng_nagios_service],
    -#    }
    -#  }
    +  if $ng_nagios_server == $fqdn {
    +    file { $ng_nagios_cfg_file:
    +      ensure  => file,
    +      owner   => 'nagios',
    +      group   => 'nagios',
    +      mode    => '0644',
    +      content => template($ng_nagios_cfg_erb),
    +      notify  => Service[$ng_nagios_service],
    +    }
    +  }
     }
    From ff956142a6f344788f80e725b93f3fea50ad9606 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 21 Feb 2026 14:05:20 +0100 Subject: [PATCH 42/87] Recommit for updates in build 69 --- doc/file.README.html | 6 ++-- doc/index.html | 6 ++-- .../confdroid_nagios_3A_3Amain_3A_3Adirs.html | 6 ++-- .../confdroid_nagios_3A_3Aparams.html | 34 ++++++++++++++++--- 4 files changed, 40 insertions(+), 12 deletions(-) diff --git a/doc/file.README.html b/doc/file.README.html index 346baea..be632c6 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -110,9 +110,11 @@
  • an additional directory /etc/nagios/conf.d is created to place the custom checks etc. without being overwritten by updates.

  • -

    if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then)

    -
  • configures all required directories for server and clients and sets proper permissions and selinux contexts

    +
  • +

    configures the main nagios configuration file and sets values as (pre)configured per values in params, which can be overwritten.

    +
  • +

    if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then)

  • configuring user access

    diff --git a/doc/index.html b/doc/index.html index a9f8a41..9aff812 100644 --- a/doc/index.html +++ b/doc/index.html @@ -110,9 +110,11 @@
  • an additional directory /etc/nagios/conf.d is created to place the custom checks etc. without being overwritten by updates.

  • -

    if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then)

    -
  • configures all required directories for server and clients and sets proper permissions and selinux contexts

    +
  • +

    configures the main nagios configuration file and sets values as (pre)configured per values in params, which can be overwritten.

    +
  • +

    if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then)

  • configuring user access

    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html index 16fe139..1e5cbbc 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html @@ -476,7 +476,7 @@ class confdroid_nagios::main::dirs ( path => $ng_run_dir, owner => 'nagios', group => 'nagios', - mode => '0750', + mode => '0755', selrange => s0, selrole => object_r, seltype => nagios_var_run_t, @@ -489,7 +489,7 @@ class confdroid_nagios::main::dirs ( path => $ng_cmd_dir, owner => 'nagios', group => 'nagios', - mode => '0775', + mode => '2775', selrange => s0, selrole => object_r, seltype => nagios_spool_t, @@ -502,7 +502,7 @@ class confdroid_nagios::main::dirs ( path => $ng_checkresults_dir, owner => 'nagios', group => 'nagios', - mode => '0770', + mode => '0750', selrange => s0, selrole => object_r, seltype => nagios_spool_t, diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 0373d7c..8abb7dd 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -271,6 +271,24 @@ inherited by all classes except defines. —

    Whether to enable the context help in the Nagios web interface. Default is ‘1’.

    +
    + + + +
  • + + ng_log_file + + + (String) + + + (defaults to: '/var/log/nagios/nagios.log') + + + — +
    +

    The path to the Nagios log file. Default is ‘/var/log/nagios/nagios.log’.

  • @@ -286,8 +304,6 @@ inherited by all classes except defines.
     
     
    -29
    -30
     31
     32
     33
    @@ -396,10 +412,15 @@ inherited by all classes except defines.
     136
     137
     138
    -139
    +139 +140 +141 +142 +143 +144
    -
    # File 'manifests/params.pp', line 29
    +        
    # File 'manifests/params.pp', line 31
     
     class confdroid_nagios::params (
     
    @@ -412,7 +433,10 @@ class confdroid_nagios::params (
       String $ng_main_user              = 'nagios',
       String $ng_main_password          = 'nagios',
     
    -# cgi
    +# nagios.cfg
    +  String $ng_log_file              = '/var/log/nagios/nagios.log',
    +
    +# cgi.cfg
       String $ng_context_help           = '1',
     
     # httpd
    
    From e7901aee45acbba0fa9709961b640ffd84b47175 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 21 Feb 2026 14:22:21 +0100
    Subject: [PATCH 43/87] Recommit for updates in build 71
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 56 +++++++++----------
     1 file changed, 28 insertions(+), 28 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 8abb7dd..d4147f9 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -472,34 +472,6 @@ class confdroid_nagios::params (
       $ng_nagios_cfg_file         = "${ng_main_dir}/nagios.cfg"
       $ng_nagios_cfg_erb          = 'confdroid_nagios/nagios/nagios_cfg.erb'
     
    -## old
    -  $ng_main_config             = "${ng_main_dir}/nagios.cfg"
    -  $ng_cgi_cfg_file            = "${ng_main_dir}/cgi.cfg"
    -  $ng_cgi_cfg_erb             = 'confdroid_nagios/nagios/cgi_cfg.erb'
    -  $ng_htpasswd_file           = "${ng_main_dir}/passwd"
    -  $ng_htpasswd_head           = 'confdroid_nagios/nagios/htpasswd_head.erb'
    -  $ng_htpasswd_rule           = 'confdroid_nagios/nagios/htpasswd_rule.erb'
    -  $ng_taccgi_erb              = 'confdroid_nagios/selinux/taccgi.erb'
    -  $ng_statcgi_erb             = 'confdroid_nagios/selinux/statuscgi.erb'
    -  $ng_statdat_erb             = 'confdroid_nagios/selinux/statusdat.erb'
    -  $ng_checknrpe_erb           = 'confdroid_nagios/selinux/checknrpe.erb'
    -  $ng_checknagios_erb         = 'confdroid_nagios/selinux/checknagios.erb'
    -  $ng_nagios_conf             = '/etc/httpd/conf.d/nagios.conf'
    -  $ng_nagios_conf_erb         = 'confdroid_nagios/httpd/nagios_conf.erb'
    -  $ng_welcome_conf            = '/etc/httpd/conf.d/welcome.conf'
    -  $ng_welcome_conf_erb        = 'confdroid_nagios/httpd/welcome_conf.erb'
    -  $ng_forward_conf            = '/etc/httpd/conf.d/nagios_forward.conf'
    -  $ng_forward_conf_erb        = 'confdroid_nagios/httpd/forward_conf.erb'
    -  $ng_get_cert_erb            = 'confdroid_nagios/certbot/get_cert.erb'
    -  $ng_unless_get_cert         = 'confdroid_nagios/certbot/unless_get_cert.erb'
    -  $ng_unless_renew_erb        = 'confdroid_nagios/certbot/unless_renew_cert.erb'
    -  $ng_index_html_file         = '/var/www/html/index.html'
    -  $ng_index_html_erb          = 'confdroid_nagios/httpd/index_html.erb'
    -  $ng_ssl_vhost_file          = '/etc/httpd/conf.d/nagios_ssl.conf'
    -  $ng_ssl_vhost_erb           = 'confdroid_nagios/httpd/nagios_ssl_vhost.erb'
    -  $ng_resource_erb            = 'confdroid_nagios/nagios/resource_cfg.erb'
    -  $ng_grep_erb                = 'confdroid_nagios/selinux/grep.erb'
    -
     # nagios
       $ng_target_templates        = "${ng_conf_d_dir}/nagios_templates.cfg"
       $ng_templates_head_erb      = 'confdroid_nagios/nagios/templates_cfg_head.erb'
    @@ -533,6 +505,34 @@ class confdroid_nagios::params (
       $ng_target_command          = "${ng_conf_d_dir}/nagios_commands_base.cfg"
       $ng_nagios_service_cmd      = 'check_nagios!/var/log/nagios/status.dat!5!/usr/sbin/nagios'
     
    +## old
    +  $ng_main_config             = "${ng_main_dir}/nagios.cfg"
    +  $ng_cgi_cfg_file            = "${ng_main_dir}/cgi.cfg"
    +  $ng_cgi_cfg_erb             = 'confdroid_nagios/nagios/cgi_cfg.erb'
    +  $ng_htpasswd_file           = "${ng_main_dir}/passwd"
    +  $ng_htpasswd_head           = 'confdroid_nagios/nagios/htpasswd_head.erb'
    +  $ng_htpasswd_rule           = 'confdroid_nagios/nagios/htpasswd_rule.erb'
    +  $ng_taccgi_erb              = 'confdroid_nagios/selinux/taccgi.erb'
    +  $ng_statcgi_erb             = 'confdroid_nagios/selinux/statuscgi.erb'
    +  $ng_statdat_erb             = 'confdroid_nagios/selinux/statusdat.erb'
    +  $ng_checknrpe_erb           = 'confdroid_nagios/selinux/checknrpe.erb'
    +  $ng_checknagios_erb         = 'confdroid_nagios/selinux/checknagios.erb'
    +  $ng_nagios_conf             = '/etc/httpd/conf.d/nagios.conf'
    +  $ng_nagios_conf_erb         = 'confdroid_nagios/httpd/nagios_conf.erb'
    +  $ng_welcome_conf            = '/etc/httpd/conf.d/welcome.conf'
    +  $ng_welcome_conf_erb        = 'confdroid_nagios/httpd/welcome_conf.erb'
    +  $ng_forward_conf            = '/etc/httpd/conf.d/nagios_forward.conf'
    +  $ng_forward_conf_erb        = 'confdroid_nagios/httpd/forward_conf.erb'
    +  $ng_get_cert_erb            = 'confdroid_nagios/certbot/get_cert.erb'
    +  $ng_unless_get_cert         = 'confdroid_nagios/certbot/unless_get_cert.erb'
    +  $ng_unless_renew_erb        = 'confdroid_nagios/certbot/unless_renew_cert.erb'
    +  $ng_index_html_file         = '/var/www/html/index.html'
    +  $ng_index_html_erb          = 'confdroid_nagios/httpd/index_html.erb'
    +  $ng_ssl_vhost_file          = '/etc/httpd/conf.d/nagios_ssl.conf'
    +  $ng_ssl_vhost_erb           = 'confdroid_nagios/httpd/nagios_ssl_vhost.erb'
    +  $ng_resource_erb            = 'confdroid_nagios/nagios/resource_cfg.erb'
    +  $ng_grep_erb                = 'confdroid_nagios/selinux/grep.erb'
    +
     # includes must be last
       include confdroid_nagios::main::config
     }
    From 102a5642bf05f5c0b7404d631268dfc2758d6ad7 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 21 Feb 2026 14:31:35 +0100 Subject: [PATCH 44/87] Recommit for updates in build 72 --- ...nfdroid_nagios_3A_3Aserver_3A_3Afiles.html | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html index f4b96a1..d5442b2 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html @@ -115,7 +115,21 @@ 17 18 19 -20
    +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34
    # File 'manifests/server/files.pp', line 6
    @@ -133,6 +147,20 @@ class confdroid_nagios::server::files (
           content => template($ng_nagios_cfg_erb),
           notify  => Service[$ng_nagios_service],
         }
    +    # custom cfg files
    +    ## temp place holder, this will be done via defines 
    +    ## and PuppetDB exports and imports in the future
    +    file { $ng_target_command:
    +      ensure   => file,
    +      owner    => 'nagios',
    +      group    => 'nagios',
    +      mode     => '0644',
    +      selrange => s0,
    +      selrole  => object_r,
    +      seltype  => nagios_etc_t,
    +      seluser  => system_u,
    +      notify   => Service[$ng_nagios_service],
    +    }
       }
     }
    From d1e6332865ec3856176a230662d5e373373bb37e Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 28 Feb 2026 15:54:09 +0100 Subject: [PATCH 45/87] Recommit for updates in build 77 --- doc/file.README.html | 26 ++++++++++++++++++- doc/index.html | 26 ++++++++++++++++++- .../confdroid_nagios_3A_3Aparams.html | 10 +++---- 3 files changed, 55 insertions(+), 7 deletions(-) diff --git a/doc/file.README.html b/doc/file.README.html index be632c6..da85cf0 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -71,6 +71,8 @@

    Features

  • Repo Documentation

    @@ -119,7 +121,29 @@

    configuring user access

    -

    ToDo

    +

    Main access to the user interface requires defining an administrative user and password via ng_main_user and ng_main_password. The password should be encrypted like this:

    + +
    htpasswd -B -n  testuser
    +New password: 
    +Re-type new password:
    +
    + +

    This results in

    + +
    testuser: $2y$05$rNy/P22OfYZlpdEPnCAIg.OUizRD34P7pDRwUGiaYjH44PcRuZ2ia
    +
    + +

    Use that value to override the default password in ENC or Hiera, if you use it.

    + +

    Additional users

    + +

    The main user is automatically created. If you want to add more users, this should be done via the define confdroid_nagios::server::access. In your control repo, site.pp etc. address the access define like this:

    + +
    confdroid_nagios::server::access { 'example':
    +  ng_htpasswd_user     => 'example_user',
    +  ng_htpasswd_password => 'example_password_encrypted'
    +}
    +

    Repo Documentation

    diff --git a/doc/index.html b/doc/index.html index 9aff812..878ea09 100644 --- a/doc/index.html +++ b/doc/index.html @@ -71,6 +71,8 @@

    Features

  • Repo Documentation

    @@ -119,7 +121,29 @@

    configuring user access

    -

    ToDo

    +

    Main access to the user interface requires defining an administrative user and password via ng_main_user and ng_main_password. The password should be encrypted like this:

    + +
    htpasswd -B -n  testuser
    +New password: 
    +Re-type new password:
    +
    + +

    This results in

    + +
    testuser: $2y$05$rNy/P22OfYZlpdEPnCAIg.OUizRD34P7pDRwUGiaYjH44PcRuZ2ia
    +
    + +

    Use that value to override the default password in ENC or Hiera, if you use it.

    + +

    Additional users

    + +

    The main user is automatically created. If you want to add more users, this should be done via the define confdroid_nagios::server::access. In your control repo, site.pp etc. address the access define like this:

    + +
    confdroid_nagios::server::access { 'example':
    +  ng_htpasswd_user     => 'example_user',
    +  ng_htpasswd_password => 'example_password_encrypted'
    +}
    +

    Repo Documentation

    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index d4147f9..a6dd74d 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -434,13 +434,13 @@ class confdroid_nagios::params ( String $ng_main_password = 'nagios', # nagios.cfg - String $ng_log_file = '/var/log/nagios/nagios.log', + String $ng_log_file = '/var/log/nagios/nagios.log', # cgi.cfg String $ng_context_help = '1', # httpd - Boolean $ng_use_https = false, + Boolean $ng_use_https = false, ) { # Default facts @@ -504,14 +504,14 @@ class confdroid_nagios::params ( $ng_cntctgrps_rule_erb = 'confdroid_nagios/nagios/contactgroups_cfg_rule.erb' $ng_target_command = "${ng_conf_d_dir}/nagios_commands_base.cfg" $ng_nagios_service_cmd = 'check_nagios!/var/log/nagios/status.dat!5!/usr/sbin/nagios' + $ng_htpasswd_file = "${ng_main_dir}/passwd" + $ng_htpasswd_head = 'confdroid_nagios/nagios/htpasswd_head.erb' + $ng_htpasswd_rule = 'confdroid_nagios/nagios/htpasswd_rule.erb' ## old $ng_main_config = "${ng_main_dir}/nagios.cfg" $ng_cgi_cfg_file = "${ng_main_dir}/cgi.cfg" $ng_cgi_cfg_erb = 'confdroid_nagios/nagios/cgi_cfg.erb' - $ng_htpasswd_file = "${ng_main_dir}/passwd" - $ng_htpasswd_head = 'confdroid_nagios/nagios/htpasswd_head.erb' - $ng_htpasswd_rule = 'confdroid_nagios/nagios/htpasswd_rule.erb' $ng_taccgi_erb = 'confdroid_nagios/selinux/taccgi.erb' $ng_statcgi_erb = 'confdroid_nagios/selinux/statuscgi.erb' $ng_statdat_erb = 'confdroid_nagios/selinux/statusdat.erb' From d6ae4ad77115c2b1c09e78783b3621a324ca920e Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 28 Feb 2026 16:18:15 +0100 Subject: [PATCH 46/87] Recommit for updates in build 78 --- doc/_index.html | 10 + doc/puppet_class_list.html | 17 +- ...onfdroid_nagios_3A_3Amain_3A_3Aconfig.html | 12 +- ...3Anagios_3A_3Aresources_3A_3Aresource.html | 210 ++++++++++++++++ .../confdroid_nagios_3A_3Aparams.html | 8 +- ...droid_nagios_3A_3Aserver_3A_3Aservice.html | 4 +- doc/puppet_defined_type_list.html | 9 +- ...agios_3A_3Aresources_3A_3Aresource_df.html | 227 ++++++++++++++++++ ...fdroid_nagios_3A_3Aserver_3A_3Aaccess.html | 4 +- 9 files changed, 487 insertions(+), 14 deletions(-) create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html create mode 100644 doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html diff --git a/doc/_index.html b/doc/_index.html index fd87216..a3d8f75 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -93,6 +93,11 @@
  • +
  • + confdroid_nagios::nagios::resources::resource + +
  • +
  • confdroid_nagios::params @@ -139,6 +144,11 @@
  • C
    • +
    • + confdroid_nagios::nagios::resources::resource_df + +
    • +
    • confdroid_nagios::server::access diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index 8379b72..09f9a1b 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -75,35 +75,42 @@
    • -
    • +
    • + +
    • + + +
    • -
    • +
    • -
    • +
    • -
    • +
    • -
    • +
    • diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html index 1f7d3c9..8597b86 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html @@ -106,7 +106,11 @@ 8 9 10 -11 +11 +12 +13 +14 +15
      # File 'manifests/main/config.pp', line 6
      @@ -114,7 +118,11 @@
       class confdroid_nagios::main::config (
       
       ) inherits confdroid_nagios::params {
      -  include confdroid_nagios::server::service
      +  if $fqdn == $ng_nagios_server {
      +    include confdroid_nagios::server::service
      +    include confdroid_nagios::nagios::resources::resource
      +  }
      +
         include confdroid_nagios::client::target
       }
      diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html new file mode 100644 index 0000000..025ae25 --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html @@ -0,0 +1,210 @@ + + + + + + + Puppet Class: confdroid_nagios::nagios::resources::resource + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
      + + +

      Puppet Class: confdroid_nagios::nagios::resources::resource

      +
      + +
      +
      Inherits:
      +
      confdroid_nagios::params
      +
      + + +
      +
      Defined in:
      +
      + manifests/nagios/resources/resource.pp +
      +
      +
      + +

      Summary

      + Class manages the resource config file header. + +

      Overview

      +
      +
      + +

      confdroid_nagios::nagios::resources::resource.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com) }

      + +
      +
      + + + +
      + +
      +

      Examples:

      + + +

      +

      concat::fragment { “user_rule_plugins”:

      +

      + +
      ng_user_arg_name    => "$user1$",
      +ng_user_arg_value   => '/usr/lib64/nagios/plugins',
      +ng_user_arg_comment => "Sets $USER1$ to be the path to the plugins",
      + +
      + + + +
      + + + + + +
      +
      +
      +
      +11
      +12
      +13
      +14
      +15
      +16
      +17
      +18
      +19
      +20
      +21
      +22
      +23
      +24
      +25
      +26
      +27
      +28
      +29
      +30
      +31
      +32
      +33
      +34
      +35
      +36
      +37
      +38
      +39
      +40
      +41
      +42
      +43
      +44
      +45
      +46
      +47
      +48
      +
      +
      # File 'manifests/nagios/resources/resource.pp', line 11
      +
      +class confdroid_nagios::nagios::resources::resource (
      +
      +) inherits confdroid_nagios::params {
      +  if $fqdn == $ng_nagios_server {
      +    concat { $ng_resource_file:
      +      ensure   => present,
      +      owner    => 'root',
      +      group    => $ng_user,
      +      mode     => '0640',
      +      selrange => s0,
      +      selrole  => object_r,
      +      seltype  => nagios_etc_t,
      +      seluser  => system_u,
      +      notify   => Service[$ng_service],
      +    }
      +
      +    concat::fragment { 'header':
      +      target  => $ng_resource_file,
      +      content => template($ng_resource_erb),
      +      order   => '000',
      +    }
      +
      +    # plugins rule
      +
      +    confdroid_nagios::nagios::resources::resource_df { 'user_rule_plugins':
      +      ng_user_arg_name    => 'USER1',
      +      ng_user_arg_value   => '/usr/lib64/nagios/plugins/',
      +      ng_user_arg_comment => 'Sets user1 to be the path to the plugins',
      +    }
      +
      +    # eventhandlers rule
      +    confdroid_nagios::nagios::resources::resource_df { 'user_rule_eventhandlers':
      +      ng_user_arg_name    => 'USER2',
      +      ng_user_arg_value   => '/usr/lib64/nagios/plugins/eventhandlers/',
      +      ng_user_arg_comment => 'Sets user2 to be the path to the eventhandlers',
      +    }
      +  }
      +}
      +
      +
      +
      + + + +
      + + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index a6dd74d..3ea5a4c 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -83,6 +83,8 @@ confdroid_nagios::server::access_rules
      + confdroid_nagios::nagios::resources::resource
      + @@ -417,7 +419,8 @@ inherited by all classes except defines. 141 142 143 -144 +144 +145
      # File 'manifests/params.pp', line 31
      @@ -507,6 +510,8 @@ class confdroid_nagios::params (
         $ng_htpasswd_file           = "${ng_main_dir}/passwd"
         $ng_htpasswd_head           = 'confdroid_nagios/nagios/htpasswd_head.erb'
         $ng_htpasswd_rule           = 'confdroid_nagios/nagios/htpasswd_rule.erb'
      +  $ng_resource_file           = '/etc/nagios/private/resource.cfg'
      +  $ng_resource_erb            = 'confdroid_nagios/nagios/resource_cfg.erb'
       
       ## old
         $ng_main_config             = "${ng_main_dir}/nagios.cfg"
      @@ -530,7 +535,6 @@ class confdroid_nagios::params (
         $ng_index_html_erb          = 'confdroid_nagios/httpd/index_html.erb'
         $ng_ssl_vhost_file          = '/etc/httpd/conf.d/nagios_ssl.conf'
         $ng_ssl_vhost_erb           = 'confdroid_nagios/httpd/nagios_ssl_vhost.erb'
      -  $ng_resource_erb            = 'confdroid_nagios/nagios/resource_cfg.erb'
         $ng_grep_erb                = 'confdroid_nagios/selinux/grep.erb'
       
       # includes must be last
      diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
      index 8dac6fb..92da8db 100644
      --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
      +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
      @@ -122,7 +122,8 @@
       24
       25
       26
      -27
      +27 +28
      # File 'manifests/server/service.pp', line 6
      @@ -133,6 +134,7 @@ class confdroid_nagios::server::service (
         require confdroid_nagios::server::files
         if $ng_nagios_server == $fqdn {
           require confdroid_nagios::server::access_rules
      +
           exec { 'restart_httpd':
             command     => 'systemctl restart httpd',
             path        => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
      diff --git a/doc/puppet_defined_type_list.html b/doc/puppet_defined_type_list.html
      index cffa239..8310ff9 100644
      --- a/doc/puppet_defined_type_list.html
      +++ b/doc/puppet_defined_type_list.html
      @@ -40,7 +40,14 @@
             
        -
      • +
      • + +
      • + + +
      • diff --git a/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html b/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html new file mode 100644 index 0000000..14cb31c --- /dev/null +++ b/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html @@ -0,0 +1,227 @@ + + + + + + + Defined Type: confdroid_nagios::nagios::resources::resource_df + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
        + + +

        Defined Type: confdroid_nagios::nagios::resources::resource_df

        +
        +
        +
        Defined in:
        +
        + manifests/nagios/resources/resource_df.pp +
        +
        +
        + +

        Summary

        + define manages the resources in/etc/nagios/private/resources.cfg + +

        Overview

        +
        +
        + +

        confdroid_nagios::nagios::resources::resource_df.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@ConfDroid.com)

        + +
        +
        + + + +
        +

        Parameters:

        +
          + +
        • + + ng_user_arg_name + + + (Optional[String]) + + + (defaults to: undef) + + + — +
          +

          the name of user argument i.e. $user1$

          +
          + +
        • + +
        • + + ng_user_arg_value + + + (Optional[String]) + + + (defaults to: undef) + + + — +
          +

          the value of t user argument i.e. $user1$

          +
          + +
        • + +
        • + + ng_user_arg_comment + + + (Optional[String]) + + + (defaults to: undef) + + + — +
          +

          the argument i.e. $user1$

          +
          + +
        • + +
        • + + ng_resource_rule_erb + + + (String) + + + (defaults to: 'confdroid_nagios/nagios/resource_cfg_rule.erb') + + + — +
          +

          resource rule #

          +
          + +
        • + +
        + + + +
        + + + + + +
        +
        +
        +
        +10
        +11
        +12
        +13
        +14
        +15
        +16
        +17
        +18
        +19
        +20
        +21
        +22
        +23
        +24
        +25
        +26
        +27
        +28
        +
        +
        # File 'manifests/nagios/resources/resource_df.pp', line 10
        +
        +define confdroid_nagios::nagios::resources::resource_df (
        +
        +  Optional[String] $ng_user_arg_name     = undef,
        +  Optional[String] $ng_user_arg_value    = undef,
        +  Optional[String] $ng_user_arg_comment  = undef,
        +  String $ng_resource_rule_erb           = 'confdroid_nagios/nagios/resource_cfg_rule.erb',
        +
        +) {
        +  $ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
        +  $ng_resource_file = $confdroid_nagios::params::ng_resource_file
        +
        +  if $fqdn == $ng_nagios_server {
        +    concat::fragment { "rule_${name}":
        +      target  => $ng_resource_file,
        +      content => template($ng_resource_rule_erb),
        +      order   => '000',
        +    }
        +  }
        +}
        +
        +
        +
        + + + +
        + + \ No newline at end of file diff --git a/doc/puppet_defined_types/confdroid_nagios_3A_3Aserver_3A_3Aaccess.html b/doc/puppet_defined_types/confdroid_nagios_3A_3Aserver_3A_3Aaccess.html index 5a1508a..77d34be 100644 --- a/doc/puppet_defined_types/confdroid_nagios_3A_3Aserver_3A_3Aaccess.html +++ b/doc/puppet_defined_types/confdroid_nagios_3A_3Aserver_3A_3Aaccess.html @@ -161,8 +161,7 @@ 26 27 28 -29 -30
      +29
      # File 'manifests/server/access.pp', line 13
      @@ -178,7 +177,6 @@ define confdroid_nagios::server::access (
       
         if $fqdn == $ng_nagios_server {
           # create password rules
      -
           concat::fragment { $name:
             target  => $ng_htpasswd_file,
             content => template($ng_htpasswd_rule),
      
      From c07c947a58934ca64b96eeccd566a6bd9283f584 Mon Sep 17 00:00:00 2001
      From: Jenkins Server 
      Date: Sat, 28 Feb 2026 16:40:27 +0100
      Subject: [PATCH 47/87] Recommit for updates in build 79
      
      ---
       ...nfdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html | 2 +-
       1 file changed, 1 insertion(+), 1 deletion(-)
      
      diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html
      index 025ae25..840ef8e 100644
      --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html
      +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html
      @@ -164,7 +164,7 @@ class confdroid_nagios::nagios::resources::resource (
           concat { $ng_resource_file:
             ensure   => present,
             owner    => 'root',
      -      group    => $ng_user,
      +      group    => 'nagios',
             mode     => '0640',
             selrange => s0,
             selrole  => object_r,
      
      From e4dd2ba22caeabcaf9670407aa59b8457270e976 Mon Sep 17 00:00:00 2001
      From: Jenkins Server 
      Date: Sat, 28 Feb 2026 16:42:37 +0100
      Subject: [PATCH 48/87] Recommit for updates in build 80
      
      ---
       ...nfdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html | 2 +-
       1 file changed, 1 insertion(+), 1 deletion(-)
      
      diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html
      index 840ef8e..b6b9ac0 100644
      --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html
      +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html
      @@ -170,7 +170,7 @@ class confdroid_nagios::nagios::resources::resource (
             selrole  => object_r,
             seltype  => nagios_etc_t,
             seluser  => system_u,
      -      notify   => Service[$ng_service],
      +      notify   => Service[$ng_nagios_service],
           }
       
           concat::fragment { 'header':
      
      From a8e1a45e23f1a3a7c976f57fb4dfe9dd601223df Mon Sep 17 00:00:00 2001
      From: Jenkins Server 
      Date: Sat, 28 Feb 2026 16:45:52 +0100
      Subject: [PATCH 49/87] Recommit for updates in build 81
      
      ---
       ...id_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html | 4 +++-
       1 file changed, 3 insertions(+), 1 deletion(-)
      
      diff --git a/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html b/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html
      index 14cb31c..0b93969 100644
      --- a/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html
      +++ b/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html
      @@ -188,7 +188,8 @@
       25
       26
       27
      -28
      +28 +29
      # File 'manifests/nagios/resources/resource_df.pp', line 10
      @@ -203,6 +204,7 @@ define confdroid_nagios::nagios::resources::resource_df (
       ) {
         $ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
         $ng_resource_file = $confdroid_nagios::params::ng_resource_file
      +  $fqdn = $facts['networking']['fqdn']
       
         if $fqdn == $ng_nagios_server {
           concat::fragment { "rule_${name}":
      
      From 8bab253131b3601fb83def93d50d43c9b72cbc80 Mon Sep 17 00:00:00 2001
      From: Jenkins Server 
      Date: Sat, 28 Feb 2026 17:00:45 +0100
      Subject: [PATCH 50/87] Recommit for updates in build 82
      
      ---
       doc/_index.html                               |   5 +
       doc/puppet_class_list.html                    |  19 +-
       ...onfdroid_nagios_3A_3Amain_3A_3Aconfig.html |   4 +-
       ...A_3Anagios_3A_3Aobjects_3A_3Acommands.html | 549 ++++++++++++++++++
       .../confdroid_nagios_3A_3Aparams.html         |   2 +
       ...droid_nagios_3A_3Aserver_3A_3Aservice.html |   6 +-
       6 files changed, 575 insertions(+), 10 deletions(-)
       create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html
      
      diff --git a/doc/_index.html b/doc/_index.html
      index a3d8f75..2a08764 100644
      --- a/doc/_index.html
      +++ b/doc/_index.html
      @@ -93,6 +93,11 @@
             
                   
    • +
    • + confdroid_nagios::nagios::objects::commands + +
    • +
    • confdroid_nagios::nagios::resources::resource diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index 09f9a1b..ee41efd 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -75,42 +75,49 @@
    • -
    • +
    • + +
    • + + +
    • -
    • +
    • -
    • +
    • -
    • +
    • -
    • +
    • -
    • +
    • diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html index 8597b86..884d72a 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html @@ -109,8 +109,7 @@ 11 12 13 -14 -15 +14
      # File 'manifests/main/config.pp', line 6
      @@ -120,7 +119,6 @@ class confdroid_nagios::main::config (
       ) inherits confdroid_nagios::params {
         if $fqdn == $ng_nagios_server {
           include confdroid_nagios::server::service
      -    include confdroid_nagios::nagios::resources::resource
         }
       
         include confdroid_nagios::client::target
      diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html
      new file mode 100644
      index 0000000..6514fdb
      --- /dev/null
      +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html
      @@ -0,0 +1,549 @@
      +
      +
      +  
      +    
      +
      +
      +  Puppet Class: confdroid_nagios::nagios::objects::commands
      +  
      +    — Documentation by YARD 0.9.36
      +  
      +
      +
      +  
      +
      +  
      +
      +
      +
      +
      +  
      +
      +  
      +
      +
      +  
      +  
      +    
      +
      +    
      + + +

      Puppet Class: confdroid_nagios::nagios::objects::commands

      +
      + +
      +
      Inherits:
      +
      confdroid_nagios::params
      +
      + + +
      +
      Defined in:
      +
      + manifests/nagios/objects/commands.pp +
      +
      +
      + +

      Summary

      + Class manages all commands known to NAGIOS through Puppet exports, +and populates /etc/nagios/conf.d/nagios_commands.cfg. + +

      Overview

      +
      +
      + +
      +
      + + + +
      + + + +
      + + + + + +
      +
      +
      +
      +8
      +9
      +10
      +11
      +12
      +13
      +14
      +15
      +16
      +17
      +18
      +19
      +20
      +21
      +22
      +23
      +24
      +25
      +26
      +27
      +28
      +29
      +30
      +31
      +32
      +33
      +34
      +35
      +36
      +37
      +38
      +39
      +40
      +41
      +42
      +43
      +44
      +45
      +46
      +47
      +48
      +49
      +50
      +51
      +52
      +53
      +54
      +55
      +56
      +57
      +58
      +59
      +60
      +61
      +62
      +63
      +64
      +65
      +66
      +67
      +68
      +69
      +70
      +71
      +72
      +73
      +74
      +75
      +76
      +77
      +78
      +79
      +80
      +81
      +82
      +83
      +84
      +85
      +86
      +87
      +88
      +89
      +90
      +91
      +92
      +93
      +94
      +95
      +96
      +97
      +98
      +99
      +100
      +101
      +102
      +103
      +104
      +105
      +106
      +107
      +108
      +109
      +110
      +111
      +112
      +113
      +114
      +115
      +116
      +117
      +118
      +119
      +120
      +121
      +122
      +123
      +124
      +125
      +126
      +127
      +128
      +129
      +130
      +131
      +132
      +133
      +134
      +135
      +136
      +137
      +138
      +139
      +140
      +141
      +142
      +143
      +144
      +145
      +146
      +147
      +148
      +149
      +150
      +151
      +152
      +153
      +154
      +155
      +156
      +157
      +158
      +159
      +160
      +161
      +162
      +163
      +164
      +165
      +166
      +167
      +168
      +169
      +170
      +171
      +172
      +173
      +174
      +175
      +176
      +177
      +178
      +179
      +180
      +181
      +182
      +183
      +184
      +185
      +186
      +187
      +188
      +189
      +190
      +191
      +192
      +193
      +194
      +195
      +196
      +197
      +198
      +199
      +200
      +201
      +202
      +203
      +204
      +205
      +206
      +207
      +208
      +209
      +210
      +211
      +212
      +213
      +214
      +215
      +216
      +217
      +218
      +219
      +220
      +221
      +222
      +
      +
      # File 'manifests/nagios/objects/commands.pp', line 8
      +
      +class confdroid_nagios::nagios::objects::commands (
      +
      +) inherits confdroid_nagios::params {
      +  if $fqdn == $ng_nagios_server {
      +    @@nagios_command { 'notify-host-by-email':
      +      ensure       => present,
      +      command_name => 'notify-host-by-email',
      +      command_line => '/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTADDRESS$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTADDRESS$ is $HOSTSTATE$ **" $CONTACTEMAIL$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'notify-service-by-email':
      +      ensure       => present,
      +      command_name => 'notify-service-by-email',
      +      command_line => '/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check-host-alive':
      +      ensure       => present,
      +      command_name => 'check-host-alive',
      +      command_line => '$USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_disk':
      +      ensure       => present,
      +      command_name => 'check_disk',
      +      command_line => '$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_local_load':
      +      ensure       => present,
      +      command_name => 'check_local_load',
      +      command_line => '$USER1$/check_load -w $ARG1$ -c $ARG2$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_local_procs':
      +      ensure       => present,
      +      command_name => 'check_local_procs',
      +      command_line => '$USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_local_users':
      +      ensure       => present,
      +      command_name => 'check_local_users',
      +      command_line => '$USER1$/check_users -w $ARG1$ -c $ARG2$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_local_swap':
      +      ensure       => present,
      +      command_name => 'check_local_swap',
      +      command_line => '$USER1$/check_swap -w $ARG1$ -c $ARG2$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_ftp':
      +      ensure       => present,
      +      command_name => 'check_ftp',
      +      command_line => '$USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_snmp':
      +      ensure       => present,
      +      command_name => 'check_snmp',
      +      command_line => '$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_http':
      +      ensure       => present,
      +      command_name => 'check_http',
      +      command_line => '$USER1$/check_http -I $HOSTADDRESS$ $ARG1$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_ssh':
      +      ensure       => present,
      +      command_name => 'check_ssh',
      +      command_line => '$USER1$/check_ssh $ARG1$ $HOSTADDRESS$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_ping':
      +      ensure       => present,
      +      command_name => 'check_ping',
      +      command_line => '$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_tcp':
      +      ensure       => present,
      +      command_name => 'check_tcp',
      +      command_line => '$USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_udp':
      +      ensure       => present,
      +      command_name => 'check_udp',
      +      command_line => '$USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_nrpe':
      +      ensure       => present,
      +      command_name => 'check_nrpe',
      +      command_line => '$USER1$/check_nrpe -t 30 -H $HOSTADDRESS$ -c $ARG1$  -a $ARG2$ $ARG3$ $ARG4$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_nagios':
      +      ensure       => present,
      +      command_name => 'check_nagios',
      +      command_line => '$USER1$/check_nagios -F $ARG1$ -e $ARG2$ -C $ARG3$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'check_bandwidth':
      +      ensure       => present,
      +      command_name => 'check_bandwidth',
      +      command_line => '$USER1$/check_bandwidth.sh -t 30 -H $HOSTADDRESS$ linux  $ARG1$  $ARG2$ $ARG3$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'process-service-perfdata-file':
      +      ensure       => present,
      +      command_name => 'process-service-perfdata-file',
      +      command_line => '/bin/mv /var/log/pnp4nagios/service-perfdata /var/spool/pnp4nagios/service-perfdata.$TIMET$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command { 'process-host-perfdata-file':
      +      ensure       => present,
      +      command_name => 'process-host-perfdata-file',
      +      command_line => '/bin/mv /var/log/pnp4nagios/host-perfdata /var/spool/pnp4nagios/host-perfdata.$TIMET$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +
      +    @@nagios_command {  'check_ntp_time':
      +      ensure       => present,
      +      command_name => 'check_ntp_time',
      +      command_line => '$USER1$/check_ntp_time -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$',
      +      owner        => 'nagios',
      +      group        => 'nagios',
      +      mode         => '0640',
      +      target       => $ng_target_command,
      +    }
      +  }
      +}
      +
      +
      +
      + + + +
      + + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 3ea5a4c..963aa1b 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -83,6 +83,8 @@ confdroid_nagios::server::access_rules
      + confdroid_nagios::nagios::objects::commands
      + confdroid_nagios::nagios::resources::resource
      diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html index 92da8db..160facc 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -123,7 +123,9 @@ 25 26 27 -28
      +28 +29 +30
      # File 'manifests/server/service.pp', line 6
      @@ -134,6 +136,8 @@ class confdroid_nagios::server::service (
         require confdroid_nagios::server::files
         if $ng_nagios_server == $fqdn {
           require confdroid_nagios::server::access_rules
      +    require confdroid_nagios::nagios::resources::resource
      +    require confdroid_nagios::nagios::objects::commands
       
           exec { 'restart_httpd':
             command     => 'systemctl restart httpd',
      
      From 64b6940bab27a6f3fb2f55ecc1f473a49ed5ab83 Mon Sep 17 00:00:00 2001
      From: Jenkins Server 
      Date: Sun, 1 Mar 2026 14:22:56 +0100
      Subject: [PATCH 51/87] Recommit for updates in build 83
      
      ---
       doc/file.README.html                                     | 9 +++++++++
       doc/index.html                                           | 9 +++++++++
       ...id_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html | 2 +-
       .../confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html  | 2 +-
       .../confdroid_nagios_3A_3Aserver_3A_3Aservice.html       | 4 ++--
       5 files changed, 22 insertions(+), 4 deletions(-)
      
      diff --git a/doc/file.README.html b/doc/file.README.html
      index da85cf0..d520bfb 100644
      --- a/doc/file.README.html
      +++ b/doc/file.README.html
      @@ -152,6 +152,15 @@ Re-type new password:
       

      Dependencies

      All dependencies must be included in the catalogue.

      +
      • +

        puppetlabs-firewall

        +
      • +

        puppetlabs-stdlib

        +
      • +

        puppetlabs-concat

        +
      • +

        puppetlabs-nagios_core

        +

      Deployment

      • diff --git a/doc/index.html b/doc/index.html index 878ea09..9acdd5b 100644 --- a/doc/index.html +++ b/doc/index.html @@ -152,6 +152,15 @@ Re-type new password:

        Dependencies

        All dependencies must be included in the catalogue.

        +
        • +

          puppetlabs-firewall

          +
        • +

          puppetlabs-stdlib

          +
        • +

          puppetlabs-concat

          +
        • +

          puppetlabs-nagios_core

          +

        Deployment

        • diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html index 6514fdb..9abad84 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html @@ -327,7 +327,7 @@ class confdroid_nagios::nagios::objects::commands ( ensure => present, command_name => 'notify-host-by-email', command_line => '/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTADDRESS$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTADDRESS$ is $HOSTSTATE$ **" $CONTACTEMAIL$', - owner => 'nagios', + owner => 'nagions', group => 'nagios', mode => '0640', target => $ng_target_command, diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html index dba7e79..2c16af4 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html @@ -148,7 +148,7 @@ class confdroid_nagios::server::access_rules ( selrole => object_r, seltype => nagios_etc_t, seluser => system_u, - notify => Exec['restart_httpd'], + notify => Exec['ng_restart_httpd'], } # manage file header diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html index 160facc..2679629 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -139,7 +139,7 @@ class confdroid_nagios::server::service ( require confdroid_nagios::nagios::resources::resource require confdroid_nagios::nagios::objects::commands - exec { 'restart_httpd': + exec { 'ng_restart_httpd': command => 'systemctl restart httpd', path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'], refreshonly => true, @@ -151,7 +151,7 @@ class confdroid_nagios::server::service ( enable => true, hasrestart => true, hasstatus => true, - require => Exec['restart_httpd'], + require => Exec['ng_restart_httpd'], } } }
      From 6f76c50cef8811589eb2081bd9a25c6e927ab73d Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sun, 1 Mar 2026 14:36:05 +0100 Subject: [PATCH 52/87] Recommit for updates in build 84 --- doc/_index.html | 5 + doc/puppet_class_list.html | 21 ++- ...fdroid_nagios_3A_3Anagios_3A_3Aconfig.html | 158 ++++++++++++++++++ ...A_3Anagios_3A_3Aobjects_3A_3Acommands.html | 2 +- ...3Anagios_3A_3Aresources_3A_3Aresource.html | 2 +- .../confdroid_nagios_3A_3Aparams.html | 2 + ...droid_nagios_3A_3Aserver_3A_3Aservice.html | 6 +- ...agios_3A_3Aresources_3A_3Aresource_df.html | 2 +- 8 files changed, 184 insertions(+), 14 deletions(-) create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html diff --git a/doc/_index.html b/doc/_index.html index 2a08764..a523ea9 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -93,6 +93,11 @@
    • +
    • + confdroid_nagios::nagios::config + +
    • +
    • confdroid_nagios::nagios::objects::commands diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index ee41efd..eee1822 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -75,49 +75,56 @@
    • -
    • +
    • + +
    • + + +
    • -
    • +
    • -
    • +
    • -
    • +
    • -
    • +
    • -
    • +
    • -
    • +
    • diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html new file mode 100644 index 0000000..2c8e0a8 --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html @@ -0,0 +1,158 @@ + + + + + + + Puppet Class: confdroid_nagios::nagios::config + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
      + + +

      Puppet Class: confdroid_nagios::nagios::config

      +
      + +
      +
      Inherits:
      +
      confdroid_nagios::params
      +
      + + +
      +
      Defined in:
      +
      + manifests/nagios/config.pp +
      +
      +
      + +

      Summary

      + Class manages the nagios objects definitions. + +

      Overview

      +
      +
      + +

      confdroid_nagios::server::nagios::config.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

      + +
      +
      + + + +
      + + + +
      + + + + + +
      +
      +
      +
      +6
      +7
      +8
      +9
      +10
      +11
      +12
      +13
      +14
      +15
      +16
      +17
      +18
      +19
      +20
      +21
      +22
      +23
      +24
      +
      +
      # File 'manifests/nagios/config.pp', line 6
      +
      +class confdroid_nagios::nagios::config (
      +
      +) inherits confdroid_nagios::params {
      +  if $ng_nagios_server == $fqdn {
      +    require confdroid_nagios::nagios::objects::commands
      +    #require confdroid_nagios::nagios::objects::template_rules
      +    #require confdroid_nagios::nagios::objects::contacts
      +    #require confdroid_nagios::nagios::objects::add_contact_rules
      +    #require confdroid_nagios::nagios::objects::contactgroups
      +    #require confdroid_nagios::nagios::objects::add_contactgroups_rules
      +    #require confdroid_nagios::nagios::objects::hostgroups
      +    #require confdroid_nagios::nagios::objects::add_hostgroup_rules
      +    #require confdroid_nagios::nagios::objects::servicegroups
      +    #require confdroid_nagios::nagios::objects::add_servicegroup_rules
      +    #require confdroid_nagios::nagios::objects::timeperiods
      +    #require confdroid_nagios::nagios::objects::add_timeperiod_rules
      +    require confdroid_nagios::nagios::resources::resource
      +  }
      +}
      +
      +
      +
      + + + +
      + + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html index 9abad84..7f02b25 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html @@ -322,7 +322,7 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg. class confdroid_nagios::nagios::objects::commands ( ) inherits confdroid_nagios::params { - if $fqdn == $ng_nagios_server { + if $ng_nagios_server == $fqdn { @@nagios_command { 'notify-host-by-email': ensure => present, command_name => 'notify-host-by-email', diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html index b6b9ac0..2e81a53 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html @@ -160,7 +160,7 @@ ng_user_arg_comment => "Sets $USER1$ to be the path to the plugins" class confdroid_nagios::nagios::resources::resource ( ) inherits confdroid_nagios::params { - if $fqdn == $ng_nagios_server { + if $ng_nagios_server == $fqdn { concat { $ng_resource_file: ensure => present, owner => 'root', diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 963aa1b..fbf6968 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -77,6 +77,8 @@ confdroid_nagios::client::target
      + confdroid_nagios::nagios::config
      + confdroid_nagios::server::nagios
      confdroid_nagios::server::service
      diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html index 2679629..10da427 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -124,8 +124,7 @@ 26 27 28 -29 -30 +29
      # File 'manifests/server/service.pp', line 6
      @@ -136,8 +135,7 @@ class confdroid_nagios::server::service (
         require confdroid_nagios::server::files
         if $ng_nagios_server == $fqdn {
           require confdroid_nagios::server::access_rules
      -    require confdroid_nagios::nagios::resources::resource
      -    require confdroid_nagios::nagios::objects::commands
      +    require confdroid_nagios::nagios::config
       
           exec { 'ng_restart_httpd':
             command     => 'systemctl restart httpd',
      diff --git a/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html b/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html
      index 0b93969..a94eae4 100644
      --- a/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html
      +++ b/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html
      @@ -206,7 +206,7 @@ define confdroid_nagios::nagios::resources::resource_df (
         $ng_resource_file = $confdroid_nagios::params::ng_resource_file
         $fqdn = $facts['networking']['fqdn']
       
      -  if $fqdn == $ng_nagios_server {
      +  if $ng_nagios_server == $fqdn {
           concat::fragment { "rule_${name}":
             target  => $ng_resource_file,
             content => template($ng_resource_rule_erb),
      
      From b40a4dbc2d50fbd8a69d84050081ebb11cd9ed1d Mon Sep 17 00:00:00 2001
      From: Jenkins Server 
      Date: Sun, 1 Mar 2026 14:47:55 +0100
      Subject: [PATCH 53/87] Recommit for updates in build 85
      
      ---
       doc/_index.html                               |  10 +
       doc/puppet_class_list.html                    |  21 +-
       ...fdroid_nagios_3A_3Anagios_3A_3Aconfig.html |   2 +-
       ...s_3A_3Aobjects_3A_3Aadd_contact_rules.html | 193 +++++++++++++
       ...A_3Anagios_3A_3Aobjects_3A_3Acommands.html |   2 +-
       .../confdroid_nagios_3A_3Aparams.html         |  10 +-
       doc/puppet_defined_type_list.html             |  11 +-
       ...Anagios_3A_3Aobjects_3A_3Aadd_contact.html | 261 ++++++++++++++++++
       8 files changed, 494 insertions(+), 16 deletions(-)
       create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html
       create mode 100644 doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact.html
      
      diff --git a/doc/_index.html b/doc/_index.html
      index a523ea9..52b17c2 100644
      --- a/doc/_index.html
      +++ b/doc/_index.html
      @@ -98,6 +98,11 @@
             
                   
    • +
    • + confdroid_nagios::nagios::objects::add_contact_rules + +
    • +
    • confdroid_nagios::nagios::objects::commands @@ -154,6 +159,11 @@
    • C
      • +
      • + confdroid_nagios::nagios::objects::add_contact + +
      • +
      • confdroid_nagios::nagios::resources::resource_df diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index eee1822..2f2f959 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -82,49 +82,56 @@
      • -
      • +
      • + +
      • + + +
      • -
      • +
      • -
      • +
      • -
      • +
      • -
      • +
      • -
      • +
      • -
      • +
      • diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html index 2c8e0a8..00be593 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html @@ -131,7 +131,7 @@ class confdroid_nagios::nagios::config ( require confdroid_nagios::nagios::objects::commands #require confdroid_nagios::nagios::objects::template_rules #require confdroid_nagios::nagios::objects::contacts - #require confdroid_nagios::nagios::objects::add_contact_rules + require confdroid_nagios::nagios::objects::add_contact_rules #require confdroid_nagios::nagios::objects::contactgroups #require confdroid_nagios::nagios::objects::add_contactgroups_rules #require confdroid_nagios::nagios::objects::hostgroups diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html new file mode 100644 index 0000000..672fc71 --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html @@ -0,0 +1,193 @@ + + + + + + + Puppet Class: confdroid_nagios::nagios::objects::add_contact_rules + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
        + + +

        Puppet Class: confdroid_nagios::nagios::objects::add_contact_rules

        +
        + +
        +
        Inherits:
        +
        confdroid_nagios::params
        +
        + + +
        +
        Defined in:
        +
        + manifests/nagios/objects/add_contact_rules.pp +
        +
        +
        + +

        Summary

        + Class manages /etc/nagios/conf.d/nagios_add_contact.cfg through +concat. + +

        Overview

        +
        +
        + +

        confdroid_nagios::nagios::objects::add_contact_rules.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

        + +
        +
        + + + +
        + +
        +

        Examples:

        + + +

        +

        confdroid_nagios::nagios::objects::add_contact { ‘example_user’:

        +

        + +
        ng_contact_name  => 'example_user',
        +ng_contact_alias => 'Example User',
        +ng_contact_groups => 'admins',
        +ng_contact_email => 'example@example.net',
        +}
        + +
        + + + +
        + + + + + +
        +
        +
        +
        +13
        +14
        +15
        +16
        +17
        +18
        +19
        +20
        +21
        +22
        +23
        +24
        +25
        +26
        +27
        +28
        +29
        +30
        +31
        +32
        +33
        +34
        +35
        +36
        +37
        +38
        +39
        +40
        +
        +
        # File 'manifests/nagios/objects/add_contact_rules.pp', line 13
        +
        +class confdroid_nagios::nagios::objects::add_contact_rules (
        +
        +) inherits confdroid_nagios::params {
        +  if $ng_nagios_server == $fqdn {
        +    # manage /etc/nagios/conf.d/nagios_add_contacts.cfg
        +
        +    concat { $ng_target_add_contact:
        +      ensure   => present,
        +      path     => $ng_target_add_contact,
        +      owner    => $ng_user,
        +      group    => $ng_user,
        +      mode     => '0640',
        +      selrange => s0,
        +      selrole  => object_r,
        +      seltype  => nagios_etc_t,
        +      seluser  => system_u,
        +      notify   => Service[$ng_service],
        +    }
        +
        +    # manage file header
        +
        +    concat::fragment { 'contact_header':
        +      target  => $ng_target_add_contact,
        +      content => template($ng_contacts_head_erb),
        +      order   => '000',
        +    }
        +  }
        +}
        +
        +
        +
        + + + +
        + + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html index 7f02b25..6fba845 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html @@ -327,7 +327,7 @@ class confdroid_nagios::nagios::objects::commands ( ensure => present, command_name => 'notify-host-by-email', command_line => '/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTADDRESS$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTADDRESS$ is $HOSTSTATE$ **" $CONTACTEMAIL$', - owner => 'nagions', + owner => 'nagios', group => 'nagios', mode => '0640', target => $ng_target_command, diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index fbf6968..96f7112 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -89,6 +89,8 @@ confdroid_nagios::nagios::resources::resource
        + confdroid_nagios::nagios::objects::add_contact_rules
        + @@ -423,8 +425,7 @@ inherited by all classes except defines. 141 142 143 -144 -145 +144
        # File 'manifests/params.pp', line 31
        @@ -478,6 +479,8 @@ class confdroid_nagios::params (
         # files
           $ng_nagios_cfg_file         = "${ng_main_dir}/nagios.cfg"
           $ng_nagios_cfg_erb          = 'confdroid_nagios/nagios/nagios_cfg.erb'
        +  $ng_cgi_cfg_file            = "${ng_main_dir}/cgi.cfg"
        +  $ng_cgi_cfg_erb             = 'confdroid_nagios/nagios/cgi_cfg.erb'
         
         # nagios
           $ng_target_templates        = "${ng_conf_d_dir}/nagios_templates.cfg"
        @@ -518,9 +521,6 @@ class confdroid_nagios::params (
           $ng_resource_erb            = 'confdroid_nagios/nagios/resource_cfg.erb'
         
         ## old
        -  $ng_main_config             = "${ng_main_dir}/nagios.cfg"
        -  $ng_cgi_cfg_file            = "${ng_main_dir}/cgi.cfg"
        -  $ng_cgi_cfg_erb             = 'confdroid_nagios/nagios/cgi_cfg.erb'
           $ng_taccgi_erb              = 'confdroid_nagios/selinux/taccgi.erb'
           $ng_statcgi_erb             = 'confdroid_nagios/selinux/statuscgi.erb'
           $ng_statdat_erb             = 'confdroid_nagios/selinux/statusdat.erb'
        diff --git a/doc/puppet_defined_type_list.html b/doc/puppet_defined_type_list.html
        index 8310ff9..1c3897a 100644
        --- a/doc/puppet_defined_type_list.html
        +++ b/doc/puppet_defined_type_list.html
        @@ -40,14 +40,21 @@
               
          -
        • +
        • + +
        • + + +
        • -
        • +
        • diff --git a/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact.html b/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact.html new file mode 100644 index 0000000..cd877e2 --- /dev/null +++ b/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact.html @@ -0,0 +1,261 @@ + + + + + + + Defined Type: confdroid_nagios::nagios::objects::add_contact + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
          + + +

          Defined Type: confdroid_nagios::nagios::objects::add_contact

          +
          +
          +
          Defined in:
          +
          + manifests/nagios/objects/add_contact.pp +
          +
          +
          + +

          Summary

          + Define manages additional contacts known to NAGIOS through external +Puppet rules, and populates /etc/nagios/conf.d/nagios_add_contact.cfg. + +

          Overview

          +
          +
          + +

          confdroid_nagios::nagios::objects::add_contact.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

          + +
          +
          + + + +
          + +
          +

          Examples:

          + + +
          confdroid_nagios::nagios::objects::add_contact { 'example_user':
          +  ng_contact_name   =>  'example_user',
          +  ng_contact_alias  =>  'Example User',
          +  ng_contact_groups =>  'admins',
          +  ng_contact_email  =>  'example@example.net',
          +}
          + +
          +

          Parameters:

          +
            + +
          • + + ng_contact_name + + + (Optional[String]) + + + (defaults to: undef) + + + — +
            +

            Specify the contact short name.

            +
            + +
          • + +
          • + + ng_contact_use + + + (String) + + + (defaults to: 'generic-contact') + + + — +
            +

            which contact template to use

            +
            + +
          • + +
          • + + ng_contact_alias + + + (Optional[String]) + + + (defaults to: undef) + + + — +
            +

            Specify the contact alias (long name).

            +
            + +
          • + +
          • + + ng_contact_email + + + (Optional[String]) + + + (defaults to: undef) + + + — +
            +

            Specify the contact email address.

            +
            + +
          • + +
          • + + ng_contact_groups + + + (Optional[String]) + + + (defaults to: undef) + + + — +
            +

            specify the contact group for the contact.

            +
            + +
          • + +
          + + + +
          + + + + + +
          +
          +
          +
          +19
          +20
          +21
          +22
          +23
          +24
          +25
          +26
          +27
          +28
          +29
          +30
          +31
          +32
          +33
          +34
          +35
          +36
          +37
          +38
          +
          +
          # File 'manifests/nagios/objects/add_contact.pp', line 19
          +
          +define confdroid_nagios::nagios::objects::add_contact (
          +
          +  Optional[String] $ng_contact_name    = undef,
          +  String $ng_contact_use               = 'generic-contact',
          +  Optional[String] $ng_contact_alias   = undef,
          +  Optional[String] $ng_contact_email   = undef,
          +  Optional[String] $ng_contact_groups  = undef,
          +
          +) {
          +  $ng_nagios_server       = $confdroid_nagios::params::ng_nagios_server
          +  $ng_target_add_contact  = $confdroid_nagios::params::ng_target_add_contact
          +  $ng_contacts_rule_erb   = $confdroid_nagios::params::ng_contacts_rule_erb
          +
          +  if $ng_nagios_server == $fqdn {
          +    concat::fragment { $name:
          +      target  => $ng_target_add_contact,
          +      content => template($ng_contacts_rule_erb),
          +    }
          +  }
          +}
          +
          +
          +
          + + + +
          + + \ No newline at end of file From 324182cf25da19797a34bd8ee06a5906bea89054 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sun, 1 Mar 2026 14:50:02 +0100 Subject: [PATCH 54/87] Recommit for updates in build 86 --- ...agios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html index 672fc71..4b89d9b 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html @@ -159,8 +159,8 @@ class confdroid_nagios::nagios::objects::add_contact_rules ( concat { $ng_target_add_contact: ensure => present, path => $ng_target_add_contact, - owner => $ng_user, - group => $ng_user, + owner => 'nagios', + group => 'nagios', mode => '0640', selrange => s0, selrole => object_r, From 7cf2b70c78f57bb8218c3badadb8eac9babfea82 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sun, 1 Mar 2026 14:52:37 +0100 Subject: [PATCH 55/87] Recommit for updates in build 87 --- ..._nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html | 2 +- .../confdroid_nagios_3A_3Aserver_3A_3Aaccess.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html index 4b89d9b..1982fb8 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html @@ -166,7 +166,7 @@ class confdroid_nagios::nagios::objects::add_contact_rules ( selrole => object_r, seltype => nagios_etc_t, seluser => system_u, - notify => Service[$ng_service], + notify => Service[$ng_nagios_service], } # manage file header diff --git a/doc/puppet_defined_types/confdroid_nagios_3A_3Aserver_3A_3Aaccess.html b/doc/puppet_defined_types/confdroid_nagios_3A_3Aserver_3A_3Aaccess.html index 77d34be..bdf6fd9 100644 --- a/doc/puppet_defined_types/confdroid_nagios_3A_3Aserver_3A_3Aaccess.html +++ b/doc/puppet_defined_types/confdroid_nagios_3A_3Aserver_3A_3Aaccess.html @@ -173,7 +173,7 @@ define confdroid_nagios::server::access ( $ng_nagios_server = $confdroid_nagios::params::ng_nagios_server $ng_htpasswd_file = $confdroid_nagios::params::ng_htpasswd_file $ng_htpasswd_rule = $confdroid_nagios::params::ng_htpasswd_rule - $ng_service = $confdroid_nagios::params::ng_nagios_service + $ng_nagios_service = $confdroid_nagios::params::ng_nagios_service if $fqdn == $ng_nagios_server { # create password rules From dd0f0f88cd2d53e6b9241f9cceb7878a125dae47 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sun, 1 Mar 2026 14:57:58 +0100 Subject: [PATCH 56/87] Recommit for updates in build 88 --- ...nfdroid_nagios_3A_3Aserver_3A_3Afiles.html | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html index d5442b2..03741b0 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html @@ -150,17 +150,17 @@ class confdroid_nagios::server::files ( # custom cfg files ## temp place holder, this will be done via defines ## and PuppetDB exports and imports in the future - file { $ng_target_command: - ensure => file, - owner => 'nagios', - group => 'nagios', - mode => '0644', - selrange => s0, - selrole => object_r, - seltype => nagios_etc_t, - seluser => system_u, - notify => Service[$ng_nagios_service], - } + #file { $ng_target_command: + # ensure => file, + # owner => 'nagios', + # group => 'nagios', + # mode => '0644', + # selrange => s0, + # selrole => object_r, + # seltype => nagios_etc_t, + # seluser => system_u, + # notify => Service[$ng_nagios_service], + #} } }
        From 4cd2b6a67997f7aaf77bd9257083ac4bf480b000 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sun, 1 Mar 2026 15:14:01 +0100 Subject: [PATCH 57/87] Recommit for updates in build 89 --- doc/_index.html | 10 + doc/file.README.html | 37 +- doc/index.html | 37 +- doc/puppet_class_list.html | 21 +- ...fdroid_nagios_3A_3Anagios_3A_3Aconfig.html | 6 +- ...Aobjects_3A_3Aadd_contactgroups_rules.html | 189 +++++++++ .../confdroid_nagios_3A_3Aparams.html | 369 +++++++++++++++++- doc/puppet_defined_type_list.html | 11 +- ...s_3A_3Aobjects_3A_3Aadd_contactgroups.html | 208 ++++++++++ 9 files changed, 867 insertions(+), 21 deletions(-) create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html create mode 100644 doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups.html diff --git a/doc/_index.html b/doc/_index.html index 52b17c2..edba91e 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -103,6 +103,11 @@
      • +
      • + confdroid_nagios::nagios::objects::add_contactgroups_rules + +
      • +
      • confdroid_nagios::nagios::objects::commands @@ -164,6 +169,11 @@
      • +
      • + confdroid_nagios::nagios::objects::add_contactgroups + +
      • +
      • confdroid_nagios::nagios::resources::resource_df diff --git a/doc/file.README.html b/doc/file.README.html index d520bfb..b745af5 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -70,9 +70,13 @@
      • Features

      • Repo Documentation

        @@ -119,7 +123,7 @@

        if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then)

      -

      configuring user access

      +

      configuring UI user access

      Main access to the user interface requires defining an administrative user and password via ng_main_user and ng_main_password. The password should be encrypted like this:

      @@ -135,7 +139,7 @@ Re-type new password:

      Use that value to override the default password in ENC or Hiera, if you use it.

      -

      Additional users

      +

      Additional UI users

      The main user is automatically created. If you want to add more users, this should be done via the define confdroid_nagios::server::access. In your control repo, site.pp etc. address the access define like this:

      @@ -145,6 +149,31 @@ Re-type new password: } +

      Adding contacts

      + +

      In order to add contacts for the notifications, address the define confdroid_nagios::nagios::objects::add_contact in your config repo, site.pp etc. like this:

      + +
      confdroid_nagios::nagios::objects::add_contact { 'example_user':
      +    ng_contact_name   =>  'example_user',
      +    ng_contact_alias  =>  'Example User',
      +    ng_contact_groups =>  'admins',
      +    ng_contact_email  =>  'example@example.net',
      +  }
      +
      + +

      This requires the contact groups to be in place as well.

      + +

      Adding contact groups

      + +

      In order to add contact groups for the notifications, address the define confdroid_nagios::nagios::objects::add_contactgroups in your config repo, site.pp etc. like this:

      + +
      confdroid_nagios::nagios::objects::add_contactgroups { 'example_group':
      +    ng_contactgroup_name      => 'example_group',
      +    ng_contactgroup_alias     => 'Example Group',
      +    ng_contactgroup_register  => '1',
      +  }
      +
      +

      Repo Documentation

      See the full Puppet documentation including parameters in docs/index.html

      diff --git a/doc/index.html b/doc/index.html index 9acdd5b..57b1dc8 100644 --- a/doc/index.html +++ b/doc/index.html @@ -70,9 +70,13 @@
    • Features

    • Repo Documentation

      @@ -119,7 +123,7 @@

      if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (confdroid_nrpe must be in the catalogue then)

    -

    configuring user access

    +

    configuring UI user access

    Main access to the user interface requires defining an administrative user and password via ng_main_user and ng_main_password. The password should be encrypted like this:

    @@ -135,7 +139,7 @@ Re-type new password:

    Use that value to override the default password in ENC or Hiera, if you use it.

    -

    Additional users

    +

    Additional UI users

    The main user is automatically created. If you want to add more users, this should be done via the define confdroid_nagios::server::access. In your control repo, site.pp etc. address the access define like this:

    @@ -145,6 +149,31 @@ Re-type new password: } +

    Adding contacts

    + +

    In order to add contacts for the notifications, address the define confdroid_nagios::nagios::objects::add_contact in your config repo, site.pp etc. like this:

    + +
    confdroid_nagios::nagios::objects::add_contact { 'example_user':
    +    ng_contact_name   =>  'example_user',
    +    ng_contact_alias  =>  'Example User',
    +    ng_contact_groups =>  'admins',
    +    ng_contact_email  =>  'example@example.net',
    +  }
    +
    + +

    This requires the contact groups to be in place as well.

    + +

    Adding contact groups

    + +

    In order to add contact groups for the notifications, address the define confdroid_nagios::nagios::objects::add_contactgroups in your config repo, site.pp etc. like this:

    + +
    confdroid_nagios::nagios::objects::add_contactgroups { 'example_group':
    +    ng_contactgroup_name      => 'example_group',
    +    ng_contactgroup_alias     => 'Example Group',
    +    ng_contactgroup_register  => '1',
    +  }
    +
    +

    Repo Documentation

    See the full Puppet documentation including parameters in docs/index.html

    diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index 2f2f959..ff899a1 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -89,49 +89,56 @@ -
  • +
  • + +
  • + + +
  • -
  • +
  • -
  • +
  • -
  • +
  • -
  • +
  • -
  • +
  • -
  • +
  • diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html index 00be593..60bf023 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html @@ -130,10 +130,10 @@ class confdroid_nagios::nagios::config ( if $ng_nagios_server == $fqdn { require confdroid_nagios::nagios::objects::commands #require confdroid_nagios::nagios::objects::template_rules - #require confdroid_nagios::nagios::objects::contacts + require confdroid_nagios::nagios::objects::contacts require confdroid_nagios::nagios::objects::add_contact_rules - #require confdroid_nagios::nagios::objects::contactgroups - #require confdroid_nagios::nagios::objects::add_contactgroups_rules + require confdroid_nagios::nagios::objects::contactgroups + require confdroid_nagios::nagios::objects::add_contactgroups_rules #require confdroid_nagios::nagios::objects::hostgroups #require confdroid_nagios::nagios::objects::add_hostgroup_rules #require confdroid_nagios::nagios::objects::servicegroups diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html new file mode 100644 index 0000000..8f5d384 --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html @@ -0,0 +1,189 @@ + + + + + + + Puppet Class: confdroid_nagios::nagios::objects::add_contactgroups_rules + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Puppet Class: confdroid_nagios::nagios::objects::add_contactgroups_rules

    +
    + +
    +
    Inherits:
    +
    confdroid_nagios::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/nagios/objects/add_contactgroups_rules.pp +
    +
    +
    + +

    Summary

    + Class manages /etc/nagios/conf.d/nagios_add_contactgroups.cfg file +and populates through define and external puppet rules + +

    Overview

    +
    +
    + +

    confdroid_nagios::nagios::objects::add_contactgroups_rules.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    + +
    +
    + + + +
    + +
    +

    Examples:

    + + +
    confdroid_nagios::nagios::objects::add_contactgroups { 'example_group':
    +  ng_contactgroup_name      => 'example_group',
    +  ng_contactgroup_alias     => 'Example Group',
    +  ng_contactgroup_register  => '1',
    +}
    + +
    + + + +
    + + + + + +
    +
    +
    +
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +
    +
    # File 'manifests/nagios/objects/add_contactgroups_rules.pp', line 13
    +
    +class confdroid_nagios::nagios::objects::add_contactgroups_rules (
    +
    +) inherits confdroid_nagios::params {
    +  if $ng_nagios_server == $fqdn {
    +    # manage /etc/nagios/conf.d/nagios_add_contactgroups.cfg
    +
    +    concat { $ng_tgt_contactgroup_add:
    +      ensure   => present,
    +      path     => $ng_tgt_contactgroup_add,
    +      owner    => $ng_user,
    +      group    => $ng_user,
    +      mode     => '0640',
    +      selrange => s0,
    +      selrole  => object_r,
    +      seltype  => nagios_etc_t,
    +      seluser  => system_u,
    +      notify   => Service[$ng_service],
    +    }
    +
    +    # manage file header
    +
    +    concat::fragment { 'contactgroups_header':
    +      target  => $ng_tgt_contactgroup_add,
    +      content => template($ng_cntctgrps_head_erb),
    +      order   => '000',
    +    }
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 96f7112..3c61e99 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -91,6 +91,8 @@ confdroid_nagios::nagios::objects::add_contact_rules
    + confdroid_nagios::nagios::objects::add_contactgroups_rules
    + @@ -301,6 +303,305 @@ inherited by all classes except defines.
  • +
  • + + ng_ping_warn + + + (String) + + + (defaults to: '100.0,20%') + + +
  • + +
  • + + ng_ping_crit + + + (String) + + + (defaults to: '500.0,60%') + + +
  • + +
  • + + ng_ping_ensure + + + (String) + + + (defaults to: 'present') + + +
  • + +
  • + + ng_disk_warn + + + (String) + + + (defaults to: '20%') + + +
  • + +
  • + + ng_disk_crit + + + (String) + + + (defaults to: '10%') + + +
  • + +
  • + + ng_disk_ensure + + + (String) + + + (defaults to: 'present') + + +
  • + +
  • + + ng_swap_warn + + + (String) + + + (defaults to: '20') + + +
  • + +
  • + + ng_swap_crit + + + (String) + + + (defaults to: '10') + + +
  • + +
  • + + ng_swap_ensure + + + (String) + + + (defaults to: 'present') + + +
  • + +
  • + + ng_users_warn + + + (String) + + + (defaults to: '20') + + +
  • + +
  • + + ng_users_crit + + + (String) + + + (defaults to: '50') + + +
  • + +
  • + + ng_users_ensure + + + (String) + + + (defaults to: 'present') + + +
  • + +
  • + + ng_procs_tot_warn + + + (String) + + + (defaults to: '330') + + +
  • + +
  • + + ng_procs_tot_crit + + + (String) + + + (defaults to: '400') + + +
  • + +
  • + + ng_procs_tot_param + + + (String) + + + (defaults to: 'RDST') + + +
  • + +
  • + + ng_procs_tot_ens + + + (String) + + + (defaults to: 'present') + + +
  • + +
  • + + ng_procs_z_warn + + + (String) + + + (defaults to: '10') + + +
  • + +
  • + + ng_procs_z_crit + + + (String) + + + (defaults to: '30') + + +
  • + +
  • + + ng_procs_z_param + + + (String) + + + (defaults to: 'Z') + + +
  • + +
  • + + ng_procs_z_ensure + + + (String) + + + (defaults to: 'present') + + +
  • + +
  • + + ng_load_warn + + + (String) + + + (defaults to: '5.00,4.00,3.00') + + +
  • + +
  • + + ng_load_crit + + + (String) + + + (defaults to: '10.00,6.00,4.00') + + +
  • + +
  • + + ng_load_ensure + + + (String) + + + (defaults to: 'present') + + +
  • + @@ -425,7 +726,40 @@ inherited by all classes except defines. 141 142 143 -144 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154 +155 +156 +157 +158 +159 +160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177
    # File 'manifests/params.pp', line 31
    @@ -450,6 +784,39 @@ class confdroid_nagios::params (
     # httpd
       Boolean $ng_use_https             = false,
     
    +# check command parameters
    +## ping
    +  String $ng_ping_warn               = '100.0,20%',
    +  String $ng_ping_crit               = '500.0,60%',
    +  String $ng_ping_ensure             = 'present',
    +## disk
    +  String $ng_disk_warn               = '20%',
    +  String $ng_disk_crit               = '10%' ,
    +  String $ng_disk_ensure             = 'present',
    +# swap
    +  String $ng_swap_warn               = '20',
    +  String $ng_swap_crit               = '10',
    +  String $ng_swap_ensure             = 'present',
    +# users
    +  String $ng_users_warn              = '20',
    +  String $ng_users_crit              = '50',
    +  String $ng_users_ensure            = 'present',
    +#total procs
    +  String $ng_procs_tot_warn          = '330',
    +  String $ng_procs_tot_crit          = '400',
    +  String $ng_procs_tot_param         = 'RDST',
    +  String $ng_procs_tot_ens           = 'present',
    +# zombie procs
    +  String $ng_procs_z_warn            = '10',
    +  String $ng_procs_z_crit            = '30',
    +  String $ng_procs_z_param           = 'Z',
    +  String $ng_procs_z_ensure          = 'present',
    +# load
    +  String $ng_load_warn               = '5.00,4.00,3.00',
    +  String $ng_load_crit               = '10.00,6.00,4.00',
    +  String $ng_load_ensure             = 'present',
    +
    +
     ) {
     # Default facts
       $fqdn                     = $facts['networking']['fqdn']
    diff --git a/doc/puppet_defined_type_list.html b/doc/puppet_defined_type_list.html
    index 1c3897a..3a5a817 100644
    --- a/doc/puppet_defined_type_list.html
    +++ b/doc/puppet_defined_type_list.html
    @@ -47,14 +47,21 @@
         
         
     
    -    
  • +
  • + +
  • + + +
  • -
  • +
  • diff --git a/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups.html b/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups.html new file mode 100644 index 0000000..809124c --- /dev/null +++ b/doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups.html @@ -0,0 +1,208 @@ + + + + + + + Defined Type: confdroid_nagios::nagios::objects::add_contactgroups + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Defined Type: confdroid_nagios::nagios::objects::add_contactgroups

    +
    +
    +
    Defined in:
    +
    + manifests/nagios/objects/add_contactgroups.pp +
    +
    +
    + +

    Summary

    + Define populates /etc/nagios/conf.d/nagios_add_contactgroups through +external puppet rules. + +

    Overview

    +
    +
    + +

    confdroid_nagios::nagios::objects::add_contactgroups.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    + +
    +
    + + + +
    +

    Parameters:

    +
      + +
    • + + ng_contactgroup_name + + + (Optional[String]) + + + (defaults to: undef) + + + — +
      +

      Specify the short name of the contact group.

      +
      + +
    • + +
    • + + ng_contactgroup_alias + + + (Optional[String]) + + + (defaults to: undef) + + + — +
      +

      Specify the alias (long name) of the contact group

      +
      + +
    • + +
    • + + ng_contactgroup_register + + + (String) + + + (defaults to: '1') + + + — +
      +

      Specify whether the contact group should be registered in Nagios.

      +
      + +
    • + +
    + + + +
    + + + + + +
    +
    +
    +
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +
    +
    # File 'manifests/nagios/objects/add_contactgroups.pp', line 13
    +
    +define confdroid_nagios::nagios::objects::add_contactgroups (
    +
    +  Optional[String] $ng_contactgroup_name     = undef,
    +  Optional[String] $ng_contactgroup_alias    = undef,
    +  String $ng_contactgroup_register           = '1',
    +
    +) {
    +  $ng_nagios_server         = $confdroid_nagios::params::ng_nagios_server
    +  $ng_tgt_contactgroup_add  = $confdroid_nagios::params::ng_tgt_contactgroup_add
    +  $ng_cntctgrps_rule_erb    = $confdroid_nagios::params::ng_cntctgrps_rule_erb
    +
    +  if $ng_nagios_server == $fqdn {
    +    concat::fragment { $name:
    +      target  => $ng_tgt_contactgroup_add,
    +      content => template($ng_cntctgrps_rule_erb),
    +    }
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file From 32c0f85af521979be76df78d5203d8d1b478cf6e Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sun, 1 Mar 2026 15:25:48 +0100 Subject: [PATCH 58/87] Recommit for updates in build 90 --- .../confdroid_nagios_3A_3Anagios_3A_3Aconfig.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html index 60bf023..31d0123 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html @@ -117,9 +117,7 @@ 19 20 21 -22 -23 -24
  • +22
    # File 'manifests/nagios/config.pp', line 6
    @@ -130,9 +128,7 @@ class confdroid_nagios::nagios::config (
       if $ng_nagios_server == $fqdn {
         require confdroid_nagios::nagios::objects::commands
         #require confdroid_nagios::nagios::objects::template_rules
    -    require confdroid_nagios::nagios::objects::contacts
         require confdroid_nagios::nagios::objects::add_contact_rules
    -    require confdroid_nagios::nagios::objects::contactgroups
         require confdroid_nagios::nagios::objects::add_contactgroups_rules
         #require confdroid_nagios::nagios::objects::hostgroups
         #require confdroid_nagios::nagios::objects::add_hostgroup_rules
    
    From 4b89b63b4c43e7f5708ed993423461f52ec32d6e Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sun, 1 Mar 2026 15:31:42 +0100
    Subject: [PATCH 59/87] Recommit for updates in build 91
    
    ---
     ...Aobjects_3A_3Aadd_contactgroups_rules.html |   6 +-
     .../confdroid_nagios_3A_3Aparams.html         | 226 ++++++++++++++----
     2 files changed, 178 insertions(+), 54 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html
    index 8f5d384..5e3eeda 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html
    @@ -155,14 +155,14 @@ class confdroid_nagios::nagios::objects::add_contactgroups_rules (
         concat { $ng_tgt_contactgroup_add:
           ensure   => present,
           path     => $ng_tgt_contactgroup_add,
    -      owner    => $ng_user,
    -      group    => $ng_user,
    +      owner    => 'nagios',
    +      group    => 'nagios',
           mode     => '0640',
           selrange => s0,
           selrole  => object_r,
           seltype  => nagios_etc_t,
           seluser  => system_u,
    -      notify   => Service[$ng_service],
    +      notify   => Service[$ng_nagios_service],
         }
     
         # manage file header
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 3c61e99..bbf6cfa 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -314,6 +314,11 @@ inherited by all classes except defines.
             (defaults to: '100.0,20%')
           
           
    +        —
    +        
    +

    The warning threshold for the check_ping command. Default is ‘100.0,20%’.

    +
    +
  • @@ -327,6 +332,11 @@ inherited by all classes except defines. (defaults to: '500.0,60%') + — +
    +

    The critical threshold for the check_ping command. Default is ‘500.0,60%’.

    +
    +
  • @@ -340,6 +350,11 @@ inherited by all classes except defines. (defaults to: 'present') + — +
    +

    The ensure value for the check_ping command. Default is ‘present’.

    +
    +
  • @@ -353,6 +368,11 @@ inherited by all classes except defines. (defaults to: '20%') + — +
    +

    The warning threshold for the check_disk command. Default is ‘20%’.

    +
    +
  • @@ -366,6 +386,11 @@ inherited by all classes except defines. (defaults to: '10%') + — +
    +

    The critical threshold for the check_disk command. Default is ‘10%’.

    +
    +
  • @@ -379,6 +404,11 @@ inherited by all classes except defines. (defaults to: 'present') + — +
    +

    The ensure value for the check_disk command. Default is ‘present’.

    +
    +
  • @@ -392,6 +422,11 @@ inherited by all classes except defines. (defaults to: '20') + — +
    +

    The warning threshold for the check_swap command. Default is ‘20’.

    +
    +
  • @@ -405,6 +440,11 @@ inherited by all classes except defines. (defaults to: '10') + — +
    +

    The critical threshold for the check_swap command. Default is ‘10’.

    +
    +
  • @@ -418,6 +458,11 @@ inherited by all classes except defines. (defaults to: 'present') + — +
    +

    The ensure value for the check_swap command. Default is ‘present’.

    +
    +
  • @@ -431,6 +476,11 @@ inherited by all classes except defines. (defaults to: '20') + — +
    +

    The warning threshold for the check_users command. Default is ‘20’.

    +
    +
  • @@ -444,6 +494,11 @@ inherited by all classes except defines. (defaults to: '50') + — +
    +

    The critical threshold for the check_users command. Default is ‘50’.

    +
    +
  • @@ -457,6 +512,11 @@ inherited by all classes except defines. (defaults to: 'present') + — +
    +

    The ensure value for the check_users command. Default is ‘present’.

    +
    +
  • @@ -470,6 +530,11 @@ inherited by all classes except defines. (defaults to: '330') + — +
    +

    The warning threshold for the check_procs command with total processes. Default is ‘330’.

    +
    +
  • @@ -483,6 +548,11 @@ inherited by all classes except defines. (defaults to: '400') + — +
    +

    The critical threshold for the check_procs command with total processes. Default is ‘400’.

    +
    +
  • @@ -496,18 +566,26 @@ inherited by all classes except defines. (defaults to: 'RDST') + — +
    +

    The parameters for the check_procs command with total processes. Default is ‘RDST’.

    +
    +
  • - ng_procs_tot_ens + ng_procs_tot_ensure (String) - (defaults to: 'present') + — +
    +

    The ensure value for the check_procs command with total processes. Default is ‘present’.

    +
  • @@ -522,6 +600,11 @@ inherited by all classes except defines. (defaults to: '10') + — +
    +

    The warning threshold for the check_procs command with zombie processes. Default is ‘10’.

    +
    +
  • @@ -535,6 +618,11 @@ inherited by all classes except defines. (defaults to: '30') + — +
    +

    The critical threshold for the check_procs command with zombie processes. Default is ‘30’.

    +
    +
  • @@ -548,6 +636,11 @@ inherited by all classes except defines. (defaults to: 'Z') + — +
    +

    The parameters for the check_procs command with zombie processes. Default is ‘Z’.

    +
    +
  • @@ -561,6 +654,11 @@ inherited by all classes except defines. (defaults to: 'present') + — +
    +

    The ensure value for the check_procs command with zombie processes. Default is ‘present’.

    +
    +
  • @@ -574,6 +672,11 @@ inherited by all classes except defines. (defaults to: '5.00,4.00,3.00') + — +
    +

    The warning threshold for the check_load command. Default is ‘5.00,4.00,3.00’.

    +
    +
  • @@ -587,6 +690,11 @@ inherited by all classes except defines. (defaults to: '10.00,6.00,4.00') + — +
    +

    The critical threshold for the check_load command. Default is ‘10.00,6.00,4.00’.

    +
    +
  • @@ -600,6 +708,24 @@ inherited by all classes except defines. (defaults to: 'present') + — +
    +

    The ensure value for the check_load command. Default is ‘present’.

    +
    + +
  • + +
  • + + ng_procs_tot_ens + + + (String) + + + (defaults to: 'present') + +
  • @@ -613,52 +739,6 @@ inherited by all classes except defines.
     
     
    -31
    -32
    -33
    -34
    -35
    -36
    -37
    -38
    -39
    -40
    -41
    -42
    -43
    -44
    -45
    -46
    -47
    -48
    -49
    -50
    -51
    -52
    -53
    -54
    -55
    -56
    -57
    -58
    -59
    -60
    -61
    -62
    -63
    -64
    -65
    -66
    -67
    -68
    -69
    -70
    -71
    -72
    -73
    -74
    -75
    -76
     77
     78
     79
    @@ -759,10 +839,55 @@ inherited by all classes except defines.
     174
     175
     176
    -177
    +177 +178 +179 +180 +181 +182 +183 +184 +185 +186 +187 +188 +189 +190 +191 +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203 +204 +205 +206 +207 +208 +209 +210 +211 +212 +213 +214 +215 +216 +217 +218 +219 +220 +221 +222
    -
    # File 'manifests/params.pp', line 31
    +        
    # File 'manifests/params.pp', line 77
     
     class confdroid_nagios::params (
     
    @@ -816,7 +941,6 @@ class confdroid_nagios::params (
       String $ng_load_crit               = '10.00,6.00,4.00',
       String $ng_load_ensure             = 'present',
     
    -
     ) {
     # Default facts
       $fqdn                     = $facts['networking']['fqdn']
    
    From 10b1b035c5373d8b06a5194776c351ad02746ca3 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sun, 1 Mar 2026 15:52:44 +0100
    Subject: [PATCH 60/87] Recommit for updates in build 92
    
    ---
     doc/_index.html                               |  12 +-
     doc/file.README.html                          |  18 +-
     doc/index.html                                |  18 +-
     doc/puppet_class_list.html                    |  18 +-
     ...fdroid_nagios_3A_3Aclient_3A_3Atarget.html |   2 +-
     ...onfdroid_nagios_3A_3Amain_3A_3Aconfig.html |   2 +-
     .../confdroid_nagios_3A_3Amain_3A_3Adirs.html |   2 +-
     ...nfdroid_nagios_3A_3Amain_3A_3Ainstall.html |   2 +-
     ...fdroid_nagios_3A_3Anagios_3A_3Aconfig.html |   8 +-
     ...s_3A_3Aobjects_3A_3Aadd_contact_rules.html |   2 +-
     ...Aobjects_3A_3Aadd_contactgroups_rules.html |   2 +-
     ...3A_3Aobjects_3A_3Aadd_hostgroup_rules.html | 188 +++++++++++++++
     ...A_3Anagios_3A_3Aobjects_3A_3Acommands.html |   2 +-
     ...3Anagios_3A_3Aresources_3A_3Aresource.html |   2 +-
     ..._nagios_3A_3Aserver_3A_3Aaccess_rules.html |   2 +-
     ...nfdroid_nagios_3A_3Aserver_3A_3Afiles.html |   2 +-
     ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html |   2 +-
     ...droid_nagios_3A_3Aserver_3A_3Aservice.html |   2 +-
     doc/puppet_defined_type_list.html             |   4 +-
     ...gios_3A_3Aobjects_3A_3Aadd_hostgroups.html | 219 ++++++++++++++++++
     20 files changed, 471 insertions(+), 38 deletions(-)
     create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_hostgroup_rules.html
     create mode 100644 doc/puppet_defined_types/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_hostgroups.html
    
    diff --git a/doc/_index.html b/doc/_index.html
    index edba91e..107b853 100644
    --- a/doc/_index.html
    +++ b/doc/_index.html
    @@ -108,6 +108,11 @@
           
                 
         
    +            
  • + confdroid_nagios::nagios::objects::add_hostgroup_rules + +
  • +
  • confdroid_nagios::nagios::objects::commands @@ -118,11 +123,6 @@
  • -
  • - confdroid_nagios::params - -
  • -
  • confdroid_nagios::server::access_rules @@ -175,7 +175,7 @@
  • - confdroid_nagios::nagios::resources::resource_df + confdroid_nagios::nagios::objects::add_hostgroups
  • diff --git a/doc/file.README.html b/doc/file.README.html index b745af5..7f504c3 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -77,6 +77,8 @@

    Adding contacts

  • Adding contact groups

    +
  • +

    Adding host groups

  • Repo Documentation

    @@ -174,6 +176,18 @@ Re-type new password: }
  • +

    Adding host groups

    + +

    In order to add host groups, address the define confdroid_nagios::nagios::objects::add_hostgroups in your config repo, site.pp etc. like this:

    + +
    confdroid_nagios::nagios::objects::add_hostgroups { 'example_hostgroup':
    +    ng_hostgroup_name   => 'example_hostgroup',
    +    ng_hostgroup_alias  => 'Example Hostgroup',
    +  }
    +
    + +

    Hosts will be populated through the target.pp dynamically.

    +

    Repo Documentation

    See the full Puppet documentation including parameters in docs/index.html

    @@ -208,7 +222,7 @@ Re-type new password:

    In order to apply parameters through Foreman, *confdroid_nagios::params- must be added to the host or host group in question.

    -

    See more details about class deployment on Confdroid.com.

    +

    See more details about class deployment on confdroid.com.

    PuppetDB

    @@ -250,7 +264,7 @@ Re-type new password:

    Disclaimer

    -

    ConfDroid as entity is entirely independent from Puppet. We provide custom configuration modules, written for specific purposes and specific environments. The modules are tested and supported only as documented, and require testing in designated environments (i.e. lab or development environments) for parameter tuning etc. before deploying into production environments.

    +

    confdroid as entity is entirely independent from Puppet. We provide custom configuration modules, written for specific purposes and specific environments. The modules are tested and supported only as documented, and require testing in designated environments (i.e. lab or development environments) for parameter tuning etc. before deploying into production environments.

    +

    Adding host groups

    + +

    In order to add host groups, address the define confdroid_nagios::nagios::objects::add_hostgroups in your config repo, site.pp etc. like this:

    + +
    confdroid_nagios::nagios::objects::add_hostgroups { 'example_hostgroup':
    +    ng_hostgroup_name   => 'example_hostgroup',
    +    ng_hostgroup_alias  => 'Example Hostgroup',
    +  }
    +
    + +

    Hosts will be populated through the target.pp dynamically.

    +

    Repo Documentation

    See the full Puppet documentation including parameters in docs/index.html

    @@ -208,7 +222,7 @@ Re-type new password:

    In order to apply parameters through Foreman, *confdroid_nagios::params- must be added to the host or host group in question.

    -

    See more details about class deployment on Confdroid.com.

    +

    See more details about class deployment on confdroid.com.

    PuppetDB

    @@ -250,7 +264,7 @@ Re-type new password:

    Disclaimer

    -

    ConfDroid as entity is entirely independent from Puppet. We provide custom configuration modules, written for specific purposes and specific environments. The modules are tested and supported only as documented, and require testing in designated environments (i.e. lab or development environments) for parameter tuning etc. before deploying into production environments.

    +

    confdroid as entity is entirely independent from Puppet. We provide custom configuration modules, written for specific purposes and specific environments. The modules are tested and supported only as documented, and require testing in designated environments (i.e. lab or development environments) for parameter tuning etc. before deploying into production environments.