Hi Everyone,
Is there any Plugin available which will give Number of CPU core there on Windows /Linux servers.
Thanks,
Plugin to check Number Of CPU Core On windows and Linux
Re: Plugin to check Number Of CPU Core On windows and Linux
Hi Everyone,
I am able to pull the information through WMI, But output is coming two times :
[root@VM-NAGIOSXI-TEST libexec]# ./check_nrpe -H 172.26.2.13 -c CheckWMI -a "Query=Select NumberOfLogicalProcessors from win32_Processor" query=1
NumberOfLogicalProcessors=4NumberOfLogicalProcessors=4|'wmi query'=2
[root@VM-NAGIOSXI-TEST libexec]#
My requirement is only to get "Number Of LogicalProcessor=4"
Can anyone help me in setting the query correctly??
Thanks,
I am able to pull the information through WMI, But output is coming two times :
[root@VM-NAGIOSXI-TEST libexec]# ./check_nrpe -H 172.26.2.13 -c CheckWMI -a "Query=Select NumberOfLogicalProcessors from win32_Processor" query=1
NumberOfLogicalProcessors=4NumberOfLogicalProcessors=4|'wmi query'=2
[root@VM-NAGIOSXI-TEST libexec]#
My requirement is only to get "Number Of LogicalProcessor=4"
Can anyone help me in setting the query correctly??
Thanks,
Re: Plugin to check Number Of CPU Core On windows and Linux
Does this happen for all WMI checks, or just the CPU one?
Former Nagios Employee.
me.
me.
Re: Plugin to check Number Of CPU Core On windows and Linux
Thanks hsmithhsmith wrote:Does this happen for all WMI checks, or just the CPU one?
Its working fine now.Issue was, the server got Two CPU, that's why output was coming two times.You can close this thread.
Thanks