Monitoring AD in Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vinish098
Posts: 136
Joined: Fri Oct 21, 2016 6:30 am

Monitoring AD in Nagios XI

Post by vinish098 »

Hello team,

We are monitoring AD with LDAP Server in Nagios.

Need to be monitor the services is below:

1. Angulars need to show in Nagios Server.
2. How many users is login and log out need to show in Nagios Server.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Monitoring AD in Nagios XI

Post by npolovenko »

Hello, @vinish098. Could you clarify the meaning of Angulars, is it AngularJS?

Are you using this wizard to monitor AD with LDAP?
https://assets.nagios.com/downloads/nag ... h-LDAP.pdf

As far as monitoring log in and log out times for users in LDAP, I couldn't find a plugin that does that. You can see the list of all available AD plugins on the exchange:
https://exchange.nagios.org/directory/P ... ms/Windows

You might also be able to pull user login/logout data directly from the Windows Event Logs -> Security log using the NSClient or WMI.
https://support.nagios.com/kb/article/l ... s-787.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
vinish098
Posts: 136
Joined: Fri Oct 21, 2016 6:30 am

Re: Monitoring AD in Nagios XI

Post by vinish098 »

Hello team,

We are trying to monitor AD Replication or sync in Nagios XI.

Need to monitor below services also.

1. NRPE Handlers( lass.exe)
2. Active directory health.
3. Replication.
4. ADFS and AD directory sync services.
5. Directory Service available.

Please provide document for above request services.

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

Re: Monitoring AD in Nagios XI

Post by cdienger »

https://assets.nagios.com/downloads/nag ... h-LDAP.pdf steps through using the wizard which can tell you if you can connect to the AD service.

Plugins exist on the exchange to check replication:

https://exchange.nagios.org/index.php?o ... eplication

You can execute plugins on Windows machines using NCPA. You can also use this agent to verify services are running:

https://www.nagios.org/ncpa/
https://support.nagios.com/kb/article/n ... a-722.html
https://www.nagios.org/ncpa/help.php#ap ... s-services
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
vinish098
Posts: 136
Joined: Fri Oct 21, 2016 6:30 am

Re: Monitoring AD in Nagios XI

Post by vinish098 »

Hello cdienger,

Thanks for your reply.

I am trying to configure "AD Replication" with nagios plugin.

1. I run one script in windows powershell of Active Directory. I attched the script and output. please check.

2. But when we are trying to monitor in Nagios but we are not getting output of AD Replication in performance graph. Please check attched screenshot of performance graph output provided by nagios plugin, but we are not getting this output in nagios.

3. please help me how to follow with replication performance graph output in nagios.
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Monitoring AD in Nagios XI

Post by cdienger »

Nagios will graph the data that is returned in the perfdata. The perfdata in this case is:

DRAInboundBytesTotal=0 DRAInboundObjecxtUpdatesRemaininginPacket=0 DRAOutboundBytesTotal=0 DRAPendingReplicationsSyncronizations=0

I don't know what metric the graph you provided is measuring, but to see that information, you'll need to modify the plugin or find a plugin that returns that data.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
vinish098
Posts: 136
Joined: Fri Oct 21, 2016 6:30 am

Re: Monitoring AD in Nagios XI

Post by vinish098 »

Hello Team,

Please find attachment we are using this plugin for replication. Whenever we try to run the powershell script we are getting some output like below:

"OK: replication is up and running | DRAInboundBytesTotal=0 DRAInboundObjectUpdatesRemaininginPacket=0 DRAOutboundBytesTotal=0 DRAPendingReplicationSynchronizations=0"

Whenever we try to check output in Nagios server we are not able to see any output.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Monitoring AD in Nagios XI

Post by cdienger »

Are you trying to see graph information or is it not showing the status(OK, WARNING, CRITICAL)?

If you're still trying to get graphs, then I'll have to refer you to my previous post.

If you don't see a status or are referring to something else, please provide a screenshot to make the issue clear to us.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked