VMware Cloud Community
sandya
Contributor
Contributor

How we can configure syslogd to capture vmkernal warning,log messages in ESX 3i

Hi All,

Is it possible to configure syslogd to capture vmkernal warning,log messages in ESX 3i.

Thanks in advance

0 Kudos
3 Replies
lamw
Community Manager
Community Manager

The traditional vmkwarning,vmkernel,etc are all appended to the messages log for ESXi, you can take a look at 3rd party syslog servers or take a look at VMware vMA and the vilogger utility which provides a free centralize log collector for all your ESX(i) hosts for free.

[vi-admin@scofield ~][http://himalaya.primp-industries.com|http://himalaya.primp-industries.com]$ vilogger --help
Usage: vilogger <command>
command is one of:
        enable          [--server <SERVER>]
                        [--logname <LOGNAME>]
                        [--collectionperiod <PERIOD in seconds: 10 to 3600>]
                        [--numrotation <ROTATION: 1 to 1024>]
                        [--maxfilesize <SIZE in MB: 1 to 1024>]

        disable         [--server <SERVER>]
                        [--logname <LOGNAME>]
                        [--force]

        list            [--server <SERVER>]
                        [--logname <LOGNAME>]

        updatepolicy    [--server <SERVER>]
                        [--logname <LOGNAME>]
                        [--collectionperiod <PERIOD in seconds: 10 to 3600>]
                        [--numrotation <ROTATION: 1 to 1024>]
                        [--maxfilesize <SIZE in MB: 1 to 1024>]

        help | --help | -h  [<command name>]

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

VMware Code Central - Scripts/Sample code for Developers and Administrators

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos
sandya
Contributor
Contributor

thanks for your reply.All messages that can be configured only at one location(default /var/log/messages ).in linux using we can configure syslogd using /etc/syslog.conf file to store different service messages at different locations.I am assuming like this is not the case with ESX 3i./etc/syslog.conf file contains only remote log server ipaddress.[http://whether it ispossible to configure syslogd of ESX 3i using syslog.conf file same as linux |http://whether it ispossible to configure syslogd of ESX 3i using syslog.conf file same as linux ].please correct me if my assumption is wrong

0 Kudos
sandya
Contributor
Contributor

I did small exercise as follows.Through Vi client i configured remote log server(remote log server is also ESX 3i box ).But it is still logging on the local host only.It is not sending the logs to that remote side.

If i want to enable remote log server ESX 3i any thing else i have to do(client or server side ) .

I want to check syslog port 514 is active/reachable from remote server.But i dont know how to check this.

can any of you help me if u have configured before.

0 Kudos