Monitoring of Login attempts through Nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Samreen Mardhani
Posts: 6
Joined: Wed Jun 06, 2018 9:03 am

Monitoring of Login attempts through Nagios

Post by Samreen Mardhani »

Is there any plugin or way to monitor the number of login attempts to a website through Nagios? If yes then can you please share the plugin name and how to configure it!

Thanks in Advance.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Monitoring of Login attempts through Nagios

Post by mcapra »

What authentication mechanism is being used? There are a *bunch* of different authentication mechanisms out in the wild. It would depend on the specific authentication/session management system your website is using.

Are you looking to validate whether or not a user *can* login to a website, or are you attempting to monitor how many login attempts have occurred in a time period?

If the former, check_http can handle basic authentication:

Code: Select all

     -a, --authorization=AUTH_PAIR
        Username:password on sites with basic authentication
For forms-based authentication, you could try the Web Transaction configuration wizard mentioned in this documentation:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

If the latter, and it's just basic authentication, you could use an agent like check_log3.pl executed via NRPE/NCPA on the remote web server to keep track of the number of attempts/successes/failures by parsing the webserver logs.

There are also a few different plugins for tracking active Tomcat sessions. Here's one of them:
https://exchange.nagios.org/directory/P ... ns/details
Former Nagios employee
https://www.mcapra.com/
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Monitoring of Login attempts through Nagios

Post by npolovenko »

Thanks, @mcapra!
@Samreen Mardhani, Let us know if you have any follow up questions?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked