Java monitoring using NCPA agent

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
keerthi.seetharaman
Posts: 92
Joined: Thu Jan 11, 2018 7:55 am

Java monitoring using NCPA agent

Post by keerthi.seetharaman »

Hi Team,

Good Day.

I am planning to monitor Java service or application via Nagios XI using NCPA agent. Can you please update me on how to configure or any steps for the same on Nagios XI.

We don't have the internet connection provided from client end.

Regards,
Keerthi Prashanth Seetharaman
Thanks & Regards,
Keerthi Prashanth Seetharaman
keerthi.seetharaman
Posts: 92
Joined: Thu Jan 11, 2018 7:55 am

Re: Java monitoring using NCPA agent

Post by keerthi.seetharaman »

Service name is org.apache.catalina.startup.bootstrap .

Regards,
Keerthi Prashanth Seetharaman
Thanks & Regards,
Keerthi Prashanth Seetharaman
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Java monitoring using NCPA agent

Post by ssax »

Does this work for you?

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -H 192.168.X.X -t '<your token>' -M 'processes' -c 1: -q 'cmd=org.apache.catalina.startup.bootstrap,match=search'
keerthi.seetharaman
Posts: 92
Joined: Thu Jan 11, 2018 7:55 am

Re: Java monitoring using NCPA agent

Post by keerthi.seetharaman »

Thanks its working.

But one quick info is that is it similar to java monitoring.

Because i can it is a combination of tomcat application.

And this is used by one of our atlassian product called as Bamboo. And if it goes down will it generate a alert?

Regards,
Keerthi Prashanth Seetharaman
Thanks & Regards,
Keerthi Prashanth Seetharaman
keerthi.seetharaman
Posts: 92
Joined: Thu Jan 11, 2018 7:55 am

Re: Java monitoring using NCPA agent

Post by keerthi.seetharaman »

If i want to monitor only java service then what needs to be done.

Just to clarify as we have a service called as sonarqube.sh is it possible to monitor the same.

Regards,
Keerthi Prashanth Seetharaman
Thanks & Regards,
Keerthi Prashanth Seetharaman
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Java monitoring using NCPA agent

Post by ssax »

Please go here and check out the API, it will help you with building these:

Code: Select all

https://YOURNCPAHOST:5693/
Then please see here under the services/processes documentation:

https://www.nagios.org/ncpa/help.php

Then just add that information in a new service or use the NCPA wizard in Configure > Core Config Manager > NCPA to add it.
keerthi.seetharaman
Posts: 92
Joined: Thu Jan 11, 2018 7:55 am

Re: Java monitoring using NCPA agent

Post by keerthi.seetharaman »

Thanks for the information.
Can you please explain to me on the last point.
Then just add that information in a new service or use the NCPA wizard in Configure > Core Config Manager > NCPA to add it.

And what i understood is that as soon as you install NCPA agent it will capture the complete system details including applications and services. Right..
Thanks & Regards,
Keerthi Prashanth Seetharaman
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Java monitoring using NCPA agent

Post by cdienger »

It looks like this is a duplicate of a ticket that is open. We will close the forum thread and continue working through the ticket to avoid duplicating efforts.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
keerthi.seetharaman
Posts: 92
Joined: Thu Jan 11, 2018 7:55 am

Re: Java monitoring using NCPA agent

Post by keerthi.seetharaman »

Please close this issue.

Regards,
Keerthi Prashanth S
Thanks & Regards,
Keerthi Prashanth Seetharaman
Locked