<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On 29 Mar 2007, at 09:39, UnixAdmin wrote:</DIV><BLOCKQUOTE type="cite"><DIV style=""><FONT class="Apple-style-span" face="times new roman" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><BR style="">We are interested in using Nagios, and would like to know how Nagios communicates with clients to run monitoring scripts.</SPAN></FONT><BR class="khtml-block-placeholder"></DIV></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV>In short; however you configure it ;-)<DIV><BR class="khtml-block-placeholder"></DIV><DIV>In essence there are 3 ways</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>1) nagios server runs checks on a client, such as is this port open and listening, can the server be pinged, etc</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>2) nagios server runs a check on the client and obtains result, such as via SNMP, or via a daemon running on the client that listens for nagios requests (NRPE).  A large number of check are available already (<A href="http://nagiosplug.sf.net">http://nagiosplug.sf.net</A> and <A href="http://www.nagiosexchange.org">http://www.nagiosexchange.org</A>) and it is easy enough to write them for yourself</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>3) the client runs the checks itself periodically and sends the result back to the server, which the server then processes (NSCA)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The communications between server and client are again down to how you set up nagios (i.e. encrypted using ssl for NRPE/NSCA or just use ssh when doing your own scripts).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Nagios can begin as a simple setup but can also cope with hideously complex situations (distributed setup, parent/child relations ships, too many to list...).  </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>   Duncs</DIV><DIV><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-- </DIV><DIV>Duncan Ferguson</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://www.altinity.com">http://www.altinity.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Tel: +44 (0)870 787 9243</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Fax: +44 (0)845 280 1725</DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN></SPAN></SPAN> </DIV><BR></DIV></BODY></HTML>