

We don’t know how to define and configure service for linux hosts. Register 0 DONT REGISTER THIS - ITS JUST A TEMPLATE Hostgroups windows-servers Host groups that Windows servers should be a member of Notification_options d,r Only send notifications for specific host statesĬontact_groups admins Notifications get sent to the admins by default

Notification_interval 30 Resend notifications every 30 minutes Notification_period 24x7 Send notification out at any time - day or night Max_check_attempts 10 Check each server 10 times (max)Ĭheck_command check-host-alive Default command to check if servers are "alive" Retry_interval 1 Schedule host check retries at 1 minute intervals Use generic-host Inherit default values from the generic-host templateĬheck_period 24x7 By default, Windows servers are monitored round the clockĬheck_interval 5 Actively check the server every 5 minutes Name windows-servers The name of this host template # Windows host definition template - This is NOT a real host, just a template! Host_name The name we're giving to this hostĪlias A longer name associated with the hostĪddress 192.168.0.155 IP address of the host Use windows-servers Inherit default values from a template # Change the host_name, alias, and address to fit your situation # Define a host for the Windows machine we'll be monitoring # nano /usr/local/nagios/etc/windows-hosts.cfg # Adding contents to windows-hosts.cfg file from (windows.cfg & templates.cfg) file # So, don’t worry because default templates will be available at /usr/local/nagios/etc/objects/ just copy and past it into your host file based on your OS (windows or linux). We don’t know how to define and configure hosts. # Add both files to end of the nagios.cfg file with below format #Ĭfg_file=/usr/local/nagios/etc/windows-hosts.cfgĬfg_file=/usr/local/nagios/etc/windows-services.cfg # Create host file, I'm creating linux-hosts.cfg for clarification # Start > search “services” > NSClient++ > properties > LogOn “tick” allow service to interact with desktop.ġ) Adding Windows host to Nagios server for monitoringĬreate two files inside “/usr/local/nagios/etc/“ to define host and services.
#NAGIOS WINDOWS MONITOR INSTALL#
To install sample configuration file, then hit Next.Įnter the required details (Nagios server IP and password for communication), then hit Next. Then Double click the (.msi) file to initiate the Installation, then hit Run.Ĭhoose installation type “Typical”, then hit Next.
#NAGIOS WINDOWS MONITOR DOWNLOAD#
Visit NSClient official website and download the package based on your architecture. Part-1 : Remote Host system configuration. NSClient++ Allow remote checks, Monitor system in realtime & Resolve your problems. This allows you to monitor remote machine metrics (disk usage, CPU load, webserver usage, database server usage, etc…,). nscp allows nagios to remotely execute on windows machines. NSClient++ or nscp is powerful and flexible monitoring daemon. For Monitoring Windows hosts in Nagios Server, you need to install NSClient++ on your remote Windows systems. We have already covered in our previous article, Nagios installation on RPM based systems such as CentOS & RHEL and Nagios installation on DEB based systems such as Debian, Ubuntu & Mint, also refer Adding Nagios Remote Linux Host.
