I have an analysis that, among other things, retrieves the timezone of a target server, as seen in the attached file.
I am then using the API to attampt to grab these two figures, using the following relevance:
Executing timezone query: (computer name of it, values of results whose (name of it contains “DCWIN_TZ_”) of it, name of results whose (name of it contains “DCWIN_TZ_”) of it) of properties of bes analysis whose (id of it = 33933)
ServerPatching.Services.BigFixService: Information: Executing timezone query: (computer name of it, values of results whose (name of it contains “DCWIN_TZ_”) of it, name of results whose (name of it contains “DCWIN_TZ_”) of it) of properties of bes analysis whose (id of it = 33933)
It is not working though. I think my relevance is jacked.
Can anybody help out here, or maybe even suggest a better method of getting the timezone of a targer server? If so, I’d love a way to incorprate grabbing timezone info into this relevance… currently I am running two queries but if I can grab it all at once, that would be twice as fast
(
id of it,
name of it,
ip addresses of it,
last report time of it,
value of client setting whose (name of it is ""wev_patchDayOffset"") of it | ""-1"",
value of client setting whose (name of it is ""wev_patchHour"") of it | ""-1"",
value of client setting whose (name of it is ""wev_patchMinute"") of it | ""-1"",
value of client setting whose (name of it is ""wev_rebootDayOffset"") of it | ""-1"",
value of client setting whose (name of it is ""wev_rebootHour"") of it | ""-1"",
value of client setting whose (name of it is ""wev_rebootMinute"") of it | ""-1"",
value of client setting whose (name of it is ""wev_groupClassID"") of it | ""-1"",
value of client setting whose (name of it is ""wev_patchGroup"") of it | ""N/A""
) of bes computers";