From 743fbe2a7287e4eed15da39213d730f318f8be62 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Fri, 13 Feb 2026 19:30:20 +0100 Subject: [PATCH 001/175] 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 002/175] 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 003/175] 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 004/175] 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 005/175] 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 006/175] 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 007/175] 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 008/175] 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 009/175] 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 010/175] 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 011/175] 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 012/175] 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 013/175] 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 014/175] 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 015/175] 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 016/175] 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 017/175] 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 018/175] 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 019/175] 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 020/175] 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 021/175] 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 022/175] 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 023/175] 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 024/175] 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 025/175] 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 026/175] 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 027/175] 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 028/175] 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 029/175] 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 030/175] 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 031/175] 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 032/175] 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 033/175] 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 034/175] 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 035/175] 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 036/175] 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 037/175] 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 038/175] 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 039/175] 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 040/175] 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 041/175] 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 042/175] 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 043/175] 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 044/175] 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 045/175] 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 046/175] 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 047/175] 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 048/175] 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 049/175] 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 050/175] 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 051/175] 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 052/175] 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 053/175] 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 054/175] 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 055/175] 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 056/175] 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 057/175] 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 058/175] 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 059/175] 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 060/175] 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.

    @@ -116,7 +113,6 @@ ng_template_object_name => 'generic-contact',
     
     
    -11
     12
     13
     14
    @@ -187,10 +183,11 @@ ng_template_object_name => 'generic-contact',
     79
     80
     81
    -82
    +82 +83 -
    # File 'manifests/nagios/objects/template_rules.pp', line 11
    +        
    # File 'manifests/nagios/objects/template_rules.pp', line 12
     
     class confdroid_nagios::nagios::objects::template_rules (
     
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 886c1c8..05d7029 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -1334,7 +1334,7 @@ class confdroid_nagios::params (
       $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_target_add_contact      = "${ng_conf_d_dir}/nagios_contact.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"
    
    From 194f26fef90f7385b6732da162e42f45f872850d Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 2 Mar 2026 15:16:23 +0100
    Subject: [PATCH 102/175] Recommit for updates in build 136
    
    ---
     ...gios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html | 8 ++++----
     1 file changed, 4 insertions(+), 4 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html
    index 8a464a2..e6b3254 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html
    @@ -235,15 +235,15 @@ class confdroid_nagios::nagios::objects::template_rules (
           ng_template_object_use  => 'generic-host',
           ng_notification_options => 'd,u,r',
         }
    -    confdroid_nagios::nagios::objects::templates { 'generic-switch':
    +    confdroid_nagios::nagios::objects::templates { 'switch':
           ng_template_object      => 'host',
    -      ng_template_object_name => 'generic-switch',
    +      ng_template_object_name => 'switch',
           ng_template_object_use  => 'generic-host',
           ng_notification_options => 'd,u,r',
         }
    -    confdroid_nagios::nagios::objects::templates { 'generic-printer':
    +    confdroid_nagios::nagios::objects::templates { 'printer':
           ng_template_object      => 'host',
    -      ng_template_object_name => 'generic-printer',
    +      ng_template_object_name => 'printer',
           ng_template_object_use  => 'generic-host',
           ng_notification_options => 'd,u,r',
         }
    
    From 2ec29453606fa4094098877931dcee2827329d85 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 2 Mar 2026 15:25:56 +0100
    Subject: [PATCH 103/175] Recommit for updates in build 137
    
    ---
     ...gios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html | 8 ++++----
     1 file changed, 4 insertions(+), 4 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html
    index e6b3254..8c5fcfa 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html
    @@ -235,15 +235,15 @@ class confdroid_nagios::nagios::objects::template_rules (
           ng_template_object_use  => 'generic-host',
           ng_notification_options => 'd,u,r',
         }
    -    confdroid_nagios::nagios::objects::templates { 'switch':
    +    confdroid_nagios::nagios::objects::templates { 'unix-server':
           ng_template_object      => 'host',
    -      ng_template_object_name => 'switch',
    +      ng_template_object_name => 'unix-server',
           ng_template_object_use  => 'generic-host',
           ng_notification_options => 'd,u,r',
         }
    -    confdroid_nagios::nagios::objects::templates { 'printer':
    +    confdroid_nagios::nagios::objects::templates { 'generic-printer':
           ng_template_object      => 'host',
    -      ng_template_object_name => 'printer',
    +      ng_template_object_name => 'generic-printer',
           ng_template_object_use  => 'generic-host',
           ng_notification_options => 'd,u,r',
         }
    
    From da98abb9464675abb6947e12ddfc6b2443139ef8 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 2 Mar 2026 15:32:19 +0100
    Subject: [PATCH 104/175] Recommit for updates in build 138
    
    ---
     ...d_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html
    index 8c5fcfa..8a464a2 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html
    @@ -235,9 +235,9 @@ class confdroid_nagios::nagios::objects::template_rules (
           ng_template_object_use  => 'generic-host',
           ng_notification_options => 'd,u,r',
         }
    -    confdroid_nagios::nagios::objects::templates { 'unix-server':
    +    confdroid_nagios::nagios::objects::templates { 'generic-switch':
           ng_template_object      => 'host',
    -      ng_template_object_name => 'unix-server',
    +      ng_template_object_name => 'generic-switch',
           ng_template_object_use  => 'generic-host',
           ng_notification_options => 'd,u,r',
         }
    
    From a27bc730ba178c034b53a1b8cc74e584f137f0d3 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Thu, 5 Mar 2026 11:37:04 +0100
    Subject: [PATCH 105/175] Recommit for updates in build 139
    
    ---
     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 27dd8eb..0f5c29f 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 883271a..554373a 100644 --- a/doc/index.html +++ b/doc/index.html @@ -60,7 +60,7 @@

      Readme

      -

      +

      • Readme

      • From 2395ba76d859220f50876384dea720856494513e Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Fri, 6 Mar 2026 12:06:19 +0100 Subject: [PATCH 106/175] Recommit for updates in build 140 --- .../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 1b41558..0d5683d 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -325,7 +325,7 @@ class confdroid_nagios::server::service ( } @@nagios_service { 'check_nagios_localhost': - check_command => $ng_service_cmd, + check_command => 'check-nagios', use => 'generic-service', host_name => 'localhost', notification_period => '24x7', From bd083f6ae966a701be10c4f5e7b50798ce189db8 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Fri, 6 Mar 2026 12:09:31 +0100 Subject: [PATCH 107/175] Recommit for updates in build 141 --- .../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 0d5683d..828fe1b 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -325,7 +325,7 @@ class confdroid_nagios::server::service ( } @@nagios_service { 'check_nagios_localhost': - check_command => 'check-nagios', + check_command => 'check_nagios', use => 'generic-service', host_name => 'localhost', notification_period => '24x7', From eed4dcee71e80255393fdb0a29ca4731fa4c4c06 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Fri, 6 Mar 2026 12:24:51 +0100 Subject: [PATCH 108/175] Recommit for updates in build 142 --- doc/puppet_classes/confdroid_nagios_3A_3Aparams.html | 2 +- .../confdroid_nagios_3A_3Aserver_3A_3Aservice.html | 2 +- 2 files 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 05d7029..fdfc92b 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -1342,7 +1342,7 @@ class confdroid_nagios::params ( $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_service_cmd = 'check_nagios!/var/log/nagios/status.dat!5!/usr/sbin/nagios' + $ng_service_cmd = 'check_nagios!/var/spool/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' 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 828fe1b..e03a5e9 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -325,7 +325,7 @@ class confdroid_nagios::server::service ( } @@nagios_service { 'check_nagios_localhost': - check_command => 'check_nagios', + check_command => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios", use => 'generic-service', host_name => 'localhost', notification_period => '24x7', From 683c43f01258d3884e538f5bb6f30ea63c41b24a Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Fri, 6 Mar 2026 15:15:05 +0100 Subject: [PATCH 109/175] Recommit for updates in build 144 --- doc/puppet_classes/confdroid_nagios_3A_3Aparams.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index fdfc92b..da93956 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -1197,7 +1197,8 @@ inherited by all classes except defines. 279 280 281 -282
    +282 +283
    # File 'manifests/params.pp', line 109
    @@ -1350,7 +1351,8 @@ class confdroid_nagios::params (
       $ng_resource_erb            = 'confdroid_nagios/nagios/resource_cfg.erb'
       $ng_object_cache_file       = "${ng_spool_dir}/objects.cache"
       $ng_precached_obj_file      = "${ng_spool_dir}/objects.precache"
    -  $ng_status_file             = "${ng_log_dir}/status.dat"
    +  $ng_status_file             = "${ng_spool_dir}/status.dat"
    +  $ng_command_file            = "${ng_cmd_dir}/nagios.cmd"
     
     ## old
       $ng_taccgi_erb              = 'confdroid_nagios/selinux/taccgi.erb'
    
    From a3b2cd5edc64637547fee527b25d4d2870ff065c Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 11:10:03 +0100
    Subject: [PATCH 110/175] Recommit for updates in build 145
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         |  4 +-
     ...nfdroid_nagios_3A_3Aserver_3A_3Afiles.html | 70 +++++++++++++++++--
     2 files changed, 66 insertions(+), 8 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index da93956..50d43d5 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -1198,7 +1198,8 @@ inherited by all classes except defines.
     280
     281
     282
    -283
    +283 +284
    # File 'manifests/params.pp', line 109
    @@ -1353,6 +1354,7 @@ class confdroid_nagios::params (
       $ng_precached_obj_file      = "${ng_spool_dir}/objects.precache"
       $ng_status_file             = "${ng_spool_dir}/status.dat"
       $ng_command_file            = "${ng_cmd_dir}/nagios.cmd"
    +  $ng_lock_file               = "${ng_run_dir}/nagios.pid"
     
     ## old
       $ng_taccgi_erb              = 'confdroid_nagios/selinux/taccgi.erb'
    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 1e10889..d664e83 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,35 @@
     17
     18
     19
    -20
    +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/server/files.pp', line 6
    @@ -126,12 +154,40 @@ class confdroid_nagios::server::files (
       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_service],
    +      ensure   => file,
    +      owner    => 'nagios',
    +      group    => 'nagios',
    +      mode     => '0644',
    +      selrange => s0,
    +      selrole  => object_r,
    +      seltype  => nagios_etc_t,
    +      seluser  => system_u,
    +      content  => template($ng_nagios_cfg_erb),
    +      notify   => Service[$ng_service],
    +    }
    +
    +    file { $ng_nagios_cgi_cfg_file:
    +      ensure   => file,
    +      owner    => 'nagios',
    +      group    => 'nagios',
    +      mode     => '0644',
    +      selrange => s0,
    +      selrole  => object_r,
    +      seltype  => nagios_etc_t,
    +      seluser  => system_u,
    +      content  => template($ng_nagios_cgi_cfg_erb),
    +      notify   => Service[$ng_service],
    +    }
    +
    +    file { $ng_lock_file:
    +      ensure   => file,
    +      owner    => 'nagios',
    +      group    => 'nagios',
    +      mode     => '0644',
    +      selrange => s0,
    +      selrole  => object_r,
    +      seltype  => nagios_var_run_t,
    +      seluser  => system_u,
         }
       }
     }
    From 30ecd8e79f027866d940bffc787fcfae9bacc80e Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 7 Mar 2026 11:13:02 +0100 Subject: [PATCH 111/175] Recommit for updates in build 146 --- ...nfdroid_nagios_3A_3Aserver_3A_3Afiles.html | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 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 d664e83..6f0b749 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html @@ -166,18 +166,18 @@ class confdroid_nagios::server::files ( notify => Service[$ng_service], } - file { $ng_nagios_cgi_cfg_file: - ensure => file, - owner => 'nagios', - group => 'nagios', - mode => '0644', - selrange => s0, - selrole => object_r, - seltype => nagios_etc_t, - seluser => system_u, - content => template($ng_nagios_cgi_cfg_erb), - notify => Service[$ng_service], - } +# file { $ng_cgi_cfg_file: +# ensure => file, +# owner => 'nagios', +# group => 'nagios', +# mode => '0644', +# selrange => s0, +# selrole => object_r, +# seltype => nagios_etc_t, +# seluser => system_u, +# content => template($ng_nagios_cgi_cfg_erb), +# notify => Service[$ng_service], +# } file { $ng_lock_file: ensure => file, From 8029484a86250fd9f88462046f794308938ad084 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 7 Mar 2026 11:39:33 +0100 Subject: [PATCH 112/175] Recommit for updates in build 147 --- .../confdroid_nagios_3A_3Aparams.html | 150 ++++++++++++++++-- 1 file changed, 136 insertions(+), 14 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 50d43d5..22cb73a 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -1009,6 +1009,114 @@ inherited by all classes except defines. —

    Whether to purge unmanaged host and services configuration files. Default is true.

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

    The event broker options for Nagios. Default is ‘-1’.

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

    Whether to enable the Nagios query handler. Default is false.

    +
    + +
  • + +
  • + + ng_event_broker_module + + + (Array) + + + (defaults to: []) + + + — +
    +

    The event broker modules for Nagios. Default is [].

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

    The log rotation method for Nagios. Default is ‘d’.

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

    Whether to use syslog for logging in Nagios. Default is ‘1’.

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

    Whether to log notifications in Nagios. Default is ‘1’.

  • @@ -1024,18 +1132,6 @@ inherited by all classes except defines.
     
     
    -109
    -110
    -111
    -112
    -113
    -114
    -115
    -116
    -117
    -118
    -119
    -120
     121
     122
     123
    @@ -1199,10 +1295,29 @@ inherited by all classes except defines.
     281
     282
     283
    -284
    +284 +285 +286 +287 +288 +289 +290 +291 +292 +293 +294 +295 +296 +297 +298 +299 +300 +301 +302 +303 -
    # File 'manifests/params.pp', line 109
    +        
    # File 'manifests/params.pp', line 121
     
     class confdroid_nagios::params (
     
    @@ -1238,6 +1353,12 @@ class confdroid_nagios::params (
     
     # nagios.cfg
       String $ng_log_file               = '/var/log/nagios/nagios.log',
    +  String $ng_event_broker_options   = '-1',
    +  Boolean $ng_enable_query_handler  = false,
    +  Array $ng_event_broker_module     = [],
    +  String $ng_log_rotation_method    = 'd',
    +  String $ng_use_syslog             = '1',
    +  String $ng_log_notifications      = '1',
     
     # cgi.cfg
       String $ng_context_help           = '1',
    @@ -1355,6 +1476,7 @@ class confdroid_nagios::params (
       $ng_status_file             = "${ng_spool_dir}/status.dat"
       $ng_command_file            = "${ng_cmd_dir}/nagios.cmd"
       $ng_lock_file               = "${ng_run_dir}/nagios.pid"
    +  $ng_temp_file               = "${ng_spool_dir}/nagios.tmp"
     
     ## old
       $ng_taccgi_erb              = 'confdroid_nagios/selinux/taccgi.erb'
    
    From 0ae694807583e13b0b8fefdc4bca0cf1ca8663cb Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 12:07:54 +0100
    Subject: [PATCH 113/175] Recommit for updates in build 148
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 456 +++++++++++++++---
     1 file changed, 398 insertions(+), 58 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 22cb73a..53f5369 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -1117,6 +1117,312 @@ inherited by all classes except defines.
             —
             

    Whether to log notifications in Nagios. Default is ‘1’.

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

    Whether to log service check retries in Nagios. Default is ‘1’.

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

    Whether to log host check retries in Nagios. Default is ‘1’.

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

    Whether to log event handlers in Nagios. Default is ‘1’.

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

    Whether to log initial states in Nagios. Default is ‘0’.

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

    Whether to log current states in Nagios. Default is ‘1’.

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

    Whether to log external commands in Nagios. Default is ‘1’.

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

    Whether to log passive checks in Nagios. Default is ‘1’.

    +
    + +
  • + +
  • + + ng_glob_host_evt_handler + + + (Array) + + + (defaults to: []) + + + — +
    +

    An array of global host event handlers for Nagios. Default is [].

    +
    + +
  • + +
  • + + ng_glob_svc_evt_handler + + + (Array) + + + (defaults to: []) + + + — +
    +

    An array of global service event handlers for Nagios. Default is [].

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

    The service inter-check delay method for Nagios. Default is ‘s’.

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

    The maximum service check spread for Nagios. Default is ‘30’.

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

    The service interleave factor for Nagios. Default is ‘s’.

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

    The host inter-check delay method for Nagios. Default is ‘s’.

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

    The maximum host check spread for Nagios. Default is ‘30’.

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

    The maximum number of concurrent checks for Nagios. Default is ‘0’.

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

    The check result reaper frequency for Nagios. Default is ‘10’.

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

    The maximum check result reaper time for Nagios. Default is ‘30’.

  • @@ -1132,40 +1438,6 @@ inherited by all classes except defines.
     
     
    -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
    @@ -1314,27 +1586,78 @@ inherited by all classes except defines.
     300
     301
     302
    -303
    +303 +304 +305 +306 +307 +308 +309 +310 +311 +312 +313 +314 +315 +316 +317 +318 +319 +320 +321 +322 +323 +324 +325 +326 +327 +328 +329 +330 +331 +332 +333 +334 +335 +336 +337 +338 +339 +340 +341 +342 +343 +344 +345 +346 +347 +348 +349 +350 +351 +352 +353 +354
    -
    # File 'manifests/params.pp', line 121
    +        
    # File 'manifests/params.pp', line 155
     
     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_main_user              = 'nagios',
    -  String $ng_main_password          = 'nagios',
    -  String $ng_max_check_attempts     = '10',
    -  String $ng_status_upd_interval    = '10',
    -  String $ng_check_ext_commands     = '1',
    -  String $ng_user                   = 'nagios',
    -  Boolean $ng_enable_target         = true,
    -  Boolean $ng_purge_target          = 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,
    +  String $ng_main_user               = 'nagios',
    +  String $ng_main_password           = 'nagios',
    +  String $ng_max_check_attempts      = '10',
    +  String $ng_status_upd_interval     = '10',
    +  String $ng_check_ext_commands      = '1',
    +  String $ng_user                    = 'nagios',
    +  Boolean $ng_enable_target          = true,
    +  Boolean $ng_purge_target           = true,
     
     # contact groups
       String $ng_contactgroup_name       = 'admins',
    @@ -1348,17 +1671,34 @@ class confdroid_nagios::params (
       String $ng_contact_email           = 'nagiosadmin@example.net',
     
     # hostgroups
    -  String $ng_hostgroup_name         = 'linux-servers',
    -  String $ng_hostgroup_alias        = 'Linux Servers',
    +  String $ng_hostgroup_name          = 'linux-servers',
    +  String $ng_hostgroup_alias         = 'Linux Servers',
     
     # nagios.cfg
    -  String $ng_log_file               = '/var/log/nagios/nagios.log',
    -  String $ng_event_broker_options   = '-1',
    -  Boolean $ng_enable_query_handler  = false,
    -  Array $ng_event_broker_module     = [],
    -  String $ng_log_rotation_method    = 'd',
    -  String $ng_use_syslog             = '1',
    -  String $ng_log_notifications      = '1',
    +  String $ng_log_file                = '/var/log/nagios/nagios.log',
    +  String $ng_event_broker_options    = '-1',
    +  Boolean $ng_enable_query_handler   = false,
    +  Array $ng_event_broker_module      = [],
    +  String $ng_log_rotation_method     = 'd',
    +  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',
    +  Array $ng_glob_host_evt_handler    = [],
    +  Array $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',
     
     # cgi.cfg
       String $ng_context_help           = '1',
    
    From e823d48e5e35aadc0e184f7e974ee1e8d4772b6e Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 12:16:47 +0100
    Subject: [PATCH 114/175] Recommit for updates in build 149
    
    ---
     .../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 53f5369..4c1374c 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -1423,6 +1423,96 @@ inherited by all classes except defines.
             —
             

    The maximum check result reaper time for Nagios. Default is ‘30’.

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

    The maximum check result file age for Nagios. Default is ‘3600’.

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

    The cached host check horizon for Nagios. Default is ‘15’.

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

    The cached service check horizon for Nagios. Default is ‘15’.

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

    Whether to enable predictive host dependency checks in Nagios. Default is ‘1’.

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

    Whether to enable predictive service dependency checks in Nagios. Default is ‘1’.

  • @@ -1438,16 +1528,6 @@ inherited by all classes except defines.
     
     
    -155
    -156
    -157
    -158
    -159
    -160
    -161
    -162
    -163
    -164
     165
     166
     167
    @@ -1637,10 +1717,26 @@ inherited by all classes except defines.
     351
     352
     353
    -354
    +354 +355 +356 +357 +358 +359 +360 +361 +362 +363 +364 +365 +366 +367 +368 +369 +370
    -
    # File 'manifests/params.pp', line 155
    +        
    # File 'manifests/params.pp', line 165
     
     class confdroid_nagios::params (
     
    @@ -1699,6 +1795,11 @@ class confdroid_nagios::params (
       String $ng_max_concurrent_checks   = '0',
       String $ng_check_res_reaper_freq   = '10',
       String $ng_max_check_res_reap_time = '30',
    +  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',
     
     # cgi.cfg
       String $ng_context_help           = '1',
    @@ -1817,6 +1918,7 @@ class confdroid_nagios::params (
       $ng_command_file            = "${ng_cmd_dir}/nagios.cmd"
       $ng_lock_file               = "${ng_run_dir}/nagios.pid"
       $ng_temp_file               = "${ng_spool_dir}/nagios.tmp"
    +  $ng_check_result_path       = "${ng_spool_dir}/checkresults"
     
     ## old
       $ng_taccgi_erb              = 'confdroid_nagios/selinux/taccgi.erb'
    
    From 5b75dc732995fe25ea1e8405383fec3e61f40507 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 12:29:52 +0100
    Subject: [PATCH 115/175] Recommit for updates in build 150
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 288 ++++++++++++++++--
     1 file changed, 264 insertions(+), 24 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 4c1374c..3c4a017 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -1513,6 +1513,222 @@ inherited by all classes except defines.
             —
             

    Whether to enable predictive service dependency checks in Nagios. Default is ‘1’.

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

    Whether to enable soft state dependencies in Nagios. Default is ‘0’.

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

    The time change threshold for Nagios. Default is ‘900’.

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

    Whether to automatically reschedule checks in Nagios. Default is ‘1’.

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

    The interval for automatically rescheduling checks in Nagios. Default is ‘30’.

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

    The window for automatically rescheduling checks in Nagios. Default is ‘180’.

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

    The service check timeout for Nagios. Default is ‘60’.

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

    The host check timeout for Nagios. Default is ‘30’.

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

    The event handler timeout for Nagios. Default is ‘30’.

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

    The notification timeout for Nagios. Default is ‘30’.

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

    The OCSP timeout for Nagios. Default is ‘5’.

    +
    + +
  • + +
  • + + ng_ochp_timeout + + + (String) + + + (defaults to: '5') + + + — +
    +

    The OCHP timeout for Nagios. Default is ‘5’.

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

    The performance data timeout for Nagios. Default is ‘5’.

  • @@ -1528,28 +1744,6 @@ inherited by all classes except defines.
     
     
    -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
    @@ -1733,10 +1927,44 @@ inherited by all classes except defines.
     367
     368
     369
    -370
    +370 +371 +372 +373 +374 +375 +376 +377 +378 +379 +380 +381 +382 +383 +384 +385 +386 +387 +388 +389 +390 +391 +392 +393 +394 +395 +396 +397 +398 +399 +400 +401 +402 +403 +404
    -
    # File 'manifests/params.pp', line 165
    +        
    # File 'manifests/params.pp', line 187
     
     class confdroid_nagios::params (
     
    @@ -1800,6 +2028,18 @@ class confdroid_nagios::params (
       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  = '1',
    +  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_ochp_timeout            = '5',
    +  String $ng_perfdata_timeout        = '5',
     
     # cgi.cfg
       String $ng_context_help           = '1',
    
    From 63fa66195a2c5072196205668d8942ae76cc559c Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 12:47:20 +0100
    Subject: [PATCH 116/175] Recommit for updates in build 151
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 246 ++++++++++++++++--
     1 file changed, 224 insertions(+), 22 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 3c4a017..f818c65 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -1729,6 +1729,186 @@ inherited by all classes except defines.
             —
             

    The performance data timeout for Nagios. Default is ‘5’.

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

    Whether to retain state information in Nagios. Default is ‘1’.

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

    The retention update interval for Nagios. Default is ‘60’.

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

    Whether to use the retention program state in Nagios. Default is ‘1’.

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

    Whether to use retained scheduling info in Nagios. Default is ‘1’.

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

    The retention host attribute mask for Nagios. Default is ‘0’.

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

    The retention service attribute mask for Nagios. Default is ‘0’.

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

    The retention process host attribute mask for Nagios. Default is ‘0’.

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

    The retention process service attribute mask for Nagios. Default is ‘0’.

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

    The retention contact host attribute mask for Nagios. Default is ‘0’.

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

    The retention contact service attribute mask for Nagios. Default is ‘0’.

  • @@ -1744,26 +1924,6 @@ inherited by all classes except defines.
     
     
    -187
    -188
    -189
    -190
    -191
    -192
    -193
    -194
    -195
    -196
    -197
    -198
    -199
    -200
    -201
    -202
    -203
    -204
    -205
    -206
     207
     208
     209
    @@ -1961,10 +2121,41 @@ inherited by all classes except defines.
     401
     402
     403
    -404
    +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
    -
    # File 'manifests/params.pp', line 187
    +        
    # File 'manifests/params.pp', line 207
     
     class confdroid_nagios::params (
     
    @@ -2040,6 +2231,16 @@ class confdroid_nagios::params (
       String $ng_ocsp_timeout            = '5',
       String $ng_ochp_timeout            = '5',
       String $ng_perfdata_timeout        = '5',
    +  String $ng_retain_state_inf        = '1',
    +  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',
     
     # cgi.cfg
       String $ng_context_help           = '1',
    @@ -2159,6 +2360,7 @@ class confdroid_nagios::params (
       $ng_lock_file               = "${ng_run_dir}/nagios.pid"
       $ng_temp_file               = "${ng_spool_dir}/nagios.tmp"
       $ng_check_result_path       = "${ng_spool_dir}/checkresults"
    +  $ng_state_retention_file    = "${ng_spool_dir}/retention.dat"
     
     ## old
       $ng_taccgi_erb              = 'confdroid_nagios/selinux/taccgi.erb'
    
    From 6693ff82823a2defd765006826903143b2657524 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 13:28:18 +0100
    Subject: [PATCH 117/175] Recommit for updates in build 152
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 744 ++++++++++++++----
     1 file changed, 604 insertions(+), 140 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index f818c65..0a23183 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -1909,6 +1909,420 @@ inherited by all classes except defines.
             —
             

    The retention contact service attribute mask for Nagios. Default is ‘0’.

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

    The interval length for Nagios. Default is ‘60’.

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

    Whether to check for updates in Nagios. Default is ‘1’.

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

    Whether to perform a bare update check in Nagios. Default is ‘1’.

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

    Whether to use aggressive host checking in Nagios. Default is ‘0’.

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

    Whether to execute service checks in Nagios at initial start. Default is ‘1’.

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

    Whether to accept passive service checks in Nagios. Default is ‘1’.

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

    Whether to execute host checks in Nagios at initial start. Default is ‘1’.

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

    Whether to accept passive host checks in Nagios. Default is ‘1’.

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

    Whether to enable notifications in Nagios when it is initially started. Default is ‘1’.

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

    Whether to enable event handlers in Nagios when it is initially started. Default is ‘1’.

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

    Whether to process performance data in Nagios when it is initially started. Default is ‘0’.

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

    The command to process host performance data in Nagios. Default is ‘process-host-perfdata’.

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

    The command to process service performance data in Nagios. Default is ‘process-service-perfdata’.

    +
    + +
  • + +
  • + + 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 Nagios.

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

    The template for service performance data in Nagios.

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

    The file mode for host performance data in Nagios. Default is ‘a’.

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

    The file mode for service performance data in Nagios. Default is ‘a’.

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

    The interval for processing host performance data in Nagios. Default is ‘0’.

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

    The interval for processing service performance data in Nagios. Default is ‘0’.

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

    The command to process host performance data in Nagios. Default is ‘process-host-perfdata’.

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

    The command to process service performance data in Nagios. Default is ‘process-service-perfdata’.

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

    The expected result for processing host performance data in Nagios. Default is ‘0’.

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

    The expected result for processing service performance data in Nagios. Default is ‘0’.

  • @@ -1924,52 +2338,6 @@ inherited by all classes except defines.
     
     
    -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
    -242
    -243
    -244
    -245
    -246
    -247
    -248
    -249
    -250
    -251
    -252
     253
     254
     255
    @@ -2152,95 +2520,189 @@ inherited by all classes except defines.
     432
     433
     434
    -435
    +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
    -
    # File 'manifests/params.pp', line 207
    +        
    # File 'manifests/params.pp', line 253
     
     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_main_user               = 'nagios',
    -  String $ng_main_password           = 'nagios',
    -  String $ng_max_check_attempts      = '10',
    -  String $ng_status_upd_interval     = '10',
    -  String $ng_check_ext_commands      = '1',
    -  String $ng_user                    = 'nagios',
    -  Boolean $ng_enable_target          = true,
    -  Boolean $ng_purge_target           = 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,
    +  String $ng_main_user                = 'nagios',
    +  String $ng_main_password            = 'nagios',
    +  String $ng_max_check_attempts       = '10',
    +  String $ng_status_upd_interval      = '10',
    +  String $ng_check_ext_commands       = '1',
    +  String $ng_user                     = 'nagios',
    +  Boolean $ng_enable_target           = true,
    +  Boolean $ng_purge_target            = true,
     
     # contact groups
    -  String $ng_contactgroup_name       = 'admins',
    -  String $ng_contactgroup_alias      = 'Nagios Administrators',
    -  String $ng_contactgroup_members    = 'nagiosadmin',
    +  String $ng_contactgroup_name        = 'admins',
    +  String $ng_contactgroup_alias       = 'Nagios Administrators',
    +  String $ng_contactgroup_members     = 'nagiosadmin',
     
     # contacts
    -  String $ng_contact_name            = 'nagiosadmin',
    -  String $ng_contact_alias           = 'Nagios Admin',
    -  String $ng_contact_groups          = 'admins',
    -  String $ng_contact_email           = 'nagiosadmin@example.net',
    +  String $ng_contact_name             = 'nagiosadmin',
    +  String $ng_contact_alias            = 'Nagios Admin',
    +  String $ng_contact_groups           = 'admins',
    +  String $ng_contact_email            = 'nagiosadmin@example.net',
     
     # hostgroups
    -  String $ng_hostgroup_name          = 'linux-servers',
    -  String $ng_hostgroup_alias         = 'Linux Servers',
    +  String $ng_hostgroup_name           = 'linux-servers',
    +  String $ng_hostgroup_alias          = 'Linux Servers',
     
     # nagios.cfg
    -  String $ng_log_file                = '/var/log/nagios/nagios.log',
    -  String $ng_event_broker_options    = '-1',
    -  Boolean $ng_enable_query_handler   = false,
    -  Array $ng_event_broker_module      = [],
    -  String $ng_log_rotation_method     = 'd',
    -  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',
    -  Array $ng_glob_host_evt_handler    = [],
    -  Array $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_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  = '1',
    -  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_ochp_timeout            = '5',
    -  String $ng_perfdata_timeout        = '5',
    -  String $ng_retain_state_inf        = '1',
    -  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_log_file                 = '/var/log/nagios/nagios.log',
    +  String $ng_event_broker_options     = '-1',
    +  Boolean $ng_enable_query_handler    = false,
    +  Array $ng_event_broker_module       = [],
    +  String $ng_log_rotation_method      = 'd',
    +  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',
    +  Array $ng_glob_host_evt_handler     = [],
    +  Array $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_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   = '1',
    +  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_ochp_timeout             = '5',
    +  String $ng_perfdata_timeout         = '5',
    +  String $ng_retain_state_inf         = '1',
    +  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        = '1',
    +  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_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$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',
    +  String $ng_s_perfdata_proc_cmd      = 'process-service-perfdata',
    +  String $ng_h_perfdata_proc_e_result = '0',
    +  String $ng_s_perfdata_proc_e_result = '0',
     
     # cgi.cfg
       String $ng_context_help           = '1',
    @@ -2361,27 +2823,29 @@ class confdroid_nagios::params (
       $ng_temp_file               = "${ng_spool_dir}/nagios.tmp"
       $ng_check_result_path       = "${ng_spool_dir}/checkresults"
       $ng_state_retention_file    = "${ng_spool_dir}/retention.dat"
    +  $ng_host_perfdata_file      = "${ng_log_dir}/host-perfdata"
    +  $ng_svc_perfdata_file       = "${ng_log_dir}/service-perfdata"
     
     ## old
    -  $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_grep_erb                = 'confdroid_nagios/selinux/grep.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_grep_erb                = 'confdroid_nagios/selinux/grep.erb'
     
     # includes must be last
       include confdroid_nagios::main::config
    
    From 700a54e2cc7b5ca74aad95602f08e0a76a2a8f64 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 14:11:48 +0100
    Subject: [PATCH 118/175] Recommit for updates in build 153
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 460 ++++++++++++++++--
     1 file changed, 420 insertions(+), 40 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 0a23183..a98bf6d 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -2323,6 +2323,348 @@ inherited by all classes except defines.
             —
             

    The expected result for processing service performance data in Nagios. Default is ‘0’.

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

    Whether to enable obsessing over services in Nagios. Default is ‘0’.

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

    The command to run for obsessive compulsive service processing in Nagios. Default is ‘somecommand’.

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

    Whether to enable obsessing over hosts in Nagios. Default is ‘0’.

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

    The command to run for obsessive compulsive host processing in Nagios. Default is ‘somecommand’.

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

    Whether to translate passive host checks in Nagios. Default is ‘0’.

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

    Whether to treat passive host checks as soft in Nagios. Default is ‘0’.

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

    Whether to check for orphaned service checks in Nagios. Default is ‘1’.

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

    Whether to check for orphaned host checks in Nagios. Default is ‘1’.

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

    Whether to check for service freshness in Nagios. Default is ‘1’.

    +
    + +
  • + +
  • + + ng_svc_fresh_check_intval + + + (String) + + + (defaults to: '60') + + + — +
    +

    The interval for checking service freshness in Nagios. Default is ‘60’.

    +
    + +
  • + +
  • + + ng_svc_check_timeout_state + + + (String) + + + (defaults to: 'c') + + + — +
    +

    The state to set a service to when it times out in Nagios. Default is ‘c’.

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

    Whether to check for host freshness in Nagios. Default is ‘1’.

    +
    + +
  • + +
  • + + ng_host_fresh_check_intval + + + (String) + + + (defaults to: '60') + + + — +
    +

    The interval for checking host freshness in Nagios. Default is ‘60’.

    +
    + +
  • + +
  • + + ng_add_freshness_latency + + + (String) + + + (defaults to: '15') + + + — +
    +

    The additional latency threshold for freshness checks in Nagios. Default is ‘15’.

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

    Whether to enable flap detection in Nagios. Default is ‘1’.

    +
    + +
  • + +
  • + + ng_low_svc_flap_threshold + + + (String) + + + (defaults to: '5.0') + + + — +
    +

    The low service flap threshold for Nagios. Default is ‘5.0’.

    +
    + +
  • + +
  • + + ng_high_svc_flap_threshold + + + (String) + + + (defaults to: '20.0') + + + — +
    +

    The high service flap threshold for Nagios. Default is ‘20.0’.

    +
    + +
  • + +
  • + + ng_low_h_flap_threshold + + + (String) + + + (defaults to: '5.0') + + + — +
    +

    The low host flap threshold for Nagios. Default is ‘5.0’.

    +
    + +
  • + +
  • + + ng_high_h_flap_threshold + + + (String) + + + (defaults to: '20.0') + + + — +
    +

    The high host flap threshold for Nagios. Default is ‘20.0’.

  • @@ -2338,44 +2680,6 @@ inherited by all classes except defines.
     
     
    -253
    -254
    -255
    -256
    -257
    -258
    -259
    -260
    -261
    -262
    -263
    -264
    -265
    -266
    -267
    -268
    -269
    -270
    -271
    -272
    -273
    -274
    -275
    -276
    -277
    -278
    -279
    -280
    -281
    -282
    -283
    -284
    -285
    -286
    -287
    -288
    -289
    -290
     291
     292
     293
    @@ -2591,10 +2895,67 @@ inherited by all classes except defines.
     503
     504
     505
    -506
    +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
    -
    # File 'manifests/params.pp', line 253
    +        
    # File 'manifests/params.pp', line 291
     
     class confdroid_nagios::params (
     
    @@ -2703,6 +3064,25 @@ class confdroid_nagios::params (
       String $ng_s_perfdata_proc_cmd      = 'process-service-perfdata',
       String $ng_h_perfdata_proc_e_result = '0',
       String $ng_s_perfdata_proc_e_result = '0',
    +  String $ng_obsess_over_services     = '0',
    +  String $ng_ocsp_command             = 'somecommand',
    +  String $ng_obsess_over_hosts        = '0',
    +  String $ng_ochp_command             = 'somecommand',
    +  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     = '1',
    +  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',
     
     # cgi.cfg
       String $ng_context_help           = '1',
    
    From 2d32be17bceb052c5da037fce906763d12d52903 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 15:02:43 +0100
    Subject: [PATCH 119/175] Recommit for updates in build 154
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 624 ++++++++++++++++--
     1 file changed, 573 insertions(+), 51 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index a98bf6d..28aa88b 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -2665,6 +2665,474 @@ inherited by all classes except defines.
             —
             

    The high host flap threshold for Nagios. Default is ‘20.0’.

    +
    + + + +
  • + + ng_date_format + + + (String) + + + (defaults to: 'euro') + + + — +
    +

    The date format for Nagios. Default is ‘euro’.

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

    Whether to use timezone offset in Nagios. Default is false.

    +
    + +
  • + +
  • + + ng_use_timezone + + + (String) + + + (defaults to: 'UTC') + + + — +
    +

    The timezone to use in Nagios if timezone offset is enabled. Default is ‘UTC’.

    +
    + +
  • + +
  • + + ng_illegal_obj_name_chars + + + (String) + + + (defaults to: '~!$%^&*|\'"<>?,()=') + + + — +
    +

    A string of characters that are not allowed in object names in Nagios. Default is ‘~!$%^&*|'“<>?,()=’.

    +
    + +
  • + +
  • + + ng_ill_macro_output_chars + + + (String) + + + (defaults to: '`~$&|\'"<>') + + + — +
    +

    A string of characters that are not allowed in macro output in Nagios. Default is ‘`~$&|'“<>?,()=’.

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

    Whether to use regular expression matching in Nagios. Default is ‘0’.

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

    Whether to use true regular expression matching in Nagios. Default is ‘0’.

    +
    + +
  • + +
  • + + ng_mail_user + + + (String) + + + (defaults to: 'nagios@localhost') + + + — +
    +

    The email address for the Nagios administrator. Default is ‘nagios@localhost’.

    +
    + +
  • + +
  • + + ng_page_user + + + (String) + + + (defaults to: 'nagios@localhost') + + + — +
    +

    The pager address for the Nagios administrator. Default is ‘nagios@localhost’.

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

    Whether to allow the Nagios daemon to dump core files. Default is ‘0’.

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

    Whether to use large instance tweaks in Nagios. Default is ‘0’.

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

    Whether to enable environment macros in Nagios. Default is ‘0’.

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

    Whether to free child process memory after processing checks in Nagios. Default is ‘1’.

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

    Whether to fork child processes twice in Nagios. Default is ‘1’.

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

    The debug level for Nagios. Default is ‘0’.

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

    The debug verbosity for Nagios. Default is ‘1’.

    +
    + +
  • + +
  • + + ng_max_debug_file_size + + + (String) + + + (defaults to: '1000000') + + + — +
    +

    The maximum debug file size for Nagios. Default is ‘1000000’.

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

    Whether to allow empty hostgroup assignments in Nagios. Default is ‘1’.

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

    The number of check worker processes for Nagios. Default is ‘3’.

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

    Whether to disable service checks when a host is down in Nagios. Default is ‘0’.

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

    The status to skip for dependency checks in Nagios. Default is ‘-1’.

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

    The status to skip for parent checks in Nagios. Default is ‘-1’.

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

    The status to skip for parent host down checks in Nagios. Default is ‘-1’.

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

    The status to skip for host dependency checks in Nagios. Default is ‘-1’.

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

    Whether to enable load control options in Nagios. Default is false.

    +
    + +
  • + +
  • + + ng_load_ctl_options + + + (String) + + + (defaults to: 'jobs_max=100;backoff_limit=10;rampup_change=5') + + + — +
    +

    The load control options for Nagios. Default is ‘jobs_max=100;backoff_limit=10;rampup_change=5’.

  • @@ -2680,55 +3148,6 @@ inherited by all classes except defines.
     
     
    -291
    -292
    -293
    -294
    -295
    -296
    -297
    -298
    -299
    -300
    -301
    -302
    -303
    -304
    -305
    -306
    -307
    -308
    -309
    -310
    -311
    -312
    -313
    -314
    -315
    -316
    -317
    -318
    -319
    -320
    -321
    -322
    -323
    -324
    -325
    -326
    -327
    -328
    -329
    -330
    -331
    -332
    -333
    -334
    -335
    -336
    -337
    -338
    -339
     340
     341
     342
    @@ -2952,10 +3371,86 @@ inherited by all classes except defines.
     560
     561
     562
    -563
    +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
    -
    # File 'manifests/params.pp', line 291
    +        
    # File 'manifests/params.pp', line 340
     
     class confdroid_nagios::params (
     
    @@ -3083,6 +3578,32 @@ class confdroid_nagios::params (
       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              = 'euro',
    +  Boolean $ng_use_timezone_offset     = false,
    +  String $ng_use_timezone             = 'UTC',
    +  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_mail_user                = 'nagios@localhost',
    +  String $ng_page_user                = 'nagios@localhost',
    +  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_max_debug_file_size      = '1000000',
    +  String $ng_allow_empty_hostgroups   = '1',
    +  String $ng_check_workers            = '3',
    +  String $ng_host_down_svc_checks     = '0',
    +  String $ng_svc_skip_chk_dep_status  = '-1',
    +  String $ng_svc_skip_chk_par_status  = '-1',
    +  String $ng_svc_skip_chk_par_h_d_sts = '-1',
    +  String $ng_host_skip_chk_dep_status = '-1',
    +  Boolean $ng_enable_load_ctl_options = false,
    +  String $ng_load_ctl_options          = 'jobs_max=100;backoff_limit=10;rampup_change=5',
     
     # cgi.cfg
       String $ng_context_help           = '1',
    @@ -3205,6 +3726,7 @@ class confdroid_nagios::params (
       $ng_state_retention_file    = "${ng_spool_dir}/retention.dat"
       $ng_host_perfdata_file      = "${ng_log_dir}/host-perfdata"
       $ng_svc_perfdata_file       = "${ng_log_dir}/service-perfdata"
    +  $ng_debug_file              = "${ng_log_dir}/nagios.debug"
     
     ## old
     #  $ng_taccgi_erb              = 'confdroid_nagios/selinux/taccgi.erb'
    
    From 461cb526c3e887fa3efdaa0db064843e199a03fc Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 15:41:09 +0100
    Subject: [PATCH 120/175] Recommit for updates in build 156
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 399 +++++++++++++++---
     ...nfdroid_nagios_3A_3Aserver_3A_3Afiles.html |  24 +-
     2 files changed, 352 insertions(+), 71 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 28aa88b..868f952 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -120,7 +120,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) @param [String] ng_use_ssl_auth Whether to use SSL authentication in Nagios. Default is ‘0’. @param [String] ng_sysinfo_auth Additional username for the sysinfo authentication in Nagios. Choose a suitable value or leave empty

    @@ -589,8 +589,6 @@ inherited by all classes except defines. (String) - (defaults to: 'present') - —
    @@ -3137,6 +3135,261 @@ inherited by all classes except defines. +
  • + + ng_context_help + + + (String) + + + (defaults to: '1') + + + — +
    +

    Whether to enable context-sensitive help in Nagios. Default is ‘1’.

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

    Whether to use pending states in Nagios. Default is ‘1’.

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

    Whether to use authentication in Nagios. Default is ‘1’.

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

    Whether to enable the default user in Nagios. Default is false.

    +
    + +
  • + +
  • + + ng_def_user_name + + + (String) + + + (defaults to: 'ChangeME') + + + — +
    +

    The name of the default user in Nagios. Change to a suitable value.

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

    Additional username for the confinfo authentication in Nagios. Choose a suitable value or leave empty

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

    Additional username for the command authentication in Nagios. Choose a suitable value or leave empty

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

    Additional username for the host view authentication in Nagios. Choose a suitable value or leave empty

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

    Additional username for the service view authentication in Nagios. Choose a suitable value or leave empty

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

    Additional username for the host command authentication in Nagios. Choose a suitable value or leave empty

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

    Additional username for the service command authentication in Nagios. Choose a suitable value or leave empty

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

    Additional username for the read-only authentication in Nagios. Choose a suitable value or leave empty

    +
    + +
  • + +
  • + + ng_use_ssl_auth + + + (String) + + + (defaults to: '0') + + +
  • + +
  • + + ng_sysinfo_auth + + + (String) + + + (defaults to: '') + + +
  • + +
  • + + ng_procs_tot_ensure + + + (String) + + + (defaults to: 'present') + + +
  • + @@ -3148,34 +3401,6 @@ inherited by all classes except defines.
     
     
    -340
    -341
    -342
    -343
    -344
    -345
    -346
    -347
    -348
    -349
    -350
    -351
    -352
    -353
    -354
    -355
    -356
    -357
    -358
    -359
    -360
    -361
    -362
    -363
    -364
    -365
    -366
    -367
     368
     369
     370
    @@ -3447,10 +3672,52 @@ inherited by all classes except defines.
     636
     637
     638
    -639
    +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 +676 +677 +678 +679 +680 +681
    -
    # File 'manifests/params.pp', line 340
    +        
    # File 'manifests/params.pp', line 368
     
     class confdroid_nagios::params (
     
    @@ -3603,45 +3870,59 @@ class confdroid_nagios::params (
       String $ng_svc_skip_chk_par_h_d_sts = '-1',
       String $ng_host_skip_chk_dep_status = '-1',
       Boolean $ng_enable_load_ctl_options = false,
    -  String $ng_load_ctl_options          = 'jobs_max=100;backoff_limit=10;rampup_change=5',
    +  String $ng_load_ctl_options         = 'jobs_max=100;backoff_limit=10;rampup_change=5',
     
     # cgi.cfg
    -  String $ng_context_help           = '1',
    +  String $ng_context_help             = '1',
    +  String $ng_pending_states           = '1',
    +  String $ng_use_auth                 = '1',
    +  String $ng_use_ssl_auth             = '0',
    +  Boolean $ng_enable_def_user         = false,
    +  String $ng_def_user_name            = 'ChangeME',
    +  String $ng_sysinfo_auth            = '',
    +  String $ng_confinfo_auth           = '',
    +  String $ng_command_auth            = '',
    +  String $ng_hostview_auth           = '',
    +  String $ng_serviceview_auth        = '',
    +  String $ng_host_cmd_auth           = '',
    +  String $ng_svc_cmd_auth            = '',
    +  String $ng_readonly_auth           = '' ,
    +
     
     # httpd
    -  Boolean $ng_use_https             = false,
    +  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',
    +  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',
    +  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',
    +  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',
    +  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',
    +  String $ng_procs_tot_warn           = '330',
    +  String $ng_procs_tot_crit           = '400',
    +  String $ng_procs_tot_param          = 'RDST',
    +  String $ng_procs_tot_ensure         = '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',
    +  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',
    +  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',
     
     # single nagios checks
       Boolean $ng_enable_swap_check       = true,
    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 6f0b749..731a243 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    @@ -166,18 +166,18 @@ class confdroid_nagios::server::files (
           notify   => Service[$ng_service],
         }
     
    -#    file { $ng_cgi_cfg_file:
    -#      ensure   => file,
    -#      owner    => 'nagios',
    -#      group    => 'nagios',
    -#      mode     => '0644',
    -#      selrange => s0,
    -#      selrole  => object_r,
    -#      seltype  => nagios_etc_t,
    -#      seluser  => system_u,
    -#      content  => template($ng_nagios_cgi_cfg_erb),
    -#      notify   => Service[$ng_service],
    -#    }
    +    file { $ng_cgi_cfg_file:
    +      ensure   => file,
    +      owner    => 'nagios',
    +      group    => 'nagios',
    +      mode     => '0644',
    +      selrange => s0,
    +      selrole  => object_r,
    +      seltype  => nagios_etc_t,
    +      seluser  => system_u,
    +      content  => template($ng_nagios_cgi_cfg_erb),
    +      notify   => Service[$ng_service],
    +    }
     
         file { $ng_lock_file:
           ensure   => file,
    
    From ab4e5bddb7ac0667fdafc716c5f77df5dd846436 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 15:44:33 +0100
    Subject: [PATCH 121/175] Recommit for updates in build 157
    
    ---
     doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html | 2 +-
     1 file changed, 1 insertion(+), 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 731a243..f0f1928 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    @@ -175,7 +175,7 @@ class confdroid_nagios::server::files (
           selrole  => object_r,
           seltype  => nagios_etc_t,
           seluser  => system_u,
    -      content  => template($ng_nagios_cgi_cfg_erb),
    +      content  => template($ng_cgi_cfg_erb),
           notify   => Service[$ng_service],
         }
     
    
    From 39cbd2b37098e7eb79ad943bfc0cdbf3a6ded878 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 15:50:04 +0100
    Subject: [PATCH 122/175] Recommit for updates in build 158
    
    ---
     .../confdroid_nagios_3A_3Aparams.html           | 17 +++--------------
     ...nfdroid_nagios_3A_3Aserver_3A_3Aservice.html |  2 +-
     2 files changed, 4 insertions(+), 15 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 868f952..6e114c3 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -583,12 +583,14 @@ inherited by all classes except defines.
       
         
  • - ng_procs_tot_ens + ng_procs_tot_ensure (String) + (defaults to: 'present') + —
    @@ -3377,19 +3379,6 @@ inherited by all classes except defines.
  • -
  • - - ng_procs_tot_ensure - - - (String) - - - (defaults to: 'present') - - -
  • - 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 e03a5e9..8dbc23a 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -385,7 +385,7 @@ class confdroid_nagios::server::service ( } @@nagios_service { 'Total_Processes_localhost': - ensure => $ng_procs_tot_ens, + ensure => $ng_procs_tot_ensure, check_command => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}", use => 'generic-service', host_name => 'localhost', From 20ab0563ddb2e18ac4f6a9578b766e7cb2203fe2 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sat, 7 Mar 2026 16:00:55 +0100 Subject: [PATCH 123/175] Recommit for updates in build 159 --- doc/puppet_classes/confdroid_nagios_3A_3Aparams.html | 4 +--- .../confdroid_nagios_3A_3Aserver_3A_3Afiles.html | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 6e114c3..87a303e 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -3702,8 +3702,7 @@ inherited by all classes except defines. 677 678 679 -680 -681
    +680
    # File 'manifests/params.pp', line 368
    @@ -3877,7 +3876,6 @@ class confdroid_nagios::params (
       String $ng_svc_cmd_auth            = '',
       String $ng_readonly_auth           = '' ,
     
    -
     # 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 f0f1928..a1d7cf2 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    @@ -168,7 +168,7 @@ class confdroid_nagios::server::files (
     
         file { $ng_cgi_cfg_file:
           ensure   => file,
    -      owner    => 'nagios',
    +      owner    => 'root',
           group    => 'nagios',
           mode     => '0644',
           selrange => s0,
    
    From 6347aa5ee02ae806900454fe28e2a24ae46a7077 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 16:31:15 +0100
    Subject: [PATCH 124/175] Recommit for updates in build 160
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 361 +++++++++++++++---
     1 file changed, 304 insertions(+), 57 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 87a303e..e40a4e0 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -120,7 +120,7 @@ inherited by all classes except defines.
     
    -

    confdroid_nagios::params Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com) @param [String] ng_use_ssl_auth Whether to use SSL authentication in Nagios. Default is ‘0’. @param [String] ng_sysinfo_auth Additional username for the sysinfo authentication in Nagios. Choose a suitable value or leave empty

    +

    confdroid_nagios::params Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com) @param [String] ng_use_ssl_auth Whether to use SSL authentication in Nagios. Default is ‘0’.

    @@ -3137,24 +3137,6 @@ inherited by all classes except defines. -
  • - - ng_context_help - - - (String) - - - (defaults to: '1') - - - — -
    -

    Whether to enable context-sensitive help in Nagios. Default is ‘1’.

    -
    - -
  • -
  • ng_pending_states @@ -3227,6 +3209,24 @@ inherited by all classes except defines.
  • +
  • + + ng_sysinfo_auth + + + (String) + + + (defaults to: '') + + + — +
    +

    Additional username for the sysinfo authentication in Nagios. Choose a suitable value or leave empty

    +
    + +
  • +
  • ng_confinfo_auth @@ -3353,6 +3353,240 @@ inherited by all classes except defines.
  • +
  • + + ng_use_colormap + + + (Boolean) + + + (defaults to: false) + + + — +
    +

    Whether to use colormap in Nagios. Default is false.

    +
    + +
  • + +
  • + + ng_colormap_red + + + (String) + + + (defaults to: '255') + + + — +
    +

    The color code for red in the colormap for Nagios. Default is ‘255’.

    +
    + +
  • + +
  • + + ng_colormap_green + + + (String) + + + (defaults to: '255') + + + — +
    +

    The color code for green in the colormap for Nagios. Default is ‘255’.

    +
    + +
  • + +
  • + + ng_colormap_blue + + + (String) + + + (defaults to: '255') + + + — +
    +

    The color code for blue in the colormap for Nagios. Default is ‘255 ’.

    +
    + +
  • + +
  • + + ng_statusmap_layout + + + (String) + + + (defaults to: '6') + + + — +
    +

    The layout for the status map in Nagios. Default is ‘6’.

    +
    + +
  • + +
  • + + ng_wrl_layout + + + (String) + + + (defaults to: '4') + + + — +
    +

    The layout for the WRL in Nagios. Default is ‘4’.

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

    Whether to include own WRL in Nagios. Default is false.

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

    The WRL file to include in Nagios. Default is empty.

    +
    + +
  • + +
  • + + ng_ping_syntax + + + (String) + + + (defaults to: '/bin/ping -n -U -c 5 $HOSTADDRESS$') + + + — +
    +

    The syntax for the check_ping command in Nagios. Default is ‘/bin/ping -n -U -c 5 $HOSTADDRESS$’.

    +
    + +
  • + +
  • + + ng_refresh_rate + + + (String) + + + (defaults to: '90') + + + — +
    +

    The refresh rate for the Nagios CGIs. Default is ‘90’.

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

    Whether to enable the page tour in the Nagios web interface. Default is ‘1’.

    +
    + +
  • + +
  • + + ng_result_limit + + + (String) + + + (defaults to: '100') + + + — +
    +

    The result limit for the Nagios CGIs. Default is ‘100’.

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

    Whether to escape HTML tags in the Nagios web interface. Default is ‘1’.

    +
    + +
  • +
  • ng_use_ssl_auth @@ -3366,19 +3600,6 @@ inherited by all classes except defines.
  • -
  • - - ng_sysinfo_auth - - - (String) - - - (defaults to: '') - - -
  • - @@ -3390,29 +3611,6 @@ inherited by all classes except defines.
     
     
    -368
    -369
    -370
    -371
    -372
    -373
    -374
    -375
    -376
    -377
    -378
    -379
    -380
    -381
    -382
    -383
    -384
    -385
    -386
    -387
    -388
    -389
    -390
     391
     392
     393
    @@ -3702,10 +3900,46 @@ inherited by all classes except defines.
     677
     678
     679
    -680
    +680 +681 +682 +683 +684 +685 +686 +687 +688 +689 +690 +691 +692 +693 +694 +695 +696 +697 +698 +699 +700 +701 +702 +703 +704 +705 +706 +707 +708 +709 +710 +711 +712 +713 +714 +715 +716
    -
    # File 'manifests/params.pp', line 368
    +        
    # File 'manifests/params.pp', line 391
     
     class confdroid_nagios::params (
     
    @@ -3875,6 +4109,19 @@ class confdroid_nagios::params (
       String $ng_host_cmd_auth           = '',
       String $ng_svc_cmd_auth            = '',
       String $ng_readonly_auth           = '' ,
    +  Boolean $ng_use_colormap           = false,
    +  String $ng_colormap_red            = '255',
    +  String $ng_colormap_green          = '255',
    +  String $ng_colormap_blue           = '255',
    +  String $ng_statusmap_layout        = '6',
    +  String $ng_wrl_layout              = '4',
    +  Boolean $ng_incl_own_wrl           = false,
    +  String $ng_statuswrl_include       = '',
    +  String $ng_ping_syntax             = '/bin/ping -n -U -c 5 $HOSTADDRESS$',
    +  String $ng_refresh_rate            = '90',
    +  String $ng_enable_page_tour        = '1',
    +  String $ng_result_limit            = '100',
    +  String $ng_escape_html_tags        = '1',
     
     # httpd
       Boolean $ng_use_https               = false,
    
    From 4dd935eba3ccbe06333bd03f534c5b04ca3f8da9 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 16:36:13 +0100
    Subject: [PATCH 125/175] Recommit for updates in build 161
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 26 ++++++++++++++++---
     1 file changed, 23 insertions(+), 3 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index e40a4e0..9dbe819 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -3587,6 +3587,24 @@ inherited by all classes except defines.
           
         
       
    +    
  • + + ng_statusmap_img + + + (String) + + + (defaults to: '') + + + — +
    +

    The image to use for the status map in Nagios.

    +
    + +
  • +
  • ng_use_ssl_auth @@ -3611,7 +3629,6 @@ inherited by all classes except defines.
     
     
    -391
     392
     393
     394
    @@ -3936,10 +3953,12 @@ inherited by all classes except defines.
     713
     714
     715
    -716
    +716 +717 +718
  • -
    # File 'manifests/params.pp', line 391
    +        
    # File 'manifests/params.pp', line 392
     
     class confdroid_nagios::params (
     
    @@ -4109,6 +4128,7 @@ class confdroid_nagios::params (
       String $ng_host_cmd_auth           = '',
       String $ng_svc_cmd_auth            = '',
       String $ng_readonly_auth           = '' ,
    +  String $ng_statusmap_img           = '',
       Boolean $ng_use_colormap           = false,
       String $ng_colormap_red            = '255',
       String $ng_colormap_green          = '255',
    
    From 655fc8b3e6ffe837a79c0a34078b23b6ab4bd83c Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sat, 7 Mar 2026 17:01:26 +0100
    Subject: [PATCH 126/175] Recommit for updates in build 162
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 392 ++++++++++++++++--
     1 file changed, 356 insertions(+), 36 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 9dbe819..88cc509 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -3600,7 +3600,295 @@ inherited by all classes except defines.
           
             —
             
    -

    The image to use for the status map in Nagios.

    +

    The image to use for the status map in Nagios. Choose a suitable value or leave empty to use the default image.

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

    Whether to use sound in the Nagios web interface. Default is false.

    +
    + +
  • + +
  • + + ng_host_unreachable + + + (String) + + + (defaults to: 'hostdown.wav') + + + — +
    +

    The sound file to play when a host is unreachable. Default is ‘hostdown.wav’.

    +
    + +
  • + +
  • + + ng_host_down + + + (String) + + + (defaults to: 'hostdown.wav') + + + — +
    +

    The sound file to play when a host is down. Default is ‘hostdown.wav’.

    +
    + +
  • + +
  • + + ng_svc_critical + + + (String) + + + (defaults to: 'critical.wav') + + + — +
    +

    The sound file to play when a service is critical. Default is ‘critical.wav’.

    +
    + +
  • + +
  • + + ng_svc_warn + + + (String) + + + (defaults to: 'warning.wav') + + + — +
    +

    The sound file to play when a service is warning. Default is ‘warning.wav’.

    +
    + +
  • + +
  • + + ng_svc_unknown + + + (String) + + + (defaults to: 'warning.wav') + + + — +
    +

    The sound file to play when a service is unknown. Default is ‘warning.wav’.

    +
    + +
  • + +
  • + + ng_normal_sound + + + (String) + + + (defaults to: 'noproblem.wav') + + + — +
    +

    The sound file to play when a host or service returns to normal. Default is ‘noproblem.wav’.

    +
    + +
  • + +
  • + + ng_action_url_target + + + (String) + + + (defaults to: '_blank') + + + — +
    +

    The target for action URLs in the Nagios web interface. Default is ‘_blank’.

    +
    + +
  • + +
  • + + ng_notes_url_target + + + (String) + + + (defaults to: '_blank') + + + — +
    +

    The target for notes URLs in the Nagios web interface. Default is ‘_blank’.

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

    Whether to lock author names in the Nagios web interface. Default is ‘1’.

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

    Whether to enable Splunk integration in Nagios. Default is false.

    +
    + +
  • + +
  • + + ng_splunk_url + + + (String) + + + (defaults to: 'https://splunk.example.net:8000') + + + — +
    +

    The URL for the Splunk instance in Nagios. Default is ‘splunk.example.net:8000’.

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

    Whether to enable navbar search for addresses in Nagios. Default is ‘1’.

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

    Whether to enable navbar search for aliases in Nagios. Default is ‘1’.

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

    Whether to allow non-sticky acknowledgements in Nagios. Default is ‘1’.

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

    Whether to allow non-send acknowledgements in Nagios. Default is ‘1’.

  • @@ -3629,39 +3917,6 @@ inherited by all classes except defines.
     
     
    -392
    -393
    -394
    -395
    -396
    -397
    -398
    -399
    -400
    -401
    -402
    -403
    -404
    -405
    -406
    -407
    -408
    -409
    -410
    -411
    -412
    -413
    -414
    -415
    -416
    -417
    -418
    -419
    -420
    -421
    -422
    -423
    -424
     425
     426
     427
    @@ -3955,10 +4210,59 @@ inherited by all classes except defines.
     715
     716
     717
    -718
    +718 +719 +720 +721 +722 +723 +724 +725 +726 +727 +728 +729 +730 +731 +732 +733 +734 +735 +736 +737 +738 +739 +740 +741 +742 +743 +744 +745 +746 +747 +748 +749 +750 +751 +752 +753 +754 +755 +756 +757 +758 +759 +760 +761 +762 +763 +764 +765 +766 +767
    -
    # File 'manifests/params.pp', line 392
    +        
    # File 'manifests/params.pp', line 425
     
     class confdroid_nagios::params (
     
    @@ -4142,6 +4446,22 @@ class confdroid_nagios::params (
       String $ng_enable_page_tour        = '1',
       String $ng_result_limit            = '100',
       String $ng_escape_html_tags        = '1',
    +  Boolean $ng_use_sound              = false,
    +  String $ng_host_unreachable        = 'hostdown.wav',
    +  String $ng_host_down               = 'hostdown.wav',
    +  String $ng_svc_critical            = 'critical.wav',
    +  String $ng_svc_warn                = 'warning.wav',
    +  String $ng_svc_unknown             = 'warning.wav',
    +  String $ng_normal_sound            = 'noproblem.wav',
    +  String $ng_action_url_target       = '_blank',
    +  String $ng_notes_url_target        = '_blank',
    +  String $ng_lock_author_names       = '1',
    +  Boolean $ng_enable_splunk          = false,
    +  String $ng_splunk_url              = 'https://splunk.example.net:8000',
    +  String $ng_navbar_addresses        = '1',
    +  String $ng_navbar_aliases          = '1',
    +  String $ng_ack_no_sticky           = '0',
    +  String $ng_ack_no_send             = '0',
     
     # httpd
       Boolean $ng_use_https               = false,
    
    From 221ec836eddbf85506368e535b17d35987d955a4 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sun, 8 Mar 2026 14:20:36 +0100
    Subject: [PATCH 127/175] Recommit for updates in build 163
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 28 ++++++++++++++++---
     1 file changed, 24 insertions(+), 4 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 88cc509..7d1af50 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -3893,6 +3893,24 @@ inherited by all classes except defines.
           
         
       
    +    
  • + + ng_tac_cgi_hard_only + + + (String) + + + (defaults to: '0') + + + — +
    +

    Whether to show only HARD states in the Tactical Overview in Nagios. Default is ‘0’.

    +
    + +
  • +
  • ng_use_ssl_auth @@ -3917,8 +3935,6 @@ inherited by all classes except defines.
     
     
    -425
    -426
     427
     428
     429
    @@ -4259,10 +4275,13 @@ inherited by all classes except defines.
     764
     765
     766
    -767
    +767 +768 +769 +770
  • -
    # File 'manifests/params.pp', line 425
    +        
    # File 'manifests/params.pp', line 427
     
     class confdroid_nagios::params (
     
    @@ -4462,6 +4481,7 @@ class confdroid_nagios::params (
       String $ng_navbar_aliases          = '1',
       String $ng_ack_no_sticky           = '0',
       String $ng_ack_no_send             = '0',
    +  String $ng_tac_cgi_hard_only       = '0',
     
     # httpd
       Boolean $ng_use_https               = false,
    
    From 935e5ec4d92bf42ca87ad5c5f3195c20cf469d99 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sun, 8 Mar 2026 14:33:39 +0100
    Subject: [PATCH 128/175] Recommit for updates in build 164
    
    ---
     .../confdroid_nagios_3A_3Aparams.html         | 464 +++++++++---------
     1 file changed, 232 insertions(+), 232 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    index 7d1af50..eb5835b 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
    @@ -3214,10 +3214,10 @@ inherited by all classes except defines.
             ng_sysinfo_auth
           
           
    -        (String)
    +        (Optional[String])
           
           
    -        (defaults to: '')
    +        (defaults to: undef)
           
           
             —
    @@ -3232,10 +3232,10 @@ inherited by all classes except defines.
             ng_confinfo_auth
           
           
    -        (String)
    +        (Optional[String])
           
           
    -        (defaults to: '')
    +        (defaults to: undef)
           
           
             —
    @@ -3250,10 +3250,10 @@ inherited by all classes except defines.
             ng_command_auth
           
           
    -        (String)
    +        (Optional[String])
           
           
    -        (defaults to: '')
    +        (defaults to: undef)
           
           
             —
    @@ -3268,10 +3268,10 @@ inherited by all classes except defines.
             ng_hostview_auth
           
           
    -        (String)
    +        (Optional[String])
           
           
    -        (defaults to: '')
    +        (defaults to: undef)
           
           
             —
    @@ -3286,10 +3286,10 @@ inherited by all classes except defines.
             ng_serviceview_auth
           
           
    -        (String)
    +        (Optional[String])
           
           
    -        (defaults to: '')
    +        (defaults to: undef)
           
           
             —
    @@ -3304,10 +3304,10 @@ inherited by all classes except defines.
             ng_host_cmd_auth
           
           
    -        (String)
    +        (Optional[String])
           
           
    -        (defaults to: '')
    +        (defaults to: undef)
           
           
             —
    @@ -3322,10 +3322,10 @@ inherited by all classes except defines.
             ng_svc_cmd_auth
           
           
    -        (String)
    +        (Optional[String])
           
           
    -        (defaults to: '')
    +        (defaults to: undef)
           
           
             —
    @@ -3340,10 +3340,10 @@ inherited by all classes except defines.
             ng_readonly_auth
           
           
    -        (String)
    +        (Optional[String])
           
           
    -        (defaults to: '')
    +        (defaults to: undef)
           
           
             —
    @@ -3481,13 +3481,13 @@ inherited by all classes except defines.
       
         
  • - ng_statuswrl_include + ng_statuswrl_incl - (String) + (Optional[String]) - (defaults to: '') + (defaults to: undef) — @@ -3592,10 +3592,10 @@ inherited by all classes except defines. ng_statusmap_img - (String) + (Optional[String]) - (defaults to: '') + (defaults to: undef) — @@ -4286,240 +4286,240 @@ inherited by all classes except defines. 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_main_user = 'nagios', - String $ng_main_password = 'nagios', - String $ng_max_check_attempts = '10', - String $ng_status_upd_interval = '10', - String $ng_check_ext_commands = '1', - String $ng_user = 'nagios', - Boolean $ng_enable_target = true, - Boolean $ng_purge_target = 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, + String $ng_main_user = 'nagios', + String $ng_main_password = 'nagios', + String $ng_max_check_attempts = '10', + String $ng_status_upd_interval = '10', + String $ng_check_ext_commands = '1', + String $ng_user = 'nagios', + Boolean $ng_enable_target = true, + Boolean $ng_purge_target = true, # contact groups - String $ng_contactgroup_name = 'admins', - String $ng_contactgroup_alias = 'Nagios Administrators', - String $ng_contactgroup_members = 'nagiosadmin', + String $ng_contactgroup_name = 'admins', + String $ng_contactgroup_alias = 'Nagios Administrators', + String $ng_contactgroup_members = 'nagiosadmin', # contacts - String $ng_contact_name = 'nagiosadmin', - String $ng_contact_alias = 'Nagios Admin', - String $ng_contact_groups = 'admins', - String $ng_contact_email = 'nagiosadmin@example.net', + String $ng_contact_name = 'nagiosadmin', + String $ng_contact_alias = 'Nagios Admin', + String $ng_contact_groups = 'admins', + String $ng_contact_email = 'nagiosadmin@example.net', # hostgroups - String $ng_hostgroup_name = 'linux-servers', - String $ng_hostgroup_alias = 'Linux Servers', + String $ng_hostgroup_name = 'linux-servers', + String $ng_hostgroup_alias = 'Linux Servers', # nagios.cfg - String $ng_log_file = '/var/log/nagios/nagios.log', - String $ng_event_broker_options = '-1', - Boolean $ng_enable_query_handler = false, - Array $ng_event_broker_module = [], - String $ng_log_rotation_method = 'd', - 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', - Array $ng_glob_host_evt_handler = [], - Array $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_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 = '1', - 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_ochp_timeout = '5', - String $ng_perfdata_timeout = '5', - String $ng_retain_state_inf = '1', - 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 = '1', - 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_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$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', - String $ng_s_perfdata_proc_cmd = 'process-service-perfdata', - String $ng_h_perfdata_proc_e_result = '0', - String $ng_s_perfdata_proc_e_result = '0', - String $ng_obsess_over_services = '0', - String $ng_ocsp_command = 'somecommand', - String $ng_obsess_over_hosts = '0', - String $ng_ochp_command = 'somecommand', - 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 = '1', - 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 = 'euro', - Boolean $ng_use_timezone_offset = false, - String $ng_use_timezone = 'UTC', - 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_mail_user = 'nagios@localhost', - String $ng_page_user = 'nagios@localhost', - 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_max_debug_file_size = '1000000', - String $ng_allow_empty_hostgroups = '1', - String $ng_check_workers = '3', - String $ng_host_down_svc_checks = '0', - String $ng_svc_skip_chk_dep_status = '-1', - String $ng_svc_skip_chk_par_status = '-1', - String $ng_svc_skip_chk_par_h_d_sts = '-1', - String $ng_host_skip_chk_dep_status = '-1', - Boolean $ng_enable_load_ctl_options = false, - String $ng_load_ctl_options = 'jobs_max=100;backoff_limit=10;rampup_change=5', + String $ng_log_file = '/var/log/nagios/nagios.log', + String $ng_event_broker_options = '-1', + Boolean $ng_enable_query_handler = false, + Array $ng_event_broker_module = [], + String $ng_log_rotation_method = 'd', + 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', + Array $ng_glob_host_evt_handler = [], + Array $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_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 = '1', + 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_ochp_timeout = '5', + String $ng_perfdata_timeout = '5', + String $ng_retain_state_inf = '1', + 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 = '1', + 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_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$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', + String $ng_s_perfdata_proc_cmd = 'process-service-perfdata', + String $ng_h_perfdata_proc_e_result = '0', + String $ng_s_perfdata_proc_e_result = '0', + String $ng_obsess_over_services = '0', + String $ng_ocsp_command = 'somecommand', + String $ng_obsess_over_hosts = '0', + String $ng_ochp_command = 'somecommand', + 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 = '1', + 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 = 'euro', + Boolean $ng_use_timezone_offset = false, + String $ng_use_timezone = 'UTC', + 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_mail_user = 'nagios@localhost', + String $ng_page_user = 'nagios@localhost', + 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_max_debug_file_size = '1000000', + String $ng_allow_empty_hostgroups = '1', + String $ng_check_workers = '3', + String $ng_host_down_svc_checks = '0', + String $ng_svc_skip_chk_dep_status = '-1', + String $ng_svc_skip_chk_par_status = '-1', + String $ng_svc_skip_chk_par_h_d_sts = '-1', + String $ng_host_skip_chk_dep_status = '-1', + Boolean $ng_enable_load_ctl_options = false, + String $ng_load_ctl_options = 'jobs_max=100;backoff_limit=10;rampup_change=5', # cgi.cfg - String $ng_context_help = '1', - String $ng_pending_states = '1', - String $ng_use_auth = '1', - String $ng_use_ssl_auth = '0', - Boolean $ng_enable_def_user = false, - String $ng_def_user_name = 'ChangeME', - String $ng_sysinfo_auth = '', - String $ng_confinfo_auth = '', - String $ng_command_auth = '', - String $ng_hostview_auth = '', - String $ng_serviceview_auth = '', - String $ng_host_cmd_auth = '', - String $ng_svc_cmd_auth = '', - String $ng_readonly_auth = '' , - String $ng_statusmap_img = '', - Boolean $ng_use_colormap = false, - String $ng_colormap_red = '255', - String $ng_colormap_green = '255', - String $ng_colormap_blue = '255', - String $ng_statusmap_layout = '6', - String $ng_wrl_layout = '4', - Boolean $ng_incl_own_wrl = false, - String $ng_statuswrl_include = '', - String $ng_ping_syntax = '/bin/ping -n -U -c 5 $HOSTADDRESS$', - String $ng_refresh_rate = '90', - String $ng_enable_page_tour = '1', - String $ng_result_limit = '100', - String $ng_escape_html_tags = '1', - Boolean $ng_use_sound = false, - String $ng_host_unreachable = 'hostdown.wav', - String $ng_host_down = 'hostdown.wav', - String $ng_svc_critical = 'critical.wav', - String $ng_svc_warn = 'warning.wav', - String $ng_svc_unknown = 'warning.wav', - String $ng_normal_sound = 'noproblem.wav', - String $ng_action_url_target = '_blank', - String $ng_notes_url_target = '_blank', - String $ng_lock_author_names = '1', - Boolean $ng_enable_splunk = false, - String $ng_splunk_url = 'https://splunk.example.net:8000', - String $ng_navbar_addresses = '1', - String $ng_navbar_aliases = '1', - String $ng_ack_no_sticky = '0', - String $ng_ack_no_send = '0', - String $ng_tac_cgi_hard_only = '0', + String $ng_context_help = '1', + String $ng_pending_states = '1', + String $ng_use_auth = '1', + String $ng_use_ssl_auth = '0', + Boolean $ng_enable_def_user = false, + String $ng_def_user_name = 'ChangeME', + Optional[String] $ng_sysinfo_auth = undef, + Optional[String] $ng_confinfo_auth = undef, + Optional[String] $ng_command_auth = undef, + Optional[String] $ng_hostview_auth = undef, + Optional[String] $ng_serviceview_auth = undef, + Optional[String] $ng_host_cmd_auth = undef, + Optional[String] $ng_svc_cmd_auth = undef, + Optional[String] $ng_readonly_auth = undef, + Optional[String] $ng_statusmap_img = undef, + Boolean $ng_use_colormap = false, + String $ng_colormap_red = '255', + String $ng_colormap_green = '255', + String $ng_colormap_blue = '255', + String $ng_statusmap_layout = '6', + String $ng_wrl_layout = '4', + Boolean $ng_incl_own_wrl = false, + Optional[String] $ng_statuswrl_incl = undef, + String $ng_ping_syntax = '/bin/ping -n -U -c 5 $HOSTADDRESS$', + String $ng_refresh_rate = '90', + String $ng_enable_page_tour = '1', + String $ng_result_limit = '100', + String $ng_escape_html_tags = '1', + Boolean $ng_use_sound = false, + String $ng_host_unreachable = 'hostdown.wav', + String $ng_host_down = 'hostdown.wav', + String $ng_svc_critical = 'critical.wav', + String $ng_svc_warn = 'warning.wav', + String $ng_svc_unknown = 'warning.wav', + String $ng_normal_sound = 'noproblem.wav', + String $ng_action_url_target = '_blank', + String $ng_notes_url_target = '_blank', + String $ng_lock_author_names = '1', + Boolean $ng_enable_splunk = false, + String $ng_splunk_url = 'https://splunk.example.net:8000', + String $ng_navbar_addresses = '1', + String $ng_navbar_aliases = '1', + String $ng_ack_no_sticky = '0', + String $ng_ack_no_send = '0', + String $ng_tac_cgi_hard_only = '0', # httpd - Boolean $ng_use_https = false, + 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', + 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', + 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', + 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', + 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_ensure = 'present', + String $ng_procs_tot_warn = '330', + String $ng_procs_tot_crit = '400', + String $ng_procs_tot_param = 'RDST', + String $ng_procs_tot_ensure = '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', + 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', + 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', # single nagios checks - Boolean $ng_enable_swap_check = true, + Boolean $ng_enable_swap_check = true, ) { # Default facts From 3d6e5d45feb57fe5b8ef96c752f31a3eaed3398f Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sun, 8 Mar 2026 14:38:25 +0100 Subject: [PATCH 129/175] Recommit for updates in build 165 --- doc/puppet_classes/confdroid_nagios_3A_3Aparams.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index eb5835b..1ddc979 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -3484,10 +3484,10 @@ inherited by all classes except defines. ng_statuswrl_incl - (Optional[String]) + (String) - (defaults to: undef) + (defaults to: '') — @@ -4459,7 +4459,7 @@ class confdroid_nagios::params ( String $ng_statusmap_layout = '6', String $ng_wrl_layout = '4', Boolean $ng_incl_own_wrl = false, - Optional[String] $ng_statuswrl_incl = undef, + String $ng_statuswrl_incl = '', String $ng_ping_syntax = '/bin/ping -n -U -c 5 $HOSTADDRESS$', String $ng_refresh_rate = '90', String $ng_enable_page_tour = '1', From b853d5c504863cd35f761b43caa4e531aa1311d4 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sun, 8 Mar 2026 14:48:15 +0100 Subject: [PATCH 130/175] Recommit for updates in build 168 --- doc/puppet_classes/confdroid_nagios_3A_3Aparams.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 1ddc979..eb5835b 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -3484,10 +3484,10 @@ inherited by all classes except defines. ng_statuswrl_incl - (String) + (Optional[String]) - (defaults to: '') + (defaults to: undef) — @@ -4459,7 +4459,7 @@ class confdroid_nagios::params ( String $ng_statusmap_layout = '6', String $ng_wrl_layout = '4', Boolean $ng_incl_own_wrl = false, - String $ng_statuswrl_incl = '', + Optional[String] $ng_statuswrl_incl = undef, String $ng_ping_syntax = '/bin/ping -n -U -c 5 $HOSTADDRESS$', String $ng_refresh_rate = '90', String $ng_enable_page_tour = '1', From 88637b0524b57f973dcc9a31b8c44929ad5269c6 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sun, 8 Mar 2026 15:27:19 +0100 Subject: [PATCH 131/175] Recommit for updates in build 176 --- .../confdroid_nagios_3A_3Aparams.html | 44 +------------------ 1 file changed, 1 insertion(+), 43 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index eb5835b..f98485b 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -4257,28 +4257,7 @@ inherited by all classes except defines. 746 747 748 -749 -750 -751 -752 -753 -754 -755 -756 -757 -758 -759 -760 -761 -762 -763 -764 -765 -766 -767 -768 -769 -770
  • +749
    # File 'manifests/params.pp', line 427
    @@ -4603,27 +4582,6 @@ class confdroid_nagios::params (
       $ng_svc_perfdata_file       = "${ng_log_dir}/service-perfdata"
       $ng_debug_file              = "${ng_log_dir}/nagios.debug"
     
    -## old
    -#  $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_grep_erb                = 'confdroid_nagios/selinux/grep.erb'
    -
     # includes must be last
       include confdroid_nagios::main::config
     }
    From 4ab5921dffb3763e4318f9045d833b9ff8379299 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Sun, 8 Mar 2026 16:16:31 +0100 Subject: [PATCH 132/175] Recommit for updates in build 177 --- ...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 8dbc23a..5181fce 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -279,7 +279,14 @@ 181 182 183 -184
    +184 +185 +186 +187 +188 +189 +190 +191
    # File 'manifests/server/service.pp', line 6
    @@ -335,6 +342,7 @@ class confdroid_nagios::server::service (
           group               => $ng_user,
           mode                => '0640',
           contacts            => $ng_contact_name,
    +      notify              => Service[$ng_service],
         }
     
         @@nagios_service { 'root_partition_localhost':
    @@ -350,6 +358,7 @@ class confdroid_nagios::server::service (
           owner               => $ng_user,
           group               => $ng_user,
           mode                => '0640',
    +      notify              => Service[$ng_service],
         }
     
         if $ng_enable_swap_check == true {
    @@ -366,6 +375,7 @@ class confdroid_nagios::server::service (
             owner               => $ng_user,
             group               => $ng_user,
             mode                => '0640',
    +        notify              => Service[$ng_service],
           }
         }
     
    @@ -382,6 +392,7 @@ class confdroid_nagios::server::service (
           owner               => $ng_user,
           group               => $ng_user,
           mode                => '0640',
    +      notify              => Service[$ng_service],
         }
     
         @@nagios_service { 'Total_Processes_localhost':
    @@ -397,6 +408,7 @@ class confdroid_nagios::server::service (
           owner               => $ng_user,
           group               => $ng_user,
           mode                => '0640',
    +      notify              => Service[$ng_service],
         }
     
         @@nagios_service { 'Zombie_Processes_localhost':
    @@ -412,6 +424,7 @@ class confdroid_nagios::server::service (
           owner               => $ng_user,
           group               => $ng_user,
           mode                => '0640',
    +      notify              => Service[$ng_service],
         }
     
         @@nagios_service { 'Current_Load_localhost':
    @@ -427,6 +440,7 @@ class confdroid_nagios::server::service (
           owner               => $ng_user,
           group               => $ng_user,
           mode                => '0640',
    +      notify              => Service[$ng_service],
         }
     
         resources { ['nagios_host',
    
    From 4f531fc3b8e5cbf1fa6185a5c474d9c427e174af Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Sun, 8 Mar 2026 16:37:05 +0100
    Subject: [PATCH 133/175] Recommit for updates in build 178
    
    ---
     ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 262 +++++++++++++++++-
     ...droid_nagios_3A_3Aserver_3A_3Aservice.html | 260 +----------------
     2 files changed, 262 insertions(+), 260 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    index 1ee4440..7fd1dae 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    @@ -105,7 +105,136 @@
     7
     8
     9
    -10
    +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
    # File 'manifests/server/nagios.pp', line 6
    @@ -113,7 +242,136 @@
     class confdroid_nagios::server::nagios (
     
     ) inherits confdroid_nagios::params {
    -  # config here
    +  if $ng_nagios_server == $fqdn {
    +    @@nagios_host { 'localhost':
    +      ensure              => $ng_ping_ensure,
    +      alias               => 'localhost',
    +      address             => '127.0.0.1',
    +      use                 => 'linux-server',
    +      target              => $ng_target_localhost,
    +      hostgroups          => 'linux-servers',
    +      contacts            => $ng_contact_name,
    +      max_check_attempts  => $ng_max_check_attempts,
    +      notification_period => '24x7',
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    +      notify              => Service[$ng_service],
    +    }
    +
    +    @@nagios_service { 'check_nagios_localhost':
    +      check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      notification_period => '24x7',
    +      service_description => 'localhost_nagios_service',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      contacts            => $ng_contact_name,
    +      notify              => Service[$ng_service],
    +    }
    +
    +    @@nagios_service { 'root_partition_localhost':
    +      ensure              => $ng_disk_ensure,
    +      check_command       => "check_nrpe!check_disk!${ng_disk_warn}!${ng_disk_crit}!/",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_root_partition',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
    +
    +    if $ng_enable_swap_check == true {
    +      @@nagios_service { 'Swap_Usage_localhost':
    +        ensure              => $ng_swap_ensure,
    +        check_command       => "check_nrpe!check_swap!${ng_swap_warn}!${ng_swap_crit}",
    +        use                 => 'generic-service',
    +        host_name           => 'localhost',
    +        contacts            => $ng_contact_name,
    +        notification_period => '24x7',
    +        service_description => 'localhost_swap_usage',
    +        servicegroups       => 'linux-services',
    +        target              => $ng_target_service,
    +        owner               => $ng_user,
    +        group               => $ng_user,
    +        mode                => '0640',
    +        notify              => Service[$ng_service],
    +      }
    +    }
    +
    +    @@nagios_service { 'Local_Users_localhost':
    +      ensure              => $ng_users_ensure,
    +      check_command       => "check_nrpe!check_users!${ng_users_warn}!${ng_users_crit}",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_local_users',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
    +
    +    @@nagios_service { 'Total_Processes_localhost':
    +      ensure              => $ng_procs_tot_ensure,
    +      check_command       => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_total_processes',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
    +
    +    @@nagios_service { 'Zombie_Processes_localhost':
    +      ensure              => $ng_procs_z_ensure,
    +      check_command       => "check_nrpe!check_procs!${ng_procs_z_warn}!${ng_procs_z_crit}!${ng_procs_z_param}",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_zombie_processes',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
    +
    +    @@nagios_service { 'Current_Load_localhost':
    +      ensure              => $ng_load_ensure,
    +      check_command       => "check_nrpe!check_load!${ng_load_warn}!${ng_load_crit}",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_current_load',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_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 5181fce..35bafe7 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -158,135 +158,7 @@ 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
    +63
    # File 'manifests/server/service.pp', line 6
    @@ -298,6 +170,7 @@ class confdroid_nagios::server::service (
       if $ng_nagios_server == $fqdn {
         require confdroid_nagios::server::access_rules
         require confdroid_nagios::nagios::config
    +    require confdroid_nagios::server::nagios
     
         exec { 'ng_restart_httpd':
           command     => 'systemctl restart httpd',
    @@ -314,135 +187,6 @@ class confdroid_nagios::server::service (
           require    => Exec['ng_restart_httpd'],
         }
     
    -    @@nagios_host { 'localhost':
    -      ensure              => $ng_ping_ensure,
    -      alias               => 'localhost',
    -      address             => '127.0.0.1',
    -      use                 => 'linux-server',
    -      target              => $ng_target_localhost,
    -      hostgroups          => 'linux-servers',
    -      contacts            => $ng_contact_name,
    -      max_check_attempts  => $ng_max_check_attempts,
    -      notification_period => '24x7',
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    -      notify              => Service[$ng_service],
    -    }
    -
    -    @@nagios_service { 'check_nagios_localhost':
    -      check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      notification_period => '24x7',
    -      service_description => 'localhost_nagios_service',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      contacts            => $ng_contact_name,
    -      notify              => Service[$ng_service],
    -    }
    -
    -    @@nagios_service { 'root_partition_localhost':
    -      ensure              => $ng_disk_ensure,
    -      check_command       => "check_nrpe!check_disk!${ng_disk_warn}!${ng_disk_crit}!/",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_root_partition',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    -
    -    if $ng_enable_swap_check == true {
    -      @@nagios_service { 'Swap_Usage_localhost':
    -        ensure              => $ng_swap_ensure,
    -        check_command       => "check_nrpe!check_swap!${ng_swap_warn}!${ng_swap_crit}",
    -        use                 => 'generic-service',
    -        host_name           => 'localhost',
    -        contacts            => $ng_contact_name,
    -        notification_period => '24x7',
    -        service_description => 'localhost_swap_usage',
    -        servicegroups       => 'linux-services',
    -        target              => $ng_target_service,
    -        owner               => $ng_user,
    -        group               => $ng_user,
    -        mode                => '0640',
    -        notify              => Service[$ng_service],
    -      }
    -    }
    -
    -    @@nagios_service { 'Local_Users_localhost':
    -      ensure              => $ng_users_ensure,
    -      check_command       => "check_nrpe!check_users!${ng_users_warn}!${ng_users_crit}",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_local_users',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    -
    -    @@nagios_service { 'Total_Processes_localhost':
    -      ensure              => $ng_procs_tot_ensure,
    -      check_command       => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_total_processes',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    -
    -    @@nagios_service { 'Zombie_Processes_localhost':
    -      ensure              => $ng_procs_z_ensure,
    -      check_command       => "check_nrpe!check_procs!${ng_procs_z_warn}!${ng_procs_z_crit}!${ng_procs_z_param}",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_zombie_processes',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    -
    -    @@nagios_service { 'Current_Load_localhost':
    -      ensure              => $ng_load_ensure,
    -      check_command       => "check_nrpe!check_load!${ng_load_warn}!${ng_load_crit}",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_current_load',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    -
         resources { ['nagios_host',
             'nagios_hostgroup',
             'nagios_hostdependency',
    
    From de84a0c59d56077beecdf5b984e7f676d1b7d1fb Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 12:09:13 +0100
    Subject: [PATCH 134/175] Recommit for updates in build 179
    
    ---
     ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 68 ++++++++++++++++++-
     ...droid_nagios_3A_3Aserver_3A_3Aservice.html | 68 +------------------
     2 files changed, 68 insertions(+), 68 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    index 7fd1dae..22a3825 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    @@ -234,7 +234,40 @@
     136
     137
     138
    -139
    +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
    # File 'manifests/server/nagios.pp', line 6
    @@ -371,6 +404,39 @@ class confdroid_nagios::server::nagios (
           mode                => '0640',
           notify              => Service[$ng_service],
         }
    +
    +    resources { ['nagios_host',
    +        'nagios_hostgroup',
    +        'nagios_hostdependency',
    +        'nagios_hostescalation',
    +        'nagios_hostextinfo',
    +        'nagios_service',
    +        'nagios_servicegroup',
    +        'nagios_servicedependency',
    +        'nagios_serviceescalation',
    +        'nagios_serviceextinfo',
    +        'nagios_contact',
    +        'nagios_contactgroup',
    +        'nagios_command',
    +      'nagios_timeperiod']:
    +        purge => true,
    +    }
    +
    +    # collect resources and populate /etc/nagios/conf.d/nagios_*.cfg
    +    Nagios_host <<||>> { notify  => Service['nagios'] }
    +    Nagios_hostgroup <<||>> { notify  => Service['nagios'] }
    +    Nagios_hostdependency <<||>> { notify  => Service['nagios'] }
    +    Nagios_hostescalation <<||>> { notify  => Service['nagios'] }
    +    Nagios_hostextinfo <<||>> { notify  => Service['nagios'] }
    +    Nagios_service <<||>> { notify  => Service['nagios'] }
    +    Nagios_servicegroup <<||>> { notify  => Service['nagios'] }
    +    Nagios_servicedependency <<||>> { notify  => Service['nagios'] }
    +    Nagios_serviceescalation <<||>> { notify  => Service['nagios'] }
    +    Nagios_serviceextinfo <<||>> { notify  => Service['nagios'] }
    +    Nagios_contact <<||>> { notify  => Service['nagios'] }
    +    Nagios_contactgroup <<||>> { notify  => Service['nagios'] }
    +    Nagios_command <<||>> { notify  => Service['nagios'] }
    +    Nagios_timeperiod <<||>> { notify  => Service['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 35bafe7..ecc4ad0 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -125,40 +125,7 @@ 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
    +30
    # File 'manifests/server/service.pp', line 6
    @@ -186,39 +153,6 @@ class confdroid_nagios::server::service (
           hasstatus  => true,
           require    => Exec['ng_restart_httpd'],
         }
    -
    -    resources { ['nagios_host',
    -        'nagios_hostgroup',
    -        'nagios_hostdependency',
    -        'nagios_hostescalation',
    -        'nagios_hostextinfo',
    -        'nagios_service',
    -        'nagios_servicegroup',
    -        'nagios_servicedependency',
    -        'nagios_serviceescalation',
    -        'nagios_serviceextinfo',
    -        'nagios_contact',
    -        'nagios_contactgroup',
    -        'nagios_command',
    -      'nagios_timeperiod']:
    -        purge => true,
    -    }
    -
    -    # collect resources and populate /etc/nagios/conf.d/nagios_*.cfg
    -    Nagios_host <<||>> { notify  => Service['nagios'] }
    -    Nagios_hostgroup <<||>> { notify  => Service['nagios'] }
    -    Nagios_hostdependency <<||>> { notify  => Service['nagios'] }
    -    Nagios_hostescalation <<||>> { notify  => Service['nagios'] }
    -    Nagios_hostextinfo <<||>> { notify  => Service['nagios'] }
    -    Nagios_service <<||>> { notify  => Service['nagios'] }
    -    Nagios_servicegroup <<||>> { notify  => Service['nagios'] }
    -    Nagios_servicedependency <<||>> { notify  => Service['nagios'] }
    -    Nagios_serviceescalation <<||>> { notify  => Service['nagios'] }
    -    Nagios_serviceextinfo <<||>> { notify  => Service['nagios'] }
    -    Nagios_contact <<||>> { notify  => Service['nagios'] }
    -    Nagios_contactgroup <<||>> { notify  => Service['nagios'] }
    -    Nagios_command <<||>> { notify  => Service['nagios'] }
    -    Nagios_timeperiod <<||>> { notify  => Service['nagios'] }
       }
     }
    From 356b6337e64428a32005d55da9c93f467e2acd6c Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Mon, 9 Mar 2026 13:11:03 +0100 Subject: [PATCH 135/175] Recommit for updates in build 180 --- .../confdroid_nagios_3A_3Aparams.html | 52 ++++++++++++++++--- 1 file changed, 46 insertions(+), 6 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index f98485b..2fe7fec 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -3911,6 +3911,42 @@ inherited by all classes except defines. +
  • + + ng_servicegroup_name + + + (String) + + + (defaults to: 'linux-services') + + + — +
    +

    The name of the default service group. Default is ‘linux-services’.

    +
    + +
  • + +
  • + + ng_servicegroup_alias + + + (String) + + + (defaults to: 'Linux Services') + + + — +
    +

    The alias of the default service group. Default is ‘Linux Services’.

    +
    + +
  • +
  • ng_use_ssl_auth @@ -3935,10 +3971,6 @@ inherited by all classes except defines.
     
     
    -427
    -428
    -429
    -430
     431
     432
     433
    @@ -4257,10 +4289,16 @@ inherited by all classes except defines.
     746
     747
     748
    -749
    +749 +750 +751 +752 +753 +754 +755
  • -
    # File 'manifests/params.pp', line 427
    +        
    # File 'manifests/params.pp', line 431
     
     class confdroid_nagios::params (
     
    @@ -4293,6 +4331,8 @@ class confdroid_nagios::params (
     # hostgroups
       String $ng_hostgroup_name             = 'linux-servers',
       String $ng_hostgroup_alias            = 'Linux Servers',
    +  String $ng_servicegroup_name          = 'linux-services',
    +  String $ng_servicegroup_alias         = 'Linux Services',
     
     # nagios.cfg
       String $ng_log_file                   = '/var/log/nagios/nagios.log',
    
    From db6619c68b38be086cc887b8095b4df76d8a7bda Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 13:15:40 +0100
    Subject: [PATCH 136/175] Recommit for updates in build 181
    
    ---
     ...ios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html | 12 +++++++++++-
     doc/puppet_classes/confdroid_nagios_3A_3Aparams.html |  6 +++++-
     2 files changed, 16 insertions(+), 2 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html
    index f00301b..cef1531 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html
    @@ -140,7 +140,12 @@ additional servicegroups through external Puppet rules via define.
     36
     37
     38
    -39
    +39 +40 +41 +42 +43 +44
    # File 'manifests/nagios/objects/add_servicegroup_rules.pp', line 12
    @@ -171,6 +176,11 @@ class confdroid_nagios::nagios::objects::add_servicegroup_rules (
           content => template($ng_tgt_svcgrp_head_erb),
           order   => '000',
         }
    +    # add default servicegroup rules through defines and parameters
    +    confdroid_nagios::nagios::objects::add_servicegroups { $ng_servicegroup_name:
    +      ng_servicegroup_name  => $ng_servicegroup_name,
    +      ng_servicegroup_alias => $ng_servicegroup_alias
    +    }
       }
     }
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 2fe7fec..c0b2717 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -4295,7 +4295,9 @@ inherited by all classes except defines. 752 753 754 -755
    +755 +756 +757
    # File 'manifests/params.pp', line 431
    @@ -4331,6 +4333,8 @@ class confdroid_nagios::params (
     # hostgroups
       String $ng_hostgroup_name             = 'linux-servers',
       String $ng_hostgroup_alias            = 'Linux Servers',
    +
    +# servicegroups
       String $ng_servicegroup_name          = 'linux-services',
       String $ng_servicegroup_alias         = 'Linux Services',
     
    
    From b43fb9ec442ebb65ee858f64116f91eb8a977bff Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 13:17:16 +0100
    Subject: [PATCH 137/175] Recommit for updates in build 182
    
    ---
     ...os_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html
    index cef1531..592427f 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html
    @@ -179,7 +179,7 @@ class confdroid_nagios::nagios::objects::add_servicegroup_rules (
         # add default servicegroup rules through defines and parameters
         confdroid_nagios::nagios::objects::add_servicegroups { $ng_servicegroup_name:
           ng_servicegroup_name  => $ng_servicegroup_name,
    -      ng_servicegroup_alias => $ng_servicegroup_alias
    +      ng_servicegroup_alias => $ng_servicegroup_alias,
         }
       }
     }
    From 3de014c183d9bd14b22445824ac1812215b5206e Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Mon, 9 Mar 2026 14:04:51 +0100 Subject: [PATCH 138/175] Recommit for updates in build 183 --- ...3Aobjects_3A_3Aadd_servicegroup_rules.html | 4 ++- ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 32 +++++++++---------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html index 592427f..1407552 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroup_rules.html @@ -145,7 +145,8 @@ additional servicegroups through external Puppet rules via define. 41 42 43 -44 +44 +45
    # File 'manifests/nagios/objects/add_servicegroup_rules.pp', line 12
    @@ -176,6 +177,7 @@ class confdroid_nagios::nagios::objects::add_servicegroup_rules (
           content => template($ng_tgt_svcgrp_head_erb),
           order   => '000',
         }
    +
         # add default servicegroup rules through defines and parameters
         confdroid_nagios::nagios::objects::add_servicegroups { $ng_servicegroup_name:
           ng_servicegroup_name  => $ng_servicegroup_name,
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    index 22a3825..be63231 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    @@ -276,22 +276,22 @@ class confdroid_nagios::server::nagios (
     
     ) inherits confdroid_nagios::params {
       if $ng_nagios_server == $fqdn {
    -    @@nagios_host { 'localhost':
    -      ensure              => $ng_ping_ensure,
    -      alias               => 'localhost',
    -      address             => '127.0.0.1',
    -      use                 => 'linux-server',
    -      target              => $ng_target_localhost,
    -      hostgroups          => 'linux-servers',
    -      contacts            => $ng_contact_name,
    -      max_check_attempts  => $ng_max_check_attempts,
    -      notification_period => '24x7',
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    -      notify              => Service[$ng_service],
    -    }
    +#    @@nagios_host { 'localhost':
    +#      ensure              => $ng_ping_ensure,
    +#      alias               => 'localhost',
    +#      address             => '127.0.0.1',
    +#      use                 => 'linux-server',
    +#      target              => $ng_target_localhost,
    +#      hostgroups          => 'linux-servers',
    +#      contacts            => $ng_contact_name,
    +#      max_check_attempts  => $ng_max_check_attempts,
    +#      notification_period => '24x7',
    +#      owner               => $ng_user,
    +#      group               => $ng_user,
    +#      mode                => '0640',
    +#      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    +#      notify              => Service[$ng_service],
    +#    }
     
         @@nagios_service { 'check_nagios_localhost':
           check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
    
    From 3006397033194efde95b30bb259b37bbb33139f7 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 14:09:47 +0100
    Subject: [PATCH 139/175] Recommit for updates in build 184
    
    ---
     ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 32 +++++++++----------
     1 file changed, 16 insertions(+), 16 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    index be63231..22a3825 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    @@ -276,22 +276,22 @@ class confdroid_nagios::server::nagios (
     
     ) inherits confdroid_nagios::params {
       if $ng_nagios_server == $fqdn {
    -#    @@nagios_host { 'localhost':
    -#      ensure              => $ng_ping_ensure,
    -#      alias               => 'localhost',
    -#      address             => '127.0.0.1',
    -#      use                 => 'linux-server',
    -#      target              => $ng_target_localhost,
    -#      hostgroups          => 'linux-servers',
    -#      contacts            => $ng_contact_name,
    -#      max_check_attempts  => $ng_max_check_attempts,
    -#      notification_period => '24x7',
    -#      owner               => $ng_user,
    -#      group               => $ng_user,
    -#      mode                => '0640',
    -#      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    -#      notify              => Service[$ng_service],
    -#    }
    +    @@nagios_host { 'localhost':
    +      ensure              => $ng_ping_ensure,
    +      alias               => 'localhost',
    +      address             => '127.0.0.1',
    +      use                 => 'linux-server',
    +      target              => $ng_target_localhost,
    +      hostgroups          => 'linux-servers',
    +      contacts            => $ng_contact_name,
    +      max_check_attempts  => $ng_max_check_attempts,
    +      notification_period => '24x7',
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    +      notify              => Service[$ng_service],
    +    }
     
         @@nagios_service { 'check_nagios_localhost':
           check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
    
    From 6f030abd8984870dd82c9c9cb3a90fa42fcf99a5 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 14:23:02 +0100
    Subject: [PATCH 140/175] Recommit for updates in build 185
    
    ---
     ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 242 +++++++++---------
     1 file changed, 121 insertions(+), 121 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    index 22a3825..1d500e4 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    @@ -276,134 +276,134 @@ class confdroid_nagios::server::nagios (
     
     ) inherits confdroid_nagios::params {
       if $ng_nagios_server == $fqdn {
    -    @@nagios_host { 'localhost':
    -      ensure              => $ng_ping_ensure,
    -      alias               => 'localhost',
    -      address             => '127.0.0.1',
    -      use                 => 'linux-server',
    -      target              => $ng_target_localhost,
    -      hostgroups          => 'linux-servers',
    -      contacts            => $ng_contact_name,
    -      max_check_attempts  => $ng_max_check_attempts,
    -      notification_period => '24x7',
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    -      notify              => Service[$ng_service],
    -    }
    +#    @@nagios_host { 'localhost':
    +#      ensure              => $ng_ping_ensure,
    +#      alias               => 'localhost',
    +#      address             => '127.0.0.1',
    +#      use                 => 'linux-server',
    +#      target              => $ng_target_localhost,
    +#      hostgroups          => 'linux-servers',
    +#      contacts            => $ng_contact_name,
    +#      max_check_attempts  => $ng_max_check_attempts,
    +#      notification_period => '24x7',
    +#      owner               => $ng_user,
    +#      group               => $ng_user,
    +#      mode                => '0640',
    +#      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    +#      notify              => Service[$ng_service],
    +#    }
     
    -    @@nagios_service { 'check_nagios_localhost':
    -      check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      notification_period => '24x7',
    -      service_description => 'localhost_nagios_service',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      contacts            => $ng_contact_name,
    -      notify              => Service[$ng_service],
    -    }
    +#    @@nagios_service { 'check_nagios_localhost':
    +#      check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
    +#      use                 => 'generic-service',
    +#      host_name           => 'localhost',
    +#      notification_period => '24x7',
    +#      service_description => 'localhost_nagios_service',
    +#      target              => $ng_target_service,
    +#      owner               => $ng_user,
    +#      group               => $ng_user,
    +#      mode                => '0640',
    +#      contacts            => $ng_contact_name,
    +#      notify              => Service[$ng_service],
    +#    }
     
    -    @@nagios_service { 'root_partition_localhost':
    -      ensure              => $ng_disk_ensure,
    -      check_command       => "check_nrpe!check_disk!${ng_disk_warn}!${ng_disk_crit}!/",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_root_partition',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    +#    @@nagios_service { 'root_partition_localhost':
    +#      ensure              => $ng_disk_ensure,
    +#      check_command       => "check_nrpe!check_disk!${ng_disk_warn}!${ng_disk_crit}!/",
    +#      use                 => 'generic-service',
    +#      host_name           => 'localhost',
    +#      contacts            => $ng_contact_name,
    +#      notification_period => '24x7',
    +#      service_description => 'localhost_root_partition',
    +#      servicegroups       => 'linux-services',
    +#      target              => $ng_target_service,
    +#      owner               => $ng_user,
    +#      group               => $ng_user,
    +#      mode                => '0640',
    +#      notify              => Service[$ng_service],
    +#    }
     
    -    if $ng_enable_swap_check == true {
    -      @@nagios_service { 'Swap_Usage_localhost':
    -        ensure              => $ng_swap_ensure,
    -        check_command       => "check_nrpe!check_swap!${ng_swap_warn}!${ng_swap_crit}",
    -        use                 => 'generic-service',
    -        host_name           => 'localhost',
    -        contacts            => $ng_contact_name,
    -        notification_period => '24x7',
    -        service_description => 'localhost_swap_usage',
    -        servicegroups       => 'linux-services',
    -        target              => $ng_target_service,
    -        owner               => $ng_user,
    -        group               => $ng_user,
    -        mode                => '0640',
    -        notify              => Service[$ng_service],
    -      }
    -    }
    +#    if $ng_enable_swap_check == true {
    +#      @@nagios_service { 'Swap_Usage_localhost':
    +#        ensure              => $ng_swap_ensure,
    +#        check_command       => "check_nrpe!check_swap!${ng_swap_warn}!${ng_swap_crit}",
    +#        use                 => 'generic-service',
    +#        host_name           => 'localhost',
    +#        contacts            => $ng_contact_name,
    +#        notification_period => '24x7',
    +#        service_description => 'localhost_swap_usage',
    +#        servicegroups       => 'linux-services',
    +#        target              => $ng_target_service,
    +#        owner               => $ng_user,
    +#        group               => $ng_user,
    +#        mode                => '0640',
    +#        notify              => Service[$ng_service],
    +#      }
    +#    }
     
    -    @@nagios_service { 'Local_Users_localhost':
    -      ensure              => $ng_users_ensure,
    -      check_command       => "check_nrpe!check_users!${ng_users_warn}!${ng_users_crit}",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_local_users',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    +#    @@nagios_service { 'Local_Users_localhost':
    +#      ensure              => $ng_users_ensure,
    +#      check_command       => "check_nrpe!check_users!${ng_users_warn}!${ng_users_crit}",
    +#      use                 => 'generic-service',
    +#      host_name           => 'localhost',
    +#      contacts            => $ng_contact_name,
    +#      notification_period => '24x7',
    +#      service_description => 'localhost_local_users',
    +#      servicegroups       => 'linux-services',
    +#      target              => $ng_target_service,
    +#      owner               => $ng_user,
    +#      group               => $ng_user,
    +#      mode                => '0640',
    +#      notify              => Service[$ng_service],
    +#    }
     
    -    @@nagios_service { 'Total_Processes_localhost':
    -      ensure              => $ng_procs_tot_ensure,
    -      check_command       => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_total_processes',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    +#    @@nagios_service { 'Total_Processes_localhost':
    +#      ensure              => $ng_procs_tot_ensure,
    +#      check_command       => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}",
    +#      use                 => 'generic-service',
    +#      host_name           => 'localhost',
    +#      contacts            => $ng_contact_name,
    +#      notification_period => '24x7',
    +#      service_description => 'localhost_total_processes',
    +#      servicegroups       => 'linux-services',
    +#      target              => $ng_target_service,
    +#      owner               => $ng_user,
    +#      group               => $ng_user,
    +#      mode                => '0640',
    +#      notify              => Service[$ng_service],
    +#    }
     
    -    @@nagios_service { 'Zombie_Processes_localhost':
    -      ensure              => $ng_procs_z_ensure,
    -      check_command       => "check_nrpe!check_procs!${ng_procs_z_warn}!${ng_procs_z_crit}!${ng_procs_z_param}",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_zombie_processes',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    +#    @@nagios_service { 'Zombie_Processes_localhost':
    +#      ensure              => $ng_procs_z_ensure,
    +#      check_command       => "check_nrpe!check_procs!${ng_procs_z_warn}!${ng_procs_z_crit}!${ng_procs_z_param}",
    +#      use                 => 'generic-service',
    +#      host_name           => 'localhost',
    +#      contacts            => $ng_contact_name,
    +#      notification_period => '24x7',
    +#      service_description => 'localhost_zombie_processes',
    +#      servicegroups       => 'linux-services',
    +#      target              => $ng_target_service,
    +#      owner               => $ng_user,
    +#      group               => $ng_user,
    +#      mode                => '0640',
    +#      notify              => Service[$ng_service],
    +#    }
     
    -    @@nagios_service { 'Current_Load_localhost':
    -      ensure              => $ng_load_ensure,
    -      check_command       => "check_nrpe!check_load!${ng_load_warn}!${ng_load_crit}",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_current_load',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    +#    @@nagios_service { 'Current_Load_localhost':
    +#      ensure              => $ng_load_ensure,
    +#      check_command       => "check_nrpe!check_load!${ng_load_warn}!${ng_load_crit}",
    +#      use                 => 'generic-service',
    +#      host_name           => 'localhost',
    +#      contacts            => $ng_contact_name,
    +#      notification_period => '24x7',
    +#      service_description => 'localhost_current_load',
    +#      servicegroups       => 'linux-services',
    +#      target              => $ng_target_service,
    +#      owner               => $ng_user,
    +#      group               => $ng_user,
    +#      mode                => '0640',
    +#      notify              => Service[$ng_service],
    +#    }
     
         resources { ['nagios_host',
             'nagios_hostgroup',
    
    From 6485cff671716f45ff7c51a70a769fc9ae191933 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 14:46:11 +0100
    Subject: [PATCH 141/175] Recommit for updates in build 186
    
    ---
     ...fdroid_nagios_3A_3Anagios_3A_3Aconfig.html |   2 +-
     ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 242 +++++++++---------
     2 files changed, 122 insertions(+), 122 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 cdb6b65..40fa2b9 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html
    @@ -123,7 +123,7 @@ 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::commands
         require confdroid_nagios::nagios::objects::template_rules
         require confdroid_nagios::nagios::objects::add_contact_rules
         require confdroid_nagios::nagios::objects::add_contactgroups_rules
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    index 1d500e4..22a3825 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    @@ -276,134 +276,134 @@ class confdroid_nagios::server::nagios (
     
     ) inherits confdroid_nagios::params {
       if $ng_nagios_server == $fqdn {
    -#    @@nagios_host { 'localhost':
    -#      ensure              => $ng_ping_ensure,
    -#      alias               => 'localhost',
    -#      address             => '127.0.0.1',
    -#      use                 => 'linux-server',
    -#      target              => $ng_target_localhost,
    -#      hostgroups          => 'linux-servers',
    -#      contacts            => $ng_contact_name,
    -#      max_check_attempts  => $ng_max_check_attempts,
    -#      notification_period => '24x7',
    -#      owner               => $ng_user,
    -#      group               => $ng_user,
    -#      mode                => '0640',
    -#      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    -#      notify              => Service[$ng_service],
    -#    }
    +    @@nagios_host { 'localhost':
    +      ensure              => $ng_ping_ensure,
    +      alias               => 'localhost',
    +      address             => '127.0.0.1',
    +      use                 => 'linux-server',
    +      target              => $ng_target_localhost,
    +      hostgroups          => 'linux-servers',
    +      contacts            => $ng_contact_name,
    +      max_check_attempts  => $ng_max_check_attempts,
    +      notification_period => '24x7',
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    +      notify              => Service[$ng_service],
    +    }
     
    -#    @@nagios_service { 'check_nagios_localhost':
    -#      check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
    -#      use                 => 'generic-service',
    -#      host_name           => 'localhost',
    -#      notification_period => '24x7',
    -#      service_description => 'localhost_nagios_service',
    -#      target              => $ng_target_service,
    -#      owner               => $ng_user,
    -#      group               => $ng_user,
    -#      mode                => '0640',
    -#      contacts            => $ng_contact_name,
    -#      notify              => Service[$ng_service],
    -#    }
    +    @@nagios_service { 'check_nagios_localhost':
    +      check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      notification_period => '24x7',
    +      service_description => 'localhost_nagios_service',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      contacts            => $ng_contact_name,
    +      notify              => Service[$ng_service],
    +    }
     
    -#    @@nagios_service { 'root_partition_localhost':
    -#      ensure              => $ng_disk_ensure,
    -#      check_command       => "check_nrpe!check_disk!${ng_disk_warn}!${ng_disk_crit}!/",
    -#      use                 => 'generic-service',
    -#      host_name           => 'localhost',
    -#      contacts            => $ng_contact_name,
    -#      notification_period => '24x7',
    -#      service_description => 'localhost_root_partition',
    -#      servicegroups       => 'linux-services',
    -#      target              => $ng_target_service,
    -#      owner               => $ng_user,
    -#      group               => $ng_user,
    -#      mode                => '0640',
    -#      notify              => Service[$ng_service],
    -#    }
    +    @@nagios_service { 'root_partition_localhost':
    +      ensure              => $ng_disk_ensure,
    +      check_command       => "check_nrpe!check_disk!${ng_disk_warn}!${ng_disk_crit}!/",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_root_partition',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
     
    -#    if $ng_enable_swap_check == true {
    -#      @@nagios_service { 'Swap_Usage_localhost':
    -#        ensure              => $ng_swap_ensure,
    -#        check_command       => "check_nrpe!check_swap!${ng_swap_warn}!${ng_swap_crit}",
    -#        use                 => 'generic-service',
    -#        host_name           => 'localhost',
    -#        contacts            => $ng_contact_name,
    -#        notification_period => '24x7',
    -#        service_description => 'localhost_swap_usage',
    -#        servicegroups       => 'linux-services',
    -#        target              => $ng_target_service,
    -#        owner               => $ng_user,
    -#        group               => $ng_user,
    -#        mode                => '0640',
    -#        notify              => Service[$ng_service],
    -#      }
    -#    }
    +    if $ng_enable_swap_check == true {
    +      @@nagios_service { 'Swap_Usage_localhost':
    +        ensure              => $ng_swap_ensure,
    +        check_command       => "check_nrpe!check_swap!${ng_swap_warn}!${ng_swap_crit}",
    +        use                 => 'generic-service',
    +        host_name           => 'localhost',
    +        contacts            => $ng_contact_name,
    +        notification_period => '24x7',
    +        service_description => 'localhost_swap_usage',
    +        servicegroups       => 'linux-services',
    +        target              => $ng_target_service,
    +        owner               => $ng_user,
    +        group               => $ng_user,
    +        mode                => '0640',
    +        notify              => Service[$ng_service],
    +      }
    +    }
     
    -#    @@nagios_service { 'Local_Users_localhost':
    -#      ensure              => $ng_users_ensure,
    -#      check_command       => "check_nrpe!check_users!${ng_users_warn}!${ng_users_crit}",
    -#      use                 => 'generic-service',
    -#      host_name           => 'localhost',
    -#      contacts            => $ng_contact_name,
    -#      notification_period => '24x7',
    -#      service_description => 'localhost_local_users',
    -#      servicegroups       => 'linux-services',
    -#      target              => $ng_target_service,
    -#      owner               => $ng_user,
    -#      group               => $ng_user,
    -#      mode                => '0640',
    -#      notify              => Service[$ng_service],
    -#    }
    +    @@nagios_service { 'Local_Users_localhost':
    +      ensure              => $ng_users_ensure,
    +      check_command       => "check_nrpe!check_users!${ng_users_warn}!${ng_users_crit}",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_local_users',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
     
    -#    @@nagios_service { 'Total_Processes_localhost':
    -#      ensure              => $ng_procs_tot_ensure,
    -#      check_command       => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}",
    -#      use                 => 'generic-service',
    -#      host_name           => 'localhost',
    -#      contacts            => $ng_contact_name,
    -#      notification_period => '24x7',
    -#      service_description => 'localhost_total_processes',
    -#      servicegroups       => 'linux-services',
    -#      target              => $ng_target_service,
    -#      owner               => $ng_user,
    -#      group               => $ng_user,
    -#      mode                => '0640',
    -#      notify              => Service[$ng_service],
    -#    }
    +    @@nagios_service { 'Total_Processes_localhost':
    +      ensure              => $ng_procs_tot_ensure,
    +      check_command       => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_total_processes',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
     
    -#    @@nagios_service { 'Zombie_Processes_localhost':
    -#      ensure              => $ng_procs_z_ensure,
    -#      check_command       => "check_nrpe!check_procs!${ng_procs_z_warn}!${ng_procs_z_crit}!${ng_procs_z_param}",
    -#      use                 => 'generic-service',
    -#      host_name           => 'localhost',
    -#      contacts            => $ng_contact_name,
    -#      notification_period => '24x7',
    -#      service_description => 'localhost_zombie_processes',
    -#      servicegroups       => 'linux-services',
    -#      target              => $ng_target_service,
    -#      owner               => $ng_user,
    -#      group               => $ng_user,
    -#      mode                => '0640',
    -#      notify              => Service[$ng_service],
    -#    }
    +    @@nagios_service { 'Zombie_Processes_localhost':
    +      ensure              => $ng_procs_z_ensure,
    +      check_command       => "check_nrpe!check_procs!${ng_procs_z_warn}!${ng_procs_z_crit}!${ng_procs_z_param}",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_zombie_processes',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
     
    -#    @@nagios_service { 'Current_Load_localhost':
    -#      ensure              => $ng_load_ensure,
    -#      check_command       => "check_nrpe!check_load!${ng_load_warn}!${ng_load_crit}",
    -#      use                 => 'generic-service',
    -#      host_name           => 'localhost',
    -#      contacts            => $ng_contact_name,
    -#      notification_period => '24x7',
    -#      service_description => 'localhost_current_load',
    -#      servicegroups       => 'linux-services',
    -#      target              => $ng_target_service,
    -#      owner               => $ng_user,
    -#      group               => $ng_user,
    -#      mode                => '0640',
    -#      notify              => Service[$ng_service],
    -#    }
    +    @@nagios_service { 'Current_Load_localhost':
    +      ensure              => $ng_load_ensure,
    +      check_command       => "check_nrpe!check_load!${ng_load_warn}!${ng_load_crit}",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_current_load',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
     
         resources { ['nagios_host',
             'nagios_hostgroup',
    
    From 016acc7f13713faa208d506db9fe438a2030eadc Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 15:11:12 +0100
    Subject: [PATCH 142/175] Recommit for updates in build 189
    
    ---
     .../confdroid_nagios_3A_3Anagios_3A_3Aconfig.html               | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    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 40fa2b9..cdb6b65 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html
    @@ -123,7 +123,7 @@ 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::commands
         require confdroid_nagios::nagios::objects::template_rules
         require confdroid_nagios::nagios::objects::add_contact_rules
         require confdroid_nagios::nagios::objects::add_contactgroups_rules
    
    From 0b9f7b29a5f523e5ed43ae62d86e5bb0f053b579 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 15:30:00 +0100
    Subject: [PATCH 143/175] Recommit for updates in build 190
    
    ---
     ...nfdroid_nagios_3A_3Amain_3A_3Ainstall.html | 20 +++++++------------
     1 file changed, 7 insertions(+), 13 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html
    index 50814f5..472d89a 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html
    @@ -130,10 +130,7 @@
     32
     33
     34
    -35
    -36
    -37
    -38
    +35
    # File 'manifests/main/install.pp', line 6
    @@ -159,16 +156,13 @@ class confdroid_nagios::main::install (
         }
       }
     
    -  # if we are not the nagios server, install only client packages
    -  if $fqdn != $ng_nagios_server {
    -    package { $ng_reqpackages_client:
    -      ensure => $ng_pkg_ensure,
    -    }
    +  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
    -    }
    +  # if we want to use NRPE on clients, install it
    +  if $ng_include_nrpe == true {
    +    require confdroid_nrpe
       }
     }
    From b054ab65be722a5b1eec2baf4374ab13e25d2e83 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Mon, 9 Mar 2026 15:34:37 +0100 Subject: [PATCH 144/175] Recommit for updates in build 191 --- .../confdroid_nagios_3A_3Amain_3A_3Ainstall.html | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html index 472d89a..b89aeb8 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html @@ -124,13 +124,7 @@ 26 27 28 -29 -30 -31 -32 -33 -34 -35 +29
    # File 'manifests/main/install.pp', line 6
    @@ -148,12 +142,6 @@ class confdroid_nagios::main::install (
         package { $ng_reqpackages_server:
           ensure => $ng_pkg_ensure,
         }
    -    package { $ng_reqpackages_client:
    -      ensure => $ng_pkg_ensure,
    -    }
    -    if $ng_include_nrpe == true {
    -      require confdroid_nrpe
    -    }
       }
     
       package { $ng_reqpackages_client:
    
    From 857300359b23049ed8beb3200542558f9892cd90 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 15:40:48 +0100
    Subject: [PATCH 145/175] Recommit for updates in build 192
    
    ---
     ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 68 +-----------------
     ...droid_nagios_3A_3Aserver_3A_3Aservice.html | 70 ++++++++++++++++++-
     2 files changed, 70 insertions(+), 68 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    index 22a3825..7fd1dae 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    @@ -234,40 +234,7 @@
     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
    +139
    # File 'manifests/server/nagios.pp', line 6
    @@ -404,39 +371,6 @@ class confdroid_nagios::server::nagios (
           mode                => '0640',
           notify              => Service[$ng_service],
         }
    -
    -    resources { ['nagios_host',
    -        'nagios_hostgroup',
    -        'nagios_hostdependency',
    -        'nagios_hostescalation',
    -        'nagios_hostextinfo',
    -        'nagios_service',
    -        'nagios_servicegroup',
    -        'nagios_servicedependency',
    -        'nagios_serviceescalation',
    -        'nagios_serviceextinfo',
    -        'nagios_contact',
    -        'nagios_contactgroup',
    -        'nagios_command',
    -      'nagios_timeperiod']:
    -        purge => true,
    -    }
    -
    -    # collect resources and populate /etc/nagios/conf.d/nagios_*.cfg
    -    Nagios_host <<||>> { notify  => Service['nagios'] }
    -    Nagios_hostgroup <<||>> { notify  => Service['nagios'] }
    -    Nagios_hostdependency <<||>> { notify  => Service['nagios'] }
    -    Nagios_hostescalation <<||>> { notify  => Service['nagios'] }
    -    Nagios_hostextinfo <<||>> { notify  => Service['nagios'] }
    -    Nagios_service <<||>> { notify  => Service['nagios'] }
    -    Nagios_servicegroup <<||>> { notify  => Service['nagios'] }
    -    Nagios_servicedependency <<||>> { notify  => Service['nagios'] }
    -    Nagios_serviceescalation <<||>> { notify  => Service['nagios'] }
    -    Nagios_serviceextinfo <<||>> { notify  => Service['nagios'] }
    -    Nagios_contact <<||>> { notify  => Service['nagios'] }
    -    Nagios_contactgroup <<||>> { notify  => Service['nagios'] }
    -    Nagios_command <<||>> { notify  => Service['nagios'] }
    -    Nagios_timeperiod <<||>> { notify  => Service['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 ecc4ad0..6d44f15 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -125,7 +125,41 @@ 27 28 29 -30 +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
    # File 'manifests/server/service.pp', line 6
    @@ -153,6 +187,40 @@ class confdroid_nagios::server::service (
           hasstatus  => true,
           require    => Exec['ng_restart_httpd'],
         }
    +
    +    resources { ['nagios_host',
    +        'nagios_hostgroup',
    +        'nagios_hostdependency',
    +        'nagios_hostescalation',
    +        'nagios_hostextinfo',
    +        'nagios_service',
    +        'nagios_servicegroup',
    +        'nagios_servicedependency',
    +        'nagios_serviceescalation',
    +        'nagios_serviceextinfo',
    +        'nagios_contact',
    +        'nagios_contactgroup',
    +        'nagios_command',
    +      'nagios_timeperiod']:
    +        purge => true,
    +    }
    +
    +    # collect resources and populate /etc/nagios/conf.d/nagios_*.cfg
    +    Nagios_host <<||>> { notify  => Service['nagios'] }
    +    Nagios_hostgroup <<||>> { notify  => Service['nagios'] }
    +    Nagios_hostdependency <<||>> { notify  => Service['nagios'] }
    +    Nagios_hostescalation <<||>> { notify  => Service['nagios'] }
    +    Nagios_hostextinfo <<||>> { notify  => Service['nagios'] }
    +    Nagios_service <<||>> { notify  => Service['nagios'] }
    +    Nagios_servicegroup <<||>> { notify  => Service['nagios'] }
    +    Nagios_servicedependency <<||>> { notify  => Service['nagios'] }
    +    Nagios_serviceescalation <<||>> { notify  => Service['nagios'] }
    +    Nagios_serviceextinfo <<||>> { notify  => Service['nagios'] }
    +    Nagios_contact <<||>> { notify  => Service['nagios'] }
    +    Nagios_contactgroup <<||>> { notify  => Service['nagios'] }
    +    Nagios_command <<||>> { notify  => Service['nagios'] }
    +    Nagios_timeperiod <<||>> { notify  => Service['nagios'] }
    +
       }
     }
    From b038d1b60262941e42c7d7e4d7a3509b1c3c80e4 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Mon, 9 Mar 2026 15:48:50 +0100 Subject: [PATCH 146/175] Recommit for updates in build 193 --- ...onfdroid_nagios_3A_3Amain_3A_3Aconfig.html | 2 +- ...droid_nagios_3A_3Aserver_3A_3Aservice.html | 36 +++++++++++++++++-- 2 files changed, 35 insertions(+), 3 deletions(-) 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 f80eec5..3d2bc44 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html @@ -123,7 +123,7 @@ class confdroid_nagios::main::config ( include confdroid_nagios::server::service } - if $fqdn != $ng_nagios_server { + if $ng_enable_target == true { include confdroid_nagios::client::target } } 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 6d44f15..7faa551 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -159,7 +159,23 @@ 61 62 63 -64 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80
    # File 'manifests/server/service.pp', line 6
    @@ -188,6 +204,23 @@ class confdroid_nagios::server::service (
           require    => Exec['ng_restart_httpd'],
         }
     
    +    @@nagios_host { 'localhost':
    +      ensure              => $ng_ping_ensure,
    +      alias               => 'localhost',
    +      address             => '127.0.0.1',
    +      use                 => 'linux-server',
    +      target              => $ng_target_localhost,
    +      hostgroups          => 'linux-servers',
    +      contacts            => $ng_contact_name,
    +      max_check_attempts  => $ng_max_check_attempts,
    +      notification_period => '24x7',
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    +      notify              => Service[$ng_service],
    +    }
    +
         resources { ['nagios_host',
             'nagios_hostgroup',
             'nagios_hostdependency',
    @@ -220,7 +253,6 @@ class confdroid_nagios::server::service (
         Nagios_contactgroup <<||>> { notify  => Service['nagios'] }
         Nagios_command <<||>> { notify  => Service['nagios'] }
         Nagios_timeperiod <<||>> { notify  => Service['nagios'] }
    -
       }
     }
    From 7ab59b75df44f0407a71fc05dc8dcb97ae86e410 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Mon, 9 Mar 2026 15:52:20 +0100 Subject: [PATCH 147/175] Recommit for updates in build 194 --- ...fdroid_nagios_3A_3Aclient_3A_3Atarget.html | 2 +- ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 34 +------------------ 2 files changed, 2 insertions(+), 34 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html index 5afd824..582af9c 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html @@ -222,7 +222,7 @@ class confdroid_nagios::client::target ( ) inherits confdroid_nagios::params { - if ($ng_nagios_server == $fqdn) and ($ng_enable_target == true) { + if ($ng_nagios_server != $fqdn) and ($ng_enable_target == true) { @@nagios_host { $fqdn: ensure => $ng_ping_ensure, alias => $hostname, diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html index 7fd1dae..e32c7c1 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html @@ -218,23 +218,7 @@ 120 121 122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 +123
    # File 'manifests/server/nagios.pp', line 6
    @@ -243,22 +227,6 @@ class confdroid_nagios::server::nagios (
     
     ) inherits confdroid_nagios::params {
       if $ng_nagios_server == $fqdn {
    -    @@nagios_host { 'localhost':
    -      ensure              => $ng_ping_ensure,
    -      alias               => 'localhost',
    -      address             => '127.0.0.1',
    -      use                 => 'linux-server',
    -      target              => $ng_target_localhost,
    -      hostgroups          => 'linux-servers',
    -      contacts            => $ng_contact_name,
    -      max_check_attempts  => $ng_max_check_attempts,
    -      notification_period => '24x7',
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    -      notify              => Service[$ng_service],
    -    }
     
         @@nagios_service { 'check_nagios_localhost':
           check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
    
    From 50412b685330b58eeef1b18a6e93bdd7ec7b168e Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 15:56:29 +0100
    Subject: [PATCH 148/175] Recommit for updates in build 195
    
    ---
     .../confdroid_nagios_3A_3Aclient_3A_3Atarget.html    | 12 ++++++++++--
     1 file changed, 10 insertions(+), 2 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html
    index 582af9c..b675858 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html
    @@ -214,7 +214,11 @@
     116
     117
     118
    -119
    +119 +120 +121 +122 +123
    # File 'manifests/client/target.pp', line 6
    @@ -223,6 +227,10 @@ class confdroid_nagios::client::target (
     
     ) inherits confdroid_nagios::params {
       if ($ng_nagios_server != $fqdn) and ($ng_enable_target == true) {
    +    package { $ng_reqpackages_client:
    +      ensure => $ng_pkg_ensure,
    +    }
    +
         @@nagios_host { $fqdn:
           ensure              => $ng_ping_ensure,
           alias               => $hostname,
    @@ -288,7 +296,7 @@ class confdroid_nagios::client::target (
         }
     
         @@nagios_service { "Total Processes_${fqdn}":
    -      ensure              => $ng_procs_tot_ens,
    +      ensure              => $ng_procs_tot_ensure,
           check_command       => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}",
           use                 => 'generic-service',
           host_name           => $fqdn,
    
    From ce32e10357d723984fa15839638cf626c1d8eb7b Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 16:02:52 +0100
    Subject: [PATCH 149/175] Recommit for updates in build 196
    
    ---
     ...confdroid_nagios_3A_3Aclient_3A_3Atarget.html | 12 +++++++++++-
     .../confdroid_nagios_3A_3Amain_3A_3Ainstall.html | 16 +++++++---------
     ...confdroid_nagios_3A_3Aserver_3A_3Anagios.html |  4 +---
     3 files changed, 19 insertions(+), 13 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html
    index b675858..1381c77 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html
    @@ -218,7 +218,12 @@
     120
     121
     122
    -123
    +123 +124 +125 +126 +127 +128
    # File 'manifests/client/target.pp', line 6
    @@ -231,6 +236,11 @@ class confdroid_nagios::client::target (
           ensure => $ng_pkg_ensure,
         }
     
    +    # if we want to use NRPE on clients, install it
    +    if $ng_include_nrpe == true {
    +      require confdroid_nrpe
    +    }
    +
         @@nagios_host { $fqdn:
           ensure              => $ng_ping_ensure,
           alias               => $hostname,
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html
    index b89aeb8..ee2a1f5 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html
    @@ -123,8 +123,7 @@
     25
     26
     27
    -28
    -29
    +28
    # File 'manifests/main/install.pp', line 6
    @@ -142,15 +141,14 @@ class confdroid_nagios::main::install (
         package { $ng_reqpackages_server:
           ensure => $ng_pkg_ensure,
         }
    -  }
     
    -  package { $ng_reqpackages_client:
    -    ensure => $ng_pkg_ensure,
    -  }
    +    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
    +    if $ng_include_nrpe == true {
    +      require confdroid_nrpe
    +    }
       }
     }
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html index e32c7c1..bccb39d 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html @@ -217,8 +217,7 @@ 119 120 121 -122 -123 +122
    # File 'manifests/server/nagios.pp', line 6
    @@ -227,7 +226,6 @@ class confdroid_nagios::server::nagios (
     
     ) inherits confdroid_nagios::params {
       if $ng_nagios_server == $fqdn {
    -
         @@nagios_service { 'check_nagios_localhost':
           check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
           use                 => 'generic-service',
    
    From 635ec927d44856820897b770cf6c1b0d9a50f68c Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 16:18:07 +0100
    Subject: [PATCH 150/175] Recommit for updates in build 197
    
    ---
     .../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 7faa551..a84a997 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    @@ -235,7 +235,7 @@ class confdroid_nagios::server::service (
             'nagios_contactgroup',
             'nagios_command',
           'nagios_timeperiod']:
    -        purge => true,
    +        purge => false,
         }
     
         # collect resources and populate /etc/nagios/conf.d/nagios_*.cfg
    
    From 0915f00b4b5ed7fe8b61eaace4ec05725544b759 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 16:22:24 +0100
    Subject: [PATCH 151/175] Recommit for updates in build 198
    
    ---
     doc/_index.html                               |   5 -
     doc/puppet_class_list.html                    |   9 +-
     .../confdroid_nagios_3A_3Aparams.html         |   2 -
     ...droid_nagios_3A_3Aserver_3A_3Aservice.html | 226 +++++++++++++++++-
     4 files changed, 225 insertions(+), 17 deletions(-)
    
    diff --git a/doc/_index.html b/doc/_index.html
    index e8739cc..37cbf86 100644
    --- a/doc/_index.html
    +++ b/doc/_index.html
    @@ -153,11 +153,6 @@
           
                 
         
    -            
  • - confdroid_nagios::server::nagios - -
  • -
  • confdroid_nagios::server::service diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index c43f018..e78eab8 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -159,14 +159,7 @@
  • -
  • - -
  • - - -
  • +
  • diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index c0b2717..a25c977 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -79,8 +79,6 @@ confdroid_nagios::nagios::config
    - confdroid_nagios::server::nagios
    - confdroid_nagios::server::service
    confdroid_nagios::server::access_rules
    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 a84a997..3d0a7c5 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -175,7 +175,118 @@ 77 78 79 -80
  • +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
    # File 'manifests/server/service.pp', line 6
    @@ -187,7 +298,6 @@ class confdroid_nagios::server::service (
       if $ng_nagios_server == $fqdn {
         require confdroid_nagios::server::access_rules
         require confdroid_nagios::nagios::config
    -    require confdroid_nagios::server::nagios
     
         exec { 'ng_restart_httpd':
           command     => 'systemctl restart httpd',
    @@ -221,6 +331,118 @@ class confdroid_nagios::server::service (
           notify              => Service[$ng_service],
         }
     
    +    @@nagios_service { 'check_nagios_localhost':
    +      check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      notification_period => '24x7',
    +      service_description => 'localhost_nagios_service',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      contacts            => $ng_contact_name,
    +      notify              => Service[$ng_service],
    +    }
    +
    +    @@nagios_service { 'root_partition_localhost':
    +      ensure              => $ng_disk_ensure,
    +      check_command       => "check_nrpe!check_disk!${ng_disk_warn}!${ng_disk_crit}!/",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_root_partition',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
    +
    +    if $ng_enable_swap_check == true {
    +      @@nagios_service { 'Swap_Usage_localhost':
    +        ensure              => $ng_swap_ensure,
    +        check_command       => "check_nrpe!check_swap!${ng_swap_warn}!${ng_swap_crit}",
    +        use                 => 'generic-service',
    +        host_name           => 'localhost',
    +        contacts            => $ng_contact_name,
    +        notification_period => '24x7',
    +        service_description => 'localhost_swap_usage',
    +        servicegroups       => 'linux-services',
    +        target              => $ng_target_service,
    +        owner               => $ng_user,
    +        group               => $ng_user,
    +        mode                => '0640',
    +        notify              => Service[$ng_service],
    +      }
    +    }
    +
    +    @@nagios_service { 'Local_Users_localhost':
    +      ensure              => $ng_users_ensure,
    +      check_command       => "check_nrpe!check_users!${ng_users_warn}!${ng_users_crit}",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_local_users',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
    +
    +    @@nagios_service { 'Total_Processes_localhost':
    +      ensure              => $ng_procs_tot_ensure,
    +      check_command       => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_total_processes',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
    +
    +    @@nagios_service { 'Zombie_Processes_localhost':
    +      ensure              => $ng_procs_z_ensure,
    +      check_command       => "check_nrpe!check_procs!${ng_procs_z_warn}!${ng_procs_z_crit}!${ng_procs_z_param}",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_zombie_processes',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
    +
    +    @@nagios_service { 'Current_Load_localhost':
    +      ensure              => $ng_load_ensure,
    +      check_command       => "check_nrpe!check_load!${ng_load_warn}!${ng_load_crit}",
    +      use                 => 'generic-service',
    +      host_name           => 'localhost',
    +      contacts            => $ng_contact_name,
    +      notification_period => '24x7',
    +      service_description => 'localhost_current_load',
    +      servicegroups       => 'linux-services',
    +      target              => $ng_target_service,
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      notify              => Service[$ng_service],
    +    }
    +
         resources { ['nagios_host',
             'nagios_hostgroup',
             'nagios_hostdependency',
    
    From fcc49ac8d73cec79fd8c30c101276ee26bfb25c2 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Mon, 9 Mar 2026 16:42:22 +0100
    Subject: [PATCH 152/175] Recommit for updates in build 199
    
    ---
     ...droid_nagios_3A_3Aserver_3A_3Aservice.html | 32 +++++++++----------
     1 file changed, 16 insertions(+), 16 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 3d0a7c5..1cebc17 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
    @@ -443,22 +443,22 @@ class confdroid_nagios::server::service (
           notify              => Service[$ng_service],
         }
     
    -    resources { ['nagios_host',
    -        'nagios_hostgroup',
    -        'nagios_hostdependency',
    -        'nagios_hostescalation',
    -        'nagios_hostextinfo',
    -        'nagios_service',
    -        'nagios_servicegroup',
    -        'nagios_servicedependency',
    -        'nagios_serviceescalation',
    -        'nagios_serviceextinfo',
    -        'nagios_contact',
    -        'nagios_contactgroup',
    -        'nagios_command',
    -      'nagios_timeperiod']:
    -        purge => false,
    -    }
    +#    resources { ['nagios_host',
    +#        'nagios_hostgroup',
    +#        'nagios_hostdependency',
    +#        'nagios_hostescalation',
    +#        'nagios_hostextinfo',
    +#        'nagios_service',
    +#        'nagios_servicegroup',
    +#        'nagios_servicedependency',
    +#        'nagios_serviceescalation',
    +#        'nagios_serviceextinfo',
    +#        'nagios_contact',
    +#        'nagios_contactgroup',
    +#        'nagios_command',
    +#      'nagios_timeperiod']:
    +#        purge => true,
    +#    }
     
         # collect resources and populate /etc/nagios/conf.d/nagios_*.cfg
         Nagios_host <<||>> { notify  => Service['nagios'] }
    
    From 9e44259f8e5c70664c3236bdba96b1146a386cec Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Tue, 10 Mar 2026 11:16:37 +0100
    Subject: [PATCH 153/175] Recommit for updates in build 200
    
    ---
     doc/_index.html                               |   5 +
     doc/puppet_class_list.html                    |   9 +-
     .../confdroid_nagios_3A_3Aparams.html         |   2 +
     ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 104 +++++-
     ...droid_nagios_3A_3Aserver_3A_3Aservice.html | 326 +-----------------
     5 files changed, 119 insertions(+), 327 deletions(-)
    
    diff --git a/doc/_index.html b/doc/_index.html
    index 37cbf86..e8739cc 100644
    --- a/doc/_index.html
    +++ b/doc/_index.html
    @@ -153,6 +153,11 @@
           
                 
         
    +            
  • + confdroid_nagios::server::nagios + +
  • +
  • confdroid_nagios::server::service diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index e78eab8..c43f018 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -159,7 +159,14 @@
  • -
  • +
  • + +
  • + + +
  • diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index a25c977..c0b2717 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::nagios::config
    + confdroid_nagios::server::nagios
    + confdroid_nagios::server::service
    confdroid_nagios::server::access_rules
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html index bccb39d..12e36b6 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html @@ -77,7 +77,7 @@

    Summary

    - Class manages nagios resources for the confdroid_nagios module. + Class manages Nagios configuration for the confdroid_nagios module.

    Overview

    @@ -217,7 +217,57 @@ 119 120 121 -122
  • +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
    # File 'manifests/server/nagios.pp', line 6
    @@ -226,6 +276,23 @@ class confdroid_nagios::server::nagios (
     
     ) inherits confdroid_nagios::params {
       if $ng_nagios_server == $fqdn {
    +    @@nagios_host { 'localhost':
    +      ensure              => $ng_ping_ensure,
    +      alias               => 'localhost',
    +      address             => '127.0.0.1',
    +      use                 => 'linux-server',
    +      target              => $ng_target_localhost,
    +      hostgroups          => 'linux-servers',
    +      contacts            => $ng_contact_name,
    +      max_check_attempts  => $ng_max_check_attempts,
    +      notification_period => '24x7',
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    +      notify              => Service[$ng_service],
    +    }
    +
         @@nagios_service { 'check_nagios_localhost':
           check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
           use                 => 'generic-service',
    @@ -337,6 +404,39 @@ class confdroid_nagios::server::nagios (
           mode                => '0640',
           notify              => Service[$ng_service],
         }
    +
    +    resources { ['nagios_host',
    +        'nagios_hostgroup',
    +        'nagios_hostdependency',
    +        'nagios_hostescalation',
    +        'nagios_hostextinfo',
    +        'nagios_service',
    +        'nagios_servicegroup',
    +        'nagios_servicedependency',
    +        'nagios_serviceescalation',
    +        'nagios_serviceextinfo',
    +        'nagios_contact',
    +        'nagios_contactgroup',
    +        'nagios_command',
    +      'nagios_timeperiod']:
    +        purge => true,
    +    }
    +
    +    # collect resources and populate /etc/nagios/conf.d/nagios_*.cfg
    +    Nagios_host <<||>> { notify  => Service['nagios'] }
    +    Nagios_hostgroup <<||>> { notify  => Service['nagios'] }
    +    Nagios_hostdependency <<||>> { notify  => Service['nagios'] }
    +    Nagios_hostescalation <<||>> { notify  => Service['nagios'] }
    +    Nagios_hostextinfo <<||>> { notify  => Service['nagios'] }
    +    Nagios_service <<||>> { notify  => Service['nagios'] }
    +    Nagios_servicegroup <<||>> { notify  => Service['nagios'] }
    +    Nagios_servicedependency <<||>> { notify  => Service['nagios'] }
    +    Nagios_serviceescalation <<||>> { notify  => Service['nagios'] }
    +    Nagios_serviceextinfo <<||>> { notify  => Service['nagios'] }
    +    Nagios_contact <<||>> { notify  => Service['nagios'] }
    +    Nagios_contactgroup <<||>> { notify  => Service['nagios'] }
    +    Nagios_command <<||>> { notify  => Service['nagios'] }
    +    Nagios_timeperiod <<||>> { notify  => Service['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 1cebc17..ecc4ad0 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -125,168 +125,7 @@ 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 +30
    # File 'manifests/server/service.pp', line 6
    @@ -298,6 +137,7 @@ class confdroid_nagios::server::service (
       if $ng_nagios_server == $fqdn {
         require confdroid_nagios::server::access_rules
         require confdroid_nagios::nagios::config
    +    require confdroid_nagios::server::nagios
     
         exec { 'ng_restart_httpd':
           command     => 'systemctl restart httpd',
    @@ -313,168 +153,6 @@ class confdroid_nagios::server::service (
           hasstatus  => true,
           require    => Exec['ng_restart_httpd'],
         }
    -
    -    @@nagios_host { 'localhost':
    -      ensure              => $ng_ping_ensure,
    -      alias               => 'localhost',
    -      address             => '127.0.0.1',
    -      use                 => 'linux-server',
    -      target              => $ng_target_localhost,
    -      hostgroups          => 'linux-servers',
    -      contacts            => $ng_contact_name,
    -      max_check_attempts  => $ng_max_check_attempts,
    -      notification_period => '24x7',
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    -      notify              => Service[$ng_service],
    -    }
    -
    -    @@nagios_service { 'check_nagios_localhost':
    -      check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      notification_period => '24x7',
    -      service_description => 'localhost_nagios_service',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      contacts            => $ng_contact_name,
    -      notify              => Service[$ng_service],
    -    }
    -
    -    @@nagios_service { 'root_partition_localhost':
    -      ensure              => $ng_disk_ensure,
    -      check_command       => "check_nrpe!check_disk!${ng_disk_warn}!${ng_disk_crit}!/",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_root_partition',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    -
    -    if $ng_enable_swap_check == true {
    -      @@nagios_service { 'Swap_Usage_localhost':
    -        ensure              => $ng_swap_ensure,
    -        check_command       => "check_nrpe!check_swap!${ng_swap_warn}!${ng_swap_crit}",
    -        use                 => 'generic-service',
    -        host_name           => 'localhost',
    -        contacts            => $ng_contact_name,
    -        notification_period => '24x7',
    -        service_description => 'localhost_swap_usage',
    -        servicegroups       => 'linux-services',
    -        target              => $ng_target_service,
    -        owner               => $ng_user,
    -        group               => $ng_user,
    -        mode                => '0640',
    -        notify              => Service[$ng_service],
    -      }
    -    }
    -
    -    @@nagios_service { 'Local_Users_localhost':
    -      ensure              => $ng_users_ensure,
    -      check_command       => "check_nrpe!check_users!${ng_users_warn}!${ng_users_crit}",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_local_users',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    -
    -    @@nagios_service { 'Total_Processes_localhost':
    -      ensure              => $ng_procs_tot_ensure,
    -      check_command       => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_total_processes',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    -
    -    @@nagios_service { 'Zombie_Processes_localhost':
    -      ensure              => $ng_procs_z_ensure,
    -      check_command       => "check_nrpe!check_procs!${ng_procs_z_warn}!${ng_procs_z_crit}!${ng_procs_z_param}",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_zombie_processes',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    -
    -    @@nagios_service { 'Current_Load_localhost':
    -      ensure              => $ng_load_ensure,
    -      check_command       => "check_nrpe!check_load!${ng_load_warn}!${ng_load_crit}",
    -      use                 => 'generic-service',
    -      host_name           => 'localhost',
    -      contacts            => $ng_contact_name,
    -      notification_period => '24x7',
    -      service_description => 'localhost_current_load',
    -      servicegroups       => 'linux-services',
    -      target              => $ng_target_service,
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      notify              => Service[$ng_service],
    -    }
    -
    -#    resources { ['nagios_host',
    -#        'nagios_hostgroup',
    -#        'nagios_hostdependency',
    -#        'nagios_hostescalation',
    -#        'nagios_hostextinfo',
    -#        'nagios_service',
    -#        'nagios_servicegroup',
    -#        'nagios_servicedependency',
    -#        'nagios_serviceescalation',
    -#        'nagios_serviceextinfo',
    -#        'nagios_contact',
    -#        'nagios_contactgroup',
    -#        'nagios_command',
    -#      'nagios_timeperiod']:
    -#        purge => true,
    -#    }
    -
    -    # collect resources and populate /etc/nagios/conf.d/nagios_*.cfg
    -    Nagios_host <<||>> { notify  => Service['nagios'] }
    -    Nagios_hostgroup <<||>> { notify  => Service['nagios'] }
    -    Nagios_hostdependency <<||>> { notify  => Service['nagios'] }
    -    Nagios_hostescalation <<||>> { notify  => Service['nagios'] }
    -    Nagios_hostextinfo <<||>> { notify  => Service['nagios'] }
    -    Nagios_service <<||>> { notify  => Service['nagios'] }
    -    Nagios_servicegroup <<||>> { notify  => Service['nagios'] }
    -    Nagios_servicedependency <<||>> { notify  => Service['nagios'] }
    -    Nagios_serviceescalation <<||>> { notify  => Service['nagios'] }
    -    Nagios_serviceextinfo <<||>> { notify  => Service['nagios'] }
    -    Nagios_contact <<||>> { notify  => Service['nagios'] }
    -    Nagios_contactgroup <<||>> { notify  => Service['nagios'] }
    -    Nagios_command <<||>> { notify  => Service['nagios'] }
    -    Nagios_timeperiod <<||>> { notify  => Service['nagios'] }
       }
     }
    From 627e69d950584535efe3d4a02772000885a69106 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Tue, 10 Mar 2026 12:07:03 +0100 Subject: [PATCH 154/175] Recommit for updates in build 201 --- .../confdroid_nagios_3A_3Aserver_3A_3Anagios.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html index 12e36b6..9a9563c 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html @@ -276,7 +276,7 @@ class confdroid_nagios::server::nagios ( ) inherits confdroid_nagios::params { if $ng_nagios_server == $fqdn { - @@nagios_host { 'localhost': + @@nagios_host { "localhost_${fqdn}": ensure => $ng_ping_ensure, alias => 'localhost', address => '127.0.0.1', From f4262b938115d7c17d871e392dd2920094be0ec1 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Tue, 10 Mar 2026 12:32:07 +0100 Subject: [PATCH 155/175] Recommit for updates in build 202 --- .../confdroid_nagios_3A_3Aserver_3A_3Anagios.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html index 9a9563c..0ddd4aa 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html @@ -296,7 +296,7 @@ class confdroid_nagios::server::nagios ( @@nagios_service { 'check_nagios_localhost': check_command => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios", use => 'generic-service', - host_name => 'localhost', + host_name => "localhost_${fqdn}", notification_period => '24x7', service_description => 'localhost_nagios_service', target => $ng_target_service, @@ -311,7 +311,7 @@ class confdroid_nagios::server::nagios ( ensure => $ng_disk_ensure, check_command => "check_nrpe!check_disk!${ng_disk_warn}!${ng_disk_crit}!/", use => 'generic-service', - host_name => 'localhost', + host_name => "localhost_${fqdn}", contacts => $ng_contact_name, notification_period => '24x7', service_description => 'localhost_root_partition', @@ -328,7 +328,7 @@ class confdroid_nagios::server::nagios ( ensure => $ng_swap_ensure, check_command => "check_nrpe!check_swap!${ng_swap_warn}!${ng_swap_crit}", use => 'generic-service', - host_name => 'localhost', + host_name => "localhost_${fqdn}", contacts => $ng_contact_name, notification_period => '24x7', service_description => 'localhost_swap_usage', @@ -345,7 +345,7 @@ class confdroid_nagios::server::nagios ( ensure => $ng_users_ensure, check_command => "check_nrpe!check_users!${ng_users_warn}!${ng_users_crit}", use => 'generic-service', - host_name => 'localhost', + host_name => "localhost_${fqdn}", contacts => $ng_contact_name, notification_period => '24x7', service_description => 'localhost_local_users', @@ -361,7 +361,7 @@ class confdroid_nagios::server::nagios ( ensure => $ng_procs_tot_ensure, check_command => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}", use => 'generic-service', - host_name => 'localhost', + host_name => "localhost_${fqdn}", contacts => $ng_contact_name, notification_period => '24x7', service_description => 'localhost_total_processes', @@ -377,7 +377,7 @@ class confdroid_nagios::server::nagios ( ensure => $ng_procs_z_ensure, check_command => "check_nrpe!check_procs!${ng_procs_z_warn}!${ng_procs_z_crit}!${ng_procs_z_param}", use => 'generic-service', - host_name => 'localhost', + host_name => "localhost_${fqdn}", contacts => $ng_contact_name, notification_period => '24x7', service_description => 'localhost_zombie_processes', @@ -393,7 +393,7 @@ class confdroid_nagios::server::nagios ( ensure => $ng_load_ensure, check_command => "check_nrpe!check_load!${ng_load_warn}!${ng_load_crit}", use => 'generic-service', - host_name => 'localhost', + host_name => "localhost_${fqdn}", contacts => $ng_contact_name, notification_period => '24x7', service_description => 'localhost_current_load', From 072a3baae938c1b334d165bca94472417722866e Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Wed, 11 Mar 2026 14:04:20 +0100 Subject: [PATCH 156/175] Recommit for updates in build 203 --- 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 c0b2717..22dcdc1 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -175,7 +175,7 @@ inherited by all classes except defines. (Array) - (defaults to: ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common']) + (defaults to: ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common','nagios-plugins-systemd']) — @@ -4307,7 +4307,7 @@ 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'], + Array $ng_reqpackages_client = ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common','nagios-plugins-systemd'], String $ng_pkg_ensure = 'present', Boolean $ng_include_nrpe = true, String $ng_main_user = 'nagios', From 84b1900d41833bfd23e4743642f06495123cfc36 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Wed, 11 Mar 2026 14:14:25 +0100 Subject: [PATCH 157/175] Recommit for updates in build 204 --- 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 22dcdc1..c0b2717 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -175,7 +175,7 @@ inherited by all classes except defines. (Array) - (defaults to: ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common','nagios-plugins-systemd']) + (defaults to: ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common']) — @@ -4307,7 +4307,7 @@ 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','nagios-plugins-systemd'], + 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', From 8294b924a6aa95f42736b19b6cf3acaa74768666 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Wed, 11 Mar 2026 15:07:56 +0100 Subject: [PATCH 158/175] Recommit for updates in build 205 --- ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 36 ++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html index 0ddd4aa..a4aca1f 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html @@ -267,7 +267,24 @@ 169 170 171 -172 +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184 +185 +186 +187 +188 +189
    # File 'manifests/server/nagios.pp', line 6
    @@ -293,6 +310,23 @@ class confdroid_nagios::server::nagios (
           notify              => Service[$ng_service],
         }
     
    +    @@nagios_host { $fqdn:
    +      ensure              => $ng_ping_ensure,
    +      alias               => $hostname,
    +      address             => $fqdn,
    +      use                 => 'linux-server',
    +      target              => $ng_target_host,
    +      hostgroups          => 'linux-servers',
    +      contacts            => $ng_contact_name,
    +      max_check_attempts  => $ng_max_check_attempts,
    +      notification_period => '24x7',
    +      owner               => $ng_user,
    +      group               => $ng_user,
    +      mode                => '0640',
    +      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    +      notify              => Service[$ng_service],
    +    }
    +
         @@nagios_service { 'check_nagios_localhost':
           check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
           use                 => 'generic-service',
    
    From 84f63e4cae52785d7cdbe5f21ef0306ad50b80f0 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Wed, 11 Mar 2026 15:27:13 +0100
    Subject: [PATCH 159/175] Recommit for updates in build 206
    
    ---
     ...A_3Anagios_3A_3Aobjects_3A_3Acommands.html | 22 ++++++++++++++++++-
     1 file changed, 21 insertions(+), 1 deletion(-)
    
    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 8f390b3..799826b 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
    @@ -314,7 +314,17 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg.
     219
     220
     221
    -222
    +222 +223 +224 +225 +226 +227 +228 +229 +230 +231 +232
    # File 'manifests/nagios/objects/commands.pp', line 8
    @@ -532,6 +542,16 @@ class confdroid_nagios::nagios::objects::commands (
           mode         => '0640',
           target       => $ng_target_command,
         }
    +
    +    @@nagios_command { 'check_fail2ban':
    +      ensure       => present,
    +      command_name => 'check_fail2ban',
    +      command_line => '$USER1$/check_procs -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$',
    +      owner        => $ng_user,
    +      group        => $ng_user,
    +      mode         => '0640',
    +      target       => $ng_target_command,
    +    }
       }
     }
    From 5c0d4000cb608ca92bd4c72ecaf1e73d35b5dc2e Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Wed, 11 Mar 2026 15:37:46 +0100 Subject: [PATCH 160/175] Recommit for updates in build 207 --- ...A_3Anagios_3A_3Aobjects_3A_3Acommands.html | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) 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 799826b..8ba8d8f 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 @@ -324,7 +324,17 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg. 229 230 231 -232 +232 +233 +234 +235 +236 +237 +238 +239 +240 +241 +242
    # File 'manifests/nagios/objects/commands.pp', line 8
    @@ -552,6 +562,16 @@ class confdroid_nagios::nagios::objects::commands (
           mode         => '0640',
           target       => $ng_target_command,
         }
    +
    +    @@nagios_command { 'check_procs':
    +      ensure       => present,
    +      command_name => 'check_procs',
    +      command_line => '$USER1$/check_procs -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -a $ARG3$',
    +      owner        => $ng_user,
    +      group        => $ng_user,
    +      mode         => '0640',
    +      target       => $ng_target_command,
    +    }
       }
     }
    From 07cba199a599ecf11a7a7182ab6006e309da0e4e Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Wed, 11 Mar 2026 15:47:28 +0100 Subject: [PATCH 161/175] Recommit for updates in build 208 --- ...A_3Anagios_3A_3Aobjects_3A_3Acommands.html | 24 ++----------------- 1 file changed, 2 insertions(+), 22 deletions(-) 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 8ba8d8f..b0f9940 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 @@ -324,17 +324,7 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg. 229 230 231 -232 -233 -234 -235 -236 -237 -238 -239 -240 -241 -242 +232
    # File 'manifests/nagios/objects/commands.pp', line 8
    @@ -556,17 +546,7 @@ class confdroid_nagios::nagios::objects::commands (
         @@nagios_command { 'check_fail2ban':
           ensure       => present,
           command_name => 'check_fail2ban',
    -      command_line => '$USER1$/check_procs -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$',
    -      owner        => $ng_user,
    -      group        => $ng_user,
    -      mode         => '0640',
    -      target       => $ng_target_command,
    -    }
    -
    -    @@nagios_command { 'check_procs':
    -      ensure       => present,
    -      command_name => 'check_procs',
    -      command_line => '$USER1$/check_procs -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -a $ARG3$',
    +      command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
           owner        => $ng_user,
           group        => $ng_user,
           mode         => '0640',
    
    From 1818b7e1cc531e483e59159baec67812f1d8aac2 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Wed, 11 Mar 2026 16:18:02 +0100
    Subject: [PATCH 162/175] Recommit for updates in build 209
    
    ---
     .../confdroid_nagios_3A_3Aserver_3A_3Anagios.html               | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    index a4aca1f..a4169b9 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    @@ -315,7 +315,7 @@ class confdroid_nagios::server::nagios (
           alias               => $hostname,
           address             => $fqdn,
           use                 => 'linux-server',
    -      target              => $ng_target_host,
    +      target              => $ng_target_localhost,
           hostgroups          => 'linux-servers',
           contacts            => $ng_contact_name,
           max_check_attempts  => $ng_max_check_attempts,
    
    From d4c3d3259f73481e9bd150e853a7ca701f91e976 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Wed, 11 Mar 2026 17:09:03 +0100
    Subject: [PATCH 163/175] Recommit for updates in build 210
    
    ---
     ...fdroid_nagios_3A_3Aclient_3A_3Atarget.html |  2 +-
     ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 36 +------------------
     2 files changed, 2 insertions(+), 36 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html
    index 1381c77..3cce583 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html
    @@ -231,7 +231,7 @@
     class confdroid_nagios::client::target (
     
     ) inherits confdroid_nagios::params {
    -  if ($ng_nagios_server != $fqdn) and ($ng_enable_target == true) {
    +  if $ng_enable_target == true {
         package { $ng_reqpackages_client:
           ensure => $ng_pkg_ensure,
         }
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    index a4169b9..0ddd4aa 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
    @@ -267,24 +267,7 @@
     169
     170
     171
    -172
    -173
    -174
    -175
    -176
    -177
    -178
    -179
    -180
    -181
    -182
    -183
    -184
    -185
    -186
    -187
    -188
    -189
    +172
    # File 'manifests/server/nagios.pp', line 6
    @@ -310,23 +293,6 @@ class confdroid_nagios::server::nagios (
           notify              => Service[$ng_service],
         }
     
    -    @@nagios_host { $fqdn:
    -      ensure              => $ng_ping_ensure,
    -      alias               => $hostname,
    -      address             => $fqdn,
    -      use                 => 'linux-server',
    -      target              => $ng_target_localhost,
    -      hostgroups          => 'linux-servers',
    -      contacts            => $ng_contact_name,
    -      max_check_attempts  => $ng_max_check_attempts,
    -      notification_period => '24x7',
    -      owner               => $ng_user,
    -      group               => $ng_user,
    -      mode                => '0640',
    -      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
    -      notify              => Service[$ng_service],
    -    }
    -
         @@nagios_service { 'check_nagios_localhost':
           check_command       => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
           use                 => 'generic-service',
    
    From 47c112972f32b7d6d99a9df7370637dd3ad05427 Mon Sep 17 00:00:00 2001
    From: Jenkins Server 
    Date: Wed, 11 Mar 2026 17:14:06 +0100
    Subject: [PATCH 164/175] Recommit for updates in build 211
    
    ---
     ...onfdroid_nagios_3A_3Amain_3A_3Ainstall.html | 18 +-----------------
     1 file changed, 1 insertion(+), 17 deletions(-)
    
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html
    index ee2a1f5..c733e68 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html
    @@ -115,15 +115,7 @@
     17
     18
     19
    -20
    -21
    -22
    -23
    -24
    -25
    -26
    -27
    -28
    +20
    # File 'manifests/main/install.pp', line 6
    @@ -141,14 +133,6 @@ class confdroid_nagios::main::install (
         package { $ng_reqpackages_server:
           ensure => $ng_pkg_ensure,
         }
    -
    -    package { $ng_reqpackages_client:
    -      ensure => $ng_pkg_ensure,
    -    }
    -
    -    if $ng_include_nrpe == true {
    -      require confdroid_nrpe
    -    }
       }
     }
    From 0f430ac0176e27189a44204cdfdcd02e81eae1da Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Thu, 12 Mar 2026 10:44:32 +0100 Subject: [PATCH 165/175] Recommit for updates in build 212 --- ...nfdroid_nagios_3A_3Aclient_3A_3Atarget.html | 2 +- ...onfdroid_nagios_3A_3Amain_3A_3Ainstall.html | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html index 3cce583..1381c77 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html @@ -231,7 +231,7 @@ class confdroid_nagios::client::target ( ) inherits confdroid_nagios::params { - if $ng_enable_target == true { + if ($ng_nagios_server != $fqdn) and ($ng_enable_target == true) { package { $ng_reqpackages_client: ensure => $ng_pkg_ensure, } diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html index c733e68..ee2a1f5 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html @@ -115,7 +115,15 @@ 17 18 19 -20 +20 +21 +22 +23 +24 +25 +26 +27 +28
    # File 'manifests/main/install.pp', line 6
    @@ -133,6 +141,14 @@ class confdroid_nagios::main::install (
         package { $ng_reqpackages_server:
           ensure => $ng_pkg_ensure,
         }
    +
    +    package { $ng_reqpackages_client:
    +      ensure => $ng_pkg_ensure,
    +    }
    +
    +    if $ng_include_nrpe == true {
    +      require confdroid_nrpe
    +    }
       }
     }
    From 86caa467468747ca10d2b30993158804db2faf33 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Thu, 12 Mar 2026 11:05:14 +0100 Subject: [PATCH 166/175] Recommit for updates in build 213 --- doc/file.README.html | 4 +++- doc/index.html | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/file.README.html b/doc/file.README.html index 0f5c29f..7451ab0 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -120,7 +120,9 @@

    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

    +
    +

    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

    +

    Features

    • diff --git a/doc/index.html b/doc/index.html index 554373a..f1a8f49 100644 --- a/doc/index.html +++ b/doc/index.html @@ -120,7 +120,9 @@

      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

      +
      +

      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

      +

      Features

      • From 4068ff5377f441c2991dd75d6f1810a6c4fc6591 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Thu, 12 Mar 2026 11:52:11 +0100 Subject: [PATCH 167/175] Recommit for updates in build 216 --- doc/_index.html | 5 + doc/puppet_class_list.html | 35 +++-- ..._nagios_3A_3Amonitoring_3A_3Afail2ban.html | 130 ++++++++++++++++++ .../confdroid_nagios_3A_3Aparams.html | 2 + 4 files changed, 158 insertions(+), 14 deletions(-) create mode 100644 doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html diff --git a/doc/_index.html b/doc/_index.html index e8739cc..832c363 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -93,6 +93,11 @@
      • +
      • + confdroid_nagios::monitoring::fail2ban + +
      • +
      • confdroid_nagios::nagios::config diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index c43f018..24b7bdd 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -75,98 +75,105 @@
      • -
      • +
      • + +
      • + + +
      • -
      • +
      • -
      • +
      • -
      • +
      • -
      • +
      • -
      • +
      • -
      • +
      • -
      • +
      • -
      • +
      • -
      • +
      • -
      • +
      • -
      • +
      • -
      • +
      • -
      • +
      • diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html b/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html new file mode 100644 index 0000000..cdc949c --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html @@ -0,0 +1,130 @@ + + + + + + + Puppet Class: confdroid_nagios::monitoring::fail2ban + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
        + + +

        Puppet Class: confdroid_nagios::monitoring::fail2ban

        +
        + +
        +
        Inherits:
        +
        confdroid_nagios::params
        +
        + + +
        +
        Defined in:
        +
        + manifests/monitoring/fail2ban.pp +
        +
        +
        + +

        Summary

        + Class manages fail2ban monitoring for the confdroid_nagios module. + +

        Overview

        +
        +
        + +

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

        + +
        +
        + + + +
        + + + +
        + + + + + +
        +
        +
        +
        +6
        +7
        +8
        +9
        +10
        +
        +
        # File 'manifests/monitoring/fail2ban.pp', line 6
        +
        +class confdroid_nagios::monitoring::fail2ban (
        +
        +) inherits confdroid_nagios::params {
        +#
        +}
        +
        +
        +
        + + + +
        + + \ 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 c0b2717..0f6c18e 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::service
        + confdroid_nagios::monitoring::fail2ban
        + confdroid_nagios::server::access_rules
        confdroid_nagios::nagios::objects::commands
        From af946f0c6de648de9fbe48131428ea8444e273ca Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Thu, 12 Mar 2026 11:55:29 +0100 Subject: [PATCH 168/175] Recommit for updates in build 217 --- .../confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html b/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html index cdc949c..2f046a6 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html @@ -113,7 +113,7 @@ class confdroid_nagios::monitoring::fail2ban ( ) inherits confdroid_nagios::params { -# +# we want to create a nagios jail here } From 4b32355c0569d49de49f6f3b92065a3dabe7b33b Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Thu, 12 Mar 2026 11:58:02 +0100 Subject: [PATCH 169/175] Recommit for updates in build 218 --- .../confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html b/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html index 2f046a6..b03e91a 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html @@ -113,7 +113,7 @@ class confdroid_nagios::monitoring::fail2ban ( ) inherits confdroid_nagios::params { -# we want to create a nagios jail here + # we want to create a nagios jail here } From 0961f4976b493d0bce676dfc49badf28afe964f5 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Thu, 12 Mar 2026 12:08:02 +0100 Subject: [PATCH 170/175] Recommit for updates in build 219 --- .../confdroid_nagios_3A_3Aparams.html | 33 ++++++++++++++++++- ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 2 +- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 0f6c18e..4f661d0 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -3962,6 +3962,19 @@ inherited by all classes except defines.
      • +
      • + + ng_enable_fail2ban + + + (Boolean) + + + (defaults to: false) + + +
      • +
      @@ -4299,7 +4312,16 @@ inherited by all classes except defines. 754 755 756 -757 +757 +758 +759 +760 +761 +762 +763 +764 +765 +766
      # File 'manifests/params.pp', line 431
      @@ -4546,6 +4568,15 @@ class confdroid_nagios::params (
       # single nagios checks
         Boolean $ng_enable_swap_check         = true,
       
      +# fail2ban
      +  Boolean $ng_enable_fail2ban          = false,
      +  #String $ng_fail2ban_jail             = 'httpd',
      +  #String $ng_fail2ban_log              = '/var/log/secure',
      +  #String $ng_fail2ban_regex            = 'sshd.*Failed password for',
      +  #String $ng_fail2ban_maxretry         = '5',
      +  #String $ng_fail2ban_findtime         = '600',
      +  #String $ng_fail2ban_bantime          = '3600',
      +
       ) {
       # Default facts
         $fqdn                     = $facts['networking']['fqdn']
      diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
      index 0ddd4aa..ffc931a 100644
      --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
      +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
      @@ -276,7 +276,7 @@ class confdroid_nagios::server::nagios (
       
       ) inherits confdroid_nagios::params {
         if $ng_nagios_server == $fqdn {
      -    @@nagios_host { "localhost_${fqdn}":
      +    @@nagios_host { $fqdn:
             ensure              => $ng_ping_ensure,
             alias               => 'localhost',
             address             => '127.0.0.1',
      
      From ae560aa22f641ff1ede94364a632f0d5ee59fdba Mon Sep 17 00:00:00 2001
      From: Jenkins Server 
      Date: Thu, 12 Mar 2026 12:12:55 +0100
      Subject: [PATCH 171/175] Recommit for updates in build 220
      
      ---
       .../confdroid_nagios_3A_3Aserver_3A_3Anagios.html               | 2 +-
       1 file changed, 1 insertion(+), 1 deletion(-)
      
      diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
      index ffc931a..038f9bc 100644
      --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
      +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
      @@ -278,7 +278,7 @@ class confdroid_nagios::server::nagios (
         if $ng_nagios_server == $fqdn {
           @@nagios_host { $fqdn:
             ensure              => $ng_ping_ensure,
      -      alias               => 'localhost',
      +      alias               => 'nag001',
             address             => '127.0.0.1',
             use                 => 'linux-server',
             target              => $ng_target_localhost,
      
      From ce1c5a09e500af0a362fe99aa80c0a98bcc50c04 Mon Sep 17 00:00:00 2001
      From: Jenkins Server 
      Date: Thu, 12 Mar 2026 12:19:18 +0100
      Subject: [PATCH 172/175] Recommit for updates in build 221
      
      ---
       ...fdroid_nagios_3A_3Aserver_3A_3Anagios.html | 36 ++++++++++++++++++-
       1 file changed, 35 insertions(+), 1 deletion(-)
      
      diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
      index 038f9bc..ad4046f 100644
      --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
      +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
      @@ -267,7 +267,24 @@
       169
       170
       171
      -172
      +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184 +185 +186 +187 +188 +189
      # File 'manifests/server/nagios.pp', line 6
      @@ -276,6 +293,23 @@ class confdroid_nagios::server::nagios (
       
       ) inherits confdroid_nagios::params {
         if $ng_nagios_server == $fqdn {
      +    @@nagios_host { "localhost_${fqdn}":
      +      ensure              => $ng_ping_ensure,
      +      alias               => 'localhost',
      +      address             => '127.0.0.1',
      +      use                 => 'linux-server',
      +      target              => $ng_target_localhost,
      +      hostgroups          => 'linux-servers',
      +      contacts            => $ng_contact_name,
      +      max_check_attempts  => $ng_max_check_attempts,
      +      notification_period => '24x7',
      +      owner               => $ng_user,
      +      group               => $ng_user,
      +      mode                => '0640',
      +      check_command       => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
      +      notify              => Service[$ng_service],
      +    }
      +
           @@nagios_host { $fqdn:
             ensure              => $ng_ping_ensure,
             alias               => 'nag001',
      
      From 183e8370638595be6760c748eefb8c60d0d6ee86 Mon Sep 17 00:00:00 2001
      From: Jenkins Server 
      Date: Thu, 12 Mar 2026 14:17:23 +0100
      Subject: [PATCH 173/175] Recommit for updates in build 222
      
      ---
       ...onfdroid_nagios_3A_3Amain_3A_3Aconfig.html |  10 +-
       ..._nagios_3A_3Amonitoring_3A_3Afail2ban.html |  64 +++++-
       .../confdroid_nagios_3A_3Aparams.html         | 197 +++++++++++++++---
       3 files changed, 236 insertions(+), 35 deletions(-)
      
      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 3d2bc44..450d728 100644
      --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html
      +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html
      @@ -111,7 +111,11 @@
       13
       14
       15
      -16
      +16 +17 +18 +19 +20
      # File 'manifests/main/config.pp', line 6
      @@ -126,6 +130,10 @@ class confdroid_nagios::main::config (
         if $ng_enable_target == true {
           include confdroid_nagios::client::target
         }
      +
      +  if $ng_enable_fail2ban == true {
      +    include confdroid_nagios::monitoring::fail2ban
      +  }
       }
      diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html b/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html index b03e91a..6dcfcb2 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html @@ -105,7 +105,38 @@ 7 8 9 -10 +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
      # File 'manifests/monitoring/fail2ban.pp', line 6
      @@ -114,6 +145,37 @@ class confdroid_nagios::monitoring::fail2ban (
       
       ) inherits confdroid_nagios::params {
         # we want to  create a nagios jail here
      +  if ($ng_nagios_host == $fqdn)  and ($ng_enable_fail2ban == true) {
      +    require confdroid_fail2ban
      +
      +    # create the jail file
      +    file { $fn_jail_file:
      +      ensure   => file,
      +      user     => 'root',
      +      group    => 'root',
      +      mode     => '0644',
      +      selrange => s0,
      +      selrole  => object_r,
      +      seltype  => etc_t,
      +      seluser  => system_u,
      +      content  => template('confdroid_nagios/fail2ban/jail.conf.erb'),
      +      notify   => Service['fail2ban'],
      +    }
      +
      +    # create the filter rule
      +    file { $fn_filter_file:
      +      ensure   => file,
      +      user     => 'root',
      +      group    => 'root',
      +      mode     => '0644',
      +      selrange => s0,
      +      selrole  => object_r,
      +      seltype  => etc_t,
      +      seluser  => system_u,
      +      content  => template('confdroid_nagios/fail2ban/filter.conf.erb'),
      +      notify   => Service['fail2ban'],
      +    }
      +  }
       }
      diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 4f661d0..43f1c8f 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -3947,19 +3947,6 @@ inherited by all classes except defines.

      The alias of the default service group. Default is ‘Linux Services’.

      -
    • - -
    • - - ng_use_ssl_auth - - - (String) - - - (defaults to: '0') - -
    • @@ -3973,6 +3960,132 @@ inherited by all classes except defines. (defaults to: false) + — +
      +

      Whether to enable fail2ban monitoring in Nagios. Default is false.

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

      The order number of jails in the jail.d directory. Default is ‘10’.

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

      Whether to enable the monitoring of a specific jail in Nagios. Default is ‘true’.

      +
      + +
    • + +
    • + + ng_fail2ban_logpath + + + (String) + + + (defaults to: '/var/log/httpd/access.log') + + + — +
      +

      The path to the nagios access log to monitor. Default is ‘/var/log/httpd/access.log’.

      +
      + +
    • + +
    • + + ng_fail2ban_maxretry + + + (String) + + + (defaults to: '5') + + + — +
      +

      The maximum number of retries before a host is considered banned in fail2ban. Default is ‘5’.

      +
      + +
    • + +
    • + + ng_fail2ban_bantime + + + (String) + + + (defaults to: '3600') + + + — +
      +

      The time in seconds that a host is banned in fail2ban. Default is ‘3600’.

      +
      + +
    • + +
    • + + ng_fail2ban_ignoreip + + + (String) + + + (defaults to: '127.0.0.1/8 ::1 192.168.1.0/24') + + + — +
      +

      A comma-separated list of IP addresses to ignore in fail2ban. Default is ‘127.0.0.1/8 ::1 192.168.1.0/24’.

      +
      + +
    • + +
    • + + ng_use_ssl_auth + + + (String) + + + (defaults to: '0') + +
    @@ -3986,20 +4099,6 @@ inherited by all classes except defines.
     
     
    -431
    -432
    -433
    -434
    -435
    -436
    -437
    -438
    -439
    -440
    -441
    -442
    -443
    -444
     445
     446
     447
    @@ -4321,10 +4420,33 @@ inherited by all classes except defines.
     763
     764
     765
    -766
    +766 +767 +768 +769 +770 +771 +772 +773 +774 +775 +776 +777 +778 +779 +780 +781 +782 +783 +784 +785 +786 +787 +788 +789 -
    # File 'manifests/params.pp', line 431
    +        
    # File 'manifests/params.pp', line 445
     
     class confdroid_nagios::params (
     
    @@ -4569,13 +4691,16 @@ class confdroid_nagios::params (
       Boolean $ng_enable_swap_check         = true,
     
     # fail2ban
    -  Boolean $ng_enable_fail2ban          = false,
    +  Boolean $ng_enable_fail2ban           = false,
    +  String $ng_jail_order                 = '10',
    +  Boolean $ng_jail_enable               = true,
       #String $ng_fail2ban_jail             = 'httpd',
    -  #String $ng_fail2ban_log              = '/var/log/secure',
    +  String $ng_fail2ban_logpath           = '/var/log/httpd/access.log',
       #String $ng_fail2ban_regex            = 'sshd.*Failed password for',
    -  #String $ng_fail2ban_maxretry         = '5',
    +  String $ng_fail2ban_maxretry          = '5',
       #String $ng_fail2ban_findtime         = '600',
    -  #String $ng_fail2ban_bantime          = '3600',
    +  String $ng_fail2ban_bantime           = '3600',
    +  String $ng_fail2ban_ignoreip          = '127.0.0.1/8 ::1 192.168.1.0/24'
     
     ) {
     # Default facts
    @@ -4659,6 +4784,12 @@ class confdroid_nagios::params (
       $ng_svc_perfdata_file       = "${ng_log_dir}/service-perfdata"
       $ng_debug_file              = "${ng_log_dir}/nagios.debug"
     
    +# fail2ban
    +  $fn_jail_path               = '/etc/fail2ban/jail.d'
    +  $fn_jail_file               = "${fn_jail_path}/${ng_jail_order}-nagios.conf"
    +  $fn_filter_path             = '/etc/fail2ban/filter.d'
    +  $fn_filter_file             = "${fn_filter_path}/${ng_jail_order}-nagios.conf"
    +
     # includes must be last
       include confdroid_nagios::main::config
     }
    From 1333a25047ca43f8bc99ed32a5a5b4acb2d6447f Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Thu, 12 Mar 2026 14:25:42 +0100 Subject: [PATCH 174/175] Recommit for updates in build 223 --- doc/file.README.html | 10 ++++++++++ doc/index.html | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/doc/file.README.html b/doc/file.README.html index 7451ab0..526b481 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -95,6 +95,8 @@

    Adding custom commands

  • Adding templates

    +
  • +

    Customization outside of Puppet

  • PuppetDB

    @@ -139,6 +141,8 @@

    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)

    +
  • +

    if ng_enable_fail2banis set to true, a fail2ban jail and filter will be added for the Nagios service (requires confdroid_fail2ban).

  • Repo Documentation

    @@ -375,6 +379,12 @@ Re-type new password: }
    +

    Customization outside of Puppet

    + +
    +

    Q: what if I want to add my own Nagios plugins, settings etc. outside of Puppet? Will those be overwritten? A: Puppet only controls what it knows about. You can add your own custom configuration files within /etc/nagios/conf.d and Nagios should recognize it, assuming it is valid code. Just beware of duplicated definitions, Nagios is very strict and merciless about this.

    +
    +

    PuppetDB

    A working instance of PuppetDB connected to the Puppet master is required for this to work. Installation and configuration of PuppetDB is out of scope for this module, however cd_puppetdb is available to automate this task for you as well within a few minutes.

    diff --git a/doc/index.html b/doc/index.html index f1a8f49..6618dd5 100644 --- a/doc/index.html +++ b/doc/index.html @@ -95,6 +95,8 @@

    Adding custom commands

  • Adding templates

    +
  • +

    Customization outside of Puppet

  • PuppetDB

    @@ -139,6 +141,8 @@

    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)

    +
  • +

    if ng_enable_fail2banis set to true, a fail2ban jail and filter will be added for the Nagios service (requires confdroid_fail2ban).

  • Repo Documentation

    @@ -375,6 +379,12 @@ Re-type new password: } +

    Customization outside of Puppet

    + +
    +

    Q: what if I want to add my own Nagios plugins, settings etc. outside of Puppet? Will those be overwritten? A: Puppet only controls what it knows about. You can add your own custom configuration files within /etc/nagios/conf.d and Nagios should recognize it, assuming it is valid code. Just beware of duplicated definitions, Nagios is very strict and merciless about this.

    +
    +

    PuppetDB

    A working instance of PuppetDB connected to the Puppet master is required for this to work. Installation and configuration of PuppetDB is out of scope for this module, however cd_puppetdb is available to automate this task for you as well within a few minutes.

    From 285e6c87671193e8da4a09ca422c0ce7a3f8a283 Mon Sep 17 00:00:00 2001 From: Jenkins Server Date: Thu, 12 Mar 2026 14:30:41 +0100 Subject: [PATCH 175/175] Recommit for updates in build 224 --- .../confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html b/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html index 6dcfcb2..7ea91d1 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amonitoring_3A_3Afail2ban.html @@ -145,7 +145,7 @@ class confdroid_nagios::monitoring::fail2ban ( ) inherits confdroid_nagios::params { # we want to create a nagios jail here - if ($ng_nagios_host == $fqdn) and ($ng_enable_fail2ban == true) { + if ($ng_nagios_server == $fqdn) and ($ng_enable_fail2ban == true) { require confdroid_fail2ban # create the jail file