check_nt_perfmon_counter
Use this plugin to query any performance counter from your Windows-Machine (with performance output).
You need check_nt
on the monitoring host and NSClient or NC-Net Client on the Windows host installed.
You can use parameters [-w] [-c] with [-C] [-W] together to define a range";
Usage:
-H (--hostname) Hostname to query - (required)\n";
-p (--port) Port (default=1248)\n";
-B (--binarypath) Path to your check_nt binary - (required) (ex: /usr/local/nagios/libexec/)
-P (--temppath) Path to your temp directory (default=/tmp/)
-s (--secret) Specify a secret if defined to connect to NSClient, NC-Net
-T (--type) Specify a check_nt compatible expression which counter you want to check - (required)
Examples: (important. You have to define 2 Backslashes (one will be killed by the script ;-) )
[-T \"\\\\MSExchangeTransport SmtpSend(organisationsinterner smtp-sendeconnector)\\\\Messages Sent Total\"
-w (--warning) Warning threshold (checkresult < warning) - (requires parameter [-c])
-W (--warning-up) Warning threshold (checkresult > warning) - (requires paramter [-C]
-c (--critical) Critical threshold (checkresult < critical)
-C (--critical-up) Critical threshold (checkresult > critical)
-t (--timeout) Seconds before the plugin times out (default=15)
-V (--version) Plugin version
-h (--help) Usage help