Page 1 of 1

Monitoring AD in Nagios XI

Posted: Sat Jun 01, 2019 3:33 pm
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.

Re: Monitoring AD in Nagios XI

Posted: Mon Jun 03, 2019 1:57 pm
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

Re: Monitoring AD in Nagios XI

Posted: Tue Jun 25, 2019 10:39 am
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.

Re: Monitoring AD in Nagios XI

Posted: Wed Jun 26, 2019 3:50 pm
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

Re: Monitoring AD in Nagios XI

Posted: Fri Jun 28, 2019 8:36 am
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.

Re: Monitoring AD in Nagios XI

Posted: Fri Jun 28, 2019 2:03 pm
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.

Re: Monitoring AD in Nagios XI

Posted: Tue Jul 02, 2019 12:33 am
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.

Re: Monitoring AD in Nagios XI

Posted: Tue Jul 02, 2019 2:15 pm
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.