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.
How to monitor Java n different ports NagiosXI
Re: How to monitor Java n different ports NagiosXI
Greetings,
There is a wizard to monitor tcp ports. Does this serve the need you have?
There is a wizard to monitor tcp ports. Does this serve the need you have?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: How to monitor Java n different ports NagiosXI
Hi ,
I am facing the : Configuration verification failed for TCP for the ports, 8062,8063,8064.
Please find the attached snapshot.
Thank you,
Nag.
I am facing the : Configuration verification failed for TCP for the ports, 8062,8063,8064.
Please find the attached snapshot.
Thank you,
Nag.
You do not have the required permissions to view the files attached to this post.
Re: How to monitor Java n different ports NagiosXI
What version of XI is this? I tested with the same settings and had now issue. Do you get the same error with other wizards?
Try logging out of XI then log back in and go to Configurations > Core Configuration Manager > Quick Tools > Apply Configuration, and apply configuration. Do you get the same error?
Please provide a copy of /usr/local/nagios/var/nagios.log after reproducing the error if it is persisting and also the output of:
/usr/local/nagios/bin/nagios -v /usr/locall/nagios/etc/nagios.cfg
Try logging out of XI then log back in and go to Configurations > Core Configuration Manager > Quick Tools > Apply Configuration, and apply configuration. Do you get the same error?
Please provide a copy of /usr/local/nagios/var/nagios.log after reproducing the error if it is persisting and also the output of:
/usr/local/nagios/bin/nagios -v /usr/locall/nagios/etc/nagios.cfg
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: How to monitor Java n different ports NagiosXI
Hi,
I am using the Nagiosxi 5.4.3 VERSION. Nagios Core was not taking the input of ports. i have restarted the nagiosXI.
I am able to add the PORTS. I can see the output now.
Thanks for your help.
Regards,
Nag
I am using the Nagiosxi 5.4.3 VERSION. Nagios Core was not taking the input of ports. i have restarted the nagiosXI.
I am able to add the PORTS. I can see the output now.
Thanks for your help.
Regards,
Nag
Re: How to monitor Java n different ports NagiosXI
Glad to help. Is there anything else related to this that we can help with or are we okay to lock the thread?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: How to monitor Java n different ports NagiosXI
FWIW if you wanted to simply check that the ports are listening on the client side you can use this plugin I wrote ages ago - https://github.com/rcknag/nagios-plugin ... netstat.sh
Former Nagios Employee
Re: How to monitor Java n different ports NagiosXI
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/