Installation
Supported platforms : Windows 8.1 and higher
NagCore4Win comes as a ZIP file containing an installer. Simply unzip your downloaded copy and run the package :
- Accept License agreement.
- Enter your license key
- Specify an installation location.
- Installation starts to copy files and set up services.
- Enter a password for the nagiosadmin user
At the end of the installation, it will be possible to start the services and the web interface.
Directory structure
Path | Comments |
---|---|
/bin |
All programs - nagios, nagiosstats, nagios cgis, nginx, php-cgi, fastcgi-wrapper, a set of basic tools and Cygwin DLLs |
/etc/nagios | Nagios configuration files (cgi.cfg, nagios.cfg ....) |
/etc/nagios/nagwin |
All files in this directory are read automatically by Nagios (defined in nagios.cfg) |
/etc/php | php.ini |
/plugins | Nagios plugins |
/var/html | Nagios web directory |
/var/log | Daemon logfiles for stdout/stderr |
/var/opt/nagios | Nagios working directory, log files, performance files ... |
/var/opt/lighttpd | Lighttpd extension libraries |
/var/opt/net-snmp | Net-SNMP working directory |
Usage
NagCore4Win contains standard Nagios Core and should be able to monitor any device as long as you have monitoring plugins for it. NagCore4Win has already a small set of plugins ready to use in the /plugins directory, and there are a large number of plugins available at Nagios Exchange. However, due to NagCore4Win's limited environment and Windows, there may be a limited support. You need to try and find out yourself.
By default, NagCore4Win is configured to monitor your local machine. See following pages for some basic examples. Nagios configuration files are located at etc\nagios directory. Main configuration file nagios.cfg is configured to accept all configuration files in the subdirectory nagwin. Consult available Nagios documentation to move forward and extend your implementation. NagCore4Win FAQs available here can also help.
For notification purposes, you can use blat, which is installed as a part of the package (see Nagios.cfg for examples).