Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
josby
Worked fine when run from the command line, but when I called it from NRPE using check_nrpe, I was getting "NRPE: Unable to read output"
The problem was the plugin's reliance on the swapinfo command. On my system, that is in /usr/sbin, which was apparently not in the PATH of the nrpe user my NRPE daemon runs as. I modified this file to run /usr/sbin/swapinfo to get the memory info and then it worked fine.
The problem was the plugin's reliance on the swapinfo command. On my system, that is in /usr/sbin, which was apparently not in the PATH of the nrpe user my NRPE daemon runs as. I modified this file to run /usr/sbin/swapinfo to get the memory info and then it worked fine.