<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Am 04.03.2013 19:31, schrieb Mike Dopp:<br>
    </div>
    <blockquote
      cite="mid:45DDFF0831798249B6D4D4AE94ADD57518AF6C5FDC@svrslcmx1"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">Using
            Ubuntu 12.10 server. icinga with idoutils and icinga-web
            (Latest (1.8)). <o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">Have
            ability to see hosts if I add them in the
            localhost_icinga.cfg<o:p></o:p></span></p>
        <p
          style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline;word-wrap:
          break-word;orphans: auto;widows:
          auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width:
          0px;background-position:initial
          initial;background-repeat:initial initial;word-spacing:0px"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">however
            from my understanding you can create a host.cfg based on
            systems. <o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">example:
            windows.cfg to monitor all windows machines via NSclient++
            (similar to Nagios)<o:p></o:p></span></p>
        <p
          style="margin:0in;margin-bottom:.0001pt;line-height:13.5pt;background:white;vertical-align:baseline;word-wrap:
          break-word;orphans: auto;widows:
          auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width:
          0px;background-position:initial
          initial;background-repeat:initial initial;word-spacing:0px"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">Everytime
            I create a new host.cfg icinga either gives me a duplicate
            error or it does not like the define host line. <o:p></o:p></span></p>
        <p
style="margin:0in;margin-bottom:.0001pt;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">Example:
            (localhost_icinga.cfg<span class="apple-converted-space"> </span></span><em><span
              style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black;border:none
              windowtext 1.0pt;padding:0in">working</span></em><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">)<o:p></o:p></span></p>
        <p
          style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline;word-wrap:
          break-word;orphans: auto;widows:
          auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width:
          0px;background-position:initial
          initial;background-repeat:initial initial;word-spacing:0px"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">define
            host{<o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">
            use generic-host <o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">host_name
            mikedoppdesk<o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">
            alias mikedoppdesk <o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">address
            192.168.0.56 } <o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">However
            if I create a windows.cfg <o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">Example:
            <o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">define
            host{ <o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">use
            windows <o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">host_name
            mikedoppdesk <o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">alias
            mikedoppdesk <o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">address
            192.168.0.56<o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">
            }<o:p></o:p></span></p>
        <p
          style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline;word-wrap:
          break-word;orphans: auto;widows:
          auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width:
          0px;background-position:initial
          initial;background-repeat:initial initial;word-spacing:0px"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">and
            use: /usr/sbin/icinga -v /etc/icinga/icinga.cfg<o:p></o:p></span></p>
        <p
          style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline;word-wrap:
          break-word;orphans: auto;widows:
          auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width:
          0px;background-position:initial
          initial;background-repeat:initial initial;word-spacing:0px"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">output
            error line 1 windows.cfg or duplicate errors.<o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">*icinga
            is installed on /etc/icinga/ The objects are located in the
            /etc/icinga/objects folder with templates and such.<o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">I
            currently want to get this setup for multiple windows
            servers, Red Hat servers and numerous switches.<o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">What
            is the best way to accomplish this?<o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">Do
            I create a windows.cfg, Ubuntu.cfg, switch.cfg, router.cfg,
            <o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">Please
            advise. Possibly the hierarchy of how icinga understands the
            config files.<o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">Does
            it require me to edit the hosts file for ever host?<o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">I
            have been chasing the icinga web docs trying to get a
            straight answer. <o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">I
            know I am missing something critical but cannot find rhyme
            or reason.<o:p></o:p></span></p>
        <p
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:13.5pt;background:white;vertical-align:baseline"><span
style="font-size:10.5pt;font-family:"Arial","sans-serif";color:black">
            Please educate. Thanks in advance.<o:p></o:p></span></p>
      </div>
    </blockquote>
    Please take a look at <a class="moz-txt-link-freetext" href="http://docs.icinga.org/latest/en/config.html">http://docs.icinga.org/latest/en/config.html</a><br>
  </body>
</html>