Hi ,
I want to monitor an application that is being hosted in a docker container. Is there any way to monitor this using NagiosXI?
If yes, Please let me know all the possible ways of monitoring an application that is in container.
Regards,
Mohan
Monitoring Application in Docker container
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Monitoring Application in Docker container
Hi @Mohan,
Nagios XI has built-in Docker Wizard to help configure monitoring. The wizard uses either our NCPA agent or the Docker Remote API for configuration. Can you let me know which application your're trying to monitor and I can provide some more detail.
Please take a look at the guide below to get started.
How To Monitor Docker Containers With Nagios XI
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Nagios XI has built-in Docker Wizard to help configure monitoring. The wizard uses either our NCPA agent or the Docker Remote API for configuration. Can you let me know which application your're trying to monitor and I can provide some more detail.
Please take a look at the guide below to get started.
How To Monitor Docker Containers With Nagios XI
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Monitoring Application in Docker container
we want to monitor "spring boot application" which is in docker container.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Monitoring Application in Docker container
Hi @Mohan23,
Monitoring Java applications typically done with JMX. We don't have an official guide on how to setup this up from within a Docker container, but it looks like JMX is accessible from within Spring Boot.
Monitoring JMX With Nagios XI
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Take a look at the guide and let me know if you have any questions.
Monitoring Java applications typically done with JMX. We don't have an official guide on how to setup this up from within a Docker container, but it looks like JMX is accessible from within Spring Boot.
Monitoring JMX With Nagios XI
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Take a look at the guide and let me know if you have any questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Monitoring Application in Docker container
The only caveat I can think of is you'd need to be sure that the Spring Boot app's JMX port within the container is mapped to an acceptable port on the host.
https://docs.docker.com/config/containe ... etworking/
More info on running boot apps with JMX:
https://docs.spring.io/spring-boot/docs ... y-jmx.html
https://stackoverflow.com/questions/294 ... x-remotely
https://docs.docker.com/config/containe ... etworking/
More info on running boot apps with JMX:
https://docs.spring.io/spring-boot/docs ... y-jmx.html
https://stackoverflow.com/questions/294 ... x-remotely
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Monitoring Application in Docker container
Thanks @mcapra for the input.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!