Failed to add counter: PdhCollectQueryData failed: : 800007d5


#1

Greeting,

I have a problem with nsclient and I would like to share it with you. Indeed, I use Nagios 4.4.3 as a monitoring server and nsclient 0.5.2.41 for the client software . I would like to monitore the state of my hard disk which is located in a client machine ( Microsoft Windows Server 2016 Standard ).

When we take a look in nagios server, we have the following error : Failed to add counter: PdhCollectQueryData failed: : 800007d5: Aucune donnée à renvoyer.

In nsclient.ini client configuration, the following codes are used :

############################################# …

alias_counter_disk_AvgWQL = CheckCounter “Counter:Disk_avg_write_queue=\Disque physique(_Total)\Longueur moyenne de file d’attente écriture disque” MaxWarn=5 MaxCrit=10

alias_counter_disk_AvgRQL = CheckCounter “Counter:Disk_avg_read_queue=\Disque physique(_Total)\Longueur moyenne de file d’attente lecture disque” MaxWarn=5 MaxCrit=10

########################################

Do you have an idea, please ? Thanks in advance !