Hi ,
i am reing to monitor java application on nagios XI,
i am getting below error.
(Service check timed out after 60.03 seconds)
i am using using jboss 6.3
java monitoring in nagios XI using ncpa
-
[email protected]
- Posts: 66
- Joined: Tue Aug 07, 2018 2:24 am
Re: java monitoring in nagios XI using ncpa
What is the full command you're trying to run? Are you able to run it from the command line?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
[email protected]
- Posts: 66
- Joined: Tue Aug 07, 2018 2:24 am
Re: java monitoring in nagios XI using ncpa
below is the command from core config.
-t token -P 5693 -M plugins/check_jvm.jar -q "args=-s service:jmx:rmi:///jndi/rmi://192.168.105.65:8088/jmxrmi,args=-u 'user',args=-p 'password',args=-t jboss,args=-C 'MemorySimpleHeap,MemoryMetaspace,ProcessCPUUsage,SystemCPUUsage,Uptime,ClassCount,ThreadCount',args=-w '17179869184,34359738368,50,70,1500000:,10000,150',args=-c '32212254720,68719476736,70,90,300000:,50000,190'" -v
-t token -P 5693 -M plugins/check_jvm.jar -q "args=-s service:jmx:rmi:///jndi/rmi://192.168.105.65:8088/jmxrmi,args=-u 'user',args=-p 'password',args=-t jboss,args=-C 'MemorySimpleHeap,MemoryMetaspace,ProcessCPUUsage,SystemCPUUsage,Uptime,ClassCount,ThreadCount',args=-w '17179869184,34359738368,50,70,1500000:,10000,150',args=-c '32212254720,68719476736,70,90,300000:,50000,190'" -v
Re: java monitoring in nagios XI using ncpa
Is 192.168.105.65 the IP address of the host where NCPA is installed or is that another host? If it is the same host, then try changing the command to connect to localhost instead. If it is a different host, make sure the NCPA server can connect to that machine:
Code: Select all
telnet 192.168.105.65 8088As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
[email protected]
- Posts: 66
- Joined: Tue Aug 07, 2018 2:24 am
Re: java monitoring in nagios XI using ncpa
from nagios server i am able to telnet,
[root@localhost ~]# telnet 192.168.105.65 8088
Trying 192.168.105.65...
Connected to 192.168.105.65.
Escape character is '^]'.
^]
telnet> q
Connection closed.
[root@localhost ~]#
yes, 192.168.105.65 this is the server where ncpa is installed.
[root@localhost ~]# telnet 192.168.105.65 8088
Trying 192.168.105.65...
Connected to 192.168.105.65.
Escape character is '^]'.
^]
telnet> q
Connection closed.
[root@localhost ~]#
yes, 192.168.105.65 this is the server where ncpa is installed.
Re: java monitoring in nagios XI using ncpa
Does switching it to localhost instead work? Since you're using NCPA the XI server is contacting the client via that agent which then in turn runs check_jvm locally.
Another thing to try would be to configure the check so that XI makes a direct connection to the server on port 8088. See screenshot and https://assets.nagios.com/downloads/nag ... ios-XI.pdf.
Another thing to try would be to configure the check so that XI makes a direct connection to the server on port 8088. See screenshot and https://assets.nagios.com/downloads/nag ... ios-XI.pdf.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.