HunnyPuns / nagios-windows-plugins

My Nagios Windows Plugins project
GNU General Public License v3.0
1 stars 1 forks source link

Added verbose output, as well as suppressing NTLM warning. #12

Closed HunnyPuns closed 1 year ago

HunnyPuns commented 1 year ago

Filtering out the warnings for NTLM.

Adding a verbose output to assist with troubleshooting. Arguments displays the arguments provided to the script. Session displays the configured session information, mainly useful for getting the WinRM URL. Command displays the output from making the actual request. std_err is largely useless, as far as I can tell. But getting std_out, and the status_code right from Windows can be helpful in determining if you're looking at the status code from Windows, or Linux.