Page 1 of 1

Windows mpio multipathing

Posted: Fri Mar 26, 2021 5:04 am
by jdk
I got one of our internal developers to write this script for Nagios to check Windows MPIO multipathing. I can run the powershell okay directly on Windows and it returns the paths and their status. The developer was trying to replicate a similar script that was written in Ruby. However when I run it via Nagios it returns the following message

[root@cr-netmon libexec]# ./check_nrpe -2 -H 172.17.32.52 -p 15556 -c check_multipath
UNKNOWN: Return buffer to small to handle this command.
[root@cr-netmon libexec]#

I am running with 0.3.9.328 of the NSClient++ - yes I know it is older.

Any assistance appreciated.

Re: Windows mpio multipathing

Posted: Fri Mar 26, 2021 4:50 pm
by benjaminsmith
Hi JDK,

It looks like you are hitting the bug below. Can try testing this out on an updated system.

UNKNOWN: Return buffer to small to handle this command.

Alrentatvely you could install NCPA in this system. This is our agent and we can provide better support on it.

NCPA Docs
https://assets.nagios.com/downloads/ncp ... g-NCPA.pdf
https://support.nagios.com/kb/article/n ... a-722.html

--Benjamin

Re: Windows mpio multipathing

Posted: Tue Mar 30, 2021 2:21 am
by jdk
Thanks - will give this a go and report back.

Re: Windows mpio multipathing

Posted: Tue Mar 30, 2021 10:12 am
by benjaminsmith
Thanks - will give this a go and report back
Sounds good. We'll wait for your reply.

--Benjamin