Hi All,
I have a requirement to monitor different parameters for AD.
I have gone through below links . But these are incomplete so as to what parameters to be passed or how to setup the configurations at Nagios/destination server side.
https://exchange.nagios.org/directory/P ... ck/details
https://exchange.nagios.org/directory/P ... ck/details
Could you please suggest which is the best plugin to monitor AD and what all parameters of AD can be monitored through Nagios.
Thanks.
Active directory monitoring in NagiosXI
Re: Active directory monitoring in NagiosXI
Nagios can monitor anything that has a plugin. Which is the 'best' is usually a matter of what one's requirements are.
Frequently a plugins(like the ones you've linked to) will require that it be run on the remote host and not on the XI server. This can be done using agents like NSClient++ or NRPE on the remote host. Nagios then runs these plugins using check_ncpa or check_nrpe to connect to the host, execute the plugins, and return values to the Nagios server.
If you're not using either NSClient++ or NCPA at the moment then I would suggest using NCPA. Both agents can run scripts on remote machines and return the results to Nagios. The steps for NSClient++ are covered in:
https://support.nagios.com/kb/article.php?id=528
Instructions for installing NSClient++ to work with Nagios are found in:
https://assets.nagios.com/downloads/nag ... s-XI.pdf
Steps for installing NCPA are found in:
https://www.nagios.org/ncpa/getting-started.php
To run a script with NCPA you would need to copy it to the plugins directory found in the installation path(usually c:\program files (x86)\Nagios\NCPA\plugins) and then run a command like:
/usr/local/nagios/libexec/check_ncpa.py -H your_windows_server_ip_address -t your_windows_server_ncpa_token -P 5693 -M 'plugins/resourcecheck.ps1'
https://support.nagios.com/kb/article/n ... -722.html has some more information on running scripts with NCPA.
Frequently a plugins(like the ones you've linked to) will require that it be run on the remote host and not on the XI server. This can be done using agents like NSClient++ or NRPE on the remote host. Nagios then runs these plugins using check_ncpa or check_nrpe to connect to the host, execute the plugins, and return values to the Nagios server.
If you're not using either NSClient++ or NCPA at the moment then I would suggest using NCPA. Both agents can run scripts on remote machines and return the results to Nagios. The steps for NSClient++ are covered in:
https://support.nagios.com/kb/article.php?id=528
Instructions for installing NSClient++ to work with Nagios are found in:
https://assets.nagios.com/downloads/nag ... s-XI.pdf
Steps for installing NCPA are found in:
https://www.nagios.org/ncpa/getting-started.php
To run a script with NCPA you would need to copy it to the plugins directory found in the installation path(usually c:\program files (x86)\Nagios\NCPA\plugins) and then run a command like:
/usr/local/nagios/libexec/check_ncpa.py -H your_windows_server_ip_address -t your_windows_server_ncpa_token -P 5693 -M 'plugins/resourcecheck.ps1'
https://support.nagios.com/kb/article/n ... -722.html has some more information on running scripts with NCPA.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Active directory monitoring in NagiosXI
Thanks @ cdienger.
So do you suggest me to go with the plugins which I have listed for monitoring of AD?
Please suggest if there is any other plugin which could monitor different parameters of AD.
Thanks,
So do you suggest me to go with the plugins which I have listed for monitoring of AD?
Please suggest if there is any other plugin which could monitor different parameters of AD.
Thanks,
Re: Active directory monitoring in NagiosXI
Yes, use these plugins if they're able to monitor the parameters you'd like.
There is also the check_ldap plugin found in /usr/local/nagios/libexec/check_ldap. This plugin is what the LDAP wizard uses:
https://assets.nagios.com/downloads/nag ... h-LDAP.pdf
There is also the check_ldap plugin found in /usr/local/nagios/libexec/check_ldap. This plugin is what the LDAP wizard uses:
https://assets.nagios.com/downloads/nag ... h-LDAP.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Active directory monitoring in NagiosXI
Thanks @cdienger
Able to execute few LDAP checks successfully.
Please close the thread.
Able to execute few LDAP checks successfully.
Please close the thread.
Re: Active directory monitoring in NagiosXI
Glad to hear!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.