Page 1 of 1
Need to monitor an application in Nagios XI
Posted: Wed Aug 02, 2017 3:30 am
by keerthiprashanths
Hi Team,
We have an application deployed on windows server which needs an application login monitoring via NagiosXI.
We tried to search some plugin but no luck.
So can you please help us here.
Expectation:
“XYZ application is hosted on a windows server with generic id/pass: nagiosxxxx. Nagios will login to the application using the generic id and password, if the login is successful then the state of the alarm will be ‘OK’ and if anyhow the login fails then a “Critical” alert should be generated.
Can you please help us with the plugin or script that will help us to implement the same.”
Re: Need to monitor an application in Nagios XI
Posted: Wed Aug 02, 2017 8:35 am
by mcapra
Is this login a web service? A Java Swing application? A .NET application built using WinForms?
We would need to know more about how this application functions before specific advice can be offered.
If you access the login via a web browser, web services can be monitored using either WebInject or Selenium:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Re: Need to monitor an application in Nagios XI
Posted: Wed Aug 02, 2017 12:49 pm
by tmcdonald
Thanks for the assist,
@mcapra! OP, let us know if you need further assistance.
Re: Need to monitor an application in Nagios XI
Posted: Thu Aug 03, 2017 8:10 am
by keerthiprashanths
Hi mcapra,
Below are the details:-
Is this login a web service? A Java Swing application? A .NET application built using WinForms?
It's a Standalone application on Windows server and VB application with Oracle database.
Please let us know in case if you need any more details.
Re: Need to monitor an application in Nagios XI
Posted: Thu Aug 03, 2017 8:28 am
by mcapra
I don't know of any automated drivers for Visual Basic applications. You might be able to script something out using
AutoHotKey, but the work required to call those AutoHotKey scripts remotely and verify that the login was successful would be non-trivial.
If the VB application submits credentials to a back-end server somewhere, you'd have a much easier time trying to mimic that behavior. Without specific knowledge of how the application functions on the back-end, I'm afraid I can't offer much advice.
Re: Need to monitor an application in Nagios XI
Posted: Thu Aug 03, 2017 4:20 pm
by bolson
Hello keerthiprashanths,
It's difficult to answer your question without knowing the internals of your VB app. It might make more sense to monitor successful/unsuccessful login attempts on your Oracle server as there are a multitude of Oracle plugins. As a former VB developer, depending on how the error handler handles failed logins, a plugin could probably be created using vbscript. However, that would be beyond the scope of our support team.
Re: Need to monitor an application in Nagios XI
Posted: Fri Aug 04, 2017 7:34 am
by keerthiprashanths
Is there any way where we can schedule a WebEx session on the same
Re: Need to monitor an application in Nagios XI
Posted: Fri Aug 04, 2017 11:54 am
by dwhitfield
If you are a customer please post in the customer section of the forum or email
[email protected] and reference this ticket. If you are not a customer, then no, we cannot schedule a WebEx.
That said, I think
@mcapra is correct in that this is going to take some development on your side as far as AutoHotKey or something of that nature is concerned.