Can a client belong to more than 1 class (defined in the hosts.cfg file)?
CLASS=db,clientA,windows,etc
I am guessing the answer is no but figured I would ask.
Thanks, John Upcoming PTO: 6/28-7/8
John Rothlisberger IT Strategy, Infrastructure & Security - Technology Growth Platform TGP for Business Process Outsourcing Accenture 312.693.3136 office
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.
www.accenture.com
On 5/31/2018 4:32 AM, Rothlisberger, John R. wrote:
Can a client belong to more than 1 class (defined in the hosts.cfg file)?
CLASS=db,clientA,windows,etc
Since the man file is pretty good about identifying tags which accept multiple values: NOCOLUMNS:column[,column] and CLASS is documented as accepting only a single value CLASS:Classname and there is no mention in the text it can accept multiple values and there is a mention in the text that values defined in hosts.cfg override that reported by the client (not appended)
I am guessing the answer is no but figured I would ask.
I'm gonna agree with ya'.
Gotta admit, though, the 'CLASS' attribute has never scratched an itch I have. What business problem does it solve for anyone else? I'm not trying to pick a fight. I just can't see its value and have never defined one.
-- Do things because you should, not just because you can.
John Thurston 907-465-8591 John.Thurston at alaska.gov Department of Administration State of Alaska
On Thu, 31 May 2018, John Thurston wrote:
Gotta admit, though, the 'CLASS' attribute has never scratched an itch I have. What business problem does it solve for anyone else? I'm not trying to pick a fight. I just can't see its value and have never defined one.
In my particular use case, I use it to distinguish between windows machines and Linux machines. I have several different classes of windows machines defined such as win32, win64, e2k13, etc. that automagically select the configuration on the xymon server. I have never tried to define more than one class though.
The win-ps-client configuration file lets you define a class which makes configuration of windows machines easier when using central configuration.
If you don't do Windows then that might be why you have never used it.
Regards,
Tom
participants (3)
-
john.r.rothlisberger@accenture.com
-
john.thurston@alaska.gov
-
me@tdiehl.org