with a fresh install of 5.7.1 I'm looking to migrate to ncpa agent from the previous nsclient++
With my existing installation, I monitor the total CPU usage of my VM's on a server using the following command
Code: Select all
/usr/local/nagios/libexec/check_nt -H ${Host} -s ${PW} -p 12489 -v COUNTER -l "\Hyper-V Hypervisor Logical Processor(_Total)\% Total Run Time","VM CPU Usage is %.1f" -w 70 -c 85Code: Select all
VM CPU Usage is 8.0Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -H 1server.curric.lilydale-hs.wan -t 'mytoken' -P 5693 -M 'windowscounters/Hyper-V Hypervisor Logical Processor(_Total)/% Total Run Time' -q sleep=1Code: Select all
OK: \Hyper-V Hypervisor Logical Processor(_Total)\% Total Run Time was 14.86 % Total Run TimeThanks in advance,
Chris.