VMware Cloud Community
rjsetford
Contributor
Contributor
Jump to solution

Setting up logging to a syslog server

Hello,

I have a standalone syslog server (kiwi) that I'd like to log both my ESX 3.5 servers to.

Does anyone know of a guide that will hand-hold me through configuring each ESX host to point at the syslog server. Also, setting logging levels would be useful as well.

Thanks,

Rich

Windows 3.1 to 2003 Exchange 5.5 to 2003 VMware ESX 3.0.1 to 3.5 Linux (Name a distro, I've probably tried it)
0 Kudos
1 Solution

Accepted Solutions
Texiwill
Leadership
Leadership
Jump to solution

Hello,

You can use this short how-to: http://www.tooms.dk/?page=http%3A//www.tooms.dk/forum/topic.asp%3FTOPIC_ID%3D127

Note however, that you generally want everything to go to your syslog server but if you are only concerned about one set of logging levels then you can as gary1012 stated, use instead of . the level.* approach. Also, I use IP addresses just in case DNS fails.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education. CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill

View solution in original post

0 Kudos
3 Replies
gary1012
Expert
Expert
Jump to solution

Basic setup is done by adding @hostname to each applicable entry in /etc/syslog.conf. Example: authpriv.* @yourhostname OR mail.* @yourhostname. More elaborate configs can be performed but this will get you started. Review syslog.conf and you'll pick it up fast.

Community Supported, Community Rewarded - Please consider marking questions answered and awarding points to the correct post. It helps us all.
Texiwill
Leadership
Leadership
Jump to solution

Hello,

You can use this short how-to: http://www.tooms.dk/?page=http%3A//www.tooms.dk/forum/topic.asp%3FTOPIC_ID%3D127

Note however, that you generally want everything to go to your syslog server but if you are only concerned about one set of logging levels then you can as gary1012 stated, use instead of . the level.* approach. Also, I use IP addresses just in case DNS fails.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education. CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
rjsetford
Contributor
Contributor
Jump to solution

Spot on Texiwill,

That sorted it.

Thanks,

Richard

Windows 3.1 to 2003 Exchange 5.5 to 2003 VMware ESX 3.0.1 to 3.5 Linux (Name a distro, I've probably tried it)
0 Kudos