VMware Cloud Community
badazws6
Enthusiast
Enthusiast
Jump to solution

Expanding the Virtual Center Event log listings?

Ok, this seems like a really basic question but is there a way to expand the Virtual Center 2.0.x Event log listings to display a different date set or more events then the default? Basically I'm trying to track a problem another tech was working on over the weekend and some of the events are no longer displaying because they "fell off the bottom" of the event log. Is this possible or do you have to go straight to the local event logs through the service console?

Reply
0 Kudos
1 Solution

Accepted Solutions
gary1012
Expert
Expert
Jump to solution

You can export your events using the Events button with VC. It will allow you to setup time and date parameters. Also, you can grep through /var/log/vmware/hostd.log for events on all of your hosts.

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

View solution in original post

Reply
0 Kudos
5 Replies
Jasemccarty
Immortal
Immortal
Jump to solution

In the VC 2.0/2.5 database, you can use this query from Query Analyzer to view specific events:

select * from dbo.vpx_event where create_time between 'MM/DD/YYY' and 'MM/DD/YYY'

Jase McCarty

http://www.jasemccarty.com

Co-Author of VMware ESX Essentials in the Virtual Data Center

(ISBN:1420070274) from Auerbach

Jase McCarty - @jasemccarty
Reply
0 Kudos
gary1012
Expert
Expert
Jump to solution

You can export your events using the Events button with VC. It will allow you to setup time and date parameters. Also, you can grep through /var/log/vmware/hostd.log for events on all of your hosts.

Community Supported, Community Rewarded - Please consider marking questions answered and awarding points to the correct post. It helps us all.
Reply
0 Kudos
Jasemccarty
Immortal
Immortal
Jump to solution

I find it a little easier to query SQL directly, given that when you export, you are creating a new file, then you, have to parse through it, then you figure you didn't get the right dates, and you have to do it again, etc.

I guess that wasn't helpful.

Jase McCarty - @jasemccarty
Reply
0 Kudos
badazws6
Enthusiast
Enthusiast
Jump to solution

I'm sure it is functional, but Gary's suggestion was much more simple. More then one way to skin a cat, but some things are easier then others and you may as well use the easiest. Thanks for the suggestion.

MR

Reply
0 Kudos
Jasemccarty
Immortal
Immortal
Jump to solution

Well, I didn't mean to come off as a "I've got a case of the Monday's"...

But one of the problems with these forums lately, people barely give points anymore.

Jase McCarty - @jasemccarty
Reply
0 Kudos