Hp-ux check_memory

Bookmark and Share

Rating
1 vote
Favoured:
0
Hits
59805
Files:
FileDescription
check_memhpuxcheck_memhpux
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. :-)
Reviews (1)
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.