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.
Windows mpio multipathing
Windows mpio multipathing
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Windows mpio multipathing
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
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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Windows mpio multipathing
Thanks - will give this a go and report back.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Windows mpio multipathing
Sounds good. We'll wait for your reply.Thanks - will give this a go and report back
--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!