Search Exchange
Search All Sites
Login
Hp-ux check_memory
Check memory of a Hp-ux server, with the same result of the "top" commands.
I used the check_mem.pl modified because the original command included is not ok for my server HP-UX.
Thankses to Dan Larsson for original check. :-)
Thankses to Dan Larsson for original check. :-)
Reviews (1)
byjosby, March 21, 2012
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.


New Listings


