Page 1 of 1
Java monitoring using NCPA agent
Posted: Tue Apr 28, 2020 4:10 am
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
Re: Java monitoring using NCPA agent
Posted: Tue Apr 28, 2020 5:23 am
by keerthi.seetharaman
Service name is org.apache.catalina.startup.bootstrap .
Regards,
Keerthi Prashanth Seetharaman
Re: Java monitoring using NCPA agent
Posted: Tue Apr 28, 2020 1:11 pm
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'
Re: Java monitoring using NCPA agent
Posted: Wed Apr 29, 2020 12:51 am
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
Re: Java monitoring using NCPA agent
Posted: Wed Apr 29, 2020 8:23 am
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
Re: Java monitoring using NCPA agent
Posted: Wed Apr 29, 2020 1:46 pm
by ssax
Please go here and check out the API, it will help you with building these:
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.
Re: Java monitoring using NCPA agent
Posted: Fri May 01, 2020 2:01 am
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..
Re: Java monitoring using NCPA agent
Posted: Fri May 01, 2020 10:33 am
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.
Re: Java monitoring using NCPA agent
Posted: Mon May 04, 2020 1:45 am
by keerthi.seetharaman
Please close this issue.
Regards,
Keerthi Prashanth S