Install Nagios Agent On Windows
Nagios WSC (Web Service Checker) is a combination of NAGIOS plug-in and.NET web service to enable querying of multiple windows machines via WMI - all nagios queries are sent to one windows machine without having to install clients on all the other window. Monitoring private services or attributes of a Windows machine requires that you install an agent on it. This agent acts as a proxy between the Nagios plugin that does the monitoring and the actual service or attribute of the Windows machine. This document describes the procedures for installing Nagios monitoring agent, NSClient++, on a target Microsoft Windows desktop or server for the purposes of monitoring that machine. With Nagios XI. Windows desktop machine or server is functioning properly. Monitoring Windows Machines. Without installing an agent on the Windows box, Nagios would be unable to monitor private services or attributes of the Windows box. Before you can begin monitoring private services and attributes of Windows machines, you'll need to install an agent on those machines. Navigate in your Web browser to the Nagios Core download page at nagios.org/download/core/thanks/. Scroll down to the 'Packaged Nagios Distributions' section and click the 'Learn More' link under 'Nagwin.' Click the link next to 'Download URL.' Click the 'Nagwin' link.

I am trying to install Nagios NCPA agent on Windows using Ansible play book. Here is my simple playbook
However I am getting the below error:
'msg': 'product_id is required when the path is not an MSI or the path is an MSI but not local',
How to I find out the product_id for ncpa?
tlo2 Answers
You can skip product_id
if you add any of creates_*
arguments to your first task, for example:
Or you can search on a machine with your package istalled; per win_package
manual:
product_id
[ ]
You can find product ids for installed programs in the Windows registry editor either at HKLM:SoftwareMicrosoftWindowsCurrentVersionUninstall
or for 32 bit programs at HKLM:SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstall
.
This SHOULD be set when the package is not an MSI, or the path is a url or a network share and credential delegation is not being used. The creates_*
options can be used instead but is not recommended.
Finally managed to make it work with a dummy product ID.
Not the answer you're looking for? Browse other questions tagged ansiblenagios or ask your own question.
This article describes how to monitor Windows machines “private” services such as CPU load, Disk usage, Memory usage,Services, etc. For this, we required to install an NSClient++ addon on the Windows machine. The addon acts a proxy between the Windows machine and Nagios and monitors actual services by communicating with the check_nt plugin. The check_nt plugin already installed on the Nagios Monitoring Server, if you followed our Nagios installation guide.
We assume that you’ve already installed and configured Nagios server according to our following guides.
To monitor Windows Machines you will need to follow several steps and they are:
- Install NSClient++ addon on the Windows Machine.
- Configure Nagios Server for monitoring Windows Machine.
- Add new host and service definitions for Windows machine monitoring.
- Restart the Nagios Service.
To make this guide simple and easier, a few of configuration already done for you in the Nagios installation.
- A check_nt command definition already added to the command.cfg file. This definition command is used by check_nt plugin to monitor Windows services.
- A windows-server host template already created in the templates.cfg file. This template allows you to add new Windows host definitions.
The above two files “command.cfg” and “templates.cfg” files can be found at /usr/local/nagios/etc/objects/ directory. You can modify and add your own definitions that suits your requirement. But, I’d recommend you to follow the instructions described in this article and you will be successfully monitoring your windows host in less than 20 minutes.
Step 1: Installing NSClient++ Agent on Windows Machine
Nagios Windows Server
Please use the below instructions to install NSClient++ Agent on the Remote Windows Host. First download the latest stable version NSClient++ 0.3.1 addon source files, which can be found at below link.
Once you’ve downloaded latest stable version, unzip the NSClient++ files into a new C:NSClient++ directory.
Dorsch friedrich diccionario de psicologia pdf creator. Now open a MS-DOS command prompt from the Start Screen –> Run –> type ‘cmd‘ and press enter and change to the C:NSClient++ directory.
Next, register the NSClient++ service on the system with the following command.
Finally, install the NSClient++ systray with the following command.
Open the Windows Services Manager and right click on NSClient go to Properties and then ‘Log On‘ tab and click the check box that says “Allow service to interact with the desktop“. If it isn’t already allowed, please check the box to allow it to.
Open NSC.INI file located at C:NSClient++ directory and uncomment all the modules defined in the “modules” section, except for CheckWMI.dll and RemoteConfiguration.dll.
Uncomment the “allowed_hosts” in the “Settings” section and define the IP address of your Nagios Monitoring Server or leave it blank to allow any hosts to connect.
Uncomment the “port” in the “NSClient” section and set to default port ‘12489‘. Make sure to open ‘12489‘ port on Windows Firewall.
Nagios Agent For Windows
Finally start the NSClient++ service with the following command.
If your properly installed and configured, you should see a new icon in the system tray in yellow circle with a black ‘M‘ inside.
Step 2: Configuring Nagios Server and Add Windows Hosts
Now Login into Nagios Server and add some object definitions in Nagios configuration files to monitor new Windows machine. Open windows.cfg file for editing with Vi editor.
A sample Windows host definition already defined for the Windows machine, you can simply change the host definition like host_name, alias, and address fields to appropriate values of your Windows machine.
Following services are already added and enabled in windows.cfg file. If you wish to add some more other service definitions that needs to be monitored, you can simple add those definitions to same configuration file. Make sure to change the host_name for these all services with host_name defined in the above step.
Lastly, uncomment the windows.cfg file in /usr/local/nagios/etc/nagios.cfg.
Finally, verify the Nagios configuration files for any erros.
If the verification process throws any error messages, fix those errors until the verification process completes without any error messages. Once’ you fix those errors, restart the Nagios service.
That’s it. Now go to Nagios Monitoring Web interface at “http://Your-server-IP-address/nagios” or “http://FQDN/nagios” and Provide the username “nagiosadmin” and password. Check that the Remote Windows Host was added and is being monitored.
Havij PRO Adv. Havij 1 17 pro cracked. SQL Injection Tool 1.17 Full Version Havij PRO (SQL Injection):is an automated SQL Injection tool that helps penetration testers to find and exploit SQL Injection vulnerabilities on a web page.
Nagios Monitor Windows Host
That’s it! for now, in my up-coming article I will show you how to add Printer and Switches to Nagios Monitoring Server. If you’re having any difficulties while adding Windows host to Nagios. Please do comment your queries via comment section, till then stay tuned to Tecmint.com for more such kind of valuable articles.