check_procs - Unable to read output - Solaris 10

I recently installed Nagios for the first time. I’m using Solaris 10 SPARC for the Nagios server, and for all of the clients. I’ve decided to use the check_by_ssh for monitoring all of the hosts.

So far I’ve been able to successfully get it to monitor everything (including disks, current load, current users, SSH, etc…) with the exception of Total Processes. I can get it to look at Total Processes on the local Nagios server, but that’s it. To setup the client servers I created a local “nagios” account and simply copied over the libexec directory to each box using the same path on each one. So I’m wondering if I am possibly missing a package dependency for this plugin, but I have no way of knowing which one. I need to keep the number of packages installed on each host to a minimum.

Does anyone have any ideas on what I’m missing?

Even if I try executing the executable from the root account on the local machine it gives me the same error:

/opt/nagios/libexec/check_procs -w 250 -c 400 -s RSZDT

Unable to read output
root@XXXX-XXXXXXXXXX-ipmp(sh):

for the record in case anyone stumbles across this post like I did

check_procs appears to run this command (using strings on the binary)

/bin/ps axwo ‘stat uid pid ppid vsz rss pcpu comm args’

the solaris version of ps doesn’t work like that. I’ve not found a fix yet.