Monitor Windows server using NCPA

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Monitor Windows server using NCPA

Post by mejokj »

Hi Team,

We have to add 500 windows servers (2008,2012,2016,2019) using NCPA agent to Nagios.

It is not easy to install the agent on individual systems one by one.

Can you suggest how we can deploy agents to all systems in an automated way from Nagios latest version?

Can we use the same NCPA token for all systems?

We have SCCM with us. Can we try that? Any link or document is available for installing and configuring NCPA with SCCM and Nagios?

One more question, I can see ncpa-2.3.1.exe as 32-bit Exe installer downloaded from https://www.nagios.org/ncpa/, Is there any 64-bit installer for ncpa agent or this will works on 64 bit ?

Thanks
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitor Windows server using NCPA

Post by benjaminsmith »

Hi,

That's a good question. In the latest version of Nagiso XI, there is a feature called Deploy Agent ( Configure > Deploy Agent) and there is a Windows option., it will require openssh for Windows to be installed.
Extra Steps Required: You must install OpenSSH for Windows on all hosts you plan to run Deploy Agent on.

Microsoft utilities and features like Active Directory, PowerShell, and System Center Configuration Manager (SCCM) can all be used to deploy the Nagios Cross Platform Agent (NCPA). Depending on your network and organization's requirements, many of these utilities can directly install and manage NCPA configuration files on any number of Windows servers and workstations.

The Nagios XI Deploy Agent feature can remotely install and configure NCPA on any Windows server or workstation with a properly configured, accessible, and running SSH service. The Deploy Agent feature also accepts both local and domain administrator credentials. For more information on locally or centrally configuring OpenSSH on Windows for use with the Deploy Agent feature in Nagios XI, please refer to this Microsoft document.
You can use the same token if you'd like and those can be managed in XI by going to Configure > CCM > Auto Deployment > Manage Deployed Agents

Lastly, we currently do not have a 64-bit installer right now, but my understanding is that will be available with NCPA 3 is out.

Let us know if you need any assistance.

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: Monitor Windows server using NCPA

Post by mejokj »

Thanks for the information.

Unfortunately, no server has OpenSSH enabled for pushing through deploy agents.

1) Could you please suggest how we can push the agent and install it through using a silent method?

a) Any Powershell script or documentation help on this?

2) With SCCM and AD group policy we couldn't push as the NCPA agent is only available in .exe format, which is not supported by SCCM and AD group policy?

3) Can we get the MSI format of the NCPA agent to download?

Thanks
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: Monitor Windows server using NCPA

Post by mejokj »

Thanks for the information.

Unfortunately, no server has OpenSSH enabled for pushing through deploy agents.

1) Could you please suggest how we can push the agent and install it through using a silent method?

a) Any Powershell script or documentation help on this?

2) With SCCM and AD group policy we couldn't push as the NCPA agent is only available in .exe format, which is not supported by SCCM and AD group policy?

3) Can we get the MSI format of the NCPA agent to download?

Thanks
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: Monitor Windows server using NCPA

Post by mejokj »

Thanks for the information.

Unfortunately, no server has OpenSSH enabled for pushing through deploy agents.

1) Could you please suggest how we can push the agent and install it through using a silent method?

a) Any Powershell script or documentation help on this?

2) With SCCM and AD group policy we couldn't push as the NCPA agent is only available in .exe format, which is not supported by SCCM and AD group policy?

3) Can we get the MSI format of the NCPA agent to download?

Thanks
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: Monitor Windows server using NCPA

Post by mejokj »

Thanks for the information.

Unfortunately, no server has OpenSSH enabled for pushing through deploy agents.

1) Could you please suggest how we can push the agent and install it through using a silent method ( ncpa-2.1.7.exe /S /TOKEN=abch456bsmsm)?

a) Any Powershell script or documentation help on this, as we need to install for more than 200 systems?

2) With SCCM and AD group policy we couldn't push as the NCPA agent is only available in .exe format, which is not supported by SCCM and AD group policy?

3) Can we get the MSI format of the NCPA agent to download?

Thanks
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitor Windows server using NCPA

Post by benjaminsmith »

Hi,

There is a silent install option for NCPA, and that will allow you to pass config values from a script or the command line. That process is documented on the following page:

https://www.nagios.org/ncpa/getting-sta ... nt-install

For documentation on deploying software on remote systems using PowerShell, the following post looks helpful.

Powershell: Remote install software

We currently do have an MSI format for NCPA. However, I do expect to see this in a future release of NCPA.

Hopefully, that helps get you started. Let me know if there's anything else I can help with.

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked