Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for cpu number and models #105

Open
zhum opened this issue Oct 1, 2021 · 0 comments
Open

Check for cpu number and models #105

zhum opened this issue Oct 1, 2021 · 0 comments

Comments

@zhum
Copy link

zhum commented Oct 1, 2021

Please, add this check. Now I check this via dmidecode, but I should to specify id and it could change on different nodes.
I would be good to change this

 n45* || check_dmi_data_match -h 0x005A -t 4 "Processor Information: Version: Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz"
 n45* || check_dmi_data_match -h 0x005E -t 4 "Processor Information: Version: Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz"

into something like this:

 n45* || check_hw_cpunum 2 "Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant