Build:Nagios:Win32

From MozillaWiki
Jump to navigation Jump to search

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'