The Check for a Process (Process Check) monitor may not check against the full process path on Solaris systems. This can be caused by the up.time agent using the ps command to match running processes. When you manually run the ps command on Solaris, the result will be truncated if the length of the process path and arguments is beyond a set length.

This issue can be resolved by using the /usr/ucb/ps auxwww command instead of the standard ps command. This option will display the full path arguments. To implement the resolution, update the /opt/uptime-agent/bin/perfparse.sh script within this function:

chk4()
{
PROC=$*
ps -eo "pid args" | egrep -v "perfparse" | egrep -v "proc=" | $AWKBIN -v proc="$PROC" '
{
if( $0 ~ proc )
{
count=count+1
}
}
END{
if(count > 0)
{
print "OK - \\"" proc "\\" found " count " time\\(s\\)"
}
else
{
print "CRIT - \\"" proc "\\" not running "
}
}'
}