Vmware Monitoring?

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
gdolidze
Posts: 154
Joined: Tue Apr 07, 2015 10:07 am

Vmware Monitoring?

Post by gdolidze »

Can you do vmware host monitoring with the log server.

As in the hyper-visor not the guests.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Vmware Monitoring?

Post by jolson »

Yes, and fortunately it's not too difficult to set up.

First, we need to setup a new input in Nagios Log Server. Navigate to Administration -> Global Configuration. Once there, click 'Add Input' and name it something appropriate (I named mine "ESXI log input).

After you have named the input, type the following into the body:

Code: Select all

udp {
type => 'esxilogs'
port => 1514
}
After you have pasted this configuration into the body, press 'Save & Apply'. You have just configured Logstash to listen on port 1514 (required by ESXI).

Now, we need to open that port on the firewall of Nagios Log Server. To do so, enter the following commands on the CLI:

Code: Select all

iptables -A INPUT -p udp -m udp --dport 1514 -j ACCEPT
iptables-save | sudo tee /etc/sysconfig/iptables
service iptables restart
After that is complete, follow this VMWare configuration guide to setup your ESXI hosts to log to udp://nagios.log.server.ip:1514

http://kb.vmware.com/selfservice/micros ... Id=1007329
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked