Bobcares Logo
Search Phone User Profile Emergency Contact
Bobcares Logo
Search Phone User Profile Emergency Contact
Case Studies
About
Blog
Emergency Contact Client Portal
SOLUTIONS
Product Engineering
MVP Build
MVP to Scale
Product Maintenance
Digital Transformation
Process Digitization & Automation
Systems Integration & Workflow Orchestration
Data Enablement & Decision Support
Application & Platform Modernization
Transformation Execution
AI Services
AI Readiness & Use-Case Discovery
AI Integration & Application Enablement
Intelligent Automation & AI Workflows
Infrastructure Management & Optimization
Always-On Infrastructure Management
Proactive Monitoring & Incident Prevention
Cloud Cost Control & Optimization (FinOps)
Outsourced IT & End-User Support
Managed Infrastructure Execution Support
DevOps & Automation Services
CI/CD & Release Automation
Infrastructure as Code & Platform Standardization
Reliability Engineering & Observability
DevSecOps Enablement
Cybersecurity
Security Assessment & Risk Posture
Threat Monitoring & Incident Response
Infrastructure & Cloud Security Hardening
Vulnerability Assessment & Penetration Testing (VAPT)
Backup, Disaster Recovery & BCP

Need at least 2 WMI samples% – How to resolve the error

by Nicky Mathew | May 16, 2021 | Latest, Server Management | 0 comments

Please Note: This article is part of our historical archive. Because it was published a while ago, some of the information, links, or context may now be outdated.

Stuck with the error, Need at least 2 WMI samples%? We can help you.

Recently one of our customers came across this error after executing the checkcpu wmi check. This can be due to permission issues.

As part of our Server Management Services, we assist our customers with several Nagios queries.

Today, let us see how to resolve the WMI error.

 

Need at least 2 WMI samples%

A part of the Windows operating system, Windows Management Instrumentation (WMI) can provide management data and operational information about those systems.

We can use WMI to automate administrative tasks on remote Windows-based computers.

Nagios Core and Nagios XI are capable of monitoring Windows machines via WMI.

Before we go on to the resolution, let us see how the error, “Need at least 2 WMI samples%” looks like.

We see this error message after executing checkcpu wmi check repeatedly:

[root@server ~]# /opt/nagios/bin/plugins/check_wmi_plus.pl -H nagiosserver -u wmiagent -p xxxxx -m checkcpu
OK (Sample Period 5 sec) – Average CPU Utilisation Need at least 2 WMI samples%
[root@server ~]# /opt/nagios/bin/plugins/check_wmi_plus.pl -H nagiosserver -u wmiagent -p xxxxx -m checkcpu
OK (Sample Period 1 sec) – Average CPU Utilisation Need at least 2 WMI samples%
[root@server ~]# /opt/nagios/bin/plugins/check_wmi_plus.pl -H nagiosserver -u wmiagent -p xxxxx -m checkcpu
OK (Sample Period 1 sec) – Average CPU Utilisation Need at least 2 WMI samples%
[root@server ~]# /opt/nagios/bin/plugins/check_wmi_plus.pl -H nagiosserver -u wmiagent -p xxxxx -m checkcpu
OK (Sample Period 1 sec) – Average CPU Utilisation Need at least 2 WMI samples%
[root@server ~]# /opt/nagios/bin/plugins/check_wmi_plus.pl -H nagiosserver -u wmiagent -p xxxxx -m checkmem
OK – Physical Memory: Total: 3.999GB – Used: 2.19GB (55%) – Free: 1.809GB (45%)|’Physical Memory Used’=2351108096Bytes; ‘Physical Memory Utilisation’=55%;

The reason for the message is that the WMI user account does not have sufficient permissions.

Moving ahead, let us see how our Support Techs resolve this error.

In order to solve this, we add the user account to the Performance Log Users security group on the Windows computer.

We can perform this by following the steps given below:

  1. Initially, we open the Computer Management console in Administrative tools.
  2. Then we expand System Tools > Local Users and Groups > Groups.
  3. Finally, we edit the Performance Log Users security group and add the user account to this group.

[Couldn’t solve the error? We’d be happy to help you]

 

Conclusion

In short, this error occurs when the WMI user account does not have sufficient permissions. Today, we saw an effective way our Support Techs employ to fix the error.

Related posts:

    1. WMI ERROR: Retrieve result data – How to resolve
    2. Permission denied WMI error in Nagios – How to resolve setup error
    3. WMI Error: Login to remote object in Nagios – How to solve it
    4. WMI errors in Nagios – Troubleshoot and fix the errors

Submit a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Delayed Product Launch? Your Development Strategy May Be the Problem
  • Why Custom Software Projects Go Over Budget and How to Prevent It
  • Why Your Development Budget Keeps Growing While Milestones Keep Slipping
  • Legacy System Modernization: Why Waiting Costs More Than Modernizing
  • Legacy System Is Stable, But It Is Slowing Business Growth

Categories

  • Advanced Vulnerability
  • AI Services
  • AI Support
  • AIOps
  • Amazon Web Services (AWS)
  • Apache
  • API Integration
  • Application Development
  • Azure
  • Cloud Cost Optimization
  • Cloud Management
  • Cloud-Native Application
  • Cloudflare
  • cPanel
  • cPanel migration
  • Cyberpanel
  • DDoS
  • Development Service
  • DevOps
  • DevOps Consulting
  • DevSecOps
  • Digital Transformation
  • DigitalOcean
  • DirectAdmin
  • Docker
  • Drupal
  • Ecommerce
  • Filezilla
  • FTP
  • Google cloud platform
  • HAProxy
  • Headless CMS Integration
  • Hosting Support
  • IIS
  • Infrastructure Management & Optimization
  • Kubernetes
  • KVM
  • Laravel
  • Latest
  • Legacy Application Modernization
  • Linode
  • Litespeed
  • LXC/LXD
  • Magento
  • Microservices Architecture
  • Mobile App Development
  • MongoDB
  • Moodle
  • MySQL
  • NFS
  • Nginx
  • OnApp
  • Outsourced Support
  • OVH
  • ovirt
  • Performance Optimization & Monitoring
  • pfsense
  • Plesk
  • PostgreSQL
  • PowerDNS
  • Product Engineering
  • Proxmox
  • RedHat
  • Redis
  • Sendmail
  • Server Administration
  • Server Management
  • Software Development
  • Software Testing
  • SQLServer
  • Technical Support
  • UI/UX
  • Virtualizor
  • VMware
  • VPN
  • Vulnerability Scanning
  • Vultr
  • Web Development
  • Windows
  • WordPress
  • WordPress Hosting
  • WordPressHA

Subscribe to our newsletter

Footer newsletter

Email sales@bobcares.com | Phone 1-800-383-5193

Product Engineering

  • MVP Build
  • MVP to Scale
  • Product Maintenance

Digital Transformation

  • Process Digitization & Automation
  • Systems Integration & Workflow Orchestration
  • Data Enablement & Decision Support
  • Application & Platform Modernization
  • Transformation Execution & Delivery Enablement

AI Services

  • AI Readiness & Use-Case Discovery
  • AI Integration & Application Enablement
  • Intelligent Automation & AI Workflows

Infrastructure Management

  • Always-On Infrastructure Management
  • Proactive Monitoring & Incident Prevention
  • Cloud Cost Control & Optimization (FinOps)
  • Outsourced IT & End-User Support
  • Managed Infrastructure Execution Support

DevOps & Automation Services

  • CI/CD & Release Automation
  • Infrastructure as Code & Platform Standardization
  • Reliability Engineering & Observability
  • DevSecOps Enablement
Product Engineering +
Web Development MVP to Scale Builds Microservices Architecture Agile & Dev Team Augmentation Mobile Apps Ecommerce UI/UX Design QA & Test Automation
Digital Transformation +
Legacy Modernization Workflow Automation Data-Driven Dashboards CRM / ERP Integration Business Process Re-engineering
AI Services +
AI & Machine Learning AIOps Intelligent Automation Business Intelligence & Analytics AI Installation & Compute
Infrastructure Management +
Cloud Setup Cloud Migration Managed Cloud Services Server & Hosting Cost Optimization Performance Optimization Outsourced Support
DevOps & Automation Services +
CI/CD Setup Kubernetes & Docker Infrastructure as Code Cloud-Native Migration DevSecOps
Cybersecurity & Compliance Services +
Security Hardening VAPT Incident Response Backup & DR

© 2026 Bobcares. All Rights Reserved.

  • Careers
  • |
  • Cookie Policy
  • |
  • GDPR
  • |
  • Privacy Policy
  • |
  • Terms of Service
  • LinkedIn
  • YouTube
  • Instagram
  • Facebook

Preview of the new Bobcares experience
NEW UPDATE
See What’s New
at Bobcares

Discover a faster, clearer view of our services and expertise.


Explore the New Experience
Arrow Right