Build:Nagios:Win32: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(New page: = How to Setup Nagios on Windows = <ol> <li>Download [http://files.nakednuns.org/x-0.3.x/NSClient++-Win32-0.3.0.zip NSClient++ 0.3.0] (nscp) and extract to c:\program files\nscp</li> <li>D...)
 
 
Line 12: Line 12:
</pre>
</pre>
</li>
</li>
<li>Allow port 5666 through the firewall:
<li>If there's a firewall, allow port 5666 through the firewall:
<ol>
<ol>
  <li>Go to Control Panel -> Windows Firewall</li>
  <li>Go to Control Panel -> Windows Firewall</li>

Latest revision as of 18:35, 9 January 2008

How to Setup Nagios on Windows

  1. Download NSClient++ 0.3.0 (nscp) and extract to c:\program files\nscp
  2. Download a standard NSC.ini and put it in c:\program files\nscp (overwriting if necessary)
  3. Open up the config file and make sure the monitors (located at the bottom) are appropriate for the system.
    • You may need to add or remove disk monitors depending on how many disks/partitions the system has.
  4. Open up cmd.exe and do the following:
    c:\program files\nscp
    nsclient++ /install
    nsclient++ /start
    
  5. If there's a firewall, allow port 5666 through the firewall:
    1. Go to Control Panel -> Windows Firewall
    2. Click on the 'Exceptions tab'
    3. Click 'Add Port'
    4. Name: 'nscp', Port: '5666'
  6. Check all of the monitors from a machine with 'check_nrpe'