How to monitor Java n different ports NagiosXI
Posted: Tue Mar 28, 2017 4:08 am
Hi Team
I have added LINUX SERVER and i am able to see stats of CPU/MEMORY/DISKS.. etc.. I want to monitor application , which is using 4 ports and java is running.
I have the below result for the netstat
[root@ linux-nrpe-agent]# netstat -ntlp
========================================
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 :::8062 :::* LISTEN 20135/java
tcp 0 0 :::8063 :::* LISTEN 25450/java
tcp 0 0 :::8064 :::* LISTEN 45852/java
tcp 0 0 :::8052 :::* LISTEN 46149/java
How to monitor these java in different ports ? 8062, 63,64,52 ? How to add these ports for different applications ?
There is NO PORT option in Configuration wizard to check for different ports ?
[[email protected]]# ps -ef | grep java
==================================================
root 6820 61990 0 05:02 pts/0 00:00:00 grep java
http://xyz.com:9010/eureka --server.port=8062
http://http://ABC.com:9010/ --server.port=8063
http://ddt.com:9010/eureka --server.port=8064
http://xzdd.com:9010/eureka --server.port=8052
which option in Nagiosxi to monitor the 8062,8063,8064,8052 PORTS application..? where to configure.
Thanks,
Nag.
I have added LINUX SERVER and i am able to see stats of CPU/MEMORY/DISKS.. etc.. I want to monitor application , which is using 4 ports and java is running.
I have the below result for the netstat
[root@ linux-nrpe-agent]# netstat -ntlp
========================================
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 :::8062 :::* LISTEN 20135/java
tcp 0 0 :::8063 :::* LISTEN 25450/java
tcp 0 0 :::8064 :::* LISTEN 45852/java
tcp 0 0 :::8052 :::* LISTEN 46149/java
How to monitor these java in different ports ? 8062, 63,64,52 ? How to add these ports for different applications ?
There is NO PORT option in Configuration wizard to check for different ports ?
[[email protected]]# ps -ef | grep java
==================================================
root 6820 61990 0 05:02 pts/0 00:00:00 grep java
http://xyz.com:9010/eureka --server.port=8062
http://http://ABC.com:9010/ --server.port=8063
http://ddt.com:9010/eureka --server.port=8064
http://xzdd.com:9010/eureka --server.port=8052
which option in Nagiosxi to monitor the 8062,8063,8064,8052 PORTS application..? where to configure.
Thanks,
Nag.