Monitor Active directory using NCPA

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CSOST
Posts: 11
Joined: Tue Apr 30, 2019 11:31 am

Monitor Active directory using NCPA

Post by CSOST »

Hello,
Im trying to figure out the best way to monitor AD server with NCPA 2.2 , currently i find that NRPE do have a string to check Active directory services
" check_activedir " .
check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
how do u set the ARG under NCPA in this case ?

Thank you
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Monitor Active directory using NCPA

Post by cdienger »

Instead of defining a command on the NRPE client side to execute check_activedir, you would simply place the plugin in NCPA's plugin directory and execute it with something like:

Code: Select all

./check_ncpa.py -H <client_ip> -t '<your token>' -M 'plugins/check_activedir' -q ''
https://support.nagios.com/kb/article/n ... a-722.html covers how to execute a plugin with NCPA as well as creating the service on XI.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
CSOST
Posts: 11
Joined: Tue Apr 30, 2019 11:31 am

Re: Monitor Active directory using NCPA

Post by CSOST »

Thank you cdienger for your help
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitor Active directory using NCPA

Post by scottwilkerson »

CSOST wrote:Thank you cdienger for your help
Glad we could help

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked