Page 1 of 1

Nagios Core checking Disks on Windows Server

Posted: Mon Jul 18, 2022 12:35 am
by SandrilaFriman
I want to check disk stats on a couple of windows servers. I installed the NSClient++ on them, but I'm not getting the syntax of how to get info from it. I defined a command like this

define command{

command_name check_nrpe

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$

}

And in my Nagios .cfg for the server, it has this

define service{

use local-service

host_name delacad

service_description Local Disk

check_command check_nrpe!alias_disk

max_check_attempts 2

check_interval 2

retry_interval 2

check_period 24x7

check_freshness echatspin echatrandom 1

}

So what am I messing up?