Hello
I'd like to monitor my vagrant VMs, I heard about nagios and I'd like to know if it's possible to monitor the virtual machines
My server architecture looks like :
Server Ip : X.X.X.X
VM1 with http on port 2300 access with
VM2 with http on port 2400
VM Nagios on port 2500
Is it possible to monitor it like this ? It seems that nagios is made to monitor multiple servers but I didn't find the solution to monitor inner virtual machines. By the way is it possible to minotor inner process inside a virtual machine ?
Thanks
Monitor virtual machines inside a server
Re: Monitor virtual machines inside a server
Which operating system are these VMs running?titiairol wrote:By the way is it possible to minotor inner process inside a virtual machine ?
By use of an agent installed within the VM, yes. Here are a few popular Nagios Core agents: I would recommend leveraging NCPA as that agent is officially maintained and actively developed by the Nagios Enterprises staff. The official web page for NCPA has relatively extensive documentation.
If you choose NRPE, here's the official documentation for monitoring a Linux machine via NRPE:
https://assets.nagios.com/downloads/nag ... linux.html
Or, if you simply wanted to monitor that the HTTP service is running on a particular port, check_http is a plugin that can be used for that.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitor virtual machines inside a server
Thanks @mcapra.
You could also set these up to do passive monitoring when they are on, sending results to the Nagios server
You could also set these up to do passive monitoring when they are on, sending results to the Nagios server
Re: Monitor virtual machines inside a server
All the VMs runs on vagrant
Thanks for answer i'll take a look, I think it's possible to monitor processes on vagrant VMS right ?
Thanks for answer i'll take a look, I think it's possible to monitor processes on vagrant VMS right ?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitor virtual machines inside a server
I'll leave this thread open if any community members can chime in, but I am not that familiat with vagrant.titiairol wrote:All the VMs runs on vagrant
Thanks for answer i'll take a look, I think it's possible to monitor processes on vagrant VMS right ?
If you can install an agent mentioned above you should be able to monitor processes running.